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 : 5dea026d-f999-40b1-a234-2164fd086783_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint s_BthEvtBrGattEnumerateBrokeredAttributeRequests(System.Guid p0, out Struct_9 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(5, m);
            p1 = u.Read_8();
            return u.ReadUInt32();
        }

19 View Source File : 5dea026d-f999-40b1-a234-2164fd086783_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint s_BthEvtBrGattRetrieveBrokeredAttributeRequestDetails(System.Guid p0, System.Guid p1, out Struct_11 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteGuid(p1);
            _Unmarshal_Helper u = SendReceive(6, m);
            p2 = u.Read_10();
            return u.ReadUInt32();
        }

19 View Source File : 5dea026d-f999-40b1-a234-2164fd086783_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint s_BthEvtBrGattSendResponseForBrokeredAttributeRequest(System.Guid p0, System.Guid p1, Union_14 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteGuid(p1);
            m.Write_13(p2);
            _Unmarshal_Helper u = SendReceive(7, m);
            return u.ReadUInt32();
        }

19 View Source File : 1bddb2a6-c0c3-41be-8703-ddbdf4f0e80a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RpcGetProfileEapUserDataInfo(char p0, System.Guid p1, int p2, out int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteChar(p0);
            m.WriteGuid(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(18, m);
            p3 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : 1bddb2a6-c0c3-41be-8703-ddbdf4f0e80a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RpcSetProfileEapUserData(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, Struct_7 p2, int p3, int p4, sbyte[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.Write_6(p2);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<sbyte[], long>(m.Write_16), p4);
            _Unmarshal_Helper u = SendReceive(14, m);
            return u.ReadInt32();
        }

19 View Source File : 0767a036-0d22-48aa-ba69-b619480f38cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RAiTagDeprecatedComponentProcess(int p0, System.Guid p1, string p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteGuid(Member4);
            m.WriteInt32(Member14);
            m.WriteEmbeddedPointer<string>(Member18, new System.Action<string>(m.WriteTerminatedString));
        }

19 View Source File : 88143fd0-c28d-4b2b-8fef-8d882f6a9390_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt32(Member4);
            m.Write_10(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member8, "Member8"));
            m.WriteInt32(Member4C);
            m.WriteInt32(Member50);
            m.WriteGuid(Member54);
        }

