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

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

723 Examples 7

19 View Source File : fdd45924-784a-499c-aee9-0813850ce182_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int Server_InvokeDiagnosticAction(string p0, System.Guid p1, System.Guid p2, out Struct_1[] p3, out int p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedAnsiString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            _Unmarshal_Helper u = SendReceive(0, m);
            p3 = u.ReadReferent<Struct_1[]>(new System.Func<Struct_1[]>(u.Read_2), false);
            p4 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : fdd45924-784a-499c-aee9-0813850ce182_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int Server_InvokeRecommendedTroubleshootingAction(string p0, System.Guid p1, System.Guid p2, out Struct_1[] p3, out int p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedAnsiString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            _Unmarshal_Helper u = SendReceive(1, m);
            p3 = u.ReadReferent<Struct_1[]>(new System.Func<Struct_1[]>(u.Read_2), false);
            p4 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : 0a0db614-e9fb-48cf-9143-7ae718ff2c83_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int OrchestratorUpdate(System.Guid p0, string p1, string p2, string p3, string p4, string p5, NtApiDotNet.Ndr.Marshal.NdrEnum16 p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "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.WriteEnum16(p6);
            _Unmarshal_Helper u = SendReceive(1, m);
            return u.ReadInt32();
        }

19 View Source File : ba4aa15a-be94-47fb-9bfb-fef110e7efad_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int DqbGetEvents(System.Guid p0, out int p1, out int p2, out sbyte[] p3, out int p4, out string p5, out int p6, out NtApiDotNet.Ndr.Marshal.NdrUnsupported p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(0, m);
            p1 = u.ReadInt32();
            p2 = u.ReadInt32();
            p3 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_0), false);
            p4 = u.ReadInt32();
            p5 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p6 = u.ReadInt32();
            p7 = u.ReadReferent<NtApiDotNet.Ndr.Marshal.NdrUnsupported>(new System.Func<NtApiDotNet.Ndr.Marshal.NdrUnsupported>(u.Read_1), false);
            return u.ReadInt32();
        }

19 View Source File : 0a0db614-e9fb-48cf-9143-7ae718ff2c83_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int OrchestratorGetStatus(System.Guid p0, out NtApiDotNet.Ndr.Marshal.NdrEnum16 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(2, m);
            p1 = u.ReadEnum16();
            return u.ReadInt32();
        }

