NtApiDotNet.Ndr.Marshal.NdrMarshalBuffer.WriteInt32(int)

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

2791 Examples 7

19 View Source File : 57cce375-4430-47a6-bb96-2cad0d2fd140_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int BCryptIumVerifySignature(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, System.Nullable<Struct_0> p2, sbyte[] p3, int p4, sbyte[] p5, int p6, int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteReferent(p2, new System.Action<Struct_0>(m.Write_0));
            m.Write_11(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p4);
            m.WriteInt32(p4);
            m.Write_12(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"), p6);
            m.WriteInt32(p6);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(18, m);
            return u.ReadInt32();
        }

19 View Source File : 57cce375-4430-47a6-bb96-2cad0d2fd140_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int BCryptIumSecretAgreement(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, out long p3, int p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(19, m);
            p3 = u.ReadInt64();
            return u.ReadInt32();
        }

19 View Source File : 57cce375-4430-47a6-bb96-2cad0d2fd140_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int BCryptIumDeriveKey(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, string p2, System.Nullable<Struct_6> p3, ref sbyte[] p4, int p5, out int p6, int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteReferent(p3, new System.Action<Struct_6>(m.Write_6));
            m.WriteReferent(p4, new System.Action<sbyte[], long>(m.Write_15), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(20, m);
            p4 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_15), false);
            p6 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : 57cce375-4430-47a6-bb96-2cad0d2fd140_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int BCryptIumKeyDerivation(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, System.Nullable<Struct_6> p2, ref sbyte[] p3, int p4, out int p5, int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteReferent(p2, new System.Action<Struct_6>(m.Write_6));
            m.WriteReferent(p3, new System.Action<sbyte[], long>(m.Write_11), p4);
            m.WriteInt32(p4);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(21, m);
            p3 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_11), false);
            p5 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : 57cce375-4430-47a6-bb96-2cad0d2fd140_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int BCryptIumCreateClaim(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, int p3, System.Nullable<Struct_6> p4, ref sbyte[] p5, int p6, out int p7, int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action<Struct_6>(m.Write_6));
            m.WriteReferent(p5, new System.Action<sbyte[], long>(m.Write_12), p6);
            m.WriteInt32(p6);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(22, m);
            p5 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_12), false);
            p7 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : 57cce375-4430-47a6-bb96-2cad0d2fd140_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int BCryptIumGetIdkSPub(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, ref sbyte[] p1, int p2, out int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteReferent(p1, new System.Action<sbyte[], long>(m.Write_16), p2);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(23, m);
            p1 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_16), false);
            p3 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : 57cce375-4430-47a6-bb96-2cad0d2fd140_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int BCryptIumCheckKey(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, sbyte[] p1, int p2, ref sbyte[] p3, int p4, out int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.Write_16(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p2);
            m.WriteInt32(p2);
            m.WriteReferent(p3, new System.Action<sbyte[], long>(m.Write_11), p4);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(24, m);
            p3 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_11), false);
            p5 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : 57cce375-4430-47a6-bb96-2cad0d2fd140_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int BCryptIumPingTrustlet(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, out int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(25, m);
            p2 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : a3e5af3e-8a33-4737-af6e-bc1f8ecee4bf_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : a3e5af3e-8a33-4737-af6e-bc1f8ecee4bf_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int ProvIumCreateMachineCertificateRequest(int p0, sbyte[] p1, out int p2, out sbyte[] p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_1(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            _Unmarshal_Helper u = SendReceive(2, m);
            p2 = u.ReadInt32();
            p3 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_3), false);
            return u.ReadInt32();
        }

19 View Source File : a3e5af3e-8a33-4737-af6e-bc1f8ecee4bf_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int ProvIumCheckMachineKey(int p0, sbyte[] p1, out int p2, out sbyte[] p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_1(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            _Unmarshal_Helper u = SendReceive(3, m);
            p2 = u.ReadInt32();
            p3 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_3), false);
            return u.ReadInt32();
        }

