Exemplo n.º 1
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.ReadInt32();
     Member4   = u.ReadInt32();
     Member8   = u.Read_4();
     Member3C  = u.Read_9();
     Member23C = u.Read_9();
 }
Exemplo n.º 2
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_4();
     Member10 = u.Read_4();
     Member20 = u.Read_4();
     Member30 = u.Read_8();
     Member40 = u.Read_9();
     Member50 = u.Read_9();
     Member60 = u.ReadInt32();
 }
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 0))
            {
                Arm_0 = u.Read_7();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.Read_7();
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.Read_8();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.Read_9();
                goto done;
            }
            Arm_Default = u.ReadEmpty();
done:
            return;
        }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member4  = u.ReadInt32();
     Member8  = u.ReadInt32();
     MemberC  = u.Read_6();
     Member10 = u.ReadGuid();
     Member20 = u.ReadInt32();
     Member28 = u.ReadEmbeddedPointer <Struct_2>(new System.Func <Struct_2>(u.Read_1), false);
     Member30 = u.ReadGuid();
     Member40 = u.ReadInt64();
     Member48 = u.ReadEnum16();
     Member50 = u.Read_9();
     Member58 = u.Read_9();
     Member60 = u.Read_9();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadEnum16();
     Member4  = u.ReadEnum16();
     Member8  = u.ReadInt32();
     MemberC  = u.ReadInt32();
     Member10 = u.Read_9();
 }
Exemplo n.º 6
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_9();
     Member24 = u.ReadInt32();
     Member28 = u.ReadInt32();
     Member2C = u.ReadInt32();
     Member30 = u.ReadInt32();
     Member34 = u.Read_16();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadEnum16();
     Member4  = u.Read_9();
     Member54 = u.ReadSByte();
     Member58 = u.Read_12();
     Member7C = u.ReadSByte();
     Member7D = u.Read_11();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_9();
     MemberC  = u.Read_10();
     Member2C = u.Read_11();
     Member3C = u.Read_11();
     Member4C = u.ReadInt32();
     Member50 = u.Read_12();
 }
Exemplo n.º 9
0
        public int PhoneSvcImpl_PhoneRpcGetBluetoothHandsFreeLineInfo(System.Guid p0, out Struct_10 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteGuid(p0);
            _Unmarshal_Helper u = SendReceive(32, m);

            p1 = u.Read_9();
            return(u.ReadInt32());
        }
Exemplo n.º 10
0
        public int ReserveVoipCallResourcesForOneProcessVoIP(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out Struct_10 p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p1 = u.Read_9();
            return(u.ReadInt32());
        }
        public uint GetManagedAppCategories(ref Struct_9 p0)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_9(p0);
            _Unmarshal_Helper u = SendReceive(8, m);

            p0 = u.Read_9();
            return(u.ReadUInt32());
        }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadGuid();
     Member10 = u.ReadInt64();
     Member18 = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
     Member20 = u.Read_13();
     Member61 = u.Read_14();
     Member81 = u.Read_15();
     Member91 = u.Read_9();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.Read_5();
     Member200 = u.Read_8();
     Member3C0 = u.Read_9();
     Member5C8 = u.Read_3();
     Member5D8 = u.ReadInt32();
     Member5DC = u.ReadInt32();
     Member5E0 = u.ReadInt32();
     Member5E8 = u.ReadEmbeddedPointer <Struct_4[]>(new System.Func <Struct_4[]>(u.Read_10), false);
 }
Exemplo n.º 14
0
        public int ReserveVoipCallResources(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, string p1, out Struct_10 p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p2 = u.Read_9();
            return(u.ReadInt32());
        }
        public int PsmSrvQueryApplicationHostJob(long p0, out Struct_2 p1, out NtApiDotNet.NtJob p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p1 = u.Read_2();
            p2 = u.Read_9();
            return(u.ReadInt32());
        }
        public int R_StiApiGetLastNotificationData(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out sbyte[] p1, int p2, out int p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p1 = u.Read_9();
            p3 = u.ReadInt32();
            return(u.ReadInt32());
        }
