NtApiDotNet.Ndr.Marshal.NdrUnmarshalBuffer.ReadReferent(System.Func, bool)

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

717 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 : 8a7b5006-cc13-11db-9705-005056c00008_1.0.cs
License : The Unlicense
Project Creator : tyranid

public void AppIDRpcVerifyPackageMoniker(string p0, out int p1, out long p2, out int p3, out byte[] p4, out string p5, out string p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(1, m);
            p1 = u.ReadInt32();
            p2 = u.ReadInt64();
            p3 = u.ReadInt32();
            p4 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_2), false);
            p5 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p6 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
        }

19 View Source File : 8a7b5006-cc13-11db-9705-005056c00008_1.0.cs
License : The Unlicense
Project Creator : tyranid

public void AppIDRpcVerifyFile(int p0, out int p1, out int p2, out byte[] p3, out int p4, out byte[] p5, out long p6, out long p7, ref string p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteReferent(p8, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(0, m);
            p1 = u.ReadInt32();
            p2 = u.ReadInt32();
            p3 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_0), false);
            p4 = u.ReadInt32();
            p5 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_1), false);
            p6 = u.ReadInt64();
            p7 = u.ReadInt64();
            p8 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), true);
        }

19 View Source File : 461e6f82-89d8-4b7b-95ca-2e5c965953fc_1.0.cs
License : The Unlicense
Project Creator : tyranid

public void s_vservices_server_GetServiceKeyName(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, Struct_1 p4, ref char[] p5, ref int p6, out long p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.Write_0(p4);
            m.WriteReferent(p5, new System.Action<char[], long>(m.Write_10), NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p6));
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(15, m);
            p5 = u.ReadReferent<char[]>(new System.Func<char[]>(u.Read_10), false);
            p6 = u.ReadInt32();
            p7 = u.ReadInt64();
        }

19 View Source File : 461e6f82-89d8-4b7b-95ca-2e5c965953fc_1.0.cs
License : The Unlicense
Project Creator : tyranid

public void s_vservices_server_GetServiceDisplayName(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, Struct_1 p4, ref char[] p5, ref int p6, out long p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.Write_0(p4);
            m.WriteReferent(p5, new System.Action<char[], long>(m.Write_10), NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p6));
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(16, m);
            p5 = u.ReadReferent<char[]>(new System.Func<char[]>(u.Read_10), false);
            p6 = u.ReadInt32();
            p7 = u.ReadInt64();
        }

19 View Source File : 461e6f82-89d8-4b7b-95ca-2e5c965953fc_1.0.cs
License : The Unlicense
Project Creator : tyranid

public void s_vservices_server_QueryServiceObjectSecurity(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, int p4, ref char[] p5, ref int p6, out long p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<char[], long>(m.Write_10), NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p6));
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(21, m);
            p5 = u.ReadReferent<char[]>(new System.Func<char[]>(u.Read_10), false);
            p6 = u.ReadInt32();
            p7 = u.ReadInt64();
        }

19 View Source File : 6d809348-7e6c-41b9-91bc-630fe5503d66_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int vobjects_server_GetObjectExclusions(int p0, System.Guid p1, System.Guid p2, out long p3, out int p4, out int p5, out string[] p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            _Unmarshal_Helper u = SendReceive(0, m);
            p3 = u.ReadInt64();
            p4 = u.ReadInt32();
            p5 = u.ReadInt32();
            p6 = u.ReadReferent<string[]>(new System.Func<string[]>(u.Read_0), false);
            return u.ReadInt32();
        }

19 View Source File : 461e6f82-89d8-4b7b-95ca-2e5c965953fc_1.0.cs
License : The Unlicense
Project Creator : tyranid

public void s_vservices_server_QueryServiceConfigA(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, ref byte[] p4, int p5, out int p6, int p7, out long p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.WriteReferent(p4, new System.Action<byte[], long>(m.Write_11), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(18, m);
            p4 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_11), false);
            p6 = u.ReadInt32();
            p8 = u.ReadInt64();
        }

19 View Source File : 461e6f82-89d8-4b7b-95ca-2e5c965953fc_1.0.cs
License : The Unlicense
Project Creator : tyranid

