NtApiDotNet.Ndr.Marshal.NdrUnmarshalBuffer.ReadUInt32()

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

990 Examples 7

19 View Source File : 412f241e-c12a-11ce-abff-0020af6e7a17_0.2.cs
License : The Unlicense
Project Creator : tyranid

public int RegisterConsoleHandles(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.NtFile p1, NtApiDotNet.NtFile p2, NtApiDotNet.NtFile p3, out long p4, out uint p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.Write_30(p1);
            m.Write_30(p2);
            m.Write_30(p3);
            _Unmarshal_Helper u = SendReceive(23, m);
            p4 = u.ReadInt64();
            p5 = u.ReadUInt32();
            return u.ReadInt32();
        }

19 View Source File : 412f241e-c12a-11ce-abff-0020af6e7a17_0.2.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 412f241e-c12a-11ce-abff-0020af6e7a17_0.2.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 412f241e-c12a-11ce-abff-0020af6e7a17_0.2.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint PrivNormalizePsmTokenHostId(int p0, out NtApiDotNet.NtToken p1, out int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            _Unmarshal_Helper u = SendReceive(28, m);
            p1 = u.Read_10();
            p2 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint PrivLogMachineClreplacedesRootPermissions()
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(29, m);
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint PrivEnsurePackageFamilyIsRegisteredForSessionUserBeforeActivationOfClreplaced(System.Guid p0, int p1, string p2, int p3, out int p4, out int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteGuid(p0);
            m.WriteInt32(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(30, m);
            p4 = u.ReadInt32();
            p5 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : b9e79e60-3d52-11ce-aaa1-00006901293f_0.2.cs
License : The Unlicense
Project Creator : tyranid

public int IMgotRegister(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, string p2, System.Guid p3, Struct_0 p4, Struct_1 p5, int p6, out Struct_7 p7, out uint p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteGuid(p3);
            m.Write_0(p4);
            m.Write_1(p5);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(7, m);
            p7 = u.Read_6();
            p8 = u.ReadUInt32();
            return u.ReadInt32();
        }

19 View Source File : b9e79e60-3d52-11ce-aaa1-00006901293f_0.2.cs
License : The Unlicense
Project Creator : tyranid

public int IMgotRevoke(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, Struct_7 p2, out System.Nullable<Struct_1> p3, out int p4, out uint p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.Write_6(p2);
            _Unmarshal_Helper u = SendReceive(8, m);
            p3 = u.ReadReferentValue<Struct_1>(new System.Func<Struct_1>(u.Read_1), false);
            p4 = u.ReadInt32();
            p5 = u.ReadUInt32();
            return u.ReadInt32();
        }

19 View Source File : b9e79e60-3d52-11ce-aaa1-00006901293f_0.2.cs
License : The Unlicense
Project Creator : tyranid

public int IMgotGetObject(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, string p2, System.Guid p3, Struct_0 p4, out System.Nullable<Struct_1> p5, out int p6, out int p7, out uint p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteEnum16(p1);
            m.WriteReferent(p2, new System.Action<string>(m.WriteTerminatedString));
            m.WriteGuid(p3);
            m.Write_0(p4);
            _Unmarshal_Helper u = SendReceive(9, m);
            p5 = u.ReadReferentValue<Struct_1>(new System.Func<Struct_1>(u.Read_1), false);
            p6 = u.ReadInt32();
            p7 = u.ReadInt32();
            p8 = u.ReadUInt32();
            return u.ReadInt32();
        }

19 View Source File : cb40a179-20e1-43f0-97fb-3c5c6ff37ec3_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint GetCrossContainerServerInfo(Struct_0 p0, out Struct_1 p1, out System.Nullable<Struct_4> p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            _Unmarshal_Helper u = SendReceive(0, m);
            p1 = u.Read_1();
            p2 = u.ReadReferentValue<Struct_4>(new System.Func<Struct_4>(u.Read_4), false);
            return u.ReadUInt32();
        }

19 View Source File : cb40a179-20e1-43f0-97fb-3c5c6ff37ec3_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint CrossContainerActivation(
                    NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, 
                    Struct_5 p1, 
                    out Struct_7 p2, 
                    System.Nullable<System.Guid> p3, 
                    string p4, 
                    int p5, 
                    int p6, 
                    int p7, 
                    System.Guid[] p8, 
                    out long p9, 
                    out System.Nullable<Struct_4> p10, 
                    out System.Guid p11, 
                    out long p12, 
                    out System.Guid p13, 
                    out Struct_1 p14, 
                    out int p15, 
                    out Struct_8[] p16, 
                    out int[] p17)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.Write_5(p1);
            m.WriteReferent(p3, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteReferent(p4, new System.Action<string>(m.WriteTerminatedString));
            m.WriteInt32(p5);
            m.WriteInt32(p6);
            m.WriteInt32(p7);
            m.Write_13(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p8, "p8"), p7);
            _Unmarshal_Helper u = SendReceive(3, m);
            p2 = u.Read_6();
            p9 = u.ReadInt64();
            p10 = u.ReadReferentValue<Struct_4>(new System.Func<Struct_4>(u.Read_4), false);
            p11 = u.ReadGuid();
            p12 = u.ReadInt64();
            p13 = u.ReadGuid();
            p14 = u.Read_1();
            p15 = u.ReadInt32();
            p16 = u.Read_14();
            p17 = u.Read_15();
            return u.ReadUInt32();
        }

19 View Source File : cb40a179-20e1-43f0-97fb-3c5c6ff37ec3_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint CrossContainerResolveOxid(long p0, Struct_0 p1, out System.Nullable<Struct_4> p2, out System.Guid p3, out long p4, out System.Guid p5, out Struct_1 p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt64(p0);
            m.Write_0(p1);
            _Unmarshal_Helper u = SendReceive(4, m);
            p2 = u.ReadReferentValue<Struct_4>(new System.Func<Struct_4>(u.Read_4), false);
            p3 = u.ReadGuid();
            p4 = u.ReadInt64();
            p5 = u.ReadGuid();
            p6 = u.Read_1();
            return u.ReadUInt32();
        }

19 View Source File : cb40a179-20e1-43f0-97fb-3c5c6ff37ec3_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint CrossContainerBulkUpdateOids(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, long[] p2, out int[] p3, int p4, long[] p5, int p6, long[] p7, int p8, Struct_9[] p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.Write_16(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p1);
            m.WriteInt32(p4);
            m.Write_18(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"), p4);
            m.WriteInt32(p6);
            m.Write_19(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p7, "p7"), p6);
            m.WriteInt32(p8);
            m.Write_20(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p9, "p9"), p8);
            _Unmarshal_Helper u = SendReceive(5, m);
            p3 = u.Read_17();
            return u.ReadUInt32();
        }

19 View Source File : e60c73e6-88f9-11cf-9af1-0020af6e72f4_2.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _Connect(
                    string p0, 
                    string p1, 
                    System.Nullable<Struct_0> p2, 
                    int p3, 
                    out NtApiDotNet.Ndr.Marshal.NdrContextHandle p4, 
                    out int p5, 
                    out System.Nullable<Struct_2> p6, 
                    out long p7, 
                    int p8, 
                    out long[] p9, 
                    out int p10, 
                    out int p11, 
                    out int p12, 
                    out int p13, 
                    out string p14, 
                    out int p15, 
                    out int p16, 
                    out int p17, 
                    out short[] p18, 
                    out int p19, 
                    out Struct_3[] p20, 
                    out int p21, 
                    out System.Guid[] p22, 
                    out int p23, 
                    out int p24, 
                    out long p25, 
                    out System.Guid p26, 
                    out int[] p27, 
                    out int p28, 
                    out byte[] p29)
        {
            _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<Struct_0>(m.Write_0));
            m.WriteInt32(p3);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(0, m);
            p4 = u.ReadContextHandle();
            p5 = u.ReadInt32();
            p6 = u.ReadReferentValue<Struct_2>(new System.Func<Struct_2>(u.Read_1), false);
            p7 = u.ReadInt64();
            p9 = u.Read_16();
            p10 = u.ReadInt32();
            p11 = u.ReadInt32();
            p12 = u.ReadInt32();
            p13 = u.ReadInt32();
            p14 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            p15 = u.ReadInt32();
            p16 = u.ReadInt32();
            p17 = u.ReadInt32();
            p18 = u.ReadReferent<short[]>(new System.Func<short[]>(u.Read_17), false);
            p19 = u.ReadInt32();
            p20 = u.ReadReferent<Struct_3[]>(new System.Func<Struct_3[]>(u.Read_18), false);
            p21 = u.ReadInt32();
            p22 = u.ReadReferent<System.Guid[]>(new System.Func<System.Guid[]>(u.Read_19), false);
            p23 = u.ReadInt32();
            p24 = u.ReadInt32();
            p25 = u.ReadInt64();
            p26 = u.ReadGuid();
            p27 = u.Read_20();
            p28 = u.ReadInt32();
            p29 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_21), false);
            return u.ReadUInt32();
        }