19 View Source File : a3e5af3e-8a33-4737-af6e-bc1f8ecee4bf_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int ProvIumCheckRootSecretValidity(int p0, sbyte[] p1, out int p2, out int p3, out sbyte[] p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_1(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            _Unmarshal_Helper u = SendReceive(4, m);
            p2 = u.ReadInt32();
            p3 = u.ReadInt32();
            p4 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_2), false);
            return u.ReadInt32();
        }

19 View Source File : 3919286a-b10c-11d0-9ba8-00c04fd92ef5_0.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Member0);
            m.WriteInt32(Member4);
            m.WriteEmbeddedPointer<string>(Member8, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member10, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member18, new System.Action<string>(m.WriteTerminatedString));
            m.WriteGuid(Member20);
        }

19 View Source File : 41baa680-50ce-4967-a8fa-0596343a7ccf_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int LsarSetMachineCertificate(int p0, sbyte[] p1, int p2, sbyte[] p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_0(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            m.WriteInt32(p2);
            m.Write_1(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            _Unmarshal_Helper u = SendReceive(0, m);
            return u.ReadInt32();
        }

19 View Source File : ace1c026-8b3f-4711-8918-f345d17f5bff_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteEmbeddedPointer<sbyte[], long>(Member8, new System.Action<sbyte[], long>(m.Write_3), Member0);
        }

19 View Source File : ace1c026-8b3f-4711-8918-f345d17f5bff_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int S_RPC_LspUpdatePrivateData(Struct_0 p0, int p1, Struct_1 p2, Struct_1 p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.WriteInt32(p1);
            m.Write_1(p2);
            m.Write_1(p3);
            _Unmarshal_Helper u = SendReceive(0, m);
            return u.ReadInt32();
        }

19 View Source File : ace1c026-8b3f-4711-8918-f345d17f5bff_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int S_RPC_LspReadPrivateData(Struct_0 p0, int p1, out Struct_1 p2, out long p3, out Struct_1 p4, out long p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            p2 = u.Read_1();
            p3 = u.ReadInt64();
            p4 = u.Read_1();
            p5 = u.ReadInt64();
            return u.ReadInt32();
        }

19 View Source File : afc07e2e-311c-4435-808c-c483ffeec7c9_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteEmbeddedPointer<Struct_1[], long>(Member8, new System.Action<Struct_1[], long>(m.Write_10), Member0);
        }

19 View Source File : afc07e2e-311c-4435-808c-c483ffeec7c9_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteEmbeddedPointer<Struct_6[], long>(Member8, new System.Action<Struct_6[], long>(m.Write_14), Member0);
        }

19 View Source File : afc07e2e-311c-4435-808c-c483ffeec7c9_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEmbeddedPointer<Struct_2>(Member0, new System.Action<Struct_2>(m.Write_2));
            m.Write_4(Member8);
            m.Write_4(Member18);
            m.Write_4(Member28);
            m.WriteInt32(Member38);
            m.WriteInt32(Member3C);
            m.WriteEmbeddedPointer<Struct_7[], long>(Member40, new System.Action<Struct_7[], long>(m.Write_15), Member3C);
        }

19 View Source File : afc07e2e-311c-4435-808c-c483ffeec7c9_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.Write_4(Member0);
            m.Write_4(Member10);
            m.Write_4(Member20);
            m.Write_8(Member30);
            m.Write_9(Member40);
            m.Write_9(Member50);
            m.WriteInt32(Member60);
        }

19 View Source File : afc07e2e-311c-4435-808c-c483ffeec7c9_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteEmbeddedPointer<sbyte[], long>(Member8, new System.Action<sbyte[], long>(m.Write_16), Member0);
        }

19 View Source File : afc07e2e-311c-4435-808c-c483ffeec7c9_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int LsarSetCAPs(int p0, Struct_4[] p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteReferent(p1, new System.Action<Struct_4[], long>(m.Write_18), p0);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(1, m);
            return u.ReadInt32();
        }