public void s_vservices_server_QueryServiceConfig2W(int p0, Struct_5 p1, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p2, int p3, ref byte[] p4, int p5, out int p6, int p7, out long p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_4(p1);
            m.WriteUInt3264(p2);
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action<byte[], long>(m.Write_11), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(19, m);
            p4 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_11), false);
            p6 = u.ReadInt32();
            p8 = u.ReadInt64();
        }

19 View Source File : 461e6f82-89d8-4b7b-95ca-2e5c965953fc_1.0.cs
License : The Unlicense
Project Creator : tyranid

public void s_vservices_server_QueryServiceConfig2A(int p0, Struct_5 p1, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p2, int p3, ref byte[] p4, int p5, out int p6, int p7, out long p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_4(p1);
            m.WriteUInt3264(p2);
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action<byte[], long>(m.Write_11), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(20, m);
            p4 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_11), false);
            p6 = u.ReadInt32();
            p8 = u.ReadInt64();
        }

19 View Source File : 461e6f82-89d8-4b7b-95ca-2e5c965953fc_1.0.cs
License : The Unlicense
Project Creator : tyranid

public void s_vservices_server_QueryServiceConfigW(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, ref byte[] p4, int p5, out int p6, int p7, out long p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.WriteReferent(p4, new System.Action<byte[], long>(m.Write_11), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(17, m);
            p4 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_11), false);
            p6 = u.ReadInt32();
            p8 = u.ReadInt64();
        }

19 View Source File : 8c7fbdb0-8513-44f9-a8b1-1a3b49322bf4_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : af1e812f-2d47-4c99-9b36-15984de66d89_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : edce686d-acae-4a2a-8945-24489443c35e_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 1f53838b-693a-4bbb-99c9-b154f749b8a3_1.0.cs
License : The Unlicense
Project Creator : 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 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 : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvQueryWorkItem(System.Guid p0, sbyte p1, out int p2, out byte[] p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteSByte(p1);
            _Unmarshal_Helper u = SendReceive(20, m);
            p2 = u.ReadInt32();
            p3 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_30), false);
            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 : 2579ff35-0ab0-4e5a-88fa-1d88c4e0cb92_2.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSTpmGetAttestationForAik(string p0, string p1, out int p2, out byte[] p3, out int p4, out byte[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            _Unmarshal_Helper u = SendReceive(3, m);
            p2 = u.ReadInt32();
            p3 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_5), false);
            p4 = u.ReadInt32();
            p5 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_6), false);
            return u.ReadInt32();
        }

19 View Source File : 2579ff35-0ab0-4e5a-88fa-1d88c4e0cb92_2.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSTpmGetManufacturerInfo(string p0, out string p1, out string p2, out NtApiDotNet.Ndr.Marshal.NdrEnum16 p3, out byte[] p4, out int p5, out byte[] p6, out int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            _Unmarshal_Helper u = SendReceive(4, m);
            p1 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p2 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p3 = u.ReadEnum16();
            p4 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_7), false);
            p5 = u.ReadInt32();
            p6 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_8), false);
            p7 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : 850cee52-3038-4277-b9b4-e05db8b2c35c_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 850cee52-3038-4277-b9b4-e05db8b2c35c_1.0.cs
License : The Unlicense
Project Creator : 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 View Source File : a1d4eae7-39f8-4bca-8e72-832767f5082a_1.0.cs
License : The Unlicense
Project Creator : 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 View Source File : a1d4eae7-39f8-4bca-8e72-832767f5082a_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int DasHostCreatereplacedociationContextFromOobBlob(System.Guid p0, System.Guid p1, int p2, sbyte[] p3, long p4, long p5, int p6, out string p7, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p8, out int p9, out Struct_7[] p10)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteGuid(p1);
            m.WriteInt32(p2);
            m.Write_22(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            m.WriteInt64(p4);
            m.WriteInt64(p5);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(8, m);
            p7 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p8 = u.ReadContextHandle();
            p9 = u.ReadInt32();
            p10 = u.ReadReferent<Struct_7[]>(new System.Func<Struct_7[]>(u.Read_23), false);
            return u.ReadInt32();
        }

