NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(string, string)

Here are the examples of the csharp api NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(string, string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

956 Examples 7

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

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

19 Source : 0497b57d-2e66-424f-a0c6-157cd5d41700_1.0.cs
with The Unlicense
from 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 Source : 201ef99a-7fa0-444c-9399-19ba84f12a1a_1.0.cs
with The Unlicense
from tyranid

public int RAiProcessRunOnce(string p0, out Struct_2 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            _Unmarshal_Helper u = SendReceive(1, m);
            p1 = u.Read_2();
            return u.ReadInt32();
        }

19 Source : 201ef99a-7fa0-444c-9399-19ba84f12a1a_1.0.cs
with The Unlicense
from tyranid

public int RAiForceElevationPromptForCOM(NtApiDotNet.Ndr.Marshal.NdrUInt3264 p0, int p1, int p2, int p3, string p4, System.Guid p5, string p6, string p7, string p8, string p9, int p10)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteUInt3264(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"));
            m.WriteGuid(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.WriteInt32(p10);
            _Unmarshal_Helper u = SendReceive(6, m);
            return u.ReadInt32();
        }

19 Source : 5f54ce7d-5b79-4175-8584-cb65313a0e98_1.0.cs
with The Unlicense
from tyranid

public int RAiGetTokenForCOM(NtApiDotNet.Ndr.Marshal.NdrUInt3264 p0, int p1, int p2, int p3, string p4, System.Guid p5, string p6, string p7, string p8, string p9, int p10, out NtApiDotNet.Ndr.Marshal.NdrUInt3264 p11)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteUInt3264(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"));
            m.WriteGuid(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.WriteInt32(p10);
            _Unmarshal_Helper u = SendReceive(0, m);
            p11 = u.ReadUInt3264();
            return u.ReadInt32();
        }

19 Source : fd7a0523-dc70-43dd-9b2e-9c5ed48225b1_1.0.cs
with The Unlicense
from 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 Source : fc48cd89-98d6-4628-9839-86f7a3e4161a_1.0.cs
with The Unlicense
from tyranid

public int MVoipSrvLaunchVoipRtcTask(int p0, string p1, out Struct_0 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            _Unmarshal_Helper u = SendReceive(6, m);
            p2 = u.Read_0();
            return u.ReadInt32();
        }

19 Source : 201ef99a-7fa0-444c-9399-19ba84f12a1a_1.0.cs
with The Unlicense
from 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 Source : 201ef99a-7fa0-444c-9399-19ba84f12a1a_1.0.cs
with The Unlicense
from tyranid

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

19 Source : 58e604e8-9adb-4d2e-a464-3b0683fb1480_1.0.cs
with The Unlicense
from tyranid

public int RAiGetTokenForAxIS(NtApiDotNet.Ndr.Marshal.NdrUInt3264 p0, int p1, int p2, string p3, string p4, string p5, int p6, out NtApiDotNet.Ndr.Marshal.NdrUInt3264 p7)
        {
            _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.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(0, m);
            p7 = u.ReadUInt3264();
            return u.ReadInt32();
        }

19 Source : 0497b57d-2e66-424f-a0c6-157cd5d41700_1.0.cs
with The Unlicense
from tyranid

public int RAiGetPackageActivationToken(string p0, NtApiDotNet.NtToken p1, out NtApiDotNet.NtToken p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.Write_4(p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            p2 = u.Read_4();
            return u.ReadInt32();
        }

19 Source : 0497b57d-2e66-424f-a0c6-157cd5d41700_1.0.cs
with The Unlicense
from tyranid

public int RAiEnsurePackageShutdown(string p0, int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(3, m);
            return u.ReadInt32();
        }

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

public uint ARPRemoveApp(string p0, int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(5, m);
            return u.ReadUInt32();
        }

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

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

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

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

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

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

19 Source : ff9fd3c4-742e-45e0-91dd-2f5bc632a1df_1.0.cs
with The Unlicense
from 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 Source : 7c69ac10-fa12-4dbf-90d9-c7f1e40f5dc5_1.6.cs
with The Unlicense
from tyranid

public int s_apmHandleEuVolumeNotificationResponse(string p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            _Unmarshal_Helper u = SendReceive(41, m);
            return u.ReadInt32();
        }

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

public int s_apmSetBalanceGroupBalanceForId(string p0, float p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteFloat(p1);
            _Unmarshal_Helper u = SendReceive(44, m);
            return u.ReadInt32();
        }

19 Source : 910562c3-ebd9-46b9-baba-1d45842a0ceb_1.0.cs
with The Unlicense
from tyranid

public int s_pbmAllowMediaPlaybackForApp(string p0, long p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt64(p1);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadInt32();
        }

19 Source : 910562c3-ebd9-46b9-baba-1d45842a0ceb_1.0.cs
with The Unlicense
from tyranid

public int s_pbmReportAppClosing(string p0, long p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt64(p1);
            _Unmarshal_Helper u = SendReceive(6, m);
            return u.ReadInt32();
        }

19 Source : 910562c3-ebd9-46b9-baba-1d45842a0ceb_1.0.cs
with The Unlicense
from tyranid

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

19 Source : 910562c3-ebd9-46b9-baba-1d45842a0ceb_1.0.cs
with The Unlicense
from tyranid

public int s_pbmReportApplicationState(string p0, long p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt64(p1);
            m.WriteEnum16(p2);
            _Unmarshal_Helper u = SendReceive(10, m);
            return u.ReadInt32();
        }

19 Source : ae55c4c0-64ce-11dd-ad8b-0800200c9a66_1.0.cs
with The Unlicense
from tyranid

public int BdeSvcApipAddRecoveryPreplacedword(string p0, out System.Guid p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            _Unmarshal_Helper u = SendReceive(0, m);
            p1 = u.ReadGuid();
            return u.ReadInt32();
        }

19 Source : ae55c4c0-64ce-11dd-ad8b-0800200c9a66_1.0.cs
with The Unlicense
from tyranid

public int BdeSvcApipConversionEncrypt(string p0, int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            return u.ReadInt32();
        }

19 Source : ae55c4c0-64ce-11dd-ad8b-0800200c9a66_1.0.cs
with The Unlicense
from tyranid

public int BdeSvcApipChangeProtector(string p0, ref string p1, ref 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.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(3, m);
            p1 = u.ReadConformantVaryingString();
            p2 = u.ReadConformantVaryingString();
            return u.ReadInt32();
        }

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

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt64(Member8);
            m.WriteInt32(Member10);
            m.WriteInt32(Member14);
            m.WriteInt32(Member18);
            m.WriteInt32(Member1C);
            m.Write_6(Member20);
            m.Write_6(Member30);
            m.Write_8(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member40, "Member40"));
        }

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

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

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

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

19 Source : f50aac00-c7f3-428e-a022-a6b71bfb9d43_2.0.cs
with The Unlicense
from tyranid

public int s_SSCatDBAddCatalog(string p0, string p1, string p2, out string 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"));
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(0, m);
            p3 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadInt32();
        }

19 Source : f50aac00-c7f3-428e-a022-a6b71bfb9d43_2.0.cs
with The Unlicense
from tyranid

public int s_SSCatDBRebuildDatabase(string p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            _Unmarshal_Helper u = SendReceive(4, m);
            return u.ReadInt32();
        }

19 Source : 2579ff35-0ab0-4e5a-88fa-1d88c4e0cb92_2.0.cs
with The Unlicense
from 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 Source : 5b665b9a-a086-4e26-ae24-96ab050b0ec3_1.0.cs
with The Unlicense
from tyranid

public int DreplacedetAepStoreAepProperties(string p0, int p1, Struct_0[] p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt32(p1);
            m.WriteReferent(p2, new System.Action<Struct_0[], long>(m.Write_4), p1);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadInt32();
        }

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

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

19 Source : a1d4eae7-39f8-4bca-8e72-832767f5082a_1.0.cs
with The Unlicense
from 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 Source : 8bfc3be1-6def-4e2d-af74-7c47cd0ade4a_1.0.cs
with The Unlicense
from tyranid

public uint RBiSrvSetActiveUserForPackage(string p0, int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(14, m);
            return u.ReadUInt32();
        }

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

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

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

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

19 Source : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from 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 Source : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from 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 Source : b05885e9-fd8c-4839-9d73-f1baff8f4e44_1.0.cs
with The Unlicense
from tyranid

public int s_SetMobileBroadbandFirewall(string p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedAnsiString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            _Unmarshal_Helper u = SendReceive(0, m);
            return u.ReadInt32();
        }

19 Source : b05885e9-fd8c-4839-9d73-f1baff8f4e44_1.0.cs
with The Unlicense
from 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 Source : f50aac00-c7f3-428e-a022-a6b71bfb9d43_2.0.cs
with The Unlicense
from tyranid

public int s_SSCatDBPrepareForCall(string p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            _Unmarshal_Helper u = SendReceive(5, m);
            return u.ReadInt32();
        }

19 Source : f50aac00-c7f3-428e-a022-a6b71bfb9d43_2.0.cs
with The Unlicense
from tyranid

public int s_SSCatDBSmartlockerDefenderCheck(string p0, int p1, out byte[] p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(7, m);
            p2 = u.Read_2();
            return u.ReadInt32();
        }

19 Source : 2579ff35-0ab0-4e5a-88fa-1d88c4e0cb92_2.0.cs
with The Unlicense
from tyranid

public int s_SSTpmEndorsementKeyGetInfo(string p0, int p1, byte[] p2, string p3, int p4, out int p5, out byte[] p6, out int p7, out byte[] p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteInt32(p1);
            m.Write_0(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(0, m);
            p5 = u.ReadInt32();
            p6 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_1), false);
            p7 = u.ReadInt32();
            p8 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_2), false);
            return u.ReadInt32();
        }

19 Source : 2579ff35-0ab0-4e5a-88fa-1d88c4e0cb92_2.0.cs
with The Unlicense
from 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 Source : 850cee52-3038-4277-b9b4-e05db8b2c35c_1.0.cs
with The Unlicense
from 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();
        }

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

public int DasHostCreateProviderQuery(System.Guid p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, string p2, Struct_1 p3, long p4, long p5, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteEnum16(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.Write_0(p3);
            m.WriteInt64(p4);
            m.WriteInt64(p5);
            _Unmarshal_Helper u = SendReceive(4, m);
            p6 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : 3d27921d-9a28-483f-a749-a48fde7d0c5f_1.0.cs
with The Unlicense
from tyranid

public int DsmRpcRegisterDcaStateName(string p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            _Unmarshal_Helper u = SendReceive(7, m);
            return u.ReadInt32();
        }

19 Source : 3d27921d-9a28-483f-a749-a48fde7d0c5f_1.0.cs
with The Unlicense
from tyranid

public int DsmRpcSetPairingUXInfo(System.Guid p0, string p1, string p2)
        {
            _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"));
            _Unmarshal_Helper u = SendReceive(8, m);
            return u.ReadInt32();
        }

See More Examples