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 : f5ed6945-e2e8-4ac9-947d-e6ca413f6172_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_pbmReportApplicationState(string p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteEnum16(p1);
            _Unmarshal_Helper u = SendReceive(11, m);
            return u.ReadInt32();
        }

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

public uint RBiSrvChangeApplicationStateForPackageName(char[] p0, int p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, out sbyte p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"), p1);
            m.WriteInt32(p1);
            m.WriteEnum16(p2);
            _Unmarshal_Helper u = SendReceive(0, m);
            p3 = 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 RBiSrvChangeApplicationStateForPsmKey(char[] p0, int p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, out sbyte p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"), p1);
            m.WriteInt32(p1);
            m.WriteEnum16(p2);
            _Unmarshal_Helper u = SendReceive(1, m);
            p3 = 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 RBiSrvChangeSessionState(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadUInt32();
        }

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

private void Marshal(_Marshal_Helper m)
        {
            m.Write_2(Member0);
            m.WriteEnum16(Member110);
            m.WriteEnum16(Member114);
            m.WriteEnum16(Member118);
            m.Write_3(Member11C, ((int)(Member110)));
        }

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

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

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

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

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

public uint 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_11();
            p7 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 6f201a55-a24d-495f-aac9-2f4fce34df98_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RpcSrvCpNotifyConnectivityChange(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, System.Nullable<Struct_0> p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteReferent(p2, new System.Action<Struct_0>(m.Write_0));
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadInt32();
        }

19 View Source File : f87e728f-2bf3-4358-9539-9b130ad71b54_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Member0);
            m.WriteInt16(Member4);
            m.WriteInt32(Member8);
            m.WriteInt32(MemberC);
            m.WriteInt32(Member10);
            m.WriteInt32(Member14);
            m.WriteInt32(Member18);
            m.WriteInt32(Member1C);
            m.WriteInt32(Member20);
            m.WriteInt32(Member24);
        }

19 View Source File : 1e665584-40fe-4450-8f6e-802362399694_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RpcCreateSession(Struct_0 p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, int p2, out int p3, out System.Guid p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.WriteEnum16(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(2, m);
            p3 = u.ReadInt32();
            p4 = u.ReadGuid();
            return u.ReadInt32();
        }

19 View Source File : 7f9d11bf-7fb9-436b-a812-b2d50c5d4c03_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 7f9d11bf-7fb9-436b-a812-b2d50c5d4c03_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Member0);
            m.WriteEnum16(Member4);
            m.WriteEmbeddedPointer<Struct_10>(Member8, new System.Action<Struct_10>(m.Write_9));
            m.WriteEmbeddedPointer<Struct_10>(Member10, new System.Action<Struct_10>(m.Write_9));
            m.WriteEmbeddedPointer<string>(Member18, new System.Action<string>(m.WriteTerminatedString));
            m.Write_12(Member20, Member4);
        }

19 View Source File : 7f9d11bf-7fb9-436b-a812-b2d50c5d4c03_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RPC_FWGetIndicatedPortInUse(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, out int p1, out short[] p2, out short[] p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            _Unmarshal_Helper u = SendReceive(1, m);
            p1 = u.ReadInt32();
            p2 = u.ReadReferent<short[]>(new System.Func<short[]>(u.Read_26), false);
            p3 = u.ReadReferent<short[]>(new System.Func<short[]>(u.Read_26), false);
            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 : 7f9d11bf-7fb9-436b-a812-b2d50c5d4c03_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Selector);
            if ((Selector == 1))
            {
                m.Write_13(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.Write_15(Arm_2);
                goto done;
            }
            m.WriteEmpty(Arm_Default);
        done:
            return;
        }

19 View Source File : 7f9d11bf-7fb9-436b-a812-b2d50c5d4c03_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RPC_FWIndicateTupleInUse(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, string p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, short p3, short p4, short p5, System.Nullable<Struct_0> p6, System.Nullable<Struct_0> p7, System.Nullable<Struct_8> p8, out long p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEnum16(p2);
            m.WriteInt16(p3);
            m.WriteInt16(p4);
            m.WriteInt16(p5);
            m.WriteReferent(p6, new System.Action<Struct_0>(m.Write_0));
            m.WriteReferent(p7, new System.Action<Struct_0>(m.Write_0));
            m.WriteReferent(p8, new System.Action<Struct_8>(m.Write_8));
            _Unmarshal_Helper u = SendReceive(2, m);
            p9 = u.ReadInt64();
            return u.ReadInt32();
        }

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, string p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteEnum16(p2);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadInt32();
        }

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

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

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, string p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteEnum16(p2);
            _Unmarshal_Helper u = SendReceive(1, m);
            return u.ReadInt32();
        }