19 View Source File : afc07e2e-311c-4435-808c-c483ffeec7c9_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int LsarQueryCAPs(int p0, Struct_1[] p1, out Struct_5 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteReferent(p1, new System.Action<Struct_1[], long>(m.Write_19), p0);
            _Unmarshal_Helper u = SendReceive(2, m);
            p2 = u.Read_5();
            return u.ReadInt32();
        }

19 View Source File : c0d930f0-b787-4124-99bc-21f0ecb642ce_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int LsarConnectLocalUser(Struct_0 p0, System.Guid p1, int p2, sbyte[] p3, out int p4, out NtApiDotNet.Ndr.Marshal.NdrEnum16 p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.WriteGuid(p1);
            m.WriteInt32(p2);
            m.Write_2(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            _Unmarshal_Helper u = SendReceive(0, m);
            p4 = u.ReadInt32();
            p5 = u.ReadEnum16();
            return u.ReadInt32();
        }

19 View Source File : c0d930f0-b787-4124-99bc-21f0ecb642ce_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int LsarDisconnectLocalUser(System.Guid p0, int p1, sbyte[] p2, Struct_0 p3, Struct_0 p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            m.Write_3(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p1);
            m.Write_0(p3);
            m.Write_0(p4);
            _Unmarshal_Helper u = SendReceive(1, m);
            return u.ReadInt32();
        }

19 View Source File : c0d930f0-b787-4124-99bc-21f0ecb642ce_0.0.cs
License : The Unlicense
Project Creator : tyranid

public int LsarCreateConnectedUser(Struct_0 p0, Struct_0 p1, int p2, System.Guid p3, int p4, sbyte[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            m.WriteGuid(p3);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<sbyte[], long>(m.Write_4), p4);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadInt32();
        }

19 View Source File : e0606e56-2380-422f-a66f-ae6b71b85832_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RpcCopySecureSection(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, int p2, int p3, out byte[] p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(1, m);
            p4 = u.Read_1();
            return u.ReadInt32();
        }

19 View Source File : e0606e56-2380-422f-a66f-ae6b71b85832_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : e0606e56-2380-422f-a66f-ae6b71b85832_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int RpcDecodeOneMJPGFrameSecure(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, int p2, int p3, Struct_1 p4, int p5, System.Guid p6, ref Struct_1 p7, ref int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.Write_0(p4);
            m.WriteInt32(p5);
            m.WriteGuid(p6);
            m.Write_0(p7);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(6, m);
            p7 = u.Read_0();
            p8 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : 6099fc12-3eff-11d0-abd0-00c04fd91a4e_3.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.Write_1(Member4);
            m.WriteInt32(MemberC);
            m.WriteInt32(Member10);
            m.WriteInt32(Member14);
        }

19 View Source File : 6099fc12-3eff-11d0-abd0-00c04fd91a4e_3.0.cs
License : The Unlicense
Project Creator : tyranid

public uint FAX_ClientEventQueueEx(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, sbyte[] p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.Write_2(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p2);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(3, m);
            return u.ReadUInt32();
        }

19 View Source File : 2eb08e3e-639f-4fba-97b1-14f878961076_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteGuid(Member0);
            m.WriteInt32(Member10);
            m.WriteInt32(Member14);
        }

19 View Source File : 2eb08e3e-639f-4fba-97b1-14f878961076_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt32(Member4);
            m.WriteEmbeddedPointer<string>(Member8, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member10, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member18, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member20, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(Member28);
            m.WriteEmbeddedPointer<string>(Member30, new System.Action<string>(m.WriteTerminatedString));
            m.WriteEmbeddedPointer<string>(Member38, new System.Action<string>(m.WriteTerminatedString));
        }

