示例#1
0
        public int svcLaunchShell(out NtApiDotNet.NtProcess p0)
        {
            _Marshal_Helper   m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(5, m);

            p0 = u.Read_24();
            return(u.ReadInt32());
        }
示例#2
0
        public uint RmGameModeSrvReenableForRegisteredProcess(NtApiDotNet.NtProcess p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_1(p0);
            _Unmarshal_Helper u = SendReceive(3, m);

            return(u.ReadUInt32());
        }
示例#3
0
        public int svcSetShellInformation(NtApiDotNet.NtProcess p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_24(p0);
            _Unmarshal_Helper u = SendReceive(7, m);

            return(u.ReadInt32());
        }
 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();
 }
示例#5
0
        public int svcOpenProcessHandleForAccess(int p0, int p1, out NtApiDotNet.NtProcess p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p0);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(19, m);

            p2 = u.Read_28();
            return(u.ReadInt32());
        }
示例#6
0
        public uint RmGameModeSrvRegisterProcess(NtApiDotNet.NtProcess p0, Struct_0 p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_1(p0);
            m.Write_0(p1);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(0, m);

            return(u.ReadUInt32());
        }
        public int WARPJITOOPServerConnect(NtApiDotNet.NtProcess p0, int p1, byte[] p2, int p3, out int p4, out byte[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_0(p0);
            m.WriteInt32(p1);
            m.Write_1(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"), p1);
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(0, m);

            p4 = u.ReadInt32();
            p5 = u.Read_2();
            return(u.ReadInt32());
        }
        // async
        public int RAiFinishPackageActivation(NtApiDotNet.NtProcess p0, NtApiDotNet.NtThread p1, int p2, string p3, string p4, NtApiDotNet.NtToken p5, out int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_5(p0);
            m.Write_6(p1);
            m.WriteInt32(p2);
            m.WriteReferent(p3, new System.Action <string>(m.WriteTerminatedString));
            m.WriteReferent(p4, new System.Action <string>(m.WriteTerminatedString));
            m.Write_4(p5);
            _Unmarshal_Helper u = SendReceive(2, m);

            p6 = u.ReadInt32();
            return(u.ReadInt32());
        }
        public uint HamRpcSrvRegisterDesktopBridgeProcess(NtApiDotNet.NtProcess p0, int p1, NtApiDotNet.NtToken p2, string p3, byte[] p4, int p5, int p6, int p7, long p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_14(p0);
            m.WriteInt32(p1);
            m.Write_16(p2);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.Write_17(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p6);
            m.WriteInt32(p7);
            m.WriteInt64(p8);
            _Unmarshal_Helper u = SendReceive(23, m);

            return(u.ReadUInt32());
        }
        // async
        public int RAiLaunchProcessWithIdentity(
            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());
        }
示例#11
0
        public uint _LaunchWinRTRunAsServer(
            Struct_3 p0,
            int p1,
            int p2,
            int p3,
            int p4,
            string p5,
            long p6,
            System.Nullable <System.Guid> p7,
            NtApiDotNet.NtToken p8,
            System.Nullable <Struct_2> p9,
            NtApiDotNet.NtFile p10,
            NtApiDotNet.NtFile p11,
            NtApiDotNet.NtFile p12,
            out NtApiDotNet.NtProcess p13,
            out int p14,
            out int p15,
            out int p16,
            out System.Nullable <Struct_4> p17)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_2(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action <string>(m.WriteTerminatedString));
            m.WriteInt64(p6);
            m.WriteReferent(p7, new System.Action <System.Guid>(m.WriteGuid));
            m.Write_10(p8);
            m.WriteReferent(p9, new System.Action <Struct_2>(m.Write_1));
            m.Write_11(p10);
            m.Write_11(p11);
            m.Write_11(p12);
            _Unmarshal_Helper u = SendReceive(4, m);

            p13 = u.Read_9();
            p14 = u.ReadInt32();
            p15 = u.ReadInt32();
            p16 = u.ReadInt32();
            p17 = u.ReadReferentValue <Struct_4>(new System.Func <Struct_4>(u.Read_3), false);
            return(u.ReadUInt32());
        }
        public int HcsRpc_RegisterProcessNotifications(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out NtApiDotNet.NtEvent p1, out NtApiDotNet.NtProcess p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p1 = u.Read_4();
            p2 = u.Read_5();
            return(u.ReadInt32());
        }
        public uint HamRpcSrvTerminateSelfOnRequiredProcessExit(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.NtProcess p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, byte p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.Write_8(p1);
            m.WriteEnum16(p2);
            m.WriteByte(p3);
            _Unmarshal_Helper u = SendReceive(11, m);

            return(u.ReadUInt32());
        }
示例#14
0
        public uint _LaunchRunAsServer(Struct_0 p0, int p1, int p2, int p3, int p4, string p5, long p6, System.Nullable <Struct_2> p7, out NtApiDotNet.NtProcess p8, out int p9, out int p10, out int p11)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p8  = u.Read_9();
            p9  = u.ReadInt32();
            p10 = u.ReadInt32();
            p11 = u.ReadInt32();
            return(u.ReadUInt32());
        }
