NtApiDotNet.Ndr.Marshal.NdrUnmarshalBuffer.ReadUInt32()

Here are the examples of the csharp api NtApiDotNet.Ndr.Marshal.NdrUnmarshalBuffer.ReadUInt32() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

990 Examples 7

19 View Source File : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvQueryUserContext(long p0, out int p1, out System.Nullable<Struct_4> p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt64(p0);
            _Unmarshal_Helper u = SendReceive(18, m);
            p1 = u.ReadInt32();
            p2 = u.ReadReferentValue<Struct_4>(new System.Func<Struct_4>(u.Read_3), false);
            return u.ReadUInt32();
        }

19 View Source File : 18f70770-8e64-11cf-9af1-0020af6e72f4_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _NotifyFDT(NtApiDotNet.Ndr.Marshal.NdrUInt3264 p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteUInt3264(p0);
            _Unmarshal_Helper u = SendReceive(3, m);
            return u.ReadUInt32();
        }

19 View Source File : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BthServOpen(out NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, Struct_0 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p2);
            _Unmarshal_Helper u = SendReceive(0, m);
            p0 = u.ReadContextHandle();
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 7419cf08-91a7-4afd-8f5e-1dd76de094fd_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 1))
            {
                Arm_1 = u.ReadEmbeddedPointer<int>(new System.Func<int>(u.ReadInt32), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_21");
        done:
            return;
        }

19 View Source File : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BthServActivateService(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, int p3, sbyte[] p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.WriteInt32(p3);
            m.Write_10(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p3);
            _Unmarshal_Helper u = SendReceive(8, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 8bfc3be1-6def-4e2d-af74-7c47cd0ade4a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvResetActiveUserForPackage(string p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            _Unmarshal_Helper u = SendReceive(13, m);
            return u.ReadUInt32();
        }

19 View Source File : 8bfc3be1-6def-4e2d-af74-7c47cd0ade4a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvTerminateApplicationHostForUser(byte[] p0, int p1, char[] p2, int p3, int p4, long p5, NtApiDotNet.Ndr.Marshal.NdrEnum16 p6, out sbyte p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<byte[], long>(m.Write_0), p1);
            m.WriteInt32(p1);
            m.Write_1(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p3);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteInt64(p5);
            m.WriteEnum16(p6);
            _Unmarshal_Helper u = SendReceive(15, m);
            p7 = u.ReadSByte();
            return u.ReadUInt32();
        }

19 View Source File : 0d3e2735-cea0-4ecc-a9e2-41a2d81aed4e_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiPtSrvEnumerateWorkItemsForPackageName(char[] p0, int p1, int p2, int p3, out int p4, out System.Guid[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<char[], long>(m.Write_28), p1);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(14, m);
            p4 = u.ReadInt32();
            p5 = u.ReadReferent<System.Guid[]>(new System.Func<System.Guid[]>(u.Read_25), false);
            return u.ReadUInt32();
        }

19 View Source File : 0d3e2735-cea0-4ecc-a9e2-41a2d81aed4e_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiPtSrvActivateWorkItem(System.Guid p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadUInt32();
        }

19 View Source File : 0d3e2735-cea0-4ecc-a9e2-41a2d81aed4e_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiPtSrvSignalMultipleEvents(NtApiDotNet.Ndr.Marshal.NdrUnsupported p0, int p1, System.Nullable<sbyte> p2, System.Nullable<System.Guid> p3, byte[] p4, int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_32(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt32(p1);
            m.WriteReferent(p2, new System.Action<sbyte>(m.WriteSByte));
            m.WriteReferent(p3, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p4, new System.Action<byte[], long>(m.Write_33), p5);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(22, m);
            return u.ReadUInt32();
        }

19 View Source File : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BthServEirGetRecords(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, NtApiDotNet.Ndr.Marshal.NdrEnum16 p3, int p4, out sbyte[] p5, out int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.WriteEnum16(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(17, m);
            p1 = u.ReadInt32();
            p5 = u.Read_9();
            p6 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BthServSetSdpRecordWithInfo(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, int p2, int p3, int p4, int p5, sbyte[] p6, out long p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            m.Write_12(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p6, "p6"), p5);
            _Unmarshal_Helper u = SendReceive(12, m);
            p1 = u.ReadInt32();
            p7 = u.ReadInt64();
            return u.ReadUInt32();
        }

19 View Source File : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvQueryWorkItem(System.Guid p0, sbyte p1, out int p2, out byte[] p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteSByte(p1);
            _Unmarshal_Helper u = SendReceive(20, m);
            p2 = u.ReadInt32();
            p3 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_30), false);
            return u.ReadUInt32();
        }

19 View Source File : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvActivateDeferredWorkItem(System.Guid p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(0, m);
            return u.ReadUInt32();
        }

19 View Source File : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint InstallUnmanageApp(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, sbyte p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteSByte(p2);
            _Unmarshal_Helper u = SendReceive(3, m);
            return u.ReadUInt32();
        }

19 View Source File : 8bfc3be1-6def-4e2d-af74-7c47cd0ade4a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvNotifyNewSessionComplete()
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(10, m);
            return u.ReadUInt32();
        }

19 View Source File : d09bdeb5-6171-4a34-bfe2-06fa82652568_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BriDisableEvent(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, NtApiDotNet.Ndr.Marshal.NdrContextHandle p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteContextHandle(p1);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadUInt32();
        }

19 View Source File : c605f9fb-f0a3-4e2a-a073-73560f8d9e3e_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvSignalEvent(System.Guid p0, System.Nullable<sbyte> p1, System.Nullable<System.Guid> p2, byte[] p3, int p4, System.Nullable<System.Guid> p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteReferent(p1, new System.Action<sbyte>(m.WriteSByte));
            m.WriteReferent(p2, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p3, new System.Action<byte[], long>(m.Write_0), p4);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<System.Guid>(m.WriteGuid));
            _Unmarshal_Helper u = SendReceive(0, m);
            return u.ReadUInt32();
        }

