Пример #1
0
        public int BdeSvcApipChangeProtector(string p0, ref string p1, ref string p2, int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteReferent(p0, new System.Action <string>(m.WriteTerminatedString));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(3, m);

            p1 = u.ReadConformantVaryingString();
            p2 = u.ReadConformantVaryingString();
            return(u.ReadInt32());
        }
        public int DiscGetInitiatorNodeName(out string p0)
        {
            _Marshal_Helper   m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(20, m);

            p0 = u.ReadConformantVaryingString();
            return(u.ReadInt32());
        }
        public int RpcCreateChildSessionTransport(out string p0, int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p0 = u.ReadConformantVaryingString();
            return(u.ReadInt32());
        }
Пример #4
0
        public int GetData(ref int p0, out string p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p0 = u.ReadInt32();
            p1 = u.ReadConformantVaryingString();
            return(u.ReadInt32());
        }
Пример #5
0
        public int RasRpcGetSystemDirectory(ref string p0, int p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_15(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"), p1);
            m.WriteInt32(p1);
            _Unmarshal_Helper u = SendReceive(11, m);

            p0 = u.ReadConformantVaryingString();
            return(u.ReadInt32());
        }
Пример #6
0
        public int Srv_GetResourcePolicyName(int p0, int p1, out string p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p2 = u.ReadConformantVaryingString();
            return(u.ReadInt32());
        }
Пример #7
0
        public int MosHostGetResourceDirectory(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, ref string p1, int p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p1 = u.ReadConformantVaryingString();
            return(u.ReadInt32());
        }
        public int RpcGetCreateUserProfileVhd(string p0, string p1, int p2, out string p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(1, m);

            p3 = u.ReadConformantVaryingString();
            return(u.ReadInt32());
        }
        public int DiscSessionIdToHBA(Struct_3 p0, int p1, out int p2, out string p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p2 = u.ReadInt32();
            p3 = u.ReadConformantVaryingString();
            return(u.ReadInt32());
        }
        public int ColorAdapterRpcServerGetDisplayProfile(Struct_1 p0, out string p1, out int p2, out int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p1 = u.ReadConformantVaryingString();
            p2 = u.ReadInt32();
            p3 = u.ReadInt32();
            return(u.ReadInt32());
        }
        public int WcnpRpcPeerGetAttributeAsString(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, int p2, int p3, out string p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p4 = u.ReadConformantVaryingString();
            return(u.ReadInt32());
        }
        public int PhoneSvcImpl_PhoneRpcGetRecordingApplications(out int p0, out int p1, out string p2, int p3, out Struct_8 p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(27, m);

            p0 = u.ReadInt32();
            p1 = u.ReadInt32();
            p2 = u.ReadConformantVaryingString();
            p4 = u.Read_7();
            return(u.ReadInt32());
        }
        public int RpcShadow2(int p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, out NtApiDotNet.Ndr.Marshal.NdrEnum16 p3, out string p4, int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p0);
            m.WriteEnum16(p1);
            m.WriteEnum16(p2);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(0, m);

            p3 = u.ReadEnum16();
            p4 = u.ReadConformantVaryingString();
            return(u.ReadInt32());
        }
        // async
        public int PNP_Local_ExportPnpState(string p0, int p1, Struct_3 p2, int p3, out string p4, out int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteReferent(p0, new System.Action <string>(m.WriteTerminatedString));
            m.WriteInt32(p1);
            m.Write_3(p2);
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(7, m);

            p4 = u.ReadConformantVaryingString();
            p5 = u.ReadInt32();
            return(u.ReadInt32());
        }
        // async
        public int PNP_Local_AddDriverPackage(string p0, string p1, int p2, Struct_3 p3, ref int p4, out string p5, out int p6, int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteInt32(p2);
            m.Write_3(p3);
            m.WriteInt32(p4);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(5, m);

            p4 = u.ReadInt32();
            p5 = u.ReadConformantVaryingString();
            p6 = u.ReadInt32();
            return(u.ReadInt32());
        }
Пример #16
0
        public int RAiGetFileInfoFromPath(out string p0, out string p1, out string p2, out string p3, out string p4, out string p5, string p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteReferent(p6, new System.Action <string>(m.WriteTerminatedString));
            _Unmarshal_Helper u = SendReceive(4, m);

            p0 = u.ReadConformantVaryingString();
            p1 = u.ReadConformantVaryingString();
            p2 = u.ReadConformantVaryingString();
            p3 = u.ReadConformantVaryingString();
            p4 = u.ReadConformantVaryingString();
            p5 = u.ReadConformantVaryingString();
            return(u.ReadInt32());
        }
        public int BuildContextW(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, Struct_0 p1, string p2, string p3, string p4, string p5, ref string p6, ref Struct_1 p7, int p8, sbyte[] p9, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p10)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteEnum16(p0);
            m.Write_0(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p6, "p6"));
            m.Write_1(p7);
            m.WriteInt32(p8);
            m.Write_3(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p9, "p9"), p8);
            _Unmarshal_Helper u = SendReceive(7, m);

            p6  = u.ReadConformantVaryingString();
            p7  = u.Read_1();
            p10 = u.ReadContextHandle();
            return(u.ReadInt32());
        }