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

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

545 Examples 7

19 View Source File : 085b0334-e454-4d91-9b8c-4134f9e793f3_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int PsmSrvSetApplicationPriority(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, byte[] p2, int p3, string p4, NtApiDotNet.Ndr.Marshal.NdrEnum16 p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.Write_4(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p1);
            m.WriteInt32(p3);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"));
            m.WriteEnum16(p5);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadInt32();
        }

19 View Source File : a2d47257-12f7-4beb-8981-0ebfa935c407_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int PnrpRpcResolve(out NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, string p2, string p3, int p4, int p5, NtApiDotNet.Ndr.Marshal.NdrEnum16 p6, System.Nullable<Struct_6> p7, int p8, int p9, int p10, int p11, ref string p12)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p1);
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            m.WriteEnum16(p6);
            m.WriteReferent(p7, new System.Action<Struct_6>(m.Write_6));
            m.WriteInt32(p8);
            m.WriteInt32(p9);
            m.WriteInt32(p10);
            m.WriteInt32(p11);
            m.WriteReferent(p12, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(7, m);
            p0 = u.ReadContextHandle();
            p12 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : e53d94ca-7464-4839-b044-09a2fb8b3ae5_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint HamRpcSrvStartActivityAsync(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, System.Nullable<Struct_1> p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteEnum16(p2);
            m.WriteReferent(p3, new System.Action<Struct_1>(m.Write_1));
            _Unmarshal_Helper u = SendReceive(5, m);
            return u.ReadUInt32();
        }

19 View Source File : e53d94ca-7464-4839-b044-09a2fb8b3ae5_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint HamRpcSrvTerminateActivityHost(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, NtApiDotNet.Ndr.Marshal.NdrEnum16 p3, ref System.Nullable<long> p4, int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteEnum16(p2);
            m.WriteEnum16(p3);
            m.WriteReferent(p4, new System.Action<long>(m.WriteInt64));
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(8, m);
            p4 = u.ReadReferentValue<long>(new System.Func<long>(u.ReadInt64), false);
            return u.ReadUInt32();
        }

19 View Source File : e53d94ca-7464-4839-b044-09a2fb8b3ae5_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint HamRpcSrvTerminateHostOnProcessExit(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, NtApiDotNet.NtProcess p3, NtApiDotNet.Ndr.Marshal.NdrEnum16 p4, byte p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.Write_12(p3);
            m.WriteEnum16(p4);
            m.WriteByte(p5);
            _Unmarshal_Helper u = SendReceive(13, m);
            return u.ReadUInt32();
        }

19 View Source File : fae436b0-b864-4a87-9eda-298547cd82f2_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint HamRpcSrvDebugTerminatePackage(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, NtApiDotNet.Ndr.Marshal.NdrEnum16 p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteEnum16(p2);
            m.WriteEnum16(p3);
            _Unmarshal_Helper u = SendReceive(5, m);
            return u.ReadUInt32();
        }

19 View Source File : a2d47257-12f7-4beb-8981-0ebfa935c407_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Member0);
            m.Write_10(Member8, Member0);
        }

19 View Source File : a2d47257-12f7-4beb-8981-0ebfa935c407_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Selector);
            if ((Selector == 2))
            {
                m.WriteInt32(Arm_2);
                goto done;
            }
            if ((Selector == 1))
            {
                m.WriteEmbeddedPointer<string>(Arm_1, new System.Action<string>(m.WriteTerminatedString));
                goto done;
            }
            m.WriteEmpty(Arm_Default);
        done:
            return;
        }

19 View Source File : 082a3471-31b6-422a-b931-a54401960c62_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint HamRpcSrvCreateExtendedExecution(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, string p2, out long p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(4, m);
            p3 = u.ReadInt64();
            return u.ReadUInt32();
        }

19 View Source File : 082a3471-31b6-422a-b931-a54401960c62_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint HamRpcSrvTerminateSelfOnRequiredProcessExit(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.NtProcess p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, byte p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.Write_8(p1);
            m.WriteEnum16(p2);
            m.WriteByte(p3);
            _Unmarshal_Helper u = SendReceive(12, m);
            return u.ReadUInt32();
        }

