NtApiDotNet.Ndr.Marshal.NdrMarshalBuffer.WriteReferent(System.Nullable, System.Action, U, V)

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

984 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 : 201ef99a-7fa0-444c-9399-19ba84f12a1a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RAiLaunchAdminProcess(string p0, string p1, int p2, int p3, string p4, string p5, Struct_0 p6, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p7, int p8, out Struct_2 p9, out int p10)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            m.Write_0(p6);
            m.WriteUInt3264(p7);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(0, m);
            p9 = u.Read_2();
            p10 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : 8c7daf44-b6dc-11d1-9a4c-0020af6e7c57_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint GetManagedApps(System.Nullable<Struct_3> p0, int p1, int p2, out Struct_7 p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<Struct_3>(m.Write_3));
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(6, m);
            p3 = u.Read_7();
            return u.ReadUInt32();
        }

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

public void AppIDRpcOnCreateProcess(
                    char[] p0, 
                    short p1, 
                    char[] p2, 
                    short p3, 
                    int p4, 
                    int p5, 
                    long p6, 
                    byte[] p7, 
                    int p8, 
                    byte[] p9, 
                    int p10, 
                    byte[] p11, 
                    int p12, 
                    string p13, 
                    int p14, 
                    System.Guid p15, 
                    out int p16)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<char[], long>(m.Write_3), p1);
            m.WriteInt16(p1);
            m.WriteReferent(p2, new System.Action<char[], long>(m.Write_4), p3);
            m.WriteInt16(p3);
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            m.WriteInt64(p6);
            m.WriteReferent(p7, new System.Action<byte[], long>(m.Write_5), p8);
            m.WriteInt32(p8);
            m.WriteReferent(p9, new System.Action<byte[], long>(m.Write_6), p10);
            m.WriteInt32(p10);
            m.WriteReferent(p11, new System.Action<byte[], long>(m.Write_7), p12);
            m.WriteInt32(p12);
            m.WriteReferent(p13, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p14);
            m.WriteGuid(p15);
            _Unmarshal_Helper u = SendReceive(2, m);
            p16 = u.ReadInt32();
        }