19 View Source File : 0a0db614-e9fb-48cf-9143-7ae718ff2c83_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int OrchestratorDelete(System.Guid p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(3, m);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_DeleteLoadBalancer(System.Guid p0, out string p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(29, m);
            p1 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_CreateSdnRoute(System.Guid p0, string p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2, out string p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            _Unmarshal_Helper u = SendReceive(32, m);
            p2 = u.ReadContextHandle();
            p3 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_OpenGuestNetworkService(System.Guid p0, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, out string p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(45, m);
            p1 = u.ReadContextHandle();
            p2 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_DeleteGuestNetworkService(System.Guid p0, out string p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(48, m);
            p1 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_CreateNetwork(System.Guid p0, string p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2, out string p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            _Unmarshal_Helper u = SendReceive(1, m);
            p2 = u.ReadContextHandle();
            p3 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_OpenNetwork(System.Guid p0, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, out string p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(2, m);
            p1 = u.ReadContextHandle();
            p2 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_DeleteNetwork(System.Guid p0, out string p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(5, m);
            p1 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_CreateNamespace(System.Guid p0, string p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2, out string p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            _Unmarshal_Helper u = SendReceive(11, m);
            p2 = u.ReadContextHandle();
            p3 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_OpenNamespace(System.Guid p0, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, out string p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(12, m);
            p1 = u.ReadContextHandle();
            p2 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_DeleteNamespace(System.Guid p0, out string p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(15, m);
            p1 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_DeleteEndpoint(System.Guid p0, out string p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(22, m);
            p1 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_CreateLoadBalancer(System.Guid p0, string p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2, out string p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            _Unmarshal_Helper u = SendReceive(25, m);
            p2 = u.ReadContextHandle();
            p3 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_OpenLoadBalancer(System.Guid p0, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, out string p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(26, m);
            p1 = u.ReadContextHandle();
            p2 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_OpenLoadBalancer_33(System.Guid p0, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, out string p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(33, m);
            p1 = u.ReadContextHandle();
            p2 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_DeleteLoadBalancer_36(System.Guid p0, out string p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(36, m);
            p1 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_CreateEndpoint(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, string p2, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p3, out string p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            _Unmarshal_Helper u = SendReceive(18, m);
            p3 = u.ReadContextHandle();
            p4 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_OpenEndpoint(System.Guid p0, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, out string p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(19, m);
            p1 = u.ReadContextHandle();
            p2 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 26268c86-e770-433e-86ef-5f3ba6731fba_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int HnsRpc_CreateGuestNetworkService(System.Guid p0, string p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2, out string p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            _Unmarshal_Helper u = SendReceive(44, m);
            p2 = u.ReadContextHandle();
            p3 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 5824833b-3c1a-4ad2-bdfd-c31d19e23ed2_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int PsmSrvTimerStart(int p0, byte[] p1, int p2, string p3, int p4, long p5, int p6, System.Guid p7, long p8, out Struct_0 p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_3(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            m.WriteInt32(p2);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteInt32(p4);
            m.WriteInt64(p5);
            m.WriteInt32(p6);
            m.WriteGuid(p7);
            m.WriteInt64(p8);
            _Unmarshal_Helper u = SendReceive(2, m);
            p9 = u.Read_0();
            return u.ReadInt32();
        }

19 View Source File : 5824833b-3c1a-4ad2-bdfd-c31d19e23ed2_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int PsmSrvTimerCleanup(int p0, byte[] p1, int p2, string p3, int p4, long p5, int p6, System.Guid p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_3(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            m.WriteInt32(p2);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteInt32(p4);
            m.WriteInt64(p5);
            m.WriteInt32(p6);
            m.WriteGuid(p7);
            _Unmarshal_Helper u = SendReceive(3, m);
            return u.ReadInt32();
        }

19 View Source File : 5824833b-3c1a-4ad2-bdfd-c31d19e23ed2_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int PsmSrvTimerRemainingResourceTimeGet(int p0, byte[] p1, int p2, string p3, int p4, long p5, int p6, System.Guid p7, out long p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_3(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            m.WriteInt32(p2);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteInt32(p4);
            m.WriteInt64(p5);
            m.WriteInt32(p6);
            m.WriteGuid(p7);
            _Unmarshal_Helper u = SendReceive(4, m);
            p8 = u.ReadInt64();
            return u.ReadInt32();
        }

19 View Source File : 5824833b-3c1a-4ad2-bdfd-c31d19e23ed2_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int PsmSrvTimerElapsedResourceTimeGet(int p0, byte[] p1, int p2, string p3, int p4, long p5, int p6, System.Guid p7, out long p8, out long p9, out long p10, out long p11, out long p12)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_3(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            m.WriteInt32(p2);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteInt32(p4);
            m.WriteInt64(p5);
            m.WriteInt32(p6);
            m.WriteGuid(p7);
            _Unmarshal_Helper u = SendReceive(5, m);
            p8 = u.ReadInt64();
            p9 = u.ReadInt64();
            p10 = u.ReadInt64();
            p11 = u.ReadInt64();
            p12 = u.ReadInt64();
            return u.ReadInt32();
        }

19 View Source File : 412f241e-c12a-11ce-abff-0020af6e7a17_0.2.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt32(Member4);
            m.WriteInt32(Member8);
            m.Write_11(MemberC);
            m.Write_12(Member10);
            m.WriteGuid(Member28);
            m.WriteInt32(Member38);
            m.WriteEmbeddedPointer<Struct_17>(Member40, new System.Action<Struct_17>(m.Write_16));
            m.WriteGuid(Member48);
            m.WriteInt64(Member58);
            m.WriteEnum16(Member60);
            m.Write_22(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member68, "Member68"));
            m.Write_22(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member70, "Member70"));
            m.Write_22(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member78, "Member78"));
            m.WriteInt64(Member80);
            m.WriteGuid(Member88);
        }

19 View Source File : 412f241e-c12a-11ce-abff-0020af6e7a17_0.2.cs
License : The Unlicense
Project Creator : tyranid

public int IsObjectCreationAllowed(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, int p2, int p3, out int p4, out int p5, out int p6, out uint p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(14, m);
            p4 = u.ReadInt32();
            p5 = u.ReadInt32();
            p6 = u.ReadInt32();
            p7 = u.ReadUInt32();
            return u.ReadInt32();
        }

19 View Source File : 412f241e-c12a-11ce-abff-0020af6e7a17_0.2.cs
License : The Unlicense
Project Creator : tyranid

public int QueryPIDForActivation(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, int p2, out int p3, out uint p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(16, m);
            p3 = u.ReadInt32();
            p4 = u.ReadUInt32();
            return u.ReadInt32();
        }

19 View Source File : 412f241e-c12a-11ce-abff-0020af6e7a17_0.2.cs
License : The Unlicense
Project Creator : tyranid

public int QueryServerProcessHandleHeld(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, out int p2, out uint p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            _Unmarshal_Helper u = SendReceive(20, m);
            p2 = u.ReadInt32();
            p3 = u.ReadUInt32();
            return u.ReadInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint PrivEnsurePackageFamilyIsRegisteredForSessionUserBeforeActivationOfClreplaced(System.Guid p0, int p1, string p2, int p3, out int p4, out int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(30, m);
            p4 = u.ReadInt32();
            p5 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : b9e79e60-3d52-11ce-aaa1-00006901293f_0.2.cs
License : The Unlicense
Project Creator : tyranid

public int IMgotRegister(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, string p2, System.Guid p3, Struct_0 p4, Struct_1 p5, int p6, out Struct_7 p7, out uint p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteGuid(p3);
            m.Write_0(p4);
            m.Write_1(p5);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(7, m);
            p7 = u.Read_6();
            p8 = u.ReadUInt32();
            return u.ReadInt32();
        }

19 View Source File : b9e79e60-3d52-11ce-aaa1-00006901293f_0.2.cs
License : The Unlicense
Project Creator : tyranid

public int IMgotGetObject(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, string p2, System.Guid p3, Struct_0 p4, out System.Nullable<Struct_1> p5, out int p6, out int p7, out uint p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteGuid(p3);
            m.Write_0(p4);
            _Unmarshal_Helper u = SendReceive(9, m);
            p5 = u.ReadReferentValue<Struct_1>(new System.Func<Struct_1>(u.Read_1), false);
            p6 = u.ReadInt32();
            p7 = u.ReadInt32();
            p8 = u.ReadUInt32();
            return u.ReadInt32();
        }

19 View Source File : cb40a179-20e1-43f0-97fb-3c5c6ff37ec3_0.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt32(Member4);
            m.WriteInt64(Member8);
            m.WriteInt64(Member10);
            m.WriteGuid(Member18);
            m.WriteGuid(Member28);
            m.WriteGuid(Member38);
            m.WriteGuid(Member48);
            m.WriteGuid(Member58);
            m.WriteGuid(Member68);
            m.WriteGuid(Member78);
            m.WriteGuid(Member88);
            m.WriteInt64(Member98);
            m.WriteInt64(MemberA0);
            m.WriteInt64(MemberA8);
            m.WriteInt64(MemberB0);
            m.WriteInt64(MemberB8);
            m.WriteInt64(MemberC0);
            m.WriteInt64(MemberC8);
            m.WriteInt64(MemberD0);
            m.WriteInt32(MemberD8);
            m.WriteEmbeddedPointer<Struct_2>(MemberE0, new System.Action<Struct_2>(m.Write_2));
        }

19 View Source File : cb40a179-20e1-43f0-97fb-3c5c6ff37ec3_0.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt64(Member0);
            m.WriteGuid(Member8);
            m.WriteGuid(Member18);
            m.WriteGuid(Member28);
            m.WriteGuid(Member38);
            m.WriteGuid(Member48);
            m.WriteGuid(Member58);
            m.WriteGuid(Member68);
            m.WriteGuid(Member78);
            m.WriteInt64(Member88);
            m.WriteInt64(Member90);
            m.WriteInt64(Member98);
            m.WriteInt64(MemberA0);
            m.WriteInt64(MemberA8);
            m.WriteInt64(MemberB0);
            m.WriteInt64(MemberB8);
            m.WriteInt64(MemberC0);
            m.WriteInt32(MemberC8);
            m.WriteEmbeddedPointer<Struct_2>(MemberD0, new System.Action<Struct_2>(m.Write_2));
        }

19 View Source File : e60c73e6-88f9-11cf-9af1-0020af6e72f4_2.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt32(Member4);
            m.WriteInt32(Member8);
            m.Write_6(MemberC);
            m.Write_7(Member10);
            m.WriteGuid(Member28);
            m.WriteInt32(Member38);
            m.WriteEmbeddedPointer<Struct_2>(Member40, new System.Action<Struct_2>(m.Write_1));
            m.WriteGuid(Member48);
            m.WriteInt64(Member58);
            m.WriteEnum16(Member60);
            m.Write_12(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member68, "Member68"));
            m.Write_12(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member70, "Member70"));
            m.Write_12(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member78, "Member78"));
            m.WriteInt64(Member80);
            m.WriteGuid(Member88);
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint PrivGetPsmTokenWithDynamicId(int p0, int p1, string p2, string p3, System.Guid p4, long p5, out NtApiDotNet.NtToken p6, out int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteInt32(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteGuid(p4);
            m.WriteInt64(p5);
            _Unmarshal_Helper u = SendReceive(25, m);
            p6 = u.Read_10();
            p7 = u.ReadInt32();
            return u.ReadUInt32();
        }

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

public uint _SebiSignalSyncEventEx(string p0, System.Guid p1, int p2, int p3, sbyte[] p4, int p5, System.Nullable<System.Guid> p6, int p7, out NtApiDotNet.Ndr.Marshal.NdrEnum16 p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteGuid(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action<sbyte[], long>(m.Write_3), p5);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(4, m);
            p8 = u.ReadEnum16();
            return u.ReadUInt32();
        }

19 View Source File : 2f59a331-bf7d-48cb-9e5c-7c090d76e8b8_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 98cd761e-e77d-41c8-a3c0-0fb756d90ec2_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.Write_1(Member0);
            m.WriteGuid(Member1EE8);
            m.WriteGuid(Member1EF8);
            m.Write_3(Member1F08);
            m.WriteInt64(Member1F10);
            m.WriteEmbeddedPointer<string>(Member1F18, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(Member1F20);
            m.WriteGuid(Member1F24);
            m.WriteEmbeddedPointer<string[], long>(Member1F38, new System.Action<string[], long>(m.Write_4), Member1F40);
            m.WriteInt32(Member1F40);
            m.WriteEmbeddedPointer<string>(Member1F48, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member1F50, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member1F58, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member1F60, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member1F68, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt64(Member1F70);
            m.WriteEmbeddedPointer<string>(Member1F78, new System.Action<string>(m.WriteTerminatedString));
        }

19 View Source File : d22895ef-aff4-42c5-a5b2-b14466d34ab4_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int UtcEventTranscriptApi_IsSampledIn(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, System.Nullable<System.Guid> p2, string p3, System.Nullable<int> p4, string p5, System.Nullable<int> p6, System.Nullable<long> p7, out int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.WriteReferent(p2, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p3, new System.Action<string>(m.WriteTerminatedString));
            m.WriteReferent(p4, new System.Action<int>(m.WriteInt32));
            m.WriteReferent(p5, new System.Action<string>(m.WriteTerminatedString));
            m.WriteReferent(p6, new System.Action<int>(m.WriteInt32));
            m.WriteReferent(p7, new System.Action<long>(m.WriteInt64));
            _Unmarshal_Helper u = SendReceive(8, m);
            p8 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : fd8be72b-a9cd-4b2c-a9ca-4ded242fbe4d_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int UtcApi_SendTraceLogging(System.Guid p0, short p1, byte[] p2, short p3, byte[] p4, int p5, byte[] p6, Struct_1 p7, System.Nullable<System.Guid> p8, System.Nullable<System.Guid> p9, int p10)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt16(p1);
            m.Write_2(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p1);
            m.WriteInt16(p3);
            m.Write_3(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p3);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action<byte[], long>(m.Write_4), p5);
            m.Write_0(p7);
            m.WriteReferent(p8, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p9, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteInt32(p10);
            _Unmarshal_Helper u = SendReceive(1, m);
            return u.ReadInt32();
        }

19 View Source File : 5dea026d-f999-40b1-a234-2164fd086783_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteGuid(Member0);
            m.WriteGuid(Member10);
            m.WriteEnum16(Member20);
            m.WriteInt16(Member24);
            m.WriteEnum16(Member28);
            m.WriteInt64(Member30);
            m.WriteInt64(Member38);
            m.WriteInt32(Member40);
            m.Write_3(Member44);
        }

19 View Source File : 5dea026d-f999-40b1-a234-2164fd086783_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint s_BthEvtBrRetrieveEventAdvertisements(System.Guid p0, out Struct_1 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(2, m);
            p1 = u.Read_0();
            return u.ReadUInt32();
        }

19 View Source File : 5dea026d-f999-40b1-a234-2164fd086783_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint s_BthEvtBrRetrieveEventCharacteristicNotifications(System.Guid p0, out byte[] p1, out int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(3, m);
            p1 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_27), false);
            p2 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 5dea026d-f999-40b1-a234-2164fd086783_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteGuid(Member0);
            m.WriteGuid(Member10);
            m.Write_7(Member20);
            m.WriteEnum16(Member28);
            m.Write_11(Member30, Member28);
        }

19 View Source File : 5dea026d-f999-40b1-a234-2164fd086783_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint s_BthEvtBrRetrieveEventSocket(System.Guid p0, System.Guid p1, int p2, out byte[] p3, out int p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteGuid(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(0, m);
            p3 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_26), false);
            p4 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 5dea026d-f999-40b1-a234-2164fd086783_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteGuid(Member0);
            m.WriteGuid(Member10);
            m.Write_21(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member20, "Member20"));
            m.WriteInt64(Member220);
            m.Write_7(Member228);
        }

See More Examples