19 View Source File : 085b0334-e454-4d91-9b8c-4134f9e793f3_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int PsmSrvSetApplicationState(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, byte[] p2, int p3, string p4, NtApiDotNet.Ndr.Marshal.NdrEnum16 p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.Write_4(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p1);
            m.WriteInt32(p3);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"));
            m.WriteEnum16(p5);
            _Unmarshal_Helper u = SendReceive(1, m);
            return u.ReadInt32();
        }

19 View Source File : 1d55b526-c137-46c5-ab79-638f2a68e869_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteByte(Member0);
            m.WriteByte(Member1);
            m.WriteInt16(Member2);
            m.WriteInt32(Member4);
            m.Write_0(Member8);
            m.WriteInt32(MemberC);
            m.WriteInt32(Member10);
            m.WriteInt32(Member14);
            m.WriteEnum16(Member18);
            m.Write_4(Member1C, Member18);
        }

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_2>(Member28, new System.Action<Struct_2>(m.Write_1));
            m.WriteGuid(Member30);
            m.WriteInt64(Member40);
            m.WriteEnum16(Member48);
            m.Write_9(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member50, "Member50"));
            m.Write_9(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member58, "Member58"));
            m.Write_9(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member60, "Member60"));
        }

19 View Source File : 55e6b932-1979-45d6-90c5-7f6270724112_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Member0);
            m.WriteInt32(Member4);
            m.WriteInt32(Member8);
        }

19 View Source File : 88abcbc3-34ea-76ae-8215-767520655a23_0.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteEmbeddedPointer<Struct_2[], long>(Member8, new System.Action<Struct_2[], long>(m.Write_2), Member10);
            m.WriteInt32(Member10);
            m.WriteEnum16(Member14);
            m.WriteEmbeddedPointer<string>(Member18, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member20, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(Member28);
        }

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_11(MemberC);
            m.WriteGuid(Member10);
            m.WriteInt32(Member20);
            m.WriteEmbeddedPointer<Struct_14>(Member28, new System.Action<Struct_14>(m.Write_13));
            m.WriteGuid(Member30);
            m.WriteInt64(Member40);
            m.WriteEnum16(Member48);
            m.Write_19(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member50, "Member50"));
            m.Write_19(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member58, "Member58"));
            m.Write_19(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member60, "Member60"));
        }

19 View Source File : 0a74ef1c-41a4-4e06-83ae-dc74fb1cdd53_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteEnum16(Member4);
            m.WriteInt32(Member8);
            m.WriteUInt3264(Member10);
            m.WriteUInt3264(Member18);
        }

19 View Source File : a0bc4698-b8d7-4330-a28f-7709e18b6108_4.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteEmbeddedPointer<string>(Member8, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEnum16(Member10);
            m.WriteEnum16(Member14);
        }

19 View Source File : 97be9507-17da-4999-87d7-66c0b2d83cc7_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.Write_1(Member0);
            m.WriteEnum16(Member8);
        }

19 View Source File : db2ce634-191d-42af-a28c-16be97924ca7_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.Write_0(Member0);
            m.WriteEnum16(Member8);
            m.WriteInt16(MemberC);
        }

19 View Source File : db2ce634-191d-42af-a28c-16be97924ca7_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Member0);
            m.Write_4(Member8);
            m.WriteInt32(Member10);
        }

19 View Source File : db2ce634-191d-42af-a28c-16be97924ca7_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.Write_0(Member0);
            m.WriteEnum16(Member8);
            m.WriteFloat(MemberC);
            m.WriteFloat(Member10);
            m.WriteInt32(Member14);
            m.WriteSByte(Member18);
            m.WriteInt32(Member1C);
        }

19 View Source File : 1257b580-ce2f-4109-82d6-a9459d0bf6bc_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RpcShadow2(int p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, out NtApiDotNet.Ndr.Marshal.NdrEnum16 p3, out string p4, int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteEnum16(p1);
            m.WriteEnum16(p2);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(0, m);
            p3 = u.ReadEnum16();
            p4 = u.ReadConformantVaryingString();
            return u.ReadInt32();
        }