19 View Source File : 0497b57d-2e66-424f-a0c6-157cd5d41700_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RAiLaunchProcessWithIdenreplacedy(
                    string p0, 
                    string p1, 
                    int p2, 
                    int p3, 
                    string p4, 
                    string p5, 
                    Struct_0 p6, 
                    string p7, 
                    string p8, 
                    NtApiDotNet.Ndr.Marshal.NdrUInt3264 p9, 
                    int p10, 
                    int p11, 
                    NtApiDotNet.NtProcess p12, 
                    long p13, 
                    System.Nullable<long> p14, 
                    System.Nullable<System.Guid> p15, 
                    long p16, 
                    out Struct_3 p17)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            m.Write_0(p6);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p7, "p7"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p8, "p8"));
            m.WriteUInt3264(p9);
            m.WriteInt32(p10);
            m.WriteInt32(p11);
            m.Write_3(p12);
            m.WriteInt64(p13);
            m.WriteReferent(p14, new System.Action<long>(m.WriteInt64));
            m.WriteReferent(p15, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteInt64(p16);
            _Unmarshal_Helper u = SendReceive(0, m);
            p17 = u.Read_2();
            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 : 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 AppIDRpcOnCreateFile(string p0, string p1, byte[] p2, int p3, int p4, System.Guid p5, out int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            m.Write_8(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p3);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteGuid(p5);
            _Unmarshal_Helper u = SendReceive(3, m);
            p6 = u.ReadInt32();
        }

19 View Source File : 0497b57d-2e66-424f-a0c6-157cd5d41700_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RAiFinishPackageActivation(NtApiDotNet.NtProcess p0, NtApiDotNet.NtThread p1, int p2, string p3, string p4, NtApiDotNet.NtToken p5, out int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_5(p0);
            m.Write_6(p1);
            m.WriteInt32(p2);
            m.WriteReferent(p3, new System.Action<string>(m.WriteTerminatedString));
            m.WriteReferent(p4, new System.Action<string>(m.WriteTerminatedString));
            m.Write_4(p5);
            _Unmarshal_Helper u = SendReceive(2, m);
            p6 = u.ReadInt32();
            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_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_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_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 : fd7a0523-dc70-43dd-9b2e-9c5ed48225b1_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RAiGetTokenForMSI(
                    NtApiDotNet.Ndr.Marshal.NdrUInt3264 p0, 
                    int p1, 
                    int p2, 
                    string p3, 
                    int p4, 
                    string p5, 
                    string p6, 
                    string p7, 
                    string p8, 
                    string p9, 
                    string p10, 
                    int p11, 
                    string[] p12, 
                    string[] p13, 
                    int p14, 
                    out NtApiDotNet.Ndr.Marshal.NdrUInt3264 p15)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteUInt3264(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteInt32(p4);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p6, "p6"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p7, "p7"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p8, "p8"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p9, "p9"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p10, "p10"));
            m.WriteInt32(p11);
            m.WriteReferent(p12, new System.Action<string[], long>(m.Write_0), p11);
            m.WriteReferent(p13, new System.Action<string[], long>(m.Write_1), p11);
            m.WriteInt32(p14);
            _Unmarshal_Helper u = SendReceive(0, m);
            p15 = u.ReadUInt3264();
            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_StartService(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, int p4, string[] p5, out long p6)
        {
            _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<string[], long>(m.Write_8), p4);
            _Unmarshal_Helper u = SendReceive(3, m);
            p6 = 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_StartServiceControlDispatcher(int p0, System.Guid p1, System.Guid p2, int p3, string[] p4, out long p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action<string[], long>(m.Write_9), p3);
            _Unmarshal_Helper u = SendReceive(4, m);
            p5 = 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 : ff9fd3c4-742e-45e0-91dd-2f5bc632a1df_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

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

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

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

public int AppXApplyTrustLabelToFolder_2(string p0, sbyte p1, int p2, string[] p3, out NtApiDotNet.NtEvent[] p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteSByte(p1);
            m.WriteInt32(p2);
            m.Write_3(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            _Unmarshal_Helper u = SendReceive(2, m);
            p4 = u.Read_5();
            return u.ReadInt32();
        }

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

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

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

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

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

public int s_apmRegisterAudioStateMonitor(System.Nullable<NtApiDotNet.Ndr.Marshal.NdrEnum16> p0, System.Nullable<NtApiDotNet.Ndr.Marshal.NdrEnum16> p1, string p2, out long p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<NtApiDotNet.Ndr.Marshal.NdrEnum16>(m.WriteEnum16));
            m.WriteReferent(p1, new System.Action<NtApiDotNet.Ndr.Marshal.NdrEnum16>(m.WriteEnum16));
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(39, m);
            p3 = u.ReadInt64();
            return u.ReadInt32();
        }

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

public int s_CapabilityAccessManagerNotification(string p0, string p1, string p2, int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(3, m);
            return u.ReadInt32();
        }

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

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

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

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

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

public uint RBiPtSrvSignalTriggerEvent(out NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, System.Guid p1, System.Nullable<System.Guid> p2, byte[] p3, int p4, System.Nullable<System.Guid> p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p1);
            m.WriteReferent(p2, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p3, new System.Action<byte[], long>(m.Write_31), p4);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<System.Guid>(m.WriteGuid));
            _Unmarshal_Helper u = SendReceive(23, m);
            p0 = u.ReadEnum16();
            return u.ReadUInt32();
        }

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

