NtApiDotNet.Ndr.Marshal.NdrMarshalBuffer.WriteInt64(long)

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

557 Examples 7

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 : 8a7b5006-cc13-11db-9705-005056c00008_1.0.cs
with The Unlicense
from 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 Source : 1f53838b-693a-4bbb-99c9-b154f749b8a3_1.0.cs
with The Unlicense
from tyranid

public int AudioDGChallenge(NtApiDotNet.Ndr.Marshal.NdrInt3264 p0, long p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt3264(p0);
            m.WriteInt64(p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            return u.ReadInt32();
        }

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

public int s_apmUnregisterAudioStateMonitor(ref long p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt64(p0);
            _Unmarshal_Helper u = SendReceive(40, m);
            p0 = u.ReadInt64();
            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 : 0b1c2170-5732-4e0e-8cd3-d9b16f3b84d7_0.0.cs
with The Unlicense
from tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteUInt16(Selector);
            if ((Selector == 1))
            {
                m.WriteInt64(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteInt64(Arm_2);
                goto done;
            }
            if ((Selector == 6))
            {
                m.WriteInt64(Arm_6);
                goto done;
            }
            if ((Selector == 3))
            {
                m.Write_18(Arm_3);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_18");
        done:
            return;
        }

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 BthServDeregisterAuthenticationEvent(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, long p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.WriteInt64(p3);
            _Unmarshal_Helper u = SendReceive(3, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

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 : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from tyranid

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

19 Source : 8bfc3be1-6def-4e2d-af74-7c47cd0ade4a_1.0.cs
with The Unlicense
from 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 Source : eeee008d-5c99-4e4b-861b-547a26e8abd0_1.0.cs
with The Unlicense
from tyranid

public int DasHostCreateImportExportContext(System.Guid p0, long p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt64(p1);
            _Unmarshal_Helper u = SendReceive(29, m);
            p2 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : d09bdeb5-6171-4a34-bfe2-06fa82652568_1.0.cs
with The Unlicense
from tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Selector);
            if ((Selector == 0))
            {
                m.WriteInt32(Arm_0);
                goto done;
            }
            if ((Selector == 1))
            {
                m.WriteInt64(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteEmbeddedPointer<string, long>(Arm_2, new System.Action<string, long>(m.Write_11), 2049);
                goto done;
            }
            if ((Selector == 3))
            {
                m.Write_4(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.Write_5(Arm_4);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_3");
        done:
            return;
        }

19 Source : 7419cf08-91a7-4afd-8f5e-1dd76de094fd_1.0.cs
with The Unlicense
from tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt64(Member8);
        }

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 : f19c345c-5e00-4cb4-b1d1-eff9ea31b166_1.0.cs
with The Unlicense
from tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt64(Member0);
        }

19 Source : ba4aa15a-be94-47fb-9bfb-fef110e7efad_1.0.cs
with The Unlicense
from tyranid

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

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

public int s_pbmReportAppInteractivityChange(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(0, m);
            return u.ReadInt32();
        }

19 Source : 0d3e2735-cea0-4ecc-a9e2-41a2d81aed4e_1.0.cs
with The Unlicense
from tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Selector);
            if ((Selector == 0))
            {
                m.WriteInt32(Arm_0);
                goto done;
            }
            if ((Selector == 1))
            {
                m.WriteInt64(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteEmbeddedPointer<string, long>(Arm_2, new System.Action<string, long>(m.Write_11), 2049);
                goto done;
            }
            if ((Selector == 3))
            {
                m.Write_5(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.Write_6(Arm_4);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_5");
        done:
            return;
        }

19 Source : 1f53838b-693a-4bbb-99c9-b154f749b8a3_1.0.cs
with The Unlicense
from tyranid

public int AudioDGGetVpoFromVpoContext(int p0, long p1, int p2, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteInt64(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(6, 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_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_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 : 1b37ca91-76b1-4f5e-a3c7-2abfc61f2bb0_1.0.cs
with The Unlicense
from tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteEnum16(Selector);
            if ((Selector == 0))
            {
                m.WriteInt32(Arm_0);
                goto done;
            }
            if ((Selector == 1))
            {
                m.WriteInt64(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteEmbeddedPointer<string, long>(Arm_2, new System.Action<string, long>(m.Write_9), 2049);
                goto done;
            }
            if ((Selector == 3))
            {
                m.Write_3(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.Write_4(Arm_4);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_3");
        done:
            return;
        }

19 Source : 2d98a740-581d-41b9-aa0d-a88b9d5ce938_1.0.cs
with The Unlicense
from tyranid

public uint RBiSrvQueryUserContext(long p0, out int p1, out System.Nullable<Struct_4> p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt64(p0);
            _Unmarshal_Helper u = SendReceive(18, m);
            p1 = u.ReadInt32();
            p2 = u.ReadReferentValue<Struct_4>(new System.Func<Struct_4>(u.Read_3), false);
            return u.ReadUInt32();
        }

19 Source : 8bfc3be1-6def-4e2d-af74-7c47cd0ade4a_1.0.cs
with The Unlicense
from tyranid

public uint RBiSrvNotifyNewUser(byte[] p0, int p1, long p2, int p3, string[] p4, string[] p5, int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<byte[], long>(m.Write_0), p1);
            m.WriteInt32(p1);
            m.WriteInt64(p2);
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action<string[], long>(m.Write_5), p3);
            m.WriteReferent(p5, new System.Action<string[], long>(m.Write_5), p3);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(11, m);
            return u.ReadUInt32();
        }

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

public uint BthServRegisterAuthenticationEvent(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, long p3, Struct_1 p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.WriteInt64(p3);
            m.Write_1(p4);
            _Unmarshal_Helper u = SendReceive(2, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

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

public uint BthServGetDeviceInfo(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, long p3, ref Struct_5 p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p2);
            m.WriteInt64(p3);
            m.Write_5(p4);
            _Unmarshal_Helper u = SendReceive(5, m);
            p1 = u.ReadInt32();
            p4 = u.Read_5();
            return u.ReadUInt32();
        }

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

public uint BthServActivateService(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, int p3, sbyte[] p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.WriteInt32(p3);
            m.Write_10(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p3);
            _Unmarshal_Helper u = SendReceive(8, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

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

public uint BthServRemoveSdpRecord(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            _Unmarshal_Helper u = SendReceive(13, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

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

public uint BthServEirGetRecords(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, NtApiDotNet.Ndr.Marshal.NdrEnum16 p3, int p4, out sbyte[] p5, out int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.WriteEnum16(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(17, m);
            p1 = u.ReadInt32();
            p5 = u.Read_9();
            p6 = u.ReadInt32();
            return u.ReadUInt32();
        }

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

public int DasHostSetDasProcessHandle(long p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt64(p0);
            _Unmarshal_Helper u = SendReceive(1, m);
            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.Write_7(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member14, "Member14"));
        }

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

public uint BthServGetSdpRecord(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, NtApiDotNet.Ndr.Marshal.NdrEnum16 p3, NtApiDotNet.Ndr.Marshal.NdrEnum16 p4, int p5, out sbyte[] p6, out int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.WriteEnum16(p3);
            m.WriteEnum16(p4);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(10, m);
            p1 = u.ReadInt32();
            p6 = u.Read_12();
            p7 = u.ReadInt32();
            return u.ReadUInt32();
        }

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

public uint BthServEirUpdateRecord(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, int p2, sbyte[] p3, long p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p2);
            m.Write_11(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p2);
            m.WriteInt64(p4);
            _Unmarshal_Helper u = SendReceive(19, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

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

public uint BthServEirRemoveRecord(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            _Unmarshal_Helper u = SendReceive(20, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 Source : 18f70770-8e64-11cf-9af1-0020af6e72f4_0.0.cs
with The Unlicense
from tyranid

public uint _UpdateResolverBindings(Struct_0 p0, ref long p1, out System.Nullable<Struct_0> p2, out System.Nullable<Struct_0> p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.WriteInt64(p1);
            _Unmarshal_Helper u = SendReceive(2, m);
            p1 = u.ReadInt64();
            p2 = u.ReadReferentValue<Struct_0>(new System.Func<Struct_0>(u.Read_0), false);
            p3 = u.ReadReferentValue<Struct_0>(new System.Func<Struct_0>(u.Read_0), false);
            return u.ReadUInt32();
        }

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

public int DasHostCreatereplacedociationContext(System.Guid p0, string p1, int p2, long p3, long p4, int p5, Struct_9[] p6, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteInt32(p2);
            m.WriteInt64(p3);
            m.WriteInt64(p4);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action<Struct_9[], long>(m.Write_21), p5);
            _Unmarshal_Helper u = SendReceive(7, m);
            p7 = u.ReadContextHandle();
            return u.ReadInt32();
        }

19 Source : ba26f803-f095-40e9-b5e1-0afc44e18479_1.0.cs
with The Unlicense
from tyranid

public int s_HvsiK_JoinHandles(long p0, long p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt64(p0);
            m.WriteInt64(p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            return u.ReadInt32();
        }

19 Source : c27f3c08-92ba-478c-b446-b419c4cef0e2_1.0.cs
with The Unlicense
from tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt64(Member0);
            m.WriteInt64(Member8);
            m.WriteVaryingString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member10, "Member10"));
            m.WriteInt32(Member210);
        }

19 Source : c27f3c08-92ba-478c-b446-b419c4cef0e2_1.0.cs
with The Unlicense
from tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt64(Member0);
            m.WriteInt64(Member8);
            m.WriteVaryingString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member10, "Member10"));
        }

19 Source : 7d814569-35b3-4850-bb32-83035fcebf6e_1.0.cs
with The Unlicense
from tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt16(Member0);
            m.Write_10(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member2, "Member2"));
            m.WriteInt64(Member8);
            m.Write_11(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member10, "Member10"));
        }

19 Source : fd6bb951-c830-4734-bf2c-18ba6ec7ab49_1.0.cs
with The Unlicense
from tyranid

public int DiscTargetPortal(Struct_0 p0, string p1, int p2, System.Nullable<Struct_1> p3, long p4, sbyte p5, sbyte p6, sbyte p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.WriteReferent(p1, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p2);
            m.WriteReferent(p3, new System.Action<Struct_1>(m.Write_1));
            m.WriteInt64(p4);
            m.WriteSByte(p5);
            m.WriteSByte(p6);
            m.WriteSByte(p7);
            _Unmarshal_Helper u = SendReceive(10, m);
            return u.ReadInt32();
        }

19 Source : fd6bb951-c830-4734-bf2c-18ba6ec7ab49_1.0.cs
with The Unlicense
from tyranid

public int DiscPresharedKey(string p0, int p1, sbyte p2, long p3, sbyte p4, int p5, sbyte[] p6, sbyte p7, int p8, sbyte[] p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p1);
            m.WriteSByte(p2);
            m.WriteInt64(p3);
            m.WriteSByte(p4);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action<sbyte[], long>(m.Write_18), p5);
            m.WriteSByte(p7);
            m.WriteInt32(p8);
            m.WriteReferent(p9, new System.Action<sbyte[], long>(m.Write_14), p8);
            _Unmarshal_Helper u = SendReceive(12, m);
            return u.ReadInt32();
        }

19 Source : fd6bb951-c830-4734-bf2c-18ba6ec7ab49_1.0.cs
with The Unlicense
from tyranid

public int DiscAddConnection(Struct_3 p0, int p1, System.Nullable<Struct_0> p2, long p3, System.Nullable<Struct_1> p4, int p5, sbyte[] p6, out Struct_3 p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_3(p0);
            m.WriteInt32(p1);
            m.WriteReferent(p2, new System.Action<Struct_0>(m.Write_0));
            m.WriteInt64(p3);
            m.WriteReferent(p4, new System.Action<Struct_1>(m.Write_1));
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action<sbyte[], long>(m.Write_18), p5);
            _Unmarshal_Helper u = SendReceive(14, m);
            p7 = u.Read_3();
            return u.ReadInt32();
        }

19 Source : ba26f803-f095-40e9-b5e1-0afc44e18479_1.0.cs
with The Unlicense
from tyranid

public int s_HvsiK_CloneHandle(long p0, out long p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt64(p0);
            _Unmarshal_Helper u = SendReceive(2, m);
            p1 = u.ReadInt64();
            return u.ReadInt32();
        }

19 Source : c27f3c08-92ba-478c-b446-b419c4cef0e2_1.0.cs
with The Unlicense
from tyranid

private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt64(Member0);
            m.WriteInt64(Member8);
            m.Write_6(Member10);
            m.Write_6(Member18);
        }

19 Source : 714dc5c4-c5f6-466a-b037-a573c958031e_1.0.cs
with The Unlicense
from tyranid

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

19 Source : 714dc5c4-c5f6-466a-b037-a573c958031e_1.0.cs
with The Unlicense
from tyranid

public int PtRpcWriteTelemetry(int p0, long p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteInt64(p1);
            _Unmarshal_Helper u = SendReceive(1, m);
            return u.ReadInt32();
        }

19 Source : ba26f803-f095-40e9-b5e1-0afc44e18479_1.0.cs
with The Unlicense
from tyranid

public int s_HvsiK_CloseHandle(long p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt64(p0);
            _Unmarshal_Helper u = SendReceive(0, m);
            return u.ReadInt32();
        }

See More Examples