Example #1
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt16();
     Member2  = u.Read_12();
     Member8  = u.ReadInt64();
     Member10 = u.Read_13();
 }
        public uint Connect(
            string p0,
            string p1,
            out NtApiDotNet.Ndr.Marshal.NdrContextHandle p2,
            out int p3,
            out System.Nullable <Struct_0> p4,
            out long p5,
            int p6,
            out long[] p7,
            out int p8,
            out int p9,
            out string p10,
            out int p11,
            out int p12,
            out int p13,
            out short[] p14,
            out int p15,
            out Struct_1[] p16,
            out int p17,
            out System.Guid[] p18,
            out int p19,
            out int p20,
            out long p21,
            out System.Guid p22,
            out int[] p23,
            out int p24,
            out byte[] p25)
        {
            _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(p6);
            _Unmarshal_Helper u = SendReceive(0, m);

            p2  = u.ReadContextHandle();
            p3  = u.ReadInt32();
            p4  = u.ReadReferentValue <Struct_0>(new System.Func <Struct_0>(u.Read_0), false);
            p5  = u.ReadInt64();
            p7  = u.Read_8();
            p8  = u.ReadInt32();
            p9  = u.ReadInt32();
            p10 = u.ReadReferent <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
            p11 = u.ReadInt32();
            p12 = u.ReadInt32();
            p13 = u.ReadInt32();
            p14 = u.ReadReferent <short[]>(new System.Func <short[]>(u.Read_9), false);
            p15 = u.ReadInt32();
            p16 = u.ReadReferent <Struct_1[]>(new System.Func <Struct_1[]>(u.Read_10), false);
            p17 = u.ReadInt32();
            p18 = u.ReadReferent <System.Guid[]>(new System.Func <System.Guid[]>(u.Read_11), false);
            p19 = u.ReadInt32();
            p20 = u.ReadInt32();
            p21 = u.ReadInt64();
            p22 = u.ReadGuid();
            p23 = u.Read_12();
            p24 = u.ReadInt32();
            p25 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_13), false);
            return(u.ReadUInt32());
        }
Example #3
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadSByte();
     Member1 = u.ReadSByte();
     Member2 = u.Read_3();
     Member8 = u.Read_12();
 }
 public uint PrivGetDesktopWinRTBrokerToken(int p0, out NtApiDotNet.NtToken p1, out int p2)
 {
     _Marshal_Helper m = new _Marshal_Helper();
     m.WriteInt32(p0);
     _Unmarshal_Helper u = SendReceive(21, m);
     p1 = u.Read_12();
     p2 = u.ReadInt32();
     return u.ReadUInt32();
 }
 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();
 }
Example #6
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadEnum16();
     Member4  = u.ReadEnum16();
     Member8  = u.ReadEmbeddedPointer <Struct_10>(new System.Func <Struct_10>(u.Read_9), false);
     Member10 = u.ReadEmbeddedPointer <Struct_10>(new System.Func <Struct_10>(u.Read_9), false);
     Member18 = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
     Member20 = u.Read_12();
 }
 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();
 }
 public uint _PrivGetUserTokenForSession(int p0, out NtApiDotNet.NtToken p1, out int p2)
 {
     _Marshal_Helper m = new _Marshal_Helper();
     m.WriteInt32(p0);
     _Unmarshal_Helper u = SendReceive(19, m);
     p1 = u.Read_12();
     p2 = u.ReadInt32();
     return u.ReadUInt32();
 }
Example #9
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.ReadInt32();
     Member4   = u.ReadEnum16();
     Member8   = u.ReadEnum16();
     MemberC   = u.ReadGuid();
     Member1C  = u.Read_11();
     Member11C = u.Read_12();
     Member19C = u.ReadInt32();
     Member1A0 = u.Read_12();
     Member220 = u.ReadInt32();
     Member224 = u.ReadEnum16();
     Member228 = u.Read_12();
     Member2A8 = u.ReadInt32();
     Member2AC = u.ReadEnum16();
     Member2B0 = u.ReadEnum16();
     Member2B4 = u.ReadInt32();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member4  = u.ReadInt32();
     Member8  = u.ReadInt32();
     MemberC  = u.Read_6();
     Member10 = u.Read_7();
     Member28 = u.ReadGuid();
     Member38 = u.ReadInt32();
     Member40 = u.ReadEmbeddedPointer <Struct_2>(new System.Func <Struct_2>(u.Read_1), false);
     Member48 = u.ReadGuid();
     Member58 = u.ReadInt64();
     Member60 = u.ReadEnum16();
     Member68 = u.Read_12();
     Member70 = u.Read_12();
     Member78 = u.Read_12();
     Member80 = u.ReadInt64();
     Member88 = u.ReadGuid();
 }