19 View Source File : e60c73e6-88f9-11cf-9af1-0020af6e72f4_2.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : e60c73e6-88f9-11cf-9af1-0020af6e72f4_2.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _AllocateReservedIds(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, out long[] p2, out int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(3, m);
            p2 = u.Read_24();
            p3 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : e60c73e6-88f9-11cf-9af1-0020af6e72f4_2.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _BulkUpdateOIDs(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, Struct_4[] p2, out int[] p3, int p4, Struct_4[] p5, int p6, long[] p7, int p8, long[] p9, int p10, Struct_5[] p11, int p12, Struct_5[] p13)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.Write_25(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p1);
            m.WriteInt32(p4);
            m.Write_27(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"), p4);
            m.WriteInt32(p6);
            m.Write_28(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p7, "p7"), p6);
            m.WriteInt32(p8);
            m.Write_29(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p9, "p9"), p8);
            m.WriteInt32(p10);
            m.Write_30(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p11, "p11"), p10);
            m.WriteInt32(p12);
            m.Write_31(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p13, "p13"), p12);
            _Unmarshal_Helper u = SendReceive(4, m);
            p3 = u.Read_26();
            return u.ReadUInt32();
        }

19 View Source File : e60c73e6-88f9-11cf-9af1-0020af6e72f4_2.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _ClientResolveOXID(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, System.Nullable<Struct_2> p2, out Struct_6 p3, out long p4, out int p5, out sbyte[] p6, out short p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteReferent(p2, new System.Action<Struct_2>(m.Write_1));
            _Unmarshal_Helper u = SendReceive(5, m);
            p3 = u.Read_5();
            p4 = u.ReadInt64();
            p5 = u.ReadInt32();
            p6 = u.ReadReferent<sbyte[]>(new System.Func<sbyte[]>(u.Read_32), false);
            p7 = u.ReadInt16();
            return u.ReadUInt32();
        }

