Beispiel #1
0
        public int NtlmIumCompareCredentials(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, Struct_0 p1, Struct_0 p2, ref System.Nullable <int> p3, ref System.Nullable <int> p4, ref System.Nullable <int> p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.Write_0(p1);
            m.Write_0(p2);
            m.WriteReferent(p3, new System.Action <int>(m.WriteInt32));
            m.WriteReferent(p4, new System.Action <int>(m.WriteInt32));
            m.WriteReferent(p5, new System.Action <int>(m.WriteInt32));
            _Unmarshal_Helper u = SendReceive(9, m);

            p3 = u.ReadReferentValue <int>(new System.Func <int>(u.ReadInt32), false);
            p4 = u.ReadReferentValue <int>(new System.Func <int>(u.ReadInt32), false);
            p5 = u.ReadReferentValue <int>(new System.Func <int>(u.ReadInt32), false);
            return(u.ReadInt32());
        }
Beispiel #2
0
        // async
        public uint PeerDistClientBlockReadRPC(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, int p2, out int p3, out byte[] p4, int p5, out long p6, int p7, out int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p5);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(16, m);

            p3 = u.ReadInt32();
            p4 = u.Read_9();
            p6 = u.ReadInt64();
            p8 = u.ReadInt32();
            return(u.ReadUInt32());
        }
Beispiel #3
0
        public uint _EvtRpcRemoteSubscriptionNext(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, int p2, int p3, out int p4, out int[] p5, out int[] p6, out int p7, out byte[] p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(2, m);

            p4 = u.ReadInt32();
            p5 = u.ReadReferent <int[]>(new System.Func <int[]>(u.Read_17), false);
            p6 = u.ReadReferent <int[]>(new System.Func <int[]>(u.Read_17), false);
            p7 = u.ReadInt32();
            p8 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_18), false);
            return(u.ReadUInt32());
        }
Beispiel #4
0
        public void ept_lookup(int p0, System.Nullable <System.Guid> p1, System.Nullable <Struct_1> p2, int p3, ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p4, int p5, out int p6, out Struct_2[] p7, out int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p0);
            m.WriteReferent(p1, new System.Action <System.Guid>(m.WriteGuid));
            m.WriteReferent(p2, new System.Action <Struct_1>(m.Write_0));
            m.WriteInt32(p3);
            m.WriteContextHandle(p4);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(2, m);

            p4 = u.ReadContextHandle();
            p6 = u.ReadInt32();
            p7 = u.Read_8();
            p8 = u.ReadInt32();
        }
Beispiel #5
0
        public int RegisterNotificationRpc(out NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, string p3, int p4, System.Guid p5, string p6, int p7, out System.Nullable <Struct_4> p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p1);
            m.WriteEnum16(p2);
            m.WriteReferent(p3, new System.Action <string>(m.WriteTerminatedAnsiString));
            m.WriteInt32(p4);
            m.WriteGuid(p5);
            m.WriteReferent(p6, new System.Action <string>(m.WriteTerminatedAnsiString));
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(12, m);

            p0 = u.ReadContextHandle();
            p8 = u.ReadReferentValue <Struct_4>(new System.Func <Struct_4>(u.Read_3), false);
            return(u.ReadInt32());
        }
        public int Server_AddDeviceToClientContext(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, int p2, int p3, byte[] p4, int p5, byte[] p6, out int p7, out long p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action <byte[], long>(m.Write_1), p3);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action <byte[], long>(m.Write_2), p5);
            _Unmarshal_Helper u = SendReceive(2, m);

            p7 = u.ReadInt32();
            p8 = u.ReadInt64();
            return(u.ReadInt32());
        }
Beispiel #7
0
        public int s_SrvRpcCryptKeyDerivation(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, System.Nullable <Struct_7> p3, ref byte[] p4, int p5, out int p6, int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.WriteReferent(p3, new System.Action <Struct_7>(m.Write_7));
            m.WriteReferent(p4, new System.Action <byte[], long>(m.Write_21), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(29, m);

            p4 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_21), false);
            p6 = u.ReadInt32();
            return(u.ReadInt32());
        }
Beispiel #8
0
        public uint HamRpcSrvCreateAutoRestartActivity(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, byte[] p2, int p3, int p4, int p5, long p6, Struct_1 p7, int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.Write_10(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p3);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            m.WriteInt64(p6);
            m.Write_1(p7);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(4, m);

            return(u.ReadUInt32());
        }
