Exemple #1
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadByte();
     Member1 = u.ReadByte();
     Member2 = u.Read_10();
     Member8 = u.Read_22();
 }
Exemple #2
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_22();
     Member10 = u.ReadInt32();
     Member14 = u.Read_20();
     Member40 = u.ReadInt32();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.Read_22();
     Member100 = u.Read_23();
     Member200 = u.Read_24();
     Member240 = u.ReadSByte();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member4  = u.ReadInt32();
     Member8  = u.ReadInt32();
     MemberC  = u.Read_22();
     Member4C = u.ReadInt16();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.Read_22();
     Member200 = u.Read_20();
     Member22C = u.ReadInt32();
     Member230 = u.ReadInt32();
     Member234 = u.ReadEnum16();
 }
Exemple #6
0
        public int svcQueryDefaultAccountToken(out NtApiDotNet.NtToken p0)
        {
            _Marshal_Helper   m = new _Marshal_Helper();
            _Unmarshal_Helper u = SendReceive(3, m);

            p0 = u.Read_22();
            return(u.ReadInt32());
        }
        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());
        }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member4  = u.ReadInt32();
     Member8  = u.ReadInt32();
     MemberC  = u.Read_11();
     Member10 = u.Read_12();
     Member28 = u.ReadGuid();
     Member38 = u.ReadInt32();
     Member40 = u.ReadEmbeddedPointer <Struct_17>(new System.Func <Struct_17>(u.Read_16), false);
     Member48 = u.ReadGuid();
     Member58 = u.ReadInt64();
     Member60 = u.ReadEnum16();
     Member68 = u.Read_22();
     Member70 = u.Read_22();
     Member78 = u.Read_22();
     Member80 = u.ReadInt64();
     Member88 = u.ReadGuid();
 }
Exemple #9
0
        public int svcQueryUserTokenFromSid(string p0, out NtApiDotNet.NtToken p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            _Unmarshal_Helper u = SendReceive(17, m);

            p1 = u.Read_22();
            return(u.ReadInt32());
        }
Exemple #10
0
        public int svcGetConstrainedUserTokenFromAppcontainer(long p0, out NtApiDotNet.NtToken p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt64(p0);
            _Unmarshal_Helper u = SendReceive(13, m);

            p1 = u.Read_22();
            return(u.ReadInt32());
        }
Exemple #11
0
        public int svcQuerySessionUserToken(int p0, out NtApiDotNet.NtToken p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p1 = u.Read_22();
            return(u.ReadInt32());
        }
        public int EfsRpcReadFileRaw(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out NtApiDotNet.Ndr.Marshal.NdrPipe <sbyte> p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p1 = u.Read_22();
            return(u.ReadInt32());
        }
Exemple #13
0
        public int AccountsMgmtRpcConvertWebAccountIdToAppSpecificId(int p0, string p1, out NtApiDotNet.Ndr.Marshal.NdrUnsupported p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p2 = u.Read_22();
            return(u.ReadInt32());
        }
Exemple #14
0
        public int svcGetConstrainedUserToken(NtApiDotNet.NtToken p0, long p1, System.Nullable <Struct_0> p2, out NtApiDotNet.NtToken p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_23(p0);
            m.WriteInt64(p1);
            m.WriteReferent(p2, new System.Action <Struct_0>(m.Write_0));
            _Unmarshal_Helper u = SendReceive(1, m);

            p3 = u.Read_22();
            return(u.ReadInt32());
        }
Exemple #15
0
        public int PhoneSvcImpl_PhoneRpcAdvise(NtApiDotNet.Ndr.Marshal.NdrEnum16[] p0, int p1, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2, out char[] p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p2 = u.ReadContextHandle();
            p3 = u.Read_22();
            return(u.ReadInt32());
        }
Exemple #16
0
        public int svcUMLogonUser(
            Struct_4 p0,
            Struct_5 p1,
            NtApiDotNet.Ndr.Marshal.NdrEnum16 p2,
            int p3,
            Struct_6 p4,
            Struct_7 p5,
            int p6,
            int p7,
            int p8,
            sbyte[] p9,
            System.Nullable <Struct_9> p10,
            out int p11,
            out int p12,
            out int p13,
            out sbyte[] p14,
            out long p15,
            ref Struct_8 p16,
            out NtApiDotNet.NtToken p17,
            out Struct_10 p18)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_4(p0);
            m.Write_5(p1);
            m.WriteEnum16(p2);
            m.WriteInt32(p3);
            m.Write_6(p4);
            m.Write_7(p5);
            m.WriteInt32(p6);
            m.WriteInt32(p7);
            m.WriteInt32(p8);
            m.Write_25(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p9, "p9"), p8);
            m.WriteReferent(p10, new System.Action <Struct_9>(m.Write_9));
            m.Write_8(p16);
            _Unmarshal_Helper u = SendReceive(11, m);

            p11 = u.ReadInt32();
            p12 = u.ReadInt32();
            p13 = u.ReadInt32();
            p14 = u.ReadReferent <sbyte[]>(new System.Func <sbyte[]>(u.Read_26), false);
            p15 = u.ReadInt64();
            p16 = u.Read_8();
            p17 = u.Read_22();
            p18 = u.Read_10();
            return(u.ReadInt32());
        }
        public uint ServerAllocateOXIDAndOIDs(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out long p1, int p2, int p3, out long[] p4, out int p5, Struct_6 p6, System.Nullable <Struct_0> p7, System.Nullable <Struct_0> p8, out long p9, out System.Nullable <Struct_0> p10)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.Write_5(p6);
            m.WriteReferent(p7, new System.Action <Struct_0>(m.Write_0));
            m.WriteReferent(p8, new System.Action <Struct_0>(m.Write_0));
            _Unmarshal_Helper u = SendReceive(5, m);

            p1  = u.ReadInt64();
            p4  = u.Read_22();
            p5  = u.ReadInt32();
            p9  = u.ReadInt64();
            p10 = u.ReadReferentValue <Struct_0>(new System.Func <Struct_0>(u.Read_0), false);
            return(u.ReadUInt32());
        }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.Read_22();
 }