19 View Source File : 88143fd0-c28d-4b2b-8fef-8d882f6a9390_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt32(Member4);
            m.Write_10(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member8, "Member8"));
            m.WriteInt32(Member4C);
            m.WriteInt32(Member50);
            m.WriteGuid(Member54);
            m.WriteInt32(Member64);
            m.WriteEmbeddedPointer<sbyte[], long>(Member68, new System.Action<sbyte[], long>(m.Write_11), Member64);
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSGetTypeInfo(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, out System.Nullable<Struct_4> p4, int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(10, m);
            p4 = u.ReadReferentValue<Struct_4>(new System.Func<Struct_4>(u.Read_3), false);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSCreateSubtype(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, System.Guid p4, Struct_4 p5, Struct_5 p6, int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteGuid(p4);
            m.Write_3(p5);
            m.Write_4(p6);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(13, m);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSDeleteType(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, int p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(14, m);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSDeleteSubtype(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, System.Guid p4, int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteGuid(p4);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(15, m);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSReadItem(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, System.Guid p4, string p5, out int p6, out byte[] p7, Struct_8 p8, int p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteGuid(p4);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            m.Write_7(p8);
            m.WriteInt32(p9);
            _Unmarshal_Helper u = SendReceive(17, m);
            p6 = u.ReadInt32();
            p7 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_14), false);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSOpenItem(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, System.Guid p4, string p5, int p6, Struct_8 p7, int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteGuid(p4);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            m.WriteInt32(p6);
            m.Write_7(p7);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(19, m);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSAcquireContext(System.Guid p0, Struct_0 p1, int p2, out Struct_3 p3, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p4, int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteUInt3264(p4);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(4, m);
            p3 = u.Read_2();
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSEnumSubtypes(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, out System.Guid p4, int p5, int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteInt32(p5);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(8, m);
            p4 = u.ReadGuid();
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSEnumItems(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, System.Guid p4, out string p5, int p6, int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteGuid(p4);
            m.WriteInt32(p6);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(9, m);
            p5 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSGetSubtypeInfo(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, System.Guid p4, out System.Nullable<Struct_4> p5, int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteGuid(p4);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(11, m);
            p5 = u.ReadReferentValue<Struct_4>(new System.Func<Struct_4>(u.Read_3), false);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSCreateType(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, Struct_4 p4, int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.Write_3(p4);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(12, m);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSDeleteItem(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, System.Guid p4, string p5, Struct_8 p6, int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteGuid(p4);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            m.Write_7(p6);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(16, m);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSWriteItem(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, System.Guid p4, string p5, int p6, byte[] p7, Struct_8 p8, int p9, int p10)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteGuid(p4);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            m.WriteInt32(p6);
            m.Write_15(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p7, "p7"), p6);
            m.Write_7(p8);
            m.WriteInt32(p9);
            m.WriteInt32(p10);
            _Unmarshal_Helper u = SendReceive(18, m);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSCloseItem(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, System.Guid p4, string p5, int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteGuid(p4);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(20, m);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSReadAccessRuleset(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, System.Guid p4, out System.Nullable<Struct_5> p5, int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteGuid(p4);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(21, m);
            p5 = u.ReadReferentValue<Struct_5>(new System.Func<Struct_5>(u.Read_4), false);
            return u.ReadInt32();
        }

19 View Source File : c9378ff1-16f7-11d0-a0b2-00aa0061426a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSReadAccessRuleset_22(Struct_3 p0, Struct_0 p1, int p2, System.Guid p3, System.Guid p4, Struct_5 p5, int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteGuid(p4);
            m.Write_4(p5);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(22, m);
            return u.ReadInt32();
        }

19 View Source File : 333a2276-0000-0000-0d00-00809c000000_3.0.cs
License : The Unlicense
Project Creator : tyranid

public void conv_who_are_you2(System.Guid p0, int p1, out int p2, out System.Guid p3, out uint p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            p2 = u.ReadInt32();
            p3 = u.ReadGuid();
            p4 = u.ReadUInt32();
        }

19 View Source File : 333a2276-0000-0000-0d00-00809c000000_3.0.cs
License : The Unlicense
Project Creator : tyranid

public void conv_are_you_there(System.Guid p0, int p1, out uint p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(2, m);
            p2 = u.ReadUInt32();
        }

19 View Source File : 333a2276-0000-0000-0d00-00809c000000_3.0.cs
License : The Unlicense
Project Creator : tyranid

public void conv_who_are_you_auth(System.Guid p0, int p1, byte[] p2, int p3, int p4, out int p5, out System.Guid p6, out byte[] p7, out int p8, out uint p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            m.Write_0(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p3);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(3, m);
            p5 = u.ReadInt32();
            p6 = u.ReadGuid();
            p7 = u.Read_1();
            p8 = u.ReadInt32();
            p9 = u.ReadUInt32();
        }

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.WriteGuid(Member0);
            m.WriteInt64(Member10);
            m.WriteGuid(Member18);
            m.WriteInt32(Member28);
        }

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

public int RetireServer(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, out uint p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            _Unmarshal_Helper u = SendReceive(10, m);
            p2 = u.ReadUInt32();
            return u.ReadInt32();
        }

19 View Source File : 333a2276-0000-0000-0d00-00809c000000_3.0.cs
License : The Unlicense
Project Creator : tyranid

public void conv_who_are_you(System.Guid p0, int p1, out int p2, out uint p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(0, m);
            p2 = u.ReadInt32();
            p3 = u.ReadUInt32();
        }

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));
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteGuid(Member0);
            m.WriteGuid(Member10);
            m.WriteGuid(Member20);
            m.WriteInt32(Member30);
            m.WriteInt32(Member34);
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint QueryNTService(System.Guid p0, out int p1, out int p2, out int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(4, m);
            p1 = u.ReadInt32();
            p2 = u.ReadInt32();
            p3 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint ControlNTService(System.Guid p0, int p1, out int p2, out int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(5, m);
            p2 = u.ReadInt32();
            p3 = u.ReadInt32();
            return u.ReadUInt32();
        }

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_6(MemberC);
            m.WriteGuid(Member10);
            m.WriteInt32(Member20);
            m.WriteEmbeddedPointer<Struct_0>(Member28, new System.Action<Struct_0>(m.Write_0));
        }

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

public uint SetAppID(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            return u.ReadUInt32();
        }

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

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEmbeddedPointer<string>(Member0, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteEmbeddedPointer<string>(Member8, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteEmbeddedPointer<string>(Member10, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteEmbeddedPointer<string>(Member18, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteEmbeddedPointer<string>(Member20, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteInt32(Member28);
            m.WriteInt32(Member2C);
            m.WriteEmbeddedPointer<string>(Member30, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteGuid(Member38);
            m.WriteEmbeddedPointer<string>(Member48, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteEmbeddedPointer<string>(Member50, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteInt32(Member58);
            m.WriteEmbeddedPointer<string[], long>(Member60, new System.Action<string[], long>(m.Write_6), Member58);
        }

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

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Member0);
            m.WriteEmbeddedPointer<string>(Member8, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteEmbeddedPointer<string>(Member10, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteEmbeddedPointer<string>(Member18, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteGuid(Member20);
            m.WriteEmbeddedPointer<string>(Member30, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteInt32(Member38);
            m.WriteEmbeddedPointer<string[], long>(Member40, new System.Action<string[], long>(m.Write_7), Member38);
        }

19 View Source File : 5267aaba-4f49-4653-8e26-d1e11f3f2ad9_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RedirectLogonError(int p0, System.Guid p1, Struct_1 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.Write_0(p2);
            _Unmarshal_Helper u = SendReceive(5, m);
            return u.ReadInt32();
        }

19 View Source File : 333a2276-0000-0000-0d00-00809c000000_3.0.cs
License : The Unlicense
Project Creator : tyranid

public void conv_who_are_you_auth_more(System.Guid p0, int p1, int p2, int p3, out byte[] p4, out int p5, out uint p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(4, m);
            p4 = u.Read_2();
            p5 = u.ReadInt32();
            p6 = u.ReadUInt32();
        }

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

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEmbeddedPointer<string>(Member0, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteEmbeddedPointer<string>(Member8, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteEmbeddedPointer<string>(Member10, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteEmbeddedPointer<string>(Member18, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteEmbeddedPointer<string>(Member20, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteInt32(Member28);
            m.WriteInt32(Member2C);
            m.WriteEmbeddedPointer<string>(Member30, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteGuid(Member38);
        }

19 View Source File : bb8b98e8-84dd-45e7-9f34-c3fb6155eeed_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int VltCreateItemType(System.Guid p0, Struct_1 p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(0, m);
            return u.ReadInt32();
        }

19 View Source File : bb8b98e8-84dd-45e7-9f34-c3fb6155eeed_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int VltCopyItem(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, System.Guid p2, System.Nullable<Struct_6> p3, Struct_6 p4, int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteContextHandle(p1);
            m.WriteGuid(p2);
            m.WriteReferent(p3, new System.Action<Struct_6>(m.Write_5));
            m.Write_5(p4);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(8, m);
            return u.ReadInt32();
        }

19 View Source File : bb8b98e8-84dd-45e7-9f34-c3fb6155eeed_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int VltCopyVault(System.Guid p0, ref System.Nullable<System.Guid> p1, System.Guid p2, string p3, string p4, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p5, int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteReferent(p1, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteGuid(p2);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteReferent(p4, new System.Action<string>(m.WriteTerminatedString));
            m.WriteUInt3264(p5);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(19, m);
            p1 = u.ReadReferentValue<System.Guid>(new System.Func<System.Guid>(u.ReadGuid), false);
            return u.ReadInt32();
        }

19 View Source File : 4be96a0f-9f52-4729-a51d-c70610f118b0_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_1(Arm_3);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_0");
        done:
            return;
        }

19 View Source File : bb8b98e8-84dd-45e7-9f34-c3fb6155eeed_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteGuid(Member0);
            m.WriteEmbeddedPointer<string>(Member10, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<Struct_6>(Member18, new System.Action<Struct_6>(m.Write_5));
            m.WriteEmbeddedPointer<Struct_6>(Member20, new System.Action<Struct_6>(m.Write_5));
            m.WriteEmbeddedPointer<Struct_6>(Member28, new System.Action<Struct_6>(m.Write_5));
            m.Write_4(Member30);
            m.WriteInt32(Member38);
            m.WriteInt32(Member3C);
            m.WriteEmbeddedPointer<Struct_6[], long>(Member40, new System.Action<Struct_6[], long>(m.Write_17), Member3C);
        }

19 View Source File : bb8b98e8-84dd-45e7-9f34-c3fb6155eeed_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Selector);
            if ((Selector == 1))
            {
                m.WriteEmbeddedPointer<string>(Arm_1, new System.Action<string>(m.WriteTerminatedString));
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteGuid(Arm_2);
                goto done;
            }
            if ((Selector == 3))
            {
                m.WriteGuid(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.Write_13(Arm_4);
                goto done;
            }
            if ((Selector == 6))
            {
                m.WriteGuid(Arm_6);
                goto done;
            }
            if ((Selector == 5))
            {
                m.WriteGuid(Arm_5);
                goto done;
            }
            if ((Selector == 7))
            {
                m.WriteSByte(Arm_7);
                goto done;
            }
            if ((Selector == 8))
            {
                m.WriteEmbeddedPointer<string>(Arm_8, new System.Action<string>(m.WriteTerminatedString));
                goto done;
            }
            if ((Selector == 9))
            {
                m.WriteInt32(Arm_9);
                goto done;
            }
            if ((Selector == 11))
            {
                m.WriteSByte(Arm_11);
                goto done;
            }
            if ((Selector == 12))
            {
                m.WriteGuid(Arm_12);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_13");
        done:
            return;
        }

19 View Source File : bb8b98e8-84dd-45e7-9f34-c3fb6155eeed_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int VltOpenVault(System.Guid p0, int p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(11, m);
            p2 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 View Source File : 22716894-fd8e-4462-9783-09e6d9531f16_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint s_UbpmRpcTaskHostReportTaskStatus(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, System.Guid p2, int p3, int p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteGuid(p2);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(3, m);
            return u.ReadUInt32();
        }

See More Examples