Beispiel #9
0
        public int s_SrvRpcCryptVerifySignature(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, System.Nullable <Struct_2> p3, byte[] p4, int p5, byte[] p6, int p7, int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.WriteReferent(p3, new System.Action <Struct_2>(m.Write_2));
            m.Write_21(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p5);
            m.WriteInt32(p5);
            m.Write_22(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p6, "p6"), p7);
            m.WriteInt32(p7);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(21, m);

            return(u.ReadInt32());
        }
Beispiel #10
0
        public int s_SrvRpcCryptImportKey(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, string p3, System.Nullable <Struct_7> p4, out long p5, byte[] p6, int p7, int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteReferent(p4, new System.Action <Struct_7>(m.Write_7));
            m.Write_22(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p6, "p6"), p7);
            m.WriteInt32(p7);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(18, m);

            p5 = u.ReadInt64();
            return(u.ReadInt32());
        }
Beispiel #11
0
        public int s_SrvRpcCryptGetKeyProperty(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, string p3, ref byte[] p4, int p5, out int p6, int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteReferent(p4, new System.Action <byte[], long>(m.Write_21), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(13, m);

            p4 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_21), false);
            p6 = u.ReadInt32();
            return(u.ReadInt32());
        }
        public uint ClientResolveOXID(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, System.Nullable <Struct_0> p2, int p3, out Struct_6 p4, out long p5, out int p6, out sbyte[] p7, out short p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteReferent(p2, new System.Action <Struct_0>(m.Write_0));
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(4, m);

            p4 = u.Read_5();
            p5 = u.ReadInt64();
            p6 = u.ReadInt32();
            p7 = u.ReadReferent <sbyte[]>(new System.Func <sbyte[]>(u.Read_21), false);
            p8 = u.ReadInt16();
            return(u.ReadUInt32());
        }
Beispiel #13
0
        public int s_RPC_SCardGetStatusChange(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, byte[] p2, int p3, ref int[] p4, int p5, out byte[] p6, out int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.WriteReferent(p2, new System.Action <byte[], long>(m.Write_5), p3);
            m.WriteInt32(p3);
            m.Write_6(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p5);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(8, m);

            p4 = u.Read_6();
            p6 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_7), false);
            p7 = u.ReadInt32();
            return(u.ReadInt32());
        }
        public uint BaseRegCreateKey(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, Struct_0 p1, Struct_0 p2, int p3, int p4, System.Nullable <Struct_1> p5, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p6, ref System.Nullable <int> p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.Write_0(p1);
            m.Write_0(p2);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action <Struct_1>(m.Write_1));
            m.WriteReferent(p7, new System.Action <int>(m.WriteInt32));
            _Unmarshal_Helper u = SendReceive(6, m);

            p6 = u.ReadContextHandle();
            p7 = u.ReadReferentValue <int>(new System.Func <int>(u.ReadInt32), false);
            return(u.ReadUInt32());
        }
        public int DasGetInboundAssociationResult(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out string p1, out int p2, out Struct_3[] p3, out int p4, out int p5, out Struct_5[] p6, out int p7, out int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(2, m);

            p1 = u.ReadReferent <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
            p2 = u.ReadInt32();
            p3 = u.ReadReferent <Struct_3[]>(new System.Func <Struct_3[]>(u.Read_9), false);
            p4 = u.ReadInt32();
            p5 = u.ReadInt32();
            p6 = u.ReadReferent <Struct_5[]>(new System.Func <Struct_5[]>(u.Read_10), false);
            p7 = u.ReadInt32();
            p8 = u.ReadInt32();
            return(u.ReadInt32());
        }
Beispiel #16
0
        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());
        }