19 View Source File : 6770612b-b256-4b6e-891b-2ff9936755a1_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BriCreateEvent2(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, string p1, Struct_0 p2, Struct_1 p3, int p4, System.Nullable<System.Guid> p5, out Struct_7 p6, out Struct_8 p7, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p8, ref System.Nullable<Struct_7> p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            m.Write_0(p2);
            m.Write_1(p3);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p9, new System.Action<Struct_7>(m.Write_6));
            _Unmarshal_Helper u = SendReceive(0, m);
            p6 = u.Read_6();
            p7 = u.Read_7();
            p8 = u.ReadContextHandle();
            p9 = u.ReadReferentValue<Struct_7>(new System.Func<Struct_7>(u.Read_6), false);
            return u.ReadUInt32();
        }

19 View Source File : 6770612b-b256-4b6e-891b-2ff9936755a1_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BriDeleteEvent2(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 : 6770612b-b256-4b6e-891b-2ff9936755a1_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BriDisableEvent2(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 : 6770612b-b256-4b6e-891b-2ff9936755a1_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BriEnableEvent2(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 : 9435cc56-1d9c-4924-ac7d-b60a2c3520e1_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int Proc3(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, int p2, sbyte[] p3, out int p4, out sbyte[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteInt32(p2);
            m.Write_0(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            _Unmarshal_Helper u = SendReceive(3, m);
            p4 = u.ReadInt32();
            p5 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_1), false);
            return u.ReadInt32();
        }

19 View Source File : 9435cc56-1d9c-4924-ac7d-b60a2c3520e1_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int Proc4(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, int p2, sbyte[] p3, out int p4, out sbyte[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteInt32(p2);
            m.Write_0(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            _Unmarshal_Helper u = SendReceive(4, m);
            p4 = u.ReadInt32();
            p5 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_1), false);
            return u.ReadInt32();
        }

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

public int RegisterNotificationRpc(out NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, string p3, int p4, System.Guid p5, string p6, int p7, out System.Nullable<Struct_4> p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p1);
            m.WriteEnum16(p2);
            m.WriteReferent(p3, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteInt32(p4);
            m.WriteGuid(p5);
            m.WriteReferent(p6, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(12, m);
            p0 = u.ReadContextHandle();
            p8 = u.ReadReferentValue<Struct_4>(new System.Func<Struct_4>(u.Read_3), false);
            return u.ReadInt32();
        }

19 View Source File : 54b4c689-969a-476f-8dc2-990885e9f562_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int SvcFindNextStorageTypeExAsync(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, string p2, ref string p3, out long p4, out long p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteReferent(p3, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(9, m);
            p3 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p4 = u.ReadInt64();
            p5 = u.ReadInt64();
            return u.ReadInt32();
        }

19 View Source File : 5a7ccda5-1cd7-4693-a8d6-4bdded80c32f_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 5a7ccda5-1cd7-4693-a8d6-4bdded80c32f_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Member0);
            m.Write_8(Member8, Member0);
        }

19 View Source File : 5a7ccda5-1cd7-4693-a8d6-4bdded80c32f_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.WriteInt32(Arm_2);
                goto done;
            }
            if ((Selector == 3))
            {
                m.WriteInt64(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.WriteSByte(Arm_4);
                goto done;
            }
            if ((Selector == 10))
            {
                m.Write_2(Arm_10);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_8");
        done:
            return;
        }

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<Struct_2[], long>(Member40, new System.Action<Struct_2[], long>(m.Write_9), Member38);
            m.WriteInt32(Member48);
            m.WriteEmbeddedPointer<string[], long>(Member50, new System.Action<string[], long>(m.Write_10), Member48);
        }

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

public int RegisterNotificationAsyncRpc(out NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, string p3, int p4, string p5, int p6, out System.Nullable<Struct_4> p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p1);
            m.WriteEnum16(p2);
            m.WriteReferent(p3, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<string>(m.WriteTerminatedAnsiString));
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(13, m);
            p0 = u.ReadContextHandle();
            p7 = u.ReadReferentValue<Struct_4>(new System.Func<Struct_4>(u.Read_3), false);
            return u.ReadInt32();
        }

19 View Source File : 54b4c689-969a-476f-8dc2-990885e9f562_0.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteEnum16(Member4);
            m.Write_4(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member8, "Member8"));
            m.Write_4(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member210, "Member210"));
        }