Exemplo n.º 17
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member8  = u.Read_6();
     Member10 = u.ReadInt32();
     Member14 = u.ReadInt32();
     Member18 = u.ReadInt32();
     Member1C = u.ReadInt32();
     Member20 = u.Read_7();
     Member30 = u.Read_7();
     Member40 = u.Read_9();
 }
Exemplo n.º 18
0
        public uint SstpSvcCreateUpdateTenantGatewayMapping(int p0, int p1, ref Struct_3[] p2)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p2 = u.Read_9();
            return(u.ReadUInt32());
        }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member4  = u.ReadInt32();
     Member8  = u.Read_7();
     Member4A = u.Read_8();
     Member6E = u.Read_9();
     Member98 = u.ReadInt64();
     MemberA0 = u.ReadInt64();
     MemberA8 = u.ReadInt64();
     MemberB0 = u.ReadInt64();
     MemberB8 = u.ReadInt32();
     MemberC0 = u.ReadEmbeddedPointer <sbyte[]>(new System.Func <sbyte[]>(u.Read_10), false);
 }
Exemplo n.º 20
0
        // async
        public void ept_map(System.Nullable <System.Guid> p0, System.Nullable <Struct_3> p1, ref NtApiDotNet.Ndr.Marshal.NdrContextHandle p2, int p3, out int p4, out Struct_3[] p5, out int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteReferent(p0, new System.Action <System.Guid>(m.WriteGuid));
            m.WriteReferent(p1, new System.Action <Struct_3>(m.Write_2));
            m.WriteContextHandle(p2);
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(3, m);

            p2 = u.ReadContextHandle();
            p4 = u.ReadInt32();
            p5 = u.Read_9();
            p6 = u.ReadInt32();
        }
Exemplo n.º 21
0
        public int RpcNetSetupGetObjectPropertyKeys(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, System.Guid p2, out Struct_4[] p3, int p4, out int p5, out int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.WriteGuid(p2);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(7, m);

            p3 = u.Read_9();
            p5 = u.ReadInt32();
            p6 = u.ReadInt32();
            return(u.ReadInt32());
        }
        public uint BthServEirGetRecords(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, long p2, NtApiDotNet.Ndr.Marshal.NdrEnum16 p3, int p4, out sbyte[] p5, out int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p2);
            m.WriteEnum16(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(17, m);

            p1 = u.ReadInt32();
            p5 = u.Read_9();
            p6 = u.ReadInt32();
            return(u.ReadUInt32());
        }
        public uint BthServGetDeviceList(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out int p1, int p2, sbyte p3, int p4, out sbyte[] p5, out int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt32(p2);
            m.WriteSByte(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(7, m);

            p1 = u.ReadInt32();
            p5 = u.Read_9();
            p6 = u.ReadInt32();
            return(u.ReadUInt32());
        }
        public int GetWindowPropInterface(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p1, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p2, int p3, out Struct_10 p4, out Struct_11 p5, out uint p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p4 = u.Read_9();
            p5 = u.Read_10();
            p6 = u.ReadUInt32();
            return(u.ReadInt32());
        }
        public int RpcNsiSetAllParameters(Struct_0 p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, ref Struct_5 p3, ref Struct_10 p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_0(p0);
            m.WriteEnum16(p1);
            m.WriteEnum16(p2);
            m.Write_4(p3);
            m.Write_9(p4);
            _Unmarshal_Helper u = SendReceive(4, m);

            p3 = u.Read_4();
            p4 = u.Read_9();
            return(u.ReadInt32());
        }
Exemplo n.º 26
0
        public int ElfrReadELA(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, int p2, int p3, out sbyte[] p4, out int p5, out int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p4 = u.Read_9();
            p5 = u.ReadInt32();
            p6 = u.ReadInt32();
            return(u.ReadInt32());
        }
Exemplo n.º 27
0
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 1))
            {
                Arm_1 = u.Read_2();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.Read_9();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_9");
done:
            return;
        }
        // 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());
        }
 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();
 }
Exemplo n.º 30
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());
        }