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 : c49a5a70-8a7f-4e70-ba16-1e8f1f193ef1_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int Rpc_AdhGetConfig(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, ref byte[] p2, int p3, ref int p4, out int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteReferent(p2, new System.Action<byte[], long, long>(m.Write_8), p3, NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p4));
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(5, m);
            p2 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_8), false);
            p4 = u.ReadInt32();
            p5 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : c49a5a70-8a7f-4e70-ba16-1e8f1f193ef1_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : ff9fd3c4-742e-45e0-91dd-2f5bc632a1df_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : ff9fd3c4-742e-45e0-91dd-2f5bc632a1df_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int AppXApplyTrustLabelToFolder(int p0, string[] p1, string p2, NtApiDotNet.Ndr.Marshal.NdrEnum16 p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_1(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEnum16(p3);
            _Unmarshal_Helper u = SendReceive(0, m);
            return u.ReadInt32();
        }

19 View Source File : ff9fd3c4-742e-45e0-91dd-2f5bc632a1df_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int AppXApplyTrustLabelToFolder_1(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, string p1, string p2, string[] p3, int p4, string p5, out System.Nullable<Struct_0> p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteReferent(p3, new System.Action<string[], long>(m.Write_2), p4);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<string>(m.WriteTerminatedAnsiString));
            _Unmarshal_Helper u = SendReceive(1, m);
            p6 = u.ReadReferentValue<Struct_0>(new System.Func<Struct_0>(u.Read_0), false);
            return u.ReadInt32();
        }

19 View Source File : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
License : The Unlicense
Project Creator : tyranid

public int s_apmGetPersistedDefaultAudioEndpoint(int p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, ref string p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteEnum16(p1);
            m.WriteEnum16(p2);
            m.WriteReferent(p3, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(37, m);
            p3 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 910562c3-ebd9-46b9-baba-1d45842a0ceb_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : c7ce3826-891f-4376-b161-c63d2403142c_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_RequestHrtfData(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, out System.Nullable<Struct_0> p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            _Unmarshal_Helper u = SendReceive(0, m);
            p1 = u.ReadReferentValue<Struct_0>(new System.Func<Struct_0>(u.Read_0), false);
            return u.ReadInt32();
        }

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

public uint _BriDeleteEvent(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 : d09bdeb5-6171-4a34-bfe2-06fa82652568_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BriDisableEvent(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 : d09bdeb5-6171-4a34-bfe2-06fa82652568_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint BriEnableEvent(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 : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.Write_3(Member0);
            m.WriteEnum16(Member110);
            m.WriteEnum16(Member114);
            m.WriteEnum16(Member118);
            m.WriteInt32(Member11C);
            m.Write_4(Member120);
        }

19 View Source File : 64d1d045-f675-460b-8a94-570246b36dab_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int SvchostPushServiceGlobals(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 : 8bfc3be1-6def-4e2d-af74-7c47cd0ade4a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvTerminateApplicationHostForUser(byte[] p0, int p1, char[] p2, int p3, int p4, long p5, NtApiDotNet.Ndr.Marshal.NdrEnum16 p6, out sbyte p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<byte[], long>(m.Write_0), p1);
            m.WriteInt32(p1);
            m.Write_1(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p3);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteInt64(p5);
            m.WriteEnum16(p6);
            _Unmarshal_Helper u = SendReceive(15, m);
            p7 = u.ReadSByte();
            return u.ReadUInt32();
        }

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

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

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

public int DsmRpcRefreshDevice(System.Guid p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteEnum16(p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            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, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteEnum16(p1);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadInt32();
        }

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

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEmbeddedPointer<string, long>(Member0, new System.Action<string, long>(m.Write_10), 65);
            m.WriteEnum16(Member8);
            m.Write_3(Member10, Member8);
        }

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

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Selector);
            if ((Selector == 0))
            {
                m.WriteInt32(Arm_0);
                goto done;
            }
            if ((Selector == 1))
            {
                m.WriteInt64(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteEmbeddedPointer<string, long>(Arm_2, new System.Action<string, long>(m.Write_11), 2049);
                goto done;
            }
            if ((Selector == 3))
            {
                m.Write_4(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.Write_5(Arm_4);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_3");
        done:
            return;
        }

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.WriteEnum16(Selector);
            if ((Selector == 3))
            {
                m.WriteInt32(Arm_3);
                goto done;
            }
            if ((Selector == 5))
            {
                m.WriteInt32(Arm_5);
                goto done;
            }
            if ((Selector == 4))
            {
                m.WriteInt32(Arm_4);
                goto done;
            }
            m.WriteEmpty(Arm_Default);
        done:
            return;
        }

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_5 p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p2);
            m.WriteInt64(p3);
            m.Write_5(p4);
            _Unmarshal_Helper u = SendReceive(5, m);
            p1 = u.ReadInt32();
            p4 = u.Read_5();
            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_9();
            p6 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 64d1d045-f675-460b-8a94-570246b36dab_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int ServiceMain_2(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(2, m);
            p4 = u.ReadInt32();
            p5 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_1), false);
            return u.ReadInt32();
        }

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

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

19 View Source File : 420bca2f-a0e8-45f4-a8ff-906745e8876c_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 420bca2f-a0e8-45f4-a8ff-906745e8876c_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Selector);
            if ((Selector == 3))
            {
                m.Write_2(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.Write_3(Arm_4);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_2");
        done:
            return;
        }

19 View Source File : 420bca2f-a0e8-45f4-a8ff-906745e8876c_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : f19c345c-5e00-4cb4-b1d1-eff9ea31b166_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d6_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt32(Member4);
            m.WriteInt32(Member8);
            m.WriteInt32(MemberC);
            m.WriteInt32(Member10);
            m.WriteEmbeddedPointer<Struct_3[], long>(Member18, new System.Action<Struct_3[], long>(m.Write_19), Member10);
            m.WriteInt32(Member20);
            m.WriteInt32(Member24);
            m.WriteEnum16(Member28);
        }