19 View Source File : e60c73e6-88f9-11cf-9af1-0020af6e72f4_2.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _ServerAllocateOXIDAndOIDs(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out long p1, out long p2, int p3, out long[] p4, out int p5, Struct_6 p6, Struct_2 p7, Struct_2 p8, out long p9, out System.Nullable<Struct_2> p10)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteInt32(p3);
            m.Write_5(p6);
            m.Write_1(p7);
            m.Write_1(p8);
            _Unmarshal_Helper u = SendReceive(6, m);
            p1 = u.ReadInt64();
            p2 = u.ReadInt64();
            p4 = u.Read_33();
            p5 = u.ReadInt32();
            p9 = u.ReadInt64();
            p10 = u.ReadReferentValue<Struct_2>(new System.Func<Struct_2>(u.Read_1), false);
            return u.ReadUInt32();
        }

19 View Source File : 412f241e-c12a-11ce-abff-0020af6e7a17_0.2.cs
License : The Unlicense
Project Creator : tyranid

public int QueryServerProcessHandleHeld(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, out int p2, out uint p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.WriteGuid(p1);
            _Unmarshal_Helper u = SendReceive(20, m);
            p2 = u.ReadInt32();
            p3 = u.ReadUInt32();
            return u.ReadInt32();
        }

19 View Source File : 412f241e-c12a-11ce-abff-0020af6e7a17_0.2.cs
License : The Unlicense
Project Creator : tyranid

public int RegisterRacActivationToken(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.NtToken p1, out long p2, out uint p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteContextHandle(p0);
            m.Write_29(p1);
            _Unmarshal_Helper u = SendReceive(21, m);
            p2 = u.ReadInt64();
            p3 = u.ReadUInt32();
            return u.ReadInt32();
        }

