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 : 0d3e2735-cea0-4ecc-a9e2-41a2d81aed4e_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(20, m);
            p1 = u.Read_0();
            return u.ReadUInt32();
        }

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

public uint RBiPtSrvSignalEvent(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_31), p4);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<System.Guid>(m.WriteGuid));
            _Unmarshal_Helper u = SendReceive(21, m);
            return u.ReadUInt32();
        }

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

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

19 View Source File : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_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_31), p4);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<System.Guid>(m.WriteGuid));
            _Unmarshal_Helper u = SendReceive(22, m);
            return u.ReadUInt32();
        }

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

public uint RBiSrvSignalMultipleEvents(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_21), p5);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(23, m);
            return u.ReadUInt32();
        }

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

public uint RBiSrvUpdateEventParameters(System.Guid p0, Struct_6 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.Write_5(p1);
            _Unmarshal_Helper u = SendReceive(25, m);
            return u.ReadUInt32();
        }

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

public uint RBiSrvUpdateEventFlags(System.Guid p0, int p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(26, m);
            return u.ReadUInt32();
        }

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

public uint RBiSrvUpdateEventInformation(System.Guid p0, byte[] p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteReferent(p1, new System.Action<byte[], long>(m.Write_33), p2);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(27, m);
            return u.ReadUInt32();
        }

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

public uint RBiSrvActivateWorkItemForUser(byte[] p0, int p1, System.Guid p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<byte[], long>(m.Write_0), p1);
            m.WriteInt32(p1);
            m.WriteGuid(p2);
            _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 RBiSrvChangeApplicationStateForPackageNameForUser(byte[] p0, int p1, char[] p2, int p3, NtApiDotNet.Ndr.Marshal.NdrEnum16 p4, out sbyte p5)
        {
            _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.WriteEnum16(p4);
            _Unmarshal_Helper u = SendReceive(1, m);
            p5 = u.ReadSByte();
            return u.ReadUInt32();
        }

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

public uint RBiSrvChangeApplicationStateForPsmKeyForUser(byte[] p0, int p1, char[] p2, int p3, NtApiDotNet.Ndr.Marshal.NdrEnum16 p4, out sbyte p5)
        {
            _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.WriteEnum16(p4);
            _Unmarshal_Helper u = SendReceive(2, m);
            p5 = u.ReadSByte();
            return u.ReadUInt32();
        }

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

public uint RBiSrvChangeUserState(byte[] p0, int p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<byte[], long>(m.Write_0), p1);
            m.WriteInt32(p1);
            m.WriteEnum16(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 RBiSrvIsApplicationTerminateSensitiveForUser(byte[] p0, int p1, char[] p2, int p3, out sbyte p4)
        {
            _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);
            _Unmarshal_Helper u = SendReceive(7, m);
            p4 = u.ReadSByte();
            return u.ReadUInt32();
        }

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

public uint RBiSrvNotifyEndSession(ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(8, m);
            p0 = 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 RBiSrvQueryWorkItemForUser(byte[] p0, int p1, System.Guid p2, out int p3, out byte[] p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<byte[], long>(m.Write_0), p1);
            m.WriteInt32(p1);
            m.WriteGuid(p2);
            _Unmarshal_Helper u = SendReceive(12, m);
            p3 = u.ReadInt32();
            p4 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_6), false);
            return u.ReadUInt32();
        }

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