19 View Source File : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d6_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.Write_20(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member0, "Member0"));
            m.WriteInt32(Member10);
            m.WriteInt32(Member14);
            m.WriteInt32(Member18);
            m.WriteEnum16(Member1C);
        }

19 View Source File : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d6_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Member0);
            m.Write_9(Member4);
            m.WriteSByte(Member54);
            m.Write_12(Member58);
            m.WriteSByte(Member7C);
            m.Write_11(Member7D);
        }

19 View Source File : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 910562c3-ebd9-46b9-baba-1d45842a0ceb_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 0b1c2170-5732-4e0e-8cd3-d9b16f3b84d7_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_AuthzGetInformationFromContext(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, out System.Nullable<Struct_9> p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            _Unmarshal_Helper u = SendReceive(4, m);
            p2 = u.ReadReferentValue<Struct_9>(new System.Func<Struct_9>(u.Read_8), true);
            return u.ReadInt32();
        }

19 View Source File : 0b1c2170-5732-4e0e-8cd3-d9b16f3b84d7_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_AuthzrModifyClaims(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, int p2, NtApiDotNet.Ndr.Marshal.NdrEnum16[] p3, System.Nullable<Struct_14> p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteInt32(p2);
            m.Write_30(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            m.WriteReferent(p4, new System.Action<Struct_14>(m.Write_13));
            _Unmarshal_Helper u = SendReceive(5, m);
            return u.ReadInt32();
        }

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

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEmbeddedPointer<string, long>(Member0, new System.Action<string, long>(m.Write_10), 65);
            m.WriteEnum16(Member8);
            m.Write_4(Member10, Member8);
        }

19 View Source File : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
License : The Unlicense
Project Creator : tyranid

public int s_afxOpenAudioEffectsWatcher(string p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, int p2, out System.Guid p3, out long p4, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteEnum16(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(22, m);
            p3 = u.ReadGuid();
            p4 = u.ReadInt64();
            p5 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 View Source File : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
License : The Unlicense
Project Creator : tyranid

public int s_rtgGetDefaultAudioEndpoint(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, out string p2, out int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteEnum16(p1);
            _Unmarshal_Helper u = SendReceive(25, m);
            p2 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p3 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 0b1c2170-5732-4e0e-8cd3-d9b16f3b84d7_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_AuthzrModifySids(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, int p2, NtApiDotNet.Ndr.Marshal.NdrEnum16[] p3, System.Nullable<Struct_13> p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteInt32(p2);
            m.Write_30(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            m.WriteReferent(p4, new System.Action<Struct_13>(m.Write_12));
            _Unmarshal_Helper u = SendReceive(6, m);
            return u.ReadInt32();
        }

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

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Selector);
            if ((Selector == 0))
            {
                m.WriteInt32(Arm_0);
                goto done;
            }
            if ((Selector == 1))
            {
                m.WriteInt64(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteEmbeddedPointer<string, long>(Arm_2, new System.Action<string, long>(m.Write_11), 2049);
                goto done;
            }
            if ((Selector == 3))
            {
                m.Write_5(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.Write_6(Arm_4);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_5");
        done:
            return;
        }

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

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEmbeddedPointer<string, long>(Member0, new System.Action<string, long>(m.Write_8), 65);
            m.WriteEnum16(Member8);
            m.Write_2(Member10, Member8);
        }

See More Examples