NtApiDotNet.Ndr.Marshal.NdrUnmarshalBuffer.ReadContextHandle()

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

544 Examples 7

19 Source : 3cc5a774-9689-4395-83d9-2d51d69adc0f_1.0.cs
with The Unlicense
from tyranid

public int ColorAdapterRpcServerRegisterOEMColorService(out NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(8, m);
            p0 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 3cc5a774-9689-4395-83d9-2d51d69adc0f_1.0.cs
with The Unlicense
from tyranid

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

19 Source : a69816f5-83b6-4d48-8633-067f99f5f2d3_1.0.cs
with The Unlicense
from tyranid

public int DeManagementRpcServerOpenFromMonitorId(Struct_0 p0, string p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            _Unmarshal_Helper u = SendReceive(0, m);
            p2 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 3f7b77f5-7f38-4033-afd9-343d42d8dabb_0.0.cs
with The Unlicense
from tyranid

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

19 Source : 3f7b77f5-7f38-4033-afd9-343d42d8dabb_0.0.cs
with The Unlicense
from tyranid

public int MapsPackageSvcClose(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 : 58b2a725-c4e2-43f0-956f-d9c3b6fa0c8b_0.0.cs
with The Unlicense
from tyranid

public int MosHostCloseContext(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 : 906b0ce0-c70b-1067-b317-00dd010662da_1.0.cs
with The Unlicense
from tyranid

public int BuildContextW(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, Struct_0 p1, string p2, string p3, string p4, string p5, ref string p6, ref Struct_1 p7, int p8, sbyte[] p9, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p10)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.Write_0(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p6, "p6"));
            m.Write_1(p7);
            m.WriteInt32(p8);
            m.Write_3(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p9, "p9"), p8);
            _Unmarshal_Helper u = SendReceive(7, m);
            p6 = u.ReadConformantVaryingString();
            p7 = u.Read_1();
            p10 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 54f96d15-d9a7-4422-bd32-8b0cebd00400_1.0.cs
with The Unlicense
from tyranid

public int Rpc_NcaEngineOpen(out NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(0, m);
            p0 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 54f96d15-d9a7-4422-bd32-8b0cebd00400_1.0.cs
with The Unlicense
from tyranid

public int Rpc_NcaEngineClose(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 : 54f96d15-d9a7-4422-bd32-8b0cebd00400_1.0.cs
with The Unlicense
from tyranid

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

19 Source : 54f96d15-d9a7-4422-bd32-8b0cebd00400_1.0.cs
with The Unlicense
from tyranid

public int Rpc_NcaNetworkClose(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(3, m);
            p1 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 54f96d15-d9a7-4422-bd32-8b0cebd00400_1.0.cs
with The Unlicense
from tyranid

public int Rpc_NcaStatusEventSubscribe(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 : 54f96d15-d9a7-4422-bd32-8b0cebd00400_1.0.cs
with The Unlicense
from tyranid

public int Rpc_NcaStatusEventUnsubscribe(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(6, m);
            p1 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 880fd55e-43b9-11e0-b1a8-cf4edfd72085_1.0.cs
with The Unlicense
from tyranid

public int KapiRegisterProvider(out NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(0, m);
            p0 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 880fd55e-43b9-11e0-b1a8-cf4edfd72085_1.0.cs
with The Unlicense
from tyranid

public int KapiDeregisterProvider(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 : e40f7b57-7a25-4cd3-a135-7f7d3df9d16b_1.0.cs
with The Unlicense
from 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_23(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 Source : e40f7b57-7a25-4cd3-a135-7f7d3df9d16b_1.0.cs
with The Unlicense
from tyranid

public int RpcSrvDestroySession(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 : 22e5386d-8b12-4bf0-b0ec-6a1ea419e366_1.0.cs
with The Unlicense
from tyranid

public int RpcNetEventOpenSession(string p0, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            _Unmarshal_Helper u = SendReceive(0, m);
            p1 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 22e5386d-8b12-4bf0-b0ec-6a1ea419e366_1.0.cs
with The Unlicense
from tyranid

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

19 Source : a111f1c6-5923-47c0-9a68-d0bafb577901_1.0.cs
with The Unlicense
from tyranid

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

19 Source : a111f1c6-5923-47c0-9a68-d0bafb577901_1.0.cs
with The Unlicense
from tyranid

public void RpcNetSetup_NotifyHost_Disconnect(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 : b54e9aa3-cf29-4f21-a8ea-98c5850ce296_1.0.cs
with The Unlicense
from tyranid

public int DeoRpcServerOpenContextHandle(Struct_0 p0, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.WriteUInt3264(p1);
            _Unmarshal_Helper u = SendReceive(0, m);
            p2 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 91fd044b-902f-42c7-a945-6861bcf9309c_0.0.cs
with The Unlicense
from tyranid

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

19 Source : 906b0ce0-c70b-1067-b317-00dd010662da_1.0.cs
with The Unlicense
from tyranid

public int BuildContext(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, Struct_0 p1, string p2, string p3, string p4, string p5, ref string p6, ref Struct_1 p7, int p8, sbyte[] p9, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p10)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.Write_0(p1);
            m.WriteTerminatedAnsiString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteTerminatedAnsiString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteTerminatedAnsiString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"));
            m.WriteTerminatedAnsiString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            m.WriteTerminatedAnsiString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p6, "p6"));
            m.Write_1(p7);
            m.WriteInt32(p8);
            m.Write_3(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p9, "p9"), p8);
            _Unmarshal_Helper u = SendReceive(1, m);
            p6 = u.ReadConformantVaryingAnsiString();
            p7 = u.Read_1();
            p10 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : a111f1c6-5923-47c0-9a68-d0bafb577901_1.0.cs
with The Unlicense
from tyranid

public int RpcNetSetup_NotifyObject_Load(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, System.Guid p2, string p3, int p4, System.Guid p5, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteInt32(p4);
            m.WriteGuid(p5);
            _Unmarshal_Helper u = SendReceive(3, m);
            p6 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : a111f1c6-5923-47c0-9a68-d0bafb577901_1.0.cs
with The Unlicense
from tyranid

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

19 Source : a111f1c5-5923-47c0-9a68-d0bafb577901_1.0.cs
with The Unlicense
from tyranid

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

19 Source : 58b2a725-c4e2-43f0-956f-d9c3b6fa0c8b_0.0.cs
with The Unlicense
from tyranid

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

19 Source : 91fd044b-902f-42c7-a945-6861bcf9309c_0.0.cs
with The Unlicense
from tyranid

public int MapsStorageSvcClose(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 : bbdc1d6b-35d9-480e-b5d2-c07545d32641_0.0.cs
with The Unlicense
from tyranid

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

19 Source : bbdc1d6b-35d9-480e-b5d2-c07545d32641_0.0.cs
with The Unlicense
from tyranid

public int OdmlSvcClose(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 : 906b0ce0-c70b-1067-b317-00dd010662da_1.0.cs
with The Unlicense
from tyranid

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

19 Source : a111f1c5-5923-47c0-9a68-d0bafb577901_1.0.cs
with The Unlicense
from tyranid

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

19 Source : e6f89680-fc98-11e3-80d4-10604b681cfa_1.0.cs
with The Unlicense
from tyranid

public int s_GidsHandlerRpcAcquireChannel(System.Guid p0, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, out byte[] p2, out int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(1, m);
            p1 = u.ReadContextHandle();
            p2 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_0), false);
            p3 = u.ReadInt32();
            return u.ReadInt32();
        }

19 Source : e6f89680-fc98-11e3-80d4-10604b681cfa_1.0.cs
with The Unlicense
from tyranid

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

19 Source : aa411582-9bdf-48fb-b42b-faa1eee33949_1.0.cs
with The Unlicense
from tyranid

public int PMuxRpcPluginRegister(string p0, System.Guid p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteGuid(p1);
            _Unmarshal_Helper u = SendReceive(0, m);
            p2 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : c33b9f46-2088-4dbc-97e3-6125f127661c_1.0.cs
with The Unlicense
from tyranid

public int AppSrv_NlaCloseQuery(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 : 7ea70bcf-48af-4f6a-8968-6a440754d5fa_1.0.cs
with The Unlicense
from tyranid

public int RpcNsiRegisterChangeNotification(Struct_0 p0, Struct_4 p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.Write_3(p1);
            _Unmarshal_Helper u = SendReceive(5, m);
            p2 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 0e3ae095-8a23-48f4-9782-03c1594a890e_1.0.cs
with The Unlicense
from tyranid

public int s_NgcKspOpenStorageProvider(out NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(0, m);
            p0 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 0e3ae095-8a23-48f4-9782-03c1594a890e_1.0.cs
with The Unlicense
from tyranid

public int s_NgcKspEnumKeys(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, out System.Nullable<Struct_0> p2, ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p3, int p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            m.WriteContextHandle(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(1, m);
            p2 = u.ReadReferentValue<Struct_0>(new System.Func<Struct_0>(u.Read_0), false);
            p3 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 0e3ae095-8a23-48f4-9782-03c1594a890e_1.0.cs
with The Unlicense
from tyranid

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

19 Source : 0e3ae095-8a23-48f4-9782-03c1594a890e_1.0.cs
with The Unlicense
from tyranid

public int s_NgcKspFreeProvider(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 : 0e3ae095-8a23-48f4-9782-03c1594a890e_1.0.cs
with The Unlicense
from tyranid

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

19 Source : 0e3ae095-8a23-48f4-9782-03c1594a890e_1.0.cs
with The Unlicense
from tyranid

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

19 Source : 0e3ae095-8a23-48f4-9782-03c1594a890e_1.0.cs
with The Unlicense
from tyranid

public int s_NgcKspCreatePersistedKey(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, string p2, string p3, int p4, int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteReferent(p3, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(6, m);
            p1 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 0e3ae095-8a23-48f4-9782-03c1594a890e_1.0.cs
with The Unlicense
from tyranid

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

19 Source : 0e3ae095-8a23-48f4-9782-03c1594a890e_1.0.cs
with The Unlicense
from tyranid

public int s_NgcKspImportKey(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, System.Nullable<Struct_4> p2, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p3, byte[] p4, int p5, int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteReferent(p2, new System.Action<Struct_4>(m.Write_4));
            m.Write_14(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(15, m);
            p3 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 4e25f4a2-21e8-40ce-b401-32050413143a_1.0.cs
with The Unlicense
from tyranid

public int s_DeviceCredentialRpcInitializeProvisioning(Struct_0 p0, Struct_1 p1, long p2, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.Write_1(p1);
            m.WriteInt64(p2);
            _Unmarshal_Helper u = SendReceive(0, m);
            p3 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 4e25f4a2-21e8-40ce-b401-32050413143a_1.0.cs
with The Unlicense
from tyranid

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

19 Source : 4e25f4a2-21e8-40ce-b401-32050413143a_1.0.cs
with The Unlicense
from tyranid

public int s_DeviceCredentialRpcAbortProvisioning(ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(2, m);
            p0 = u.ReadContextHandle();
            return u.ReadInt32();
        }

See More Examples