19 View Source File : 412f241e-c12a-11ce-abff-0020af6e7a17_0.2.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : e60c73e6-88f9-11cf-9af1-0020af6e72f4_2.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : e60c73e6-88f9-11cf-9af1-0020af6e72f4_2.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint ControlComService(Struct_0 p0, long p1, int p2, out int p3, out int p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_0(p0);
            m.WriteInt64(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(9, m);
            p3 = u.ReadInt32();
            p4 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint ControlWinRTService(Struct_3 p0, long p1, int p2, out int p3, out int p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_2(p0);
            m.WriteInt64(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(10, m);
            p3 = u.ReadInt32();
            p4 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint PrivTranslateShareName(string p0, out string p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            _Unmarshal_Helper u = SendReceive(11, m);
            p1 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint Clone()
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(12, m);
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

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

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint TickleActivationSettings()
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(14, m);
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint QueryProcessArchitecture(int p0, out int p1, out int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            _Unmarshal_Helper u = SendReceive(15, m);
            p1 = u.ReadInt32();
            p2 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint PrivilegedNotifyWinRTActivationStoreChanged()
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(16, m);
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _QueryUserSidForSession(int p0, out string p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            _Unmarshal_Helper u = SendReceive(17, m);
            p1 = u.ReadReferent<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _PrivActivatePsmServer(int p0, out int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            _Unmarshal_Helper u = SendReceive(18, m);
            p1 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _PrivGetUserTokenForSession(int p0, out NtApiDotNet.NtToken p1, out int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            _Unmarshal_Helper u = SendReceive(19, m);
            p1 = u.Read_12();
            p2 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _PrivGetBrokerToken(int p0, long p1, int p2, int p3, out NtApiDotNet.NtToken p4, out int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteInt64(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(20, m);
            p4 = u.Read_12();
            p5 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint PrivGetDesktopWinRTBrokerToken(int p0, out NtApiDotNet.NtToken p1, out int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            _Unmarshal_Helper u = SendReceive(21, m);
            p1 = u.Read_12();
            p2 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint PrivGetPsmToken(int p0, int p1, string p2, string p3, out NtApiDotNet.NtToken p4, out int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteInt32(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            _Unmarshal_Helper u = SendReceive(22, m);
            p4 = u.Read_10();
            p5 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint GetSessionUserTokenCacheDetails(out int p0, out Struct_5[] p1, out int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(23, m);
            p0 = u.ReadInt32();
            p1 = u.ReadReferent<Struct_5[]>(new System.Func<Struct_5[]>(u.Read_13), false);
            p2 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint PrivilegedNotifyComClreplacedChangesFromDeployment()
        {
            _Marshal_Helper m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(24, m);
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint PrivGetPsmTokenWithDynamicId(int p0, int p1, string p2, string p3, System.Guid p4, long p5, out NtApiDotNet.NtToken p6, out int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteInt32(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteGuid(p4);
            m.WriteInt64(p5);
            _Unmarshal_Helper u = SendReceive(25, m);
            p6 = u.Read_10();
            p7 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _PrivGetInteractiveUserToken(int p0, long p1, int p2, out NtApiDotNet.NtToken p3, out int p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteInt64(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(26, m);
            p3 = u.Read_12();
            p4 = u.ReadInt32();
            return u.ReadUInt32();
        }

19 View Source File : 9b8699ae-0e44-47b1-8e7f-86a461d7ecdc_0.0.cs
License : The Unlicense
Project Creator : tyranid

public uint PrivReportUnhealthyProcess(NtApiDotNet.NtProcess p0, NtApiDotNet.NtThread p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.Write_14(p0);
            m.Write_15(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(27, m);
            return u.ReadUInt32();
        }

19 View Source File : 9b008953-f195-4bf9-bde0-4471971e58ed_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint SebiEnumerateEvents(string p0, out int p1, out System.Guid[] p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(0, m);
            p1 = u.ReadInt32();
            p2 = u.ReadReferent<System.Guid[]>(new System.Func<System.Guid[]>(u.Read_1), false);
            return u.ReadUInt32();
        }

19 View Source File : 9b008953-f195-4bf9-bde0-4471971e58ed_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _SebiEnumerateEventsByType(string p0, int p1, int p2, out int p3, out System.Guid[] p4)
        {
            _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();
            p4 = u.ReadReferent<System.Guid[]>(new System.Func<System.Guid[]>(u.Read_2), false);
            return u.ReadUInt32();
        }

19 View Source File : 9b008953-f195-4bf9-bde0-4471971e58ed_1.0.cs
License : The Unlicense
Project Creator : tyranid

public uint _SebiSignalSyncEventEx(string p0, System.Guid p1, int p2, int p3, sbyte[] p4, int p5, System.Nullable<System.Guid> p6, int p7, out NtApiDotNet.Ndr.Marshal.NdrEnum16 p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteReferent(p0, new System.Action<string>(m.WriteTerminatedString));
            m.WriteGuid(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action<sbyte[], long>(m.Write_3), p5);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action<System.Guid>(m.WriteGuid));
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(4, m);
            p8 = u.ReadEnum16();
            return u.ReadUInt32();
        }

19 View Source File : a9c4def0-3766-4e3a-be4c-07901be99dd2_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 0))
            {
                Arm_0 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            if ((Selector == 1))
            {
                Arm_1 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_4");
        done:
            return;
        }

19 View Source File : a9c4def0-3766-4e3a-be4c-07901be99dd2_1.0.cs
License : The Unlicense
Project Creator : tyranid

private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 0))
            {
                Arm_0 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 1))
            {
                Arm_1 = u.ReadInt64();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadEmbeddedPointer<string>(new System.Func<string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.Read_8();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadDouble();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_7");
        done:
            return;
        }

See More Examples