19 View Source File : 54b4c689-969a-476f-8dc2-990885e9f562_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int SvcSelectStorageVolumeEx(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, int p2, NtApiDotNet.Ndr.Marshal.NdrEnum16 p3, string p4, NtApiDotNet.Ndr.Marshal.NdrEnum16 p5, out long p6, out long p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteInt32(p2);
            m.WriteEnum16(p3);
            m.WriteReferent(p4, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEnum16(p5);
            _Unmarshal_Helper u = SendReceive(1, m);
            p6 = u.ReadInt64();
            p7 = u.ReadInt64();
            return u.ReadInt32();
        }

19 View Source File : 54b4c689-969a-476f-8dc2-990885e9f562_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int SvcSelectStorageVolume(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, int p2, NtApiDotNet.Ndr.Marshal.NdrEnum16 p3, string p4, out long p5, out long p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteInt32(p2);
            m.WriteEnum16(p3);
            m.WriteReferent(p4, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(2, m);
            p5 = u.ReadInt64();
            p6 = u.ReadInt64();
            return u.ReadInt32();
        }

19 View Source File : 54b4c689-969a-476f-8dc2-990885e9f562_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int SvcFindNextStorageTypeEx(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, string p2, ref string p3, out long p4, out long p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteReferent(p3, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(4, m);
            p3 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p4 = u.ReadInt64();
            p5 = u.ReadInt64();
            return u.ReadInt32();
        }

19 View Source File : 54b4c689-969a-476f-8dc2-990885e9f562_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int SvcGetStorageExecutionInfo(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, ref Struct_1 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.Write_1(p2);
            _Unmarshal_Helper u = SendReceive(7, m);
            p2 = u.Read_1();
            return u.ReadInt32();
        }

19 View Source File : be7f785e-0e3a-4ab7-91de-7e46e443be29_0.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.Write_6(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member4, "Member4"));
            m.WriteInt32(Member20C);
            m.WriteEnum16(Member210);
            m.WriteEnum16(Member214);
            m.WriteInt32(Member218);
            m.WriteEnum16(Member21C);
            m.WriteEnum16(Member220);
            m.WriteGuid(Member224);
            m.WriteInt32(Member234);
            m.WriteInt64(Member238);
            m.Write_6(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member240, "Member240"));
            m.WriteInt32(Member448);
            m.WriteInt32(Member44C);
        }

19 View Source File : be7f785e-0e3a-4ab7-91de-7e46e443be29_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int SvcGetStorageSettings(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, int p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, out int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteInt32(p1);
            m.WriteEnum16(p2);
            _Unmarshal_Helper u = SendReceive(9, m);
            p3 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : be7f785e-0e3a-4ab7-91de-7e46e443be29_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int SvcSetStorageSettings(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, int p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteInt32(p1);
            m.WriteEnum16(p2);
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(11, m);
            return u.ReadInt32();
        }

19 View Source File : be7f785e-0e3a-4ab7-91de-7e46e443be29_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int SvcTriggerLowStorageNotification(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(13, m);
            return u.ReadInt32();
        }

19 View Source File : be7f785e-0e3a-4ab7-91de-7e46e443be29_0.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteEnum16(Member4);
            m.WriteInt32(Member8);
            m.WriteEnum16(MemberC);
            m.WriteEnum16(Member10);
        }

19 View Source File : be7f785e-0e3a-4ab7-91de-7e46e443be29_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int SvcMountVolume(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, int p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(0, m);
            return u.ReadInt32();
        }

19 View Source File : be7f785e-0e3a-4ab7-91de-7e46e443be29_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int SvcProvisionForAppInstall(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(17, m);
            return u.ReadInt32();
        }

19 View Source File : be7f785e-0e3a-4ab7-91de-7e46e443be29_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int SvcGetStorageInstanceCountForMaps(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, out int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            _Unmarshal_Helper u = SendReceive(18, m);
            p1 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : be7f785e-0e3a-4ab7-91de-7e46e443be29_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int SvcGetStoragePolicySettings(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, string p1, out int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(19, m);
            p2 = u.ReadInt32();
            return u.ReadInt32();
        }

See More Examples