Beispiel #17
0
        public int BCryptIumSignHash(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, System.Nullable <Struct_0> p2, sbyte[] p3, int p4, ref sbyte[] p5, int p6, out int p7, int p8)
        {
            _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.WriteReferent(p5, new System.Action <sbyte[], long>(m.Write_12), p6);
            m.WriteInt32(p6);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(17, m);

            p5 = u.ReadReferent <sbyte[]>(new System.Func <sbyte[]>(u.Read_12), false);
            p7 = u.ReadInt32();
            return(u.ReadInt32());
        }
        public uint ServerAllocateOXIDAndOIDs(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out long p1, int p2, out long[] p3, out int p4, Struct_7 p5, System.Nullable <Struct_2> p6, System.Nullable <Struct_2> p7, out long p8, out System.Nullable <Struct_2> p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt32(p2);
            m.Write_6(p5);
            m.WriteReferent(p6, new System.Action <Struct_2>(m.Write_1));
            m.WriteReferent(p7, new System.Action <Struct_2>(m.Write_1));
            _Unmarshal_Helper u = SendReceive(5, m);

            p1 = u.ReadInt64();
            p3 = u.Read_23();
            p4 = u.ReadInt32();
            p8 = u.ReadInt64();
            p9 = u.ReadReferentValue <Struct_2>(new System.Func <Struct_2>(u.Read_1), false);
            return(u.ReadUInt32());
        }
Beispiel #19
0
        public int IrotGetObject(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, int p2, Struct_0 p3, out Struct_3 p4, out System.Nullable <Struct_1> p5, out int p6, out int p7, out uint p8, int p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteReferent(p1, new System.Action <string>(m.WriteTerminatedString));
            m.WriteInt32(p2);
            m.Write_0(p3);
            m.WriteInt32(p9);
            _Unmarshal_Helper u = SendReceive(3, m);

            p4 = u.Read_3();
            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());
        }
Beispiel #20
0
        public int IrotRegister(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, Struct_0 p2, Struct_1 p3, Struct_1 p4, Struct_2 p5, int p6, int p7, out Struct_3 p8, out uint p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteReferent(p1, new System.Action <string>(m.WriteTerminatedString));
            m.Write_0(p2);
            m.Write_1(p3);
            m.Write_1(p4);
            m.Write_2(p5);
            m.WriteInt32(p6);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(0, m);

            p8 = u.Read_3();
            p9 = u.ReadUInt32();
            return(u.ReadInt32());
        }
        public int s_RPC_SCardTransmit(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, Struct_0 p2, byte[] p3, int p4, int p5, out System.Nullable <Struct_0> p6, out byte[] p7, ref int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.Write_0(p2);
            m.WriteReferent(p3, new System.Action <byte[], long>(m.Write_2), p4);
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(17, m);

            p6 = u.ReadReferentValue <Struct_0>(new System.Func <Struct_0>(u.Read_0), false);
            p7 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_15), false);
            p8 = u.ReadInt32();
            return(u.ReadInt32());
        }
Beispiel #22
0
        public int RpcNetSetupGetObjects(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, System.Nullable <System.Guid> p2, int p3, int p4, Struct_3[] p5, int p6, Struct_5[] p7, out int p8, out Struct_6[] p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.WriteReferent(p2, new System.Action <System.Guid>(m.WriteGuid));
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action <Struct_3[], long>(m.Write_13), p4);
            m.WriteInt32(p6);
            m.WriteReferent(p7, new System.Action <Struct_5[], long>(m.Write_14), p6);
            _Unmarshal_Helper u = SendReceive(10, m);

            p8 = u.ReadInt32();
            p9 = u.ReadReferent <Struct_6[]>(new System.Func <Struct_6[]>(u.Read_15), false);
            return(u.ReadInt32());
        }
 public int s_RPC_SCardLocateCards(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, byte[] p1, int p2, byte[] p3, int p4, byte[] p5, int p6, ref int[] p7, int p8, out byte[] p9, out int p10)
 {
     _Marshal_Helper m = new _Marshal_Helper();
     m.WriteContextHandle(p0);
     m.WriteReferent(p1, new System.Action<byte[], long>(m.Write_8), p2);
     m.WriteInt32(p2);
     m.WriteReferent(p3, new System.Action<byte[], long>(m.Write_2), p4);
     m.WriteInt32(p4);
     m.WriteReferent(p5, new System.Action<byte[], long>(m.Write_10), p6);
     m.WriteInt32(p6);
     m.Write_11(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p7, "p7"), p8);
     m.WriteInt32(p8);
     _Unmarshal_Helper u = SendReceive(12, m);
     p7 = u.Read_11();
     p9 = u.ReadReferent<byte[]>(new System.Func<byte[]>(u.Read_12), false);
     p10 = u.ReadInt32();
     return u.ReadInt32();
 }
        public int Server_GetCurrentMuxMediaType(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, int p2, ref byte[] p3, out int p4, int p5, ref byte[] p6, out int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.WriteReferent(p3, new System.Action <byte[], long>(m.Write_12), p2);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action <byte[], long>(m.Write_13), p5);
            _Unmarshal_Helper u = SendReceive(15, m);

            p3 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_12), false);
            p4 = u.ReadInt32();
            p6 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_13), false);
            p7 = u.ReadInt32();
            return(u.ReadInt32());
        }
        public int Server_GetFSStreamInformation(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, ref int p2, ref byte[] p3, ref int p4, ref byte[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.Write_4(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p2));
            m.WriteInt32(p4);
            m.Write_5(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"), NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p4));
            _Unmarshal_Helper u = SendReceive(5, m);

            p2 = u.ReadInt32();
            p3 = u.Read_4();
            p4 = u.ReadInt32();
            p5 = u.Read_5();
            return(u.ReadInt32());
        }
Beispiel #26
0
        public int PsmSrvQueryMemoryUsage(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, byte[] p2, int p3, string p4, int p5, ref System.Nullable <long> p6, ref System.Nullable <long> p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.Write_4(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p1);
            m.WriteInt32(p3);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"));
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action <long>(m.WriteInt64));
            m.WriteReferent(p7, new System.Action <long>(m.WriteInt64));
            _Unmarshal_Helper u = SendReceive(10, m);

            p6 = u.ReadReferentValue <long>(new System.Func <long>(u.ReadInt64), false);
            p7 = u.ReadReferentValue <long>(new System.Func <long>(u.ReadInt64), false);
            return(u.ReadInt32());
        }