public uint RBiSrvActivateInBackground(
                    out System.Guid p0, 
                    ref System.Nullable<System.Guid> p1, 
                    ref System.Nullable<Struct_1> p2, 
                    char[] p3, 
                    int p4, 
                    byte[] p5, 
                    int p6, 
                    char[] p7, 
                    int p8, 
                    char[] p9, 
                    int p10, 
                    char[] p11, 
                    int p12, 
                    int p13, 
                    int p14, 
                    System.Nullable<System.Guid> p15, 
                    byte[] p16, 
                    int p17, 
                    System.Nullable<System.Guid> p18)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p1, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p2, new System.Action<Struct_1>(m.Write_0));
            m.Write_10(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p4);
            m.WriteInt32(p4);
            m.Write_11(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"), p6);
            m.WriteInt32(p6);
            m.Write_12(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p7, "p7"), p8);
            m.WriteInt32(p8);
            m.Write_13(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p9, "p9"), p10);
            m.WriteInt32(p10);
            m.WriteReferent(p11, new System.Action<char[], long>(m.Write_14), p12);
            m.WriteInt32(p12);
            m.WriteInt32(p13);
            m.WriteInt32(p14);
            m.WriteReferent(p15, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p16, new System.Action<byte[], long>(m.Write_15), p17);
            m.WriteInt32(p17);
            m.WriteReferent(p18, new System.Action<System.Guid>(m.WriteGuid));
            _Unmarshal_Helper u = SendReceive(1, m);
            p0 = u.ReadGuid();
            p1 = u.ReadReferentValue<System.Guid>(new System.Func<System.Guid>(u.ReadGuid), false);
            p2 = u.ReadReferentValue<Struct_1>(new System.Func<Struct_1>(u.Read_0), false);
            return u.ReadUInt32();
        }

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

public uint RBiSrvSignalEvent(System.Guid p0, System.Nullable<sbyte> p1, System.Nullable<System.Guid> p2, byte[] p3, int p4, System.Nullable<System.Guid> p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteReferent(p1, new System.Action<sbyte>(m.WriteSByte));
            m.WriteReferent(p2, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p3, new System.Action<byte[], long>(m.Write_31), p4);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<System.Guid>(m.WriteGuid));
            _Unmarshal_Helper u = SendReceive(22, m);
            return u.ReadUInt32();
        }

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

public uint _BriCreateEvent(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, string p1, Struct_0 p2, Struct_1 p3, int p4, System.Nullable<System.Guid> p5, out Struct_7 p6, out Struct_8 p7, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p8, ref System.Nullable<Struct_7> p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteEnum16(p0);
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            m.Write_0(p2);
            m.Write_1(p3);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p9, new System.Action<Struct_7>(m.Write_6));
            _Unmarshal_Helper u = SendReceive(0, m);
            p6 = u.Read_6();
            p7 = u.Read_7();
            p8 = u.ReadContextHandle();
            p9 = u.ReadReferentValue<Struct_7>(new System.Func<Struct_7>(u.Read_6), false);
            return u.ReadUInt32();
        }

19 View Source File : 43d210c2-4dfb-44d0-ab40-31aab2e980f3_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int GenerateByteCodeForPackage(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, Struct_0 p1, string p2, string p3, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p4, string[] p5, int p6, Struct_1 p7, out int p8)
        {
            _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.WriteUInt3264(p4);
            m.WriteReferent(p5, new System.Action<string[], long>(m.Write_3), p6);
            m.WriteInt32(p6);
            m.Write_1(p7);
            _Unmarshal_Helper u = SendReceive(1, m);
            p8 = u.ReadInt32();
            return u.ReadInt32();
        }

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

public int s_SSTpmEndorsementKeyDecryptChallenge(int p0, byte[] p1, string p2, int p3, byte[] p4, out int p5, out byte[] p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_3(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action<byte[], long>(m.Write_4), p3);
            _Unmarshal_Helper u = SendReceive(1, m);
            p5 = u.ReadInt32();
            p6 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_1), false);
            return u.ReadInt32();
        }

19 View Source File : a1d4eae7-39f8-4bca-8e72-832767f5082a_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : a1d4eae7-39f8-4bca-8e72-832767f5082a_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int DasRegisterForInboundreplacedociationsAppActivation(System.Guid p0, int p1, int p2, Struct_1[] p3, int p4, Struct_2[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.WriteReferent(p3, new System.Action<Struct_1[], long>(m.Write_11), p2);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<Struct_2[], long>(m.Write_12), p4);
            _Unmarshal_Helper u = SendReceive(4, m);
            return u.ReadInt32();
        }

19 View Source File : 20c40295-8dba-48e6-aebf-3e78ef3bb144_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int SrvOdbPtCancelBackgroundTasksForPackage(int p0, string p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(4, m);
            return u.ReadInt32();
        }