19 View Source File : 2eb08e3e-639f-4fba-97b1-14f878961076_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint Server_ProcessRefresh(string p0, sbyte p1, sbyte p2, sbyte p3, int p4, out Struct_0 p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteSByte(p1);
            m.WriteSByte(p2);
            m.WriteSByte(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(0, m);
            p5 = u.Read_0();
            return u.ReadUInt32();
        }

19 View Source File : 2eb08e3e-639f-4fba-97b1-14f878961076_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint Server_RegisterForNotification(string p0, int p1, int p2, out int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(1, m);
            p3 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 2eb08e3e-639f-4fba-97b1-14f878961076_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint Server_CheckRegisterForNotification(string p0, int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(2, m);
            return u.ReadUInt32();
        }

19 View Source File : 2eb08e3e-639f-4fba-97b1-14f878961076_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint Server_LockPolicySection(string p0, int p1, int p2, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(3, m);
            p3 = u.ReadContextHandle();
            return u.ReadUInt32();
        }

19 View Source File : 2eb08e3e-639f-4fba-97b1-14f878961076_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint Server_GetGroupPolicyObjectList(string p0, string p1, string p2, int p3, out Struct_2[] p4, out int p5)
        {
            _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.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(5, m);
            p4 = u.ReadReferent<Struct_2[]>(new System.Func<Struct_2[]>(u.Read_2), false);
            p5 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 2eb08e3e-639f-4fba-97b1-14f878961076_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 2eb08e3e-639f-4fba-97b1-14f878961076_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint Server_GenerateGroupPolicyNotification(int p0, string p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(7, m);
            return u.ReadUInt32();
        }

19 View Source File : 2e6035b2-e8f1-41a7-a044-656b439c4c34_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Selector);
            if ((Selector == 1))
            {
                m.Write_2(Arm_1);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_1");
        done:
            return;
        }

19 View Source File : fd6bb951-c830-4734-bf2c-18ba6ec7ab49_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int DiscGetInitiatorList(int p0, sbyte p1, out int p2, out byte[] p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteSByte(p1);
            _Unmarshal_Helper u = SendReceive(0, m);
            p2 = u.ReadInt32();
            p3 = u.Read_11();
            return u.ReadInt32();
        }

19 View Source File : b25a52bf-e5dd-4f4a-aea6-8ca7272a0e86_2.0.cs
License : The Unlicense
Project Creator : tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEmbeddedPointer<string>(Member0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(Member8);
            m.WriteInt32(MemberC);
            m.WriteInt32(Member10);
        }

19 View Source File : b25a52bf-e5dd-4f4a-aea6-8ca7272a0e86_2.0.cs
License : The Unlicense
Project Creator : tyranid

public int s_SrvRpcCryptDecrypt(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, byte[] p3, int p4, System.Nullable<Struct_2> p5, ref byte[] p6, int p7, out int p8, int p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.Write_20(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p4);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action<Struct_2>(m.Write_2));
            m.WriteReferent(p6, new System.Action<byte[], long>(m.Write_22), p7);
            m.WriteInt32(p7);
            m.WriteInt32(p9);
            _Unmarshal_Helper u = SendReceive(17, m);
            p6 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_22), false);
            p8 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : 4f4fa786-2f8f-49e8-8aae-6669febd5d1d_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int LuiApiAddProfile(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, string p2, string p3, int p4, string p5, out int p6, string p7, NtApiDotNet.NtToken p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.Write_2(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteInt32(p4);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            m.WriteReferent(p7, new System.Action<string>(m.Write_0));
            m.Write_1(p8);
            _Unmarshal_Helper u = SendReceive(7, m);
            p6 = u.ReadInt32();
            return u.ReadInt32();
        }

19 View Source File : 4f4fa786-2f8f-49e8-8aae-6669febd5d1d_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 4f4fa786-2f8f-49e8-8aae-6669febd5d1d_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 4f4fa786-2f8f-49e8-8aae-6669febd5d1d_1.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 4f4fa786-2f8f-49e8-8aae-6669febd5d1d_1.0.cs
License : The Unlicense
Project Creator : tyranid

public int LuiApiSetEsimPolicy(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, int p2, int p3, out int p4, NtApiDotNet.NtToken p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.Write_0(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.Write_1(p5);
            _Unmarshal_Helper u = SendReceive(18, m);
            p4 = u.ReadInt32();
            return u.ReadInt32();
        }

See More Examples