19 View Source File : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RsopReportInstallFailure(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(7, m);
            return u.ReadUInt32();
        }

19 View Source File : 0d3e2735-cea0-4ecc-a9e2-41a2d81aed4e_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiPtSrvActivateInBackground(
                    out System.Guid p0, 
                    ref System.Nullable<System.Guid> p1, 
                    ref System.Nullable<Struct_1> p2, 
                    char[] p3, 
                    int p4, 
                    char[] p5, 
                    int p6, 
                    char[] p7, 
                    int p8, 
                    char[] p9, 
                    int p10, 
                    int p11, 
                    int p12, 
                    System.Nullable<System.Guid> p13, 
                    byte[] p14, 
                    int p15, 
                    System.Nullable<System.Guid> p16)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p1, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p2, new System.Action<Struct_1>(m.Write_0));
            m.Write_15(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p4);
            m.WriteInt32(p4);
            m.Write_16(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"), p6);
            m.WriteInt32(p6);
            m.Write_17(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p7, "p7"), p8);
            m.WriteInt32(p8);
            m.WriteReferent(p9, new System.Action<char[], long>(m.Write_18), p10);
            m.WriteInt32(p10);
            m.WriteInt32(p11);
            m.WriteInt32(p12);
            m.WriteReferent(p13, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p14, new System.Action<byte[], long>(m.Write_19), p15);
            m.WriteInt32(p15);
            m.WriteReferent(p16, new System.Action<System.Guid>(m.WriteGuid));
            _Unmarshal_Helper u = SendReceive(1, m);
            p0 = u.ReadGuid();
            p1 = u.ReadReferentValue<System.Guid>(new System.Func<System.Guid>(u.ReadGuid), false);
            p2 = u.ReadReferentValue<Struct_1>(new System.Func<Struct_1>(u.Read_0), false);
            return u.ReadUInt32();
        }

