NtApiDotNet.Ndr.Marshal.NdrMarshalBuffer.WriteContextHandle(NtApiDotNet.Ndr.Marshal.NdrContextHandle)

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

1741 Examples 7

19 Source : 00efb8be-002d-45cd-81b0-f65b260f8a13_1.0.cs
with The Unlicense
from tyranid

public void SrvRpcActionObjectServiceDisconnect(ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(1, m);
            p0 = u.ReadContextHandle();
        }

19 Source : 00efb8be-002d-45cd-81b0-f65b260f8a13_1.0.cs
with The Unlicense
from tyranid

public int SrvRpcActionObjectRunJson(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, string p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadInt32();
        }

19 Source : c49a5a70-8a7f-4e70-ba16-1e8f1f193ef1_1.0.cs
with The Unlicense
from tyranid

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

19 Source : c49a5a70-8a7f-4e70-ba16-1e8f1f193ef1_1.0.cs
with The Unlicense
from tyranid

public int Rpc_AdhStatusEventUnsubscribe(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteContextHandle(p1);
            _Unmarshal_Helper u = SendReceive(4, m);
            p1 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : c49a5a70-8a7f-4e70-ba16-1e8f1f193ef1_1.0.cs
with The Unlicense
from 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 Source : c49a5a70-8a7f-4e70-ba16-1e8f1f193ef1_1.0.cs
with The Unlicense
from 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 Source : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
with The Unlicense
from tyranid

public uint RsopReportInstallFailure(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(7, m);
            return u.ReadUInt32();
        }

19 Source : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
with The Unlicense
from tyranid

public void PINSTALLCONTEXT_rundown(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(0, m);
        }

19 Source : c49a5a70-8a7f-4e70-ba16-1e8f1f193ef1_1.0.cs
with The Unlicense
from tyranid

public int Rpc_AdhEngineClose(ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(1, m);
            p0 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : c49a5a70-8a7f-4e70-ba16-1e8f1f193ef1_1.0.cs
with The Unlicense
from tyranid

public int Rpc_AdhStatusEventSubscribe(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteContextHandle(p1);
            _Unmarshal_Helper u = SendReceive(2, m);
            p1 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
with The Unlicense
from tyranid

public uint InstallManageApp(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, int p2, out sbyte p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(2, m);
            p3 = u.ReadSByte();
            return u.ReadUInt32();
        }

19 Source : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
with The Unlicense
from tyranid

public uint InstallUnmanageApp(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, sbyte p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteSByte(p2);
            _Unmarshal_Helper u = SendReceive(3, m);
            return u.ReadUInt32();
        }

19 Source : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
with The Unlicense
from tyranid

public uint InstallEnd(sbyte p0, ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteSByte(p0);
            m.WriteContextHandle(p1);
            _Unmarshal_Helper u = SendReceive(4, m);
            p1 = u.ReadContextHandle();
            return u.ReadUInt32();
        }

19 Source : 1f53838b-693a-4bbb-99c9-b154f749b8a3_1.0.cs
with The Unlicense
from tyranid

public int AudioDGGetStreamVpoDescription(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, out System.Guid p2, out int p3, out System.Guid[] p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(2, m);
            p1 = u.ReadInt32();
            p2 = u.ReadGuid();
            p3 = u.ReadInt32();
            p4 = u.ReadReferent<System.Guid[]>(new System.Func<System.Guid[]>(u.Read_0), false);
            return u.ReadInt32();
        }

19 Source : 1f53838b-693a-4bbb-99c9-b154f749b8a3_1.0.cs
with The Unlicense
from tyranid

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

19 Source : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
with The Unlicense
from tyranid

public int s_DestroyHolographicDisplay(ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(48, m);
            p0 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
with The Unlicense
from tyranid

public int s_GetHeadRotation(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out float p1, out float p2, out float p3, out float p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(49, m);
            p1 = u.ReadFloat();
            p2 = u.ReadFloat();
            p3 = u.ReadFloat();
            p4 = u.ReadFloat();
            return u.ReadInt32();
        }

19 Source : 0b1c2170-5732-4e0e-8cd3-d9b16f3b84d7_0.0.cs
with The Unlicense
from tyranid

public int s_AuthzrInitializeCompoundContext(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteContextHandle(p1);
            _Unmarshal_Helper u = SendReceive(2, m);
            p2 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 0b1c2170-5732-4e0e-8cd3-d9b16f3b84d7_0.0.cs
with The Unlicense
from 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 Source : d09bdeb5-6171-4a34-bfe2-06fa82652568_1.0.cs
with The Unlicense
from 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 Source : d09bdeb5-6171-4a34-bfe2-06fa82652568_1.0.cs
with The Unlicense
from 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 Source : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
with The Unlicense
from tyranid

public uint BthServRegisterAuthenticationEvent(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, long p3, Struct_1 p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.WriteInt64(p3);
            m.Write_1(p4);
            _Unmarshal_Helper u = SendReceive(2, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 Source : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
with The Unlicense
from 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 Source : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
with The Unlicense
from tyranid

public uint BthServSetDeviceName(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, string p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.Write_8(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            _Unmarshal_Helper u = SendReceive(6, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 Source : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
with The Unlicense
from tyranid

public uint BthServActivateService(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, int p3, sbyte[] p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.WriteInt32(p3);
            m.Write_10(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p3);
            _Unmarshal_Helper u = SendReceive(8, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 Source : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
with The Unlicense
from tyranid

public uint BthServRemoveSdpRecord(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            _Unmarshal_Helper u = SendReceive(13, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 Source : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
with The Unlicense
from tyranid

public uint BthServEnableDiscovery(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(14, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 Source : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
with The Unlicense
from tyranid

public uint BthServEnableIncomingConnections(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(15, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 Source : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
with The Unlicense
from tyranid

public uint BthServUninstallDevice(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, string p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.Write_13(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            _Unmarshal_Helper u = SendReceive(16, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 Source : 2acb9d68-b434-4b3e-b966-e06b4b3a84cb_1.0.cs
with The Unlicense
from 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 Source : 64d1d045-f675-460b-8a94-570246b36dab_1.0.cs
with The Unlicense
from tyranid

public int ServiceMain_1(ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(1, m);
            p0 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 64d1d045-f675-460b-8a94-570246b36dab_1.0.cs
with The Unlicense
from 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 Source : 64d1d045-f675-460b-8a94-570246b36dab_1.0.cs
with The Unlicense
from 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 Source : 7419cf08-91a7-4afd-8f5e-1dd76de094fd_1.0.cs
with The Unlicense
from tyranid

public uint s_DabRpcUnregisterTriggerConsumer(ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, Union_21 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.Write_20(p2, p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            p0 = u.ReadContextHandle();
            return u.ReadUInt32();
        }

19 Source : 850cee52-3038-4277-b9b4-e05db8b2c35c_1.0.cs
with The Unlicense
from tyranid

public int DreplacedtartReadCeremonyData(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, out sbyte[] p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(4, m);
            p1 = u.ReadInt32();
            p2 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_11), false);
            return u.ReadInt32();
        }

19 Source : 850cee52-3038-4277-b9b4-e05db8b2c35c_1.0.cs
with The Unlicense
from tyranid

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

19 Source : 850cee52-3038-4277-b9b4-e05db8b2c35c_1.0.cs
with The Unlicense
from tyranid

public int DasCloseImportExportContext(ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(13, m);
            p0 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : a1d4eae7-39f8-4bca-8e72-832767f5082a_1.0.cs
with The Unlicense
from tyranid

public int DreplacedtartListenForInboundreplacedociations(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, int p2, Struct_1[] p3, int p4, Struct_2[] p5, out long p6, out long p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.WriteReferent(p3, new System.Action<Struct_1[], long>(m.Write_7), p2);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<Struct_2[], long>(m.Write_8), p4);
            _Unmarshal_Helper u = SendReceive(1, m);
            p6 = u.ReadInt64();
            p7 = u.ReadInt64();
            return u.ReadInt32();
        }

19 Source : a1d4eae7-39f8-4bca-8e72-832767f5082a_1.0.cs
with The Unlicense
from tyranid

public int DasGetInboundreplacedociationResult(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out string p1, out int p2, out Struct_3[] p3, out int p4, out int p5, out Struct_5[] p6, out int p7, out int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(2, m);
            p1 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p2 = u.ReadInt32();
            p3 = u.ReadReferent<Struct_3[]>(new System.Func<Struct_3[]>(u.Read_9), false);
            p4 = u.ReadInt32();
            p5 = u.ReadInt32();
            p6 = u.ReadReferent<Struct_5[]>(new System.Func<Struct_5[]>(u.Read_10), false);
            p7 = u.ReadInt32();
            p8 = u.ReadInt32();
            return u.ReadInt32();
        }

19 Source : a1d4eae7-39f8-4bca-8e72-832767f5082a_1.0.cs
with The Unlicense
from tyranid

public int DasCloseInboundContext(ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(3, m);
            p0 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from tyranid

public int DasHostStartEnumCeremonies(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, out Struct_5[] p2, int p3, Struct_5[] p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action<Struct_5[], long>(m.Write_25), p3);
            _Unmarshal_Helper u = SendReceive(9, m);
            p1 = u.ReadInt32();
            p2 = u.ReadReferent<Struct_5[]>(new System.Func<Struct_5[]>(u.Read_24), false);
            return u.ReadInt32();
        }

19 Source : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from tyranid

public int DasHostDeviceStatusNotification(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out NtApiDotNet.Ndr.Marshal.NdrEnum16 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(14, m);
            p1 = u.ReadEnum16();
            return u.ReadInt32();
        }

19 Source : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from tyranid

public int DasHostStartRemovereplacedociation(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(15, m);
            return u.ReadInt32();
        }

19 Source : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from tyranid

public int DasHostStartDevnodeManagement(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(18, m);
            return u.ReadInt32();
        }

19 Source : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from tyranid

public int DasHostEndDevnodeManagement(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(19, m);
            return u.ReadInt32();
        }

19 Source : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from tyranid

public int DasHostPickupDevnodeManagementOperation(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, out int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(20, m);
            p1 = u.ReadEnum16();
            p2 = u.ReadInt32();
            return u.ReadInt32();
        }

19 Source : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from tyranid

public int DasHostGetDevnodeFactoryOperationInfo(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, out string p2, out System.Nullable<Struct_10> p3, out int p4, out Struct_7[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(21, m);
            p2 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p3 = u.ReadReferentValue<Struct_10>(new System.Func<Struct_10>(u.Read_9), false);
            p4 = u.ReadInt32();
            p5 = u.ReadReferent<Struct_7[]>(new System.Func<Struct_7[]>(u.Read_29), false);
            return u.ReadInt32();
        }

19 Source : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from tyranid

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

19 Source : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from tyranid

public int DasHostGetDevnodeOperationInfo(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, out string p2, out System.Nullable<Struct_11> p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(23, m);
            p2 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p3 = u.ReadReferentValue<Struct_11>(new System.Func<Struct_11>(u.Read_10), false);
            return u.ReadInt32();
        }

19 Source : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from tyranid

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

See More Examples