19 View Source File : 697dcda9-3ba9-4eb2-9247-e11f1901b0d2_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt64(Member0);
            m.WriteEnum16(Member8);
            m.WriteEnum16(MemberC);
            m.WriteEnum16(Member10);
            m.WriteInt32(Member14);
            m.WriteInt32(Member18);
            m.WriteInt32(Member1C);
            m.WriteInt32(Member20);
            m.WriteInt32(Member24);
            m.WriteInt32(Member28);
        }

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

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

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

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Member0);
            m.WriteInt32(Member4);
            m.WriteEmbeddedPointer<byte[], long>(Member8, new System.Action<byte[], long>(m.Write_2), Member4);
        }

19 View Source File : 4be96a0f-9f52-4729-a51d-c70610f118b0_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int WinBioCredMgrSrvRemoveCredential(Union_0 p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.WriteEnum16(p1);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadInt32();
        }

19 View Source File : 4be96a0f-9f52-4729-a51d-c70610f118b0_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int WinBioCredMgrSrvGetCredentialState(Union_0 p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, out NtApiDotNet.Ndr.Marshal.NdrEnum16 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.WriteEnum16(p1);
            _Unmarshal_Helper u = SendReceive(6, m);
            p2 = u.ReadEnum16();
            return u.ReadInt32();
        }

19 View Source File : 4be96a0f-9f52-4729-a51d-c70610f118b0_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

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

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Member0);
            m.Write_1(Member4, Member0);
            m.WriteInt32(Member24);
            m.WriteEmbeddedPointer<sbyte[], long>(Member28, new System.Action<sbyte[], long>(m.Write_7), Member24);
        }

19 View Source File : a500d4c6-0dd1-4543-bc0c-d5f93486eaf8_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_2(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.Write_4(Arm_2);
                goto done;
            }
            if ((Selector == 3))
            {
                m.Write_5(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.Write_2(Arm_4);
                goto done;
            }
            if ((Selector == 5))
            {
                m.Write_2(Arm_5);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_1");
        done:
            return;
        }

19 View Source File : abfb6ca3-0c5e-4734-9285-0aee72fe8d1c_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RpcOrderConnection(char p0, System.Nullable<System.Guid> p1, string p2, NtApiDotNet.Ndr.Marshal.NdrEnum16 p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteChar(p0);
            m.WriteReferent(p1, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEnum16(p3);
            _Unmarshal_Helper u = SendReceive(10, m);
            return u.ReadInt32();
        }

19 View Source File : abfb6ca3-0c5e-4734-9285-0aee72fe8d1c_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RpcOpenOnDemandRequestHandle(char p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, string p2, int p3, sbyte[] p4, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteChar(p0);
            m.WriteEnum16(p1);
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action<sbyte[], long>(m.Write_11), p3);
            _Unmarshal_Helper u = SendReceive(18, m);
            p5 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 View Source File : 12e65dd8-887f-41ef-91bf-8d816c42c2e7_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Member0);
            m.WriteEmbeddedPointer<Struct_1>(Member8, new System.Action<Struct_1>(m.Write_1));
            m.WriteEmbeddedPointer<string>(Member10, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member18, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member20, new System.Action<string>(m.WriteTerminatedString));
            m.WriteUInt3264(Member28);
            m.WriteInt16(Member30);
            m.WriteInt16(Member32);
            m.WriteEnum16(Member34);
            m.WriteUInt3264(Member38);
            m.WriteUInt3264(Member40);
            m.WriteInt32(Member48);
            m.WriteEmbeddedPointer<sbyte[], long, long>(Member50, new System.Action<sbyte[], long, long>(m.Write_3), Member48, Member48);
            m.WriteInt32(Member58);
        }

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.Write_14(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member0, "Member0"));
            m.WriteEnum16(Member10);
        }

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.WriteEnum16(Member0);
            m.Write_10(Member4);
        }

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