19 View Source File : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BthServGetDeviceInfo(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, long p3, ref Struct_5 p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p2);
            m.WriteInt64(p3);
            m.Write_5(p4);
            _Unmarshal_Helper u = SendReceive(5, m);
            p1 = u.ReadInt32();
            p4 = u.Read_5();
            return u.ReadUInt32();
        }

19 View Source File : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BthServSetDeviceName(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, string p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.Write_8(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            _Unmarshal_Helper u = SendReceive(6, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint GetManagedAppCategories(ref Struct_9 p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_9(p0);
            _Unmarshal_Helper u = SendReceive(8, m);
            p0 = u.Read_9();
            return u.ReadUInt32();
        }

19 View Source File : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BthServUpdateService(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, int p2, sbyte[] p3, int p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p2);
            m.Write_11(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(9, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 0d3e2735-cea0-4ecc-a9e2-41a2d81aed4e_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiPtSrvSignalTriggerEvent(out NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, System.Guid p1, System.Nullable<System.Guid> p2, byte[] p3, int p4, System.Nullable<System.Guid> p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p1);
            m.WriteReferent(p2, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p3, new System.Action<byte[], long>(m.Write_31), p4);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<System.Guid>(m.WriteGuid));
            _Unmarshal_Helper u = SendReceive(23, m);
            p0 = u.ReadEnum16();
            return u.ReadUInt32();
        }

19 View Source File : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BthServEnableIncomingConnections(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(15, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BthServRemoveSdpRecord(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            _Unmarshal_Helper u = SendReceive(13, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvQueryUserSession(int p0, out System.Nullable<Struct_4> p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            _Unmarshal_Helper u = SendReceive(19, m);
            p1 = u.ReadReferentValue<Struct_4>(new System.Func<Struct_4>(u.Read_3), false);
            return u.ReadUInt32();
        }

19 View Source File : 18f70770-8e64-11cf-9af1-0020af6e72f4_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _UpdateResolverBindings(Struct_0 p0, ref long p1, out System.Nullable<Struct_0> p2, out System.Nullable<Struct_0> p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.WriteInt64(p1);
            _Unmarshal_Helper u = SendReceive(2, m);
            p1 = u.ReadInt64();
            p2 = u.ReadReferentValue<Struct_0>(new System.Func<Struct_0>(u.Read_0), false);
            p3 = u.ReadReferentValue<Struct_0>(new System.Func<Struct_0>(u.Read_0), false);
            return u.ReadUInt32();
        }

19 View Source File : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint InstallManageApp(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, int p2, out sbyte p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(2, m);
            p3 = u.ReadSByte();
            return u.ReadUInt32();
        }

19 View Source File : 7419cf08-91a7-4afd-8f5e-1dd76de094fd_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint s_DabRpcGetLastScheduledRunTime(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out Struct_2 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(2, m);
            p1 = u.Read_2();
            return u.ReadUInt32();
        }

19 View Source File : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiPtSrvQueryWorkItemStatusStateName(System.Guid p0, out Struct_1 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(21, m);
            p1 = u.Read_0();
            return u.ReadUInt32();
        }

19 View Source File : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvEnumerateUserSessions(out int p0, out int[] p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(13, m);
            p0 = u.ReadInt32();
            p1 = u.ReadReferent<int[]>(new System.Func<int[]>(u.Read_25), false);
            return u.ReadUInt32();
        }

19 View Source File : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint InstallEnd(sbyte p0, ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteSByte(p0);
            m.WriteContextHandle(p1);
            _Unmarshal_Helper u = SendReceive(4, m);
            p1 = u.ReadContextHandle();
            return u.ReadUInt32();
        }

19 View Source File : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvSignalTriggerEvent(out NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, System.Guid p1, System.Nullable<System.Guid> p2, byte[] p3, int p4, System.Nullable<System.Guid> p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p1);
            m.WriteReferent(p2, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p3, new System.Action<byte[], long>(m.Write_31), p4);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<System.Guid>(m.WriteGuid));
            _Unmarshal_Helper u = SendReceive(24, m);
            p0 = u.ReadEnum16();
            return u.ReadUInt32();
        }

19 View Source File : d09bdeb5-6171-4a34-bfe2-06fa82652568_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _BriDeleteEvent(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteContextHandle(p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            p1 = u.ReadContextHandle();
            return u.ReadUInt32();
        }

19 View Source File : 8bfc3be1-6def-4e2d-af74-7c47cd0ade4a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvSetActiveUserForPackage(string p0, int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(14, m);
            return u.ReadUInt32();
        }

19 View Source File : 0d3e2735-cea0-4ecc-a9e2-41a2d81aed4e_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiPtSrvActivateDeferredWorkItem(System.Guid p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(0, m);
            return u.ReadUInt32();
        }

19 View Source File : 8bfc3be1-6def-4e2d-af74-7c47cd0ade4a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvUpdateBackgroundAccessApplicationsForUser(byte[] p0, int p1, int p2, string[] p3, string[] p4, sbyte[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<byte[], long>(m.Write_0), p1);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.Write_7(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            m.Write_7(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p2);
            m.Write_8(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"), p2);
            _Unmarshal_Helper u = SendReceive(16, m);
            return u.ReadUInt32();
        }

19 View Source File : d09bdeb5-6171-4a34-bfe2-06fa82652568_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BriEnableEvent(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, NtApiDotNet.Ndr.Marshal.NdrContextHandle p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteContextHandle(p1);
            _Unmarshal_Helper u = SendReceive(3, m);
            return u.ReadUInt32();
        }

19 View Source File : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BthServEirRemoveRecord(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            _Unmarshal_Helper u = SendReceive(20, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint ARPRemoveApp(string p0, int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(5, m);
            return u.ReadUInt32();
        }

19 View Source File : 0d3e2735-cea0-4ecc-a9e2-41a2d81aed4e_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiPtSrvreplacedociateActivationProxy(out System.Guid p0, out Struct_1 p1, System.Guid p2, Struct_2[] p3, int p4, int p5, char[] p6, int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p2);
            m.WriteReferent(p3, new System.Action<Struct_2[], long>(m.Write_20), p4);
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action<char[], long>(m.Write_21), p7);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(3, m);
            p0 = u.ReadGuid();
            p1 = u.Read_0();
            return u.ReadUInt32();
        }

19 View Source File : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BthServDeregisterAuthenticationEvent(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, long p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.WriteInt64(p3);
            _Unmarshal_Helper u = SendReceive(3, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 0d3e2735-cea0-4ecc-a9e2-41a2d81aed4e_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiPtSrvQueryWorkItem(System.Guid p0, sbyte p1, out int p2, out byte[] p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteSByte(p1);
            _Unmarshal_Helper u = SendReceive(19, m);
            p2 = u.ReadInt32();
            p3 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_28), false);
            return u.ReadUInt32();
        }

19 View Source File : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 1))
            {
                Arm_1 = u.Read_2();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.Read_4();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_1");
        done:
            return;
        }

19 View Source File : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint GetManagedApps(System.Nullable<Struct_3> p0, int p1, int p2, out Struct_7 p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<Struct_3>(m.Write_3));
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(6, m);
            p3 = u.Read_7();
            return u.ReadUInt32();
        }

19 View Source File : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint InstallBegin(Struct_0 p0, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, out Struct_5 p2, out Struct_6 p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            _Unmarshal_Helper u = SendReceive(1, m);
            p1 = u.ReadContextHandle();
            p2 = u.Read_5();
            p3 = u.Read_6();
            return u.ReadUInt32();
        }

19 View Source File : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvActivateWorkItem(System.Guid p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadUInt32();
        }

19 View Source File : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BthServEnableDiscovery(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(14, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

See More Examples