NtApiDotNet.Ndr.Marshal.NdrMarshalBuffer.WriteGuid(System.Nullable)

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

723 Examples 7

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

public uint RBiPtSrvCreateEventForPackageName(out System.Guid p0, System.Guid p1, char[] p2, int p3, int p4, byte[] p5, int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p1);
            m.WriteReferent(p2, new System.Action<char[], long>(m.Write_13), p3);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<byte[], long>(m.Write_14), p6);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(6, m);
            p0 = u.ReadGuid();
            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)
        {
            _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_19), p4);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(14, m);
            return u.ReadUInt32();
        }

19 View Source File : 1b37ca91-76b1-4f5e-a3c7-2abfc61f2bb0_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiRtSrvreplacedociateWorkItem(out System.Guid p0, char[] p1, int p2, char[] p3, int p4, System.Guid p5, int p6, int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p2);
            m.WriteInt32(p2);
            m.WriteReferent(p3, new System.Action<char[], long>(m.Write_3), p4);
            m.WriteInt32(p4);
            m.WriteGuid(p5);
            m.WriteInt32(p6);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(0, m);
            p0 = u.ReadGuid();
            return u.ReadUInt32();
        }

19 View Source File : 1b37ca91-76b1-4f5e-a3c7-2abfc61f2bb0_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 1b37ca91-76b1-4f5e-a3c7-2abfc61f2bb0_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 1b37ca91-76b1-4f5e-a3c7-2abfc61f2bb0_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiRtSrvDisreplacedociateWorkItem(System.Guid p0, sbyte p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteSByte(p1);
            _Unmarshal_Helper u = SendReceive(4, m);
            return u.ReadUInt32();
        }

19 View Source File : 1b37ca91-76b1-4f5e-a3c7-2abfc61f2bb0_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiRtSrvGetWorkItemProperties(System.Guid p0, out char[] p1, out int p2, out System.Nullable<Struct_1> p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(6, m);
            p1 = u.ReadReferent<char[]>(new System.Func<char[]>(u.Read_5), false);
            p2 = u.ReadInt32();
            p3 = u.ReadReferentValue<Struct_1>(new System.Func<Struct_1>(u.Read_0), false);
            return u.ReadUInt32();
        }

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

public uint RBiSrvreplacedociateActivationProxy(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_14), p4);
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action<char[], long>(m.Write_15), p7);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(3, m);
            p0 = u.ReadGuid();
            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 RBiSrvDeleteEvent(System.Guid p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(7, m);
            return u.ReadUInt32();
        }

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

public uint RBiSrvDisreplacedociateWorkItem(System.Guid p0, sbyte p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteSByte(p1);
            _Unmarshal_Helper u = SendReceive(8, 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(19, 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_27), p2);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(20, 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)
        {
            _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);
            _Unmarshal_Helper u = SendReceive(0, 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_9), p4);
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action<char[], long>(m.Write_10), p7);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(3, m);
            p0 = u.ReadGuid();
            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 RBiPtSrvEnumerateBrokeredEvents(System.Guid p0, out int p1, out System.Guid[] p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(9, m);
            p1 = u.ReadInt32();
            p2 = u.ReadReferent<System.Guid[]>(new System.Func<System.Guid[]>(u.Read_15), false);
            return u.ReadUInt32();
        }

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

public uint RBiPtSrvQueryBrokeredEvent(System.Guid p0, out int p1, out byte[] p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(11, m);
            p1 = u.ReadInt32();
            p2 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_18), false);
            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, out int p1, out byte[] p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(13, m);
            p1 = u.ReadInt32();
            p2 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_18), false);
            return u.ReadUInt32();
        }

19 View Source File : 1b37ca91-76b1-4f5e-a3c7-2abfc61f2bb0_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

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

public uint RBiSrvreplacedociateApplicationExtensionClreplaced(out System.Guid p0, char[] p1, int p2, System.Guid p3, Struct_2[] p4, int p5, int p6, char[] p7, int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_9(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p2);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteReferent(p4, new System.Action<Struct_2[], long>(m.Write_16), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p6);
            m.WriteReferent(p7, new System.Action<char[], long>(m.Write_12), p8);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(4, m);
            p0 = u.ReadGuid();
            return u.ReadUInt32();
        }

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

public uint RBiSrvCancelWorkItem(System.Guid p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(5, m);
            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, out int p1, out byte[] p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(15, m);
            p1 = u.ReadInt32();
            p2 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_25), false);
            return u.ReadUInt32();
        }