19 View Source File : 2513bcbe-6cd4-4348-855e-7efb3c336dd3_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int SrvOdbCreateSession(int p0, byte[] p1, string p2, int p3, out int p4, out long p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_1(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(0, m);
            p4 = u.ReadInt32();
            p5 = u.ReadInt64();
            return u.ReadInt32();
        }

19 View Source File : 2513bcbe-6cd4-4348-855e-7efb3c336dd3_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int SrvOdbLaunchBackgroundTask(int p0, byte[] p1, int p2, string p3, string p4, System.Nullable<System.Guid> p5, byte[] p6, int p7, System.Nullable<Struct_1> p8, out System.Guid p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_1(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            m.WriteInt32(p2);
            m.WriteReferent(p3, new System.Action<string>(m.WriteTerminatedString));
            m.WriteReferent(p4, new System.Action<string>(m.WriteTerminatedString));
            m.WriteReferent(p5, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p6, new System.Action<byte[], long>(m.Write_2), p7);
            m.WriteInt32(p7);
            m.WriteReferent(p8, new System.Action<Struct_1>(m.Write_0));
            _Unmarshal_Helper u = SendReceive(2, m);
            p9 = u.ReadGuid();
            return u.ReadInt32();
        }

19 View Source File : 2513bcbe-6cd4-4348-855e-7efb3c336dd3_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

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

public uint RBiSrvreplacedociateActivationProxy(out System.Guid p0, out Struct_1 p1, System.Guid p2, Struct_2[] p3, int p4, int p5, char[] p6, int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p2);
            m.WriteReferent(p3, new System.Action<Struct_2[], long>(m.Write_16), p4);
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action<char[], long>(m.Write_17), p7);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(3, m);
            p0 = u.ReadGuid();
            p1 = u.Read_0();
            return u.ReadUInt32();
        }

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

public uint RBiSrvEnumerateWorkItemsForPackageName(char[] p0, int p1, byte[] p2, int p3, int p4, int p5, out int p6, out System.Guid[] p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<char[], long>(m.Write_26), p1);
            m.WriteInt32(p1);
            m.WriteReferent(p2, new System.Action<byte[], long>(m.Write_27), p3);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(14, m);
            p6 = u.ReadInt32();
            p7 = u.ReadReferent<System.Guid[]>(new System.Func<System.Guid[]>(u.Read_28), false);
            return u.ReadUInt32();
        }

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

public uint RBiSrvSignalTriggerEvent(out NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, System.Guid p1, System.Nullable<System.Guid> p2, byte[] p3, int p4, System.Nullable<System.Guid> p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p1);
            m.WriteReferent(p2, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p3, new System.Action<byte[], long>(m.Write_31), p4);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<System.Guid>(m.WriteGuid));
            _Unmarshal_Helper u = SendReceive(24, m);
            p0 = u.ReadEnum16();
            return u.ReadUInt32();
        }

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

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

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

public uint RBiSrvUpdateBackgroundAccessApplicationsForUser(byte[] p0, int p1, int p2, string[] p3, string[] p4, sbyte[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<byte[], long>(m.Write_0), p1);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.Write_7(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            m.Write_7(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p2);
            m.Write_8(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"), p2);
            _Unmarshal_Helper u = SendReceive(16, m);
            return u.ReadUInt32();
        }

19 View Source File : c605f9fb-f0a3-4e2a-a073-73560f8d9e3e_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint RBiSrvSignalEvent(System.Guid p0, System.Nullable<sbyte> p1, System.Nullable<System.Guid> p2, byte[] p3, int p4, System.Nullable<System.Guid> p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteReferent(p1, new System.Action<sbyte>(m.WriteSByte));
            m.WriteReferent(p2, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p3, new System.Action<byte[], long>(m.Write_0), p4);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<System.Guid>(m.WriteGuid));
            _Unmarshal_Helper u = SendReceive(0, m);
            return u.ReadUInt32();
        }

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

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

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

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

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 DasCreatereplacedociationContextForApp(string p0, string p1, System.Guid p2, int p3, int p4, Struct_1[] p5, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteGuid(p2);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<Struct_1[], long>(m.Write_6), p4);
            _Unmarshal_Helper u = SendReceive(0, m);
            p6 = u.ReadContextHandle();
            return u.ReadInt32();
        }

See More Examples