Beispiel #27
0
        public int s_SrvRpcCryptDeriveKey(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, string p3, System.Nullable <Struct_7> p4, ref byte[] p5, int p6, out int p7, int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteReferent(p4, new System.Action <Struct_7>(m.Write_7));
            m.WriteReferent(p5, new System.Action <byte[], long>(m.Write_23), p6);
            m.WriteInt32(p6);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(25, m);

            p5 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_23), false);
            p7 = u.ReadInt32();
            return(u.ReadInt32());
        }
Beispiel #28
0
        public uint RmCoreRpcSrvAcquireResourceSet(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, Struct_1 p1, long p2, string p3, byte[] p4, int p5, int p6, int p7, long p8, out long p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.Write_1(p1);
            m.WriteInt64(p2);
            m.WriteReferent(p3, new System.Action <string>(m.WriteTerminatedString));
            m.WriteReferent(p4, new System.Action <byte[], long>(m.Write_6), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p6);
            m.WriteInt32(p7);
            m.WriteInt64(p8);
            _Unmarshal_Helper u = SendReceive(4, m);

            p9 = u.ReadInt64();
            return(u.ReadUInt32());
        }
        public uint BaseRegQueryValue(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, Struct_0 p1, ref System.Nullable <int> p2, ref sbyte[] p3, ref System.Nullable <int> p4, ref System.Nullable <int> p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.Write_0(p1);
            m.WriteReferent(p2, new System.Action <int>(m.WriteInt32));
            m.WriteReferent(p3, new System.Action <sbyte[], long, long>(m.Write_8), NtApiDotNet.Win32.Rpc.RpcUtils.OpTernary(NtApiDotNet.Win32.Rpc.RpcUtils.ToBool(p4), NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p4), 0), NtApiDotNet.Win32.Rpc.RpcUtils.OpTernary(NtApiDotNet.Win32.Rpc.RpcUtils.ToBool(p5), NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p5), 0));
            m.WriteReferent(p4, new System.Action <int>(m.WriteInt32));
            m.WriteReferent(p5, new System.Action <int>(m.WriteInt32));
            _Unmarshal_Helper u = SendReceive(17, m);

            p2 = u.ReadReferentValue <int>(new System.Func <int>(u.ReadInt32), false);
            p3 = u.ReadReferent <sbyte[]>(new System.Func <sbyte[]>(u.Read_8), false);
            p4 = u.ReadReferentValue <int>(new System.Func <int>(u.ReadInt32), false);
            p5 = u.ReadReferentValue <int>(new System.Func <int>(u.ReadInt32), false);
            return(u.ReadUInt32());
        }
        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());
        }