public uint BriSignalEvent(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, sbyte p2, System.Guid p3, int p4, sbyte[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.WriteSByte(p2);
            m.WriteGuid(p3);
            m.WriteInt32(p4);
            m.Write_15(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"), p4);
            _Unmarshal_Helper u = SendReceive(4, m);
            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<Struct_12>(new System.Func<Struct_12>(u.Read_11), false);
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadEmbeddedPointer<Struct_13>(new System.Func<Struct_13>(u.Read_12), false);
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadEmbeddedPointer<Struct_14>(new System.Func<Struct_14>(u.Read_13), false);
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadEmbeddedPointer<Struct_15>(new System.Func<Struct_15>(u.Read_14), false);
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.ReadEmbeddedPointer<int>(new System.Func<int>(u.ReadInt32), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_11");
        done:
            return;
        }

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

public uint s_DabRpcRegisterTriggerConsumer(int p0, int p1, Union_0 p2, out Struct_19 p3, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteInt32(p1);
            m.Write_0(p2, p1);
            _Unmarshal_Helper u = SendReceive(0, m);
            p3 = u.Read_18();
            p4 = u.ReadContextHandle();
            return u.ReadUInt32();
        }

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

public uint BthServClose(ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(1, m);
            p0 = u.ReadContextHandle();
            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 BthServRegisterAuthenticationEvent(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, long p3, Struct_1 p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.WriteInt64(p3);
            m.Write_1(p4);
            _Unmarshal_Helper u = SendReceive(2, 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 BthServGetAuthRequest(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, out Struct_2 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(4, m);
            p1 = u.ReadInt32();
            p2 = u.Read_2();
            return u.ReadUInt32();
        }

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

public uint BthServGetSdpRecord(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, NtApiDotNet.Ndr.Marshal.NdrEnum16 p3, NtApiDotNet.Ndr.Marshal.NdrEnum16 p4, int p5, out sbyte[] p6, out int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.WriteEnum16(p3);
            m.WriteEnum16(p4);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(10, m);
            p1 = u.ReadInt32();
            p6 = u.Read_12();
            p7 = 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 BthServSetSdpRecord(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, int p2, sbyte[] p3, out long p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p2);
            m.Write_11(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            _Unmarshal_Helper u = SendReceive(11, m);
            p1 = u.ReadInt32();
            p4 = u.ReadInt64();
            return u.ReadUInt32();
        }

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

public uint BthServUninstallDevice(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, string p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.Write_13(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            _Unmarshal_Helper u = SendReceive(16, 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 BthServEirSetRecord(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, int p2, sbyte[] p3, out long p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p2);
            m.Write_11(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            _Unmarshal_Helper u = SendReceive(18, m);
            p1 = u.ReadInt32();
            p4 = u.ReadInt64();
            return u.ReadUInt32();
        }

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

public uint BthServEirUpdateRecord(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, int p2, sbyte[] p3, long 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.WriteInt64(p4);
            _Unmarshal_Helper u = SendReceive(19, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

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

public uint _UseProtseq(short p0, string p1, out int p2, out System.Nullable<Struct_0> p3, out System.Nullable<Struct_0> p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt16(p0);
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(0, m);
            p2 = u.ReadInt32();
            p3 = u.ReadReferentValue<Struct_0>(new System.Func<Struct_0>(u.Read_0), false);
            p4 = u.ReadReferentValue<Struct_0>(new System.Func<Struct_0>(u.Read_0), false);
            return u.ReadUInt32();
        }

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

public uint _GetCustomProtseqInfo(short p0, short[] p1, out System.Nullable<Struct_0> p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt16(p0);
            m.Write_2(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            _Unmarshal_Helper u = SendReceive(1, m);
            p2 = u.ReadReferentValue<Struct_0>(new System.Func<Struct_0>(u.Read_0), false);
            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<Struct_1>(new System.Func<Struct_1>(u.Read_1), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_0");
        done:
            return;
        }

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<Struct_7>(new System.Func<Struct_7>(u.Read_6), false);
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadEmbeddedPointer<Struct_9>(new System.Func<Struct_9>(u.Read_8), false);
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadEmbeddedPointer<Struct_10>(new System.Func<Struct_10>(u.Read_9), false);
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.ReadEmbeddedPointer<Struct_16>(new System.Func<Struct_16>(u.Read_15), false);
                goto done;
            }
            if ((Selector == 6))
            {
                Arm_6 = u.ReadEmbeddedPointer<Struct_18>(new System.Func<Struct_18>(u.Read_17), false);
                goto done;
            }
            Arm_Default = u.ReadEmbeddedPointer<int>(new System.Func<int>(u.ReadInt32), false);
        done:
            return;
        }

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

public uint s_DabRpcUnregisterTriggerConsumer(ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, Union_21 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.Write_20(p2, p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            p0 = u.ReadContextHandle();
            return u.ReadUInt32();
        }

19 View Source File : 7d814569-35b3-4850-bb32-83035fcebf6e_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 1))
            {
                Arm_1 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.Read_4();
                goto done;
            }
            if ((Selector == 10))
            {
                Arm_10 = u.Read_4();
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.Read_6();
                goto done;
            }
            if ((Selector == 6))
            {
                Arm_6 = u.Read_7();
                goto done;
            }
            if ((Selector == 7))
            {
                Arm_7 = u.Read_8();
                goto done;
            }
            if ((Selector == 8))
            {
                Arm_8 = u.Read_7();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_3");
        done:
            return;
        }

19 View Source File : a4b8d482-80ce-40d6-934d-b22a01a44fe7_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : a4b8d482-80ce-40d6-934d-b22a01a44fe7_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : a4b8d482-80ce-40d6-934d-b22a01a44fe7_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint EnsureLicenseForPackageActivation(string p0, int p1, string p2, int p3, System.Guid[] p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt32(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteInt32(p3);
            m.Write_0(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p3);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadUInt32();
        }

19 View Source File : a4b8d482-80ce-40d6-934d-b22a01a44fe7_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint EnsureLicenseForOptionalPackageUsage(string p0, int p1, string p2, string p3, System.Guid p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt32(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteGuid(p4);
            _Unmarshal_Helper u = SendReceive(3, m);
            return u.ReadUInt32();
        }

19 View Source File : a4b8d482-80ce-40d6-934d-b22a01a44fe7_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint PackageSuspendedNotification(string p0, int p1, string p2, int p3, System.Guid[] p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt32(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteInt32(p3);
            m.Write_0(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p3);
            _Unmarshal_Helper u = SendReceive(4, m);
            return u.ReadUInt32();
        }

19 View Source File : a4b8d482-80ce-40d6-934d-b22a01a44fe7_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : a4b8d482-80ce-40d6-934d-b22a01a44fe7_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : a4b8d482-80ce-40d6-934d-b22a01a44fe7_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : b25a52bf-e5dd-4f4a-aea6-8ca7272a0e86_2.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 57cce375-4430-47a6-bb96-2cad0d2fd140_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<Struct_2>(new System.Func<Struct_2>(u.Read_2), false);
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadEmbeddedPointer<Struct_3>(new System.Func<Struct_3>(u.Read_3), false);
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadEmbeddedPointer<Struct_4>(new System.Func<Struct_4>(u.Read_4), false);
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadEmbeddedPointer<Struct_5>(new System.Func<Struct_5>(u.Read_5), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_1");
        done:
            return;
        }

19 View Source File : 6099fc12-3eff-11d0-abd0-00c04fd91a4e_3.0.cs
License : The Unlicense
Project Creator : tyranid

public uint FAX_OpenConnection(long p0, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt64(p0);
            _Unmarshal_Helper u = SendReceive(0, m);
            p1 = u.ReadContextHandle();
            return u.ReadUInt32();
        }

19 View Source File : 6099fc12-3eff-11d0-abd0-00c04fd91a4e_3.0.cs
License : The Unlicense
Project Creator : tyranid

public uint FAX_ClientEventQueue(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, Struct_0 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.Write_0(p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            return u.ReadUInt32();
        }

19 View Source File : 6099fc12-3eff-11d0-abd0-00c04fd91a4e_3.0.cs
License : The Unlicense
Project Creator : tyranid

public uint FAX_CloseConnection(ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(2, m);
            p0 = u.ReadContextHandle();
            return u.ReadUInt32();
        }

19 View Source File : 6099fc12-3eff-11d0-abd0-00c04fd91a4e_3.0.cs
License : The Unlicense
Project Creator : tyranid

public uint FAX_ClientEventQueueEx(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, sbyte[] p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.Write_2(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p2);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(3, m);
            return u.ReadUInt32();
        }

19 View Source File : 2eb08e3e-639f-4fba-97b1-14f878961076_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint Server_ProcessRefresh(string p0, sbyte p1, sbyte p2, sbyte p3, int p4, out Struct_0 p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteSByte(p1);
            m.WriteSByte(p2);
            m.WriteSByte(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(0, m);
            p5 = u.Read_0();
            return u.ReadUInt32();
        }

19 View Source File : 2eb08e3e-639f-4fba-97b1-14f878961076_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint Server_RegisterForNotification(string p0, int p1, int p2, out int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(1, m);
            p3 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 2eb08e3e-639f-4fba-97b1-14f878961076_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint Server_CheckRegisterForNotification(string p0, int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadUInt32();
        }

19 View Source File : 2eb08e3e-639f-4fba-97b1-14f878961076_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint Server_LockPolicySection(string p0, int p1, int p2, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(3, m);
            p3 = u.ReadContextHandle();
            return u.ReadUInt32();
        }

See More Examples