Exemplo n.º 1
0
        public int DeManagementRpcServerRegisterCallbackForAmbientLightSensorDeviceIdChanged(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteUInt3264(p1);
            _Unmarshal_Helper u = SendReceive(80, m);

            return(u.ReadInt32());
        }
Exemplo n.º 2
0
        public int DeManagementRpcServerUnregisterCallbackForIsNightLightCapableChanged(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            return(u.ReadInt32());
        }
        public int Rpc_NcaStatusEventUnsubscribe(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p1 = u.ReadContextHandle();
            return(u.ReadInt32());
        }
        public int Server_CreateClientContext(int p0, byte[] p1, int p2, out long p3, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p0);
            m.WriteReferent(p1, new System.Action <byte[], long>(m.Write_0), p2);
            m.WriteInt32(p2);
            _Unmarshal_Helper u = SendReceive(0, m);

            p3 = u.ReadInt64();
            p4 = u.ReadContextHandle();
            return(u.ReadInt32());
        }
Exemplo n.º 5
0
        // async
        public int RegisterNotificationAsyncRpc(out NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, string p3, int p4, string p5, int p6, out System.Nullable <Struct_4> p7)
        {
            _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.WriteReferent(p5, new System.Action <string>(m.WriteTerminatedAnsiString));
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(13, m);

            p0 = u.ReadContextHandle();
            p7 = u.ReadReferentValue <Struct_4>(new System.Func <Struct_4>(u.Read_3), false);
            return(u.ReadInt32());
        }
        public int Rpc_NcaNetworkOpen(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, System.Guid p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p2 = u.ReadContextHandle();
            return(u.ReadInt32());
        }
Exemplo n.º 7
0
        public uint _BriCreateEvent(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, string p1, Struct_0 p2, Struct_1 p3, int p4, System.Nullable <System.Guid> p5, out Struct_7 p6, out Struct_8 p7, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p8, ref System.Nullable <Struct_7> p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteEnum16(p0);
            m.WriteReferent(p1, new System.Action <string>(m.WriteTerminatedString));
            m.Write_0(p2);
            m.Write_1(p3);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action <System.Guid>(m.WriteGuid));
            m.WriteReferent(p9, new System.Action <Struct_7>(m.Write_6));
            _Unmarshal_Helper u = SendReceive(0, m);

            p6 = u.Read_6();
            p7 = u.Read_7();
            p8 = u.ReadContextHandle();
            p9 = u.ReadReferentValue <Struct_7>(new System.Func <Struct_7>(u.Read_6), false);
            return(u.ReadUInt32());
        }
        public int MapsStorageSvcOpen(string p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteReferent(p0, new System.Action <string>(m.WriteTerminatedString));
            m.WriteEnum16(p1);
            _Unmarshal_Helper u = SendReceive(0, m);

            p2 = u.ReadContextHandle();
            return(u.ReadInt32());
        }
Exemplo n.º 9
0
        public int RpcSmsRouter_RegisterForMessagesTransient(string p0, string p1, string p2, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p3 = u.ReadContextHandle();
            return(u.ReadInt32());
        }
        public int UmpoRpcSettingRegisterNotification(System.Guid p0, int p1, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p2, string p3, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p4 = u.ReadContextHandle();
            return(u.ReadInt32());
        }
Exemplo n.º 11
0
        public int AccountsMgmtRpcAdviseAccount(System.Nullable <System.Guid> p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, out NtApiDotNet.NtEvent p2, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteReferent(p0, new System.Action <System.Guid>(m.WriteGuid));
            m.WriteEnum16(p1);
            _Unmarshal_Helper u = SendReceive(9, m);

            p2 = u.Read_24();
            p3 = u.ReadContextHandle();
            return(u.ReadInt32());
        }
Exemplo n.º 12
0
        public uint WFDSConMgrOpenSessionContextForMacAddressRPC(Struct_1 p0, Struct_0 p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_1(p0);
            m.Write_0(p1);
            _Unmarshal_Helper u = SendReceive(1, m);

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

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

            p3 = u.ReadContextHandle();
            return(u.ReadInt32());
        }
        public uint BaseRegOpenKey(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, Struct_0 p1, int p2, int p3, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p4 = u.ReadContextHandle();
            return(u.ReadUInt32());
        }
        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());
        }