Example #11
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadByte();
     Member1  = u.ReadByte();
     Member2  = u.ReadInt16();
     Member4  = u.Read_0();
     Member8  = u.Read_12();
     Member10 = u.ReadInt32();
     Member14 = u.ReadInt32();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadEnum16();
     Member4  = u.ReadEnum16();
     Member8  = u.Read_20();
     Member32 = u.Read_20();
     Member5C = u.ReadInt32();
     Member60 = u.ReadInt32();
     Member64 = u.ReadInt32();
     Member68 = u.Read_12();
 }
 public uint _PrivGetInteractiveUserToken(int p0, long p1, int p2, out NtApiDotNet.NtToken p3, out int p4)
 {
     _Marshal_Helper m = new _Marshal_Helper();
     m.WriteInt32(p0);
     m.WriteInt64(p1);
     m.WriteInt32(p2);
     _Unmarshal_Helper u = SendReceive(26, m);
     p3 = u.Read_12();
     p4 = u.ReadInt32();
     return u.ReadUInt32();
 }
Example #14
0
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 1))
            {
                Arm_1 = u.Read_12();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_12");
done:
            return;
        }
 public uint _PrivGetBrokerToken(int p0, long p1, int p2, int p3, out NtApiDotNet.NtToken p4, out int p5)
 {
     _Marshal_Helper m = new _Marshal_Helper();
     m.WriteInt32(p0);
     m.WriteInt64(p1);
     m.WriteInt32(p2);
     m.WriteInt32(p3);
     _Unmarshal_Helper u = SendReceive(20, m);
     p4 = u.Read_12();
     p5 = u.ReadInt32();
     return u.ReadUInt32();
 }
        public int DiscGetTargets(int p0, sbyte p1, out int p2, out byte[] p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

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

            p2 = u.ReadInt32();
            p3 = u.Read_12();
            return(u.ReadInt32());
        }
Example #17
0
        public int RpcGetInterfaceContextTable(char p0, string p1, int p2, int p3, sbyte[] p4, out System.Nullable <Struct_6> p5, out NtApiDotNet.NtEvent p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteChar(p0);
            m.WriteReferent(p1, new System.Action <string>(m.WriteTerminatedString));
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action <sbyte[], long>(m.Write_14), p3);
            _Unmarshal_Helper u = SendReceive(6, m);

            p5 = u.ReadReferentValue <Struct_6>(new System.Func <Struct_6>(u.Read_5), false);
            p6 = u.Read_12();
            return(u.ReadInt32());
        }
        public uint s_RpcBluetoothGattGetIncludedServices(System.Guid p0, System.Nullable <Struct_1> p1, short p2, int p3, out Struct_1[] p4, out short p5, out int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteGuid(p0);
            m.WriteReferent(p1, new System.Action <Struct_1>(m.Write_0));
            m.WriteInt16(p2);
            m.WriteInt32(p3);
            _Unmarshal_Helper u = SendReceive(3, m);

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

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

            p1 = u.ReadInt32();
            p6 = u.Read_12();
            p7 = u.ReadInt32();
            return(u.ReadUInt32());
        }
Example #20
0
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 1))
            {
                Arm_1 = u.Read_3();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.Read_12();
                goto done;
            }
            Arm_Default = u.ReadEmpty();
done:
            return;
        }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadInt32();
     Member4 = u.Read_12();
 }
Example #22
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_12();
     Member10 = u.ReadEnum16();
 }
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadInt32();
            if ((Selector == 0))
            {
                Arm_0 = u.Read_6();
                goto done;
            }
            if ((Selector == 1))
            {
                Arm_1 = u.Read_6();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.Read_6();
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.Read_6();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.Read_10();
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.Read_10();
                goto done;
            }
            if ((Selector == 6))
            {
                Arm_6 = u.Read_10();
                goto done;
            }
            if ((Selector == 9))
            {
                Arm_9 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 10))
            {
                Arm_10 = u.ReadGuid();
                goto done;
            }
            if ((Selector == 7))
            {
                Arm_7 = u.Read_11();
                goto done;
            }
            if ((Selector == 8))
            {
                Arm_8 = u.Read_11();
                goto done;
            }
            if ((Selector == 11))
            {
                Arm_11 = u.Read_12();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_6");
done:
            return;
        }