示例#15
0
        public uint HamRpcSrvTerminateHostOnProcessExit(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, NtApiDotNet.NtProcess p3, NtApiDotNet.Ndr.Marshal.NdrEnum16 p4, byte p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.Write_12(p3);
            m.WriteEnum16(p4);
            m.WriteByte(p5);
            _Unmarshal_Helper u = SendReceive(13, m);

            return(u.ReadUInt32());
        }
        public int HnsRpc_RegisterGuestNetworkServiceNotifications(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out NtApiDotNet.NtEvent p1, out NtApiDotNet.NtProcess p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p1 = u.Read_0();
            p2 = u.Read_1();
            return(u.ReadInt32());
        }
示例#17
0
        public int PsmSrvRegisterProcess(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.NtProcess p1, int p2, NtApiDotNet.NtToken p3, string p4, System.Nullable <Struct_0> p5, int p6, long p7, int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.Write_4(p1);
            m.WriteInt32(p2);
            m.Write_5(p3);
            m.WriteReferent(p4, new System.Action <string>(m.WriteTerminatedString));
            m.WriteReferent(p5, new System.Action <Struct_0>(m.Write_0));
            m.WriteInt32(p6);
            m.WriteInt64(p7);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(3, m);

            return(u.ReadInt32());
        }
        public uint HamRpcSrvCreateActivityForProcess(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.NtProcess p1, Struct_1 p2, out long p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.Write_14(p1);
            m.Write_1(p2);
            _Unmarshal_Helper u = SendReceive(3, m);

            p3 = u.ReadInt64();
            return(u.ReadUInt32());
        }
示例#19
0
        public uint HamRpcSrvTerminateIfSuspendedByProcess(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.NtProcess p1, out sbyte p2, out sbyte p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.Write_3(p1);
            _Unmarshal_Helper u = SendReceive(3, m);

            p2 = u.ReadSByte();
            p3 = u.ReadSByte();
            return(u.ReadUInt32());
        }
示例#20
0
        public uint _LaunchWinRTActivatorServer(Struct_3 p0, char[] p1, int p2, int p3, int p4, int p5, string p6, int p7, long p8, System.Nullable <Struct_2> p9, out NtApiDotNet.NtProcess p10, out int p11, out int p12, out int p13, out System.Nullable <Struct_4> p14)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_2(p0);
            m.WriteReferent(p1, new System.Action <char[], long>(m.Write_8), p2);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action <string>(m.WriteTerminatedString));
            m.WriteInt32(p7);
            m.WriteInt64(p8);
            m.WriteReferent(p9, new System.Action <Struct_2>(m.Write_1));
            _Unmarshal_Helper u = SendReceive(3, m);

            p10 = u.Read_9();
            p11 = u.ReadInt32();
            p12 = u.ReadInt32();
            p13 = u.ReadInt32();
            p14 = u.ReadReferentValue <Struct_4>(new System.Func <Struct_4>(u.Read_3), false);
            return(u.ReadUInt32());
        }
示例#21
0
        public uint HamRpcSrvCreateActivity(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, byte[] p2, int p3, int p4, int p5, long p6, Struct_1 p7, NtApiDotNet.NtProcess p8, out long p9)
        {
            _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.Write_11(p8);
            _Unmarshal_Helper u = SendReceive(2, m);

            p9 = u.ReadInt64();
            return(u.ReadUInt32());
        }
        public uint HamRpcSrvQueryTaskCompletionsForTerminateGraph(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.NtProcess p1, out long p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p2 = u.ReadInt64();
            return(u.ReadUInt32());
        }
示例#23
0
        public uint HamRpcSrvCreateActivityForProcess(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.NtProcess p1, Struct_1 p2, out long p3, ref System.Nullable <sbyte> p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.Write_12(p1);
            m.Write_1(p2);
            m.WriteReferent(p4, new System.Action <sbyte>(m.WriteSByte));
            _Unmarshal_Helper u = SendReceive(3, m);

            p3 = u.ReadInt64();
            p4 = u.ReadReferentValue <sbyte>(new System.Func <sbyte>(u.ReadSByte), false);
            return(u.ReadUInt32());
        }
        public uint HamRpcSrvRemoveDependency(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.NtProcess p1, NtApiDotNet.NtProcess p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.Write_8(p1);
            m.Write_8(p2);
            _Unmarshal_Helper u = SendReceive(7, m);

            return(u.ReadUInt32());
        }
示例#25
0
 public void Write_12(NtApiDotNet.NtProcess p0)
 {
     WriteSystemHandle <NtApiDotNet.NtProcess>(p0);
 }
示例#26
0
        public uint _LaunchActivatorServer(Struct_0 p0, char[] p1, int p2, int p3, int p4, int p5, string p6, int p7, long p8, out NtApiDotNet.NtProcess p9, out int p10, out int p11, out int p12)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_0(p0);
            m.WriteReferent(p1, new System.Action <char[], long>(m.Write_8), p2);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action <string>(m.WriteTerminatedString));
            m.WriteInt32(p7);
            m.WriteInt64(p8);
            _Unmarshal_Helper u = SendReceive(0, m);

            p9  = u.Read_9();
            p10 = u.ReadInt32();
            p11 = u.ReadInt32();
            p12 = u.ReadInt32();
            return(u.ReadUInt32());
        }