19 View Source File : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvEnumerateUserSessions(out int p0, out int[] p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(13, m);
            p0 = u.ReadInt32();
            p1 = u.ReadReferent<int[]>(new System.Func<int[]>(u.Read_25), false);
            return u.ReadUInt32();
        }

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

public uint RBiSrvQueryWorkItemForUser(byte[] p0, int p1, System.Guid p2, out int p3, out byte[] p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<byte[], long>(m.Write_0), p1);
            m.WriteInt32(p1);
            m.WriteGuid(p2);
            _Unmarshal_Helper u = SendReceive(12, m);
            p3 = u.ReadInt32();
            p4 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_6), false);
            return u.ReadUInt32();
        }

19 View Source File : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
License : The Unlicense
Project Creator : 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 View Source File : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
License : The Unlicense
Project Creator : 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 View Source File : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
License : The Unlicense
Project Creator : 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 View Source File : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int DasHostStartExport(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(31, m);
            p2 = u.ReadInt32();
            p3 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_32), false);
            return u.ReadInt32();
        }

19 View Source File : b05885e9-fd8c-4839-9d73-f1baff8f4e44_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_GetWmiProperty(string p0, string p1, out string p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            _Unmarshal_Helper u = SendReceive(4, m);
            p2 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

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 : f50aac00-c7f3-428e-a022-a6b71bfb9d43_2.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSCatDBEnumCatalogs(string p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, int p2, byte[] p3, out int p4, out string[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "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<string[]>(new System.Func<string[]>(u.Read_1), false);
            return u.ReadInt32();
        }

19 View Source File : f50aac00-c7f3-428e-a022-a6b71bfb9d43_2.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SSCatDBAddCatalog2(int p0, string p1, string p2, string p3, out string p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteReferent(p3, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(6, m);
            p4 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 View Source File : 850cee52-3038-4277-b9b4-e05db8b2c35c_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int DasCreatereplacedociationContextFromOobBlob(System.Guid p0, int p1, sbyte[] p2, System.Guid p3, int p4, out string p5, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p6, out int p7, out Struct_3[] p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            m.Write_7(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p1);
            m.WriteGuid(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(1, m);
            p5 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p6 = u.ReadContextHandle();
            p7 = u.ReadInt32();
            p8 = u.ReadReferent<Struct_3[]>(new System.Func<Struct_3[]>(u.Read_8), false);
            return u.ReadInt32();
        }

19 View Source File : 850cee52-3038-4277-b9b4-e05db8b2c35c_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 850cee52-3038-4277-b9b4-e05db8b2c35c_1.0.cs
License : The Unlicense
Project Creator : 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 View Source File : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

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

public int DqbGetEvents(long 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.WriteInt64(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_2), 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_winmmGetPnpInfo(out int p0, out byte[] p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(0, m);
            p0 = u.ReadInt32();
            p1 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_1), 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_sndevtResolveSoundAlias(string p0, string p1, int p2, out NtApiDotNet.Ndr.Marshal.NdrInt3264 p3, ref string p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p2);
            m.WriteReferent(p4, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(8, m);
            p3 = u.ReadInt3264();
            p4 = 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 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 : 0d3e2735-cea0-4ecc-a9e2-41a2d81aed4e_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

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

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

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

public uint RBiRtSrvEnumerateWorkItems(out System.Guid[] p0, out int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(8, m);
            p0 = u.ReadReferent<System.Guid[]>(new System.Func<System.Guid[]>(u.Read_16), false);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

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

public uint RBiRtSrvGetWorkItemProperties(System.Guid p0, out char[] p1, out int p2, out System.Nullable<Struct_6> p3, out System.Guid p4, out int p5, out byte[] p6, out int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(9, m);
            p1 = u.ReadReferent<char[]>(new System.Func<char[]>(u.Read_17), false);
            p2 = u.ReadInt32();
            p3 = u.ReadReferentValue<Struct_6>(new System.Func<Struct_6>(u.Read_5), false);
            p4 = u.ReadGuid();
            p5 = u.ReadInt32();
            p6 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_18), false);
            p7 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvEnumerateUserContexts(out int p0, out long[] p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(12, m);
            p0 = u.ReadInt32();
            p1 = u.ReadReferent<long[]>(new System.Func<long[]>(u.Read_24), false);
            return u.ReadUInt32();
        }

See More Examples