public int WwanRpcSmsSend(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, int p3, sbyte[] p4, ref System.Nullable<int> p5, ref System.Nullable<int> p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.WriteEnum16(p2);
            m.WriteInt32(p3);
            m.Write_17(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p3);
            m.WriteReferent(p5, new System.Action<int>(m.WriteInt32));
            m.WriteReferent(p6, new System.Action<int>(m.WriteInt32));
            _Unmarshal_Helper u = SendReceive(14, m);
            p5 = u.ReadReferentValue<int>(new System.Func<int>(u.ReadInt32), false);
            p6 = u.ReadReferentValue<int>(new System.Func<int>(u.ReadInt32), false);
            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.WriteEnum16(Selector);
            if ((Selector == 0))
            {
                m.Write_7(Arm_0);
                goto done;
            }
            if ((Selector == 2))
            {
                m.Write_7(Arm_2);
                goto done;
            }
            if ((Selector == 1))
            {
                m.Write_8(Arm_1);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_7");
        done:
            return;
        }

19 View Source File : c453c318-b4a8-4188-80c4-73e6c7417dbf_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int ServiceMain_3(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 : d4254f95-08c3-4fcc-b2a6-0b651377a29c_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int WwanRpcSetInterface(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, int p3, sbyte[] p4, ref System.Nullable<int> p5, ref System.Nullable<int> p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.WriteEnum16(p2);
            m.WriteInt32(p3);
            m.Write_17(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p3);
            m.WriteReferent(p5, new System.Action<int>(m.WriteInt32));
            m.WriteReferent(p6, new System.Action<int>(m.WriteInt32));
            _Unmarshal_Helper u = SendReceive(5, m);
            p5 = u.ReadReferentValue<int>(new System.Func<int>(u.ReadInt32), false);
            p6 = u.ReadReferentValue<int>(new System.Func<int>(u.ReadInt32), false);
            return u.ReadInt32();
        }

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

public int WwanRpcQueryInterface(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, out int p3, out sbyte[] p4, ref System.Nullable<int> p5, ref System.Nullable<int> p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.WriteEnum16(p2);
            m.WriteReferent(p5, new System.Action<int>(m.WriteInt32));
            m.WriteReferent(p6, new System.Action<int>(m.WriteInt32));
            _Unmarshal_Helper u = SendReceive(6, m);
            p3 = u.ReadInt32();
            p4 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_18), false);
            p5 = u.ReadReferentValue<int>(new System.Func<int>(u.ReadInt32), false);
            p6 = u.ReadReferentValue<int>(new System.Func<int>(u.ReadInt32), false);
            return u.ReadInt32();
        }

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

public int WwanRpcConnect(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, int p3, string p4, System.Guid p5, out int p6, ref System.Nullable<int> p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.WriteEnum16(p2);
            m.WriteInt32(p3);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"));
            m.WriteGuid(p5);
            m.WriteReferent(p7, new System.Action<int>(m.WriteInt32));
            _Unmarshal_Helper u = SendReceive(9, m);
            p6 = u.ReadInt32();
            p7 = u.ReadReferentValue<int>(new System.Func<int>(u.ReadInt32), false);
            return u.ReadInt32();
        }

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

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

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

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Member0);
            m.WriteInt32(Member4);
            m.Write_4(Member8);
            m.Write_5(Member10);
            m.WriteEnum16(Member20);
            m.Write_19(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member24, "Member24"));
            m.Write_20(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member44, "Member44"));
            m.Write_21(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member6E, "Member6E"));
        }

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

public int RpcWfdLowPrivOpenSessionByInterfaceId(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, int p2, out System.Guid p3, out Struct_4 p4, out int p5, out NtApiDotNet.Ndr.Marshal.NdrUInt3264 p6, NtApiDotNet.Ndr.Marshal.NdrEnum16 p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteInt32(p2);
            m.WriteEnum16(p7);
            _Unmarshal_Helper u = SendReceive(9, m);
            p3 = u.ReadGuid();
            p4 = u.Read_3();
            p5 = u.ReadInt32();
            p6 = u.ReadUInt3264();
            return u.ReadInt32();
        }

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

public int WwanRpcAuthChallenge(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, int p3, sbyte[] p4, ref System.Nullable<int> p5, ref System.Nullable<int> p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.WriteEnum16(p2);
            m.WriteInt32(p3);
            m.Write_17(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p3);
            m.WriteReferent(p5, new System.Action<int>(m.WriteInt32));
            m.WriteReferent(p6, new System.Action<int>(m.WriteInt32));
            _Unmarshal_Helper u = SendReceive(23, m);
            p5 = u.ReadReferentValue<int>(new System.Func<int>(u.ReadInt32), false);
            p6 = u.ReadReferentValue<int>(new System.Func<int>(u.ReadInt32), false);
            return u.ReadInt32();
        }

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

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

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

private void Marshal(_Marshal_Helper m)
        {
            m.Write_23(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member0, "Member0"));
            m.Write_20(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member200, "Member200"));
            m.WriteEnum16(Member22C);
        }

See More Examples