19 View Source File : 850cee52-3038-4277-b9b4-e05db8b2c35c_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int DasCreatereplacedociationContext(string p0, System.Guid p1, int p2, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteGuid(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(0, m);
            p3 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 View Source File : 850cee52-3038-4277-b9b4-e05db8b2c35c_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int DasCreatereplacedociationContextFromOobBlob(System.Guid p0, int p1, sbyte[] p2, System.Guid p3, int p4, out string p5, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p6, out int p7, out Struct_1[] p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            m.Write_4(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p1);
            m.WriteGuid(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(1, m);
            p5 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p6 = u.ReadContextHandle();
            p7 = u.ReadInt32();
            p8 = u.ReadReferent<Struct_1[]>(new System.Func<Struct_1[]>(u.Read_5), false);
            return u.ReadInt32();
        }

19 View Source File : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteGuid(Member0);
            m.WriteInt32(Member10);
            m.WriteInt32(Member14);
            m.Write_1(Member18, Member14);
            m.WriteInt32(Member28);
            m.Write_2(Member30);
            m.WriteInt32(Member40);
            m.WriteEmbeddedPointer<Struct_4[], long>(Member48, new System.Action<Struct_4[], long>(m.Write_10), Member40);
            m.WriteInt32(Member50);
            m.WriteEmbeddedPointer<Struct_6[], long>(Member58, new System.Action<Struct_6[], long>(m.Write_11), Member50);
            m.WriteInt32(Member60);
            m.WriteEmbeddedPointer<Struct_8[], long>(Member68, new System.Action<Struct_8[], long>(m.Write_12), Member60);
        }

19 View Source File : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteEmbeddedPointer<Struct_7[], long>(Member8, new System.Action<Struct_7[], long>(m.Write_18), Member0);
            m.WriteGuid(Member10);
            m.WriteEmbeddedPointer<string>(Member20, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member28, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member30, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(Member38);
        }

19 View Source File : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int DasHostCreatereplacedociationContextFromOobBlob(System.Guid p0, int p1, sbyte[] p2, long p3, out string p4, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p5, out int p6, out Struct_7[] p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            m.Write_20(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p1);
            m.WriteInt64(p3);
            _Unmarshal_Helper u = SendReceive(8, m);
            p4 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p5 = u.ReadContextHandle();
            p6 = u.ReadInt32();
            p7 = u.ReadReferent<Struct_7[]>(new System.Func<Struct_7[]>(u.Read_21), false);
            return u.ReadInt32();
        }

19 View Source File : 3d27921d-9a28-483f-a749-a48fde7d0c5f_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int DsmRpcSetInstallBehavior(System.Guid p0, int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadInt32();
        }

19 View Source File : 3d27921d-9a28-483f-a749-a48fde7d0c5f_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int DsmRpcGetInstallBehavior(System.Guid p0, out int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(3, m);
            p1 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : c0d930f0-b787-4124-99bc-21f0ecb642ce_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int LsarConnectLocalUser(Struct_0 p0, System.Guid p1, int p2, sbyte[] p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.WriteGuid(p1);
            m.WriteInt32(p2);
            m.Write_2(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            _Unmarshal_Helper u = SendReceive(0, m);
            return u.ReadInt32();
        }

19 View Source File : c0d930f0-b787-4124-99bc-21f0ecb642ce_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int LsarRenewCertificate(System.Guid p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(4, m);
            return u.ReadInt32();
        }

19 View Source File : e40f7b57-7a25-4cd3-a135-7f7d3df9d16b_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RpcSrvCreateSession(char[] p0, int p1, sbyte p2, NtApiDotNet.Ndr.Marshal.NdrEnum16 p3, System.Guid p4, System.Guid p5, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"), p1);
            m.WriteInt32(p1);
            m.WriteSByte(p2);
            m.WriteEnum16(p3);
            m.WriteGuid(p4);
            m.WriteGuid(p5);
            _Unmarshal_Helper u = SendReceive(0, m);
            p6 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 View Source File : 412f241e-c12a-11ce-abff-0020af6e7a17_0.2.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt32(Member4);
            m.WriteInt32(Member8);
            m.Write_7(MemberC);
            m.WriteGuid(Member10);
            m.WriteInt32(Member20);
            m.WriteEmbeddedPointer<Struct_9>(Member28, new System.Action<Struct_9>(m.Write_8));
            m.WriteGuid(Member30);
        }

19 View Source File : e60c73e6-88f9-11cf-9af1-0020af6e72f4_2.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt64(Member8);
            m.WriteInt32(Member10);
            m.WriteInt32(Member14);
            m.WriteInt32(Member18);
            m.WriteInt32(Member1C);
            m.WriteInt32(Member20);
            m.WriteInt32(Member24);
            m.WriteInt32(Member28);
            m.WriteInt32(Member2C);
            m.WriteInt32(Member30);
            m.WriteInt32(Member34);
            m.WriteInt32(Member38);
            m.WriteGuid(Member3C);
        }

19 View Source File : e60c73e6-88f9-11cf-9af1-0020af6e72f4_2.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt32(Member4);
            m.WriteInt32(Member8);
            m.Write_7(MemberC);
            m.WriteGuid(Member10);
            m.WriteInt32(Member20);
            m.WriteEmbeddedPointer<Struct_2>(Member28, new System.Action<Struct_2>(m.Write_1));
            m.WriteGuid(Member30);
        }

19 View Source File : 4b112204-0e19-11d3-b42b-0000f81feb9f_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int BeginSearchRpc(out NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, int p2, System.Guid p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedAnsiString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            _Unmarshal_Helper u = SendReceive(5, m);
            p0 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 View Source File : 9b008953-f195-4bf9-bde0-4471971e58ed_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _SebiDeleteEvent(string p0, System.Guid p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteGuid(p1);
            _Unmarshal_Helper u = SendReceive(3, m);
            return u.ReadUInt32();
        }

19 View Source File : 9b008953-f195-4bf9-bde0-4471971e58ed_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _SebiQueryEventData(string p0, System.Guid p1, out Struct_0 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteGuid(p1);
            _Unmarshal_Helper u = SendReceive(5, m);
            p2 = u.Read_0();
            return u.ReadUInt32();
        }

19 View Source File : a500d4c6-0dd1-4543-bc0c-d5f93486eaf8_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _TbiDeleteEvent(string p0, System.Guid p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteGuid(p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            return u.ReadUInt32();
        }

19 View Source File : 6c9b7b96-45a8-4cca-9eb3-e21ccf8b5a89_1.1.cs
License : The Unlicense
Project Creator : tyranid

public int UmpoRpcImportScheme(string p0, System.Guid p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteGuid(p1);
            _Unmarshal_Helper u = SendReceive(15, m);
            return u.ReadInt32();
        }

19 View Source File : c0e9671e-33c6-4438-9464-56b2e1b1c7b4_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteUInt32(Selector);
            if ((Selector == 0))
            {
                m.WriteInt32(Arm_0);
                goto done;
            }
            if ((Selector == 1))
            {
                m.WriteInt32(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteGuid(Arm_2);
                goto done;
            }
            if ((Selector == 3))
            {
                m.Write_3(Arm_3);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_2");
        done:
            return;
        }

19 View Source File : 6b06753b-9073-4cfd-ba89-12af04bec9eb_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 6b06753b-9073-4cfd-ba89-12af04bec9eb_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : a500d4c6-0dd1-4543-bc0c-d5f93486eaf8_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _TbiQueryEventData(string p0, System.Guid p1, out Struct_0 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteGuid(p1);
            _Unmarshal_Helper u = SendReceive(3, m);
            p2 = u.Read_0();
            return u.ReadUInt32();
        }

19 View Source File : a500d4c6-0dd1-4543-bc0c-d5f93486eaf8_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _TbiUpdateEvent(string p0, System.Guid p1, Struct_0 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteGuid(p1);
            m.Write_0(p2);
            _Unmarshal_Helper u = SendReceive(4, m);
            return u.ReadUInt32();
        }

19 View Source File : 6c9b7b96-45a8-4cca-9eb3-e21ccf8b5a89_1.1.cs
License : The Unlicense
Project Creator : tyranid

public int UmpoRpcDuplicateScheme(System.Guid p0, System.Guid p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteGuid(p1);
            _Unmarshal_Helper u = SendReceive(13, m);
            return u.ReadInt32();
        }

19 View Source File : 6c9b7b96-45a8-4cca-9eb3-e21ccf8b5a89_1.1.cs
License : The Unlicense
Project Creator : tyranid

public int UmpoRpcDeleteScheme(System.Guid p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(14, m);
            return u.ReadInt32();
        }

19 View Source File : 266f33b4-c7c1-4bd1-8f52-ddb8f2214eb0_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteGuid(Member0);
            m.Write_11(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member10, "Member10"));
            m.WriteInt32(Member210);
        }

19 View Source File : 266f33b4-c7c1-4bd1-8f52-ddb8f2214eb0_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RpcLowPrivSetInterface(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, int p2, int p3, sbyte[] p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.Write_14(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p3);
            _Unmarshal_Helper u = SendReceive(4, m);
            return u.ReadInt32();
        }

19 View Source File : d4254f95-08c3-4fcc-b2a6-0b651377a29c_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt32(Member4);
            m.WriteGuid(Member8);
            m.WriteInt32(Member18);
            m.WriteEmbeddedPointer<sbyte[], long>(Member20, new System.Action<sbyte[], long>(m.Write_11), Member18);
        }

19 View Source File : d4254f95-08c3-4fcc-b2a6-0b651377a29c_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteGuid(Member0);
            m.Write_13(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member10, "Member10"));
            m.Write_3(Member210);
            m.WriteGuid(Member218);
            m.WriteInt32(Member228);
        }

See More Examples