private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadSByte();
     Member8  = u.ReadInt64();
     Member10 = u.ReadInt64();
 }
Exemple #2
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadInt64();
 }
Exemple #3
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_7();
     Member10 = u.ReadInt32();
     Member18 = u.ReadInt64();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member8  = u.ReadInt64();
     Member10 = u.ReadEmbeddedPointer <Struct_14>(new System.Func <Struct_14>(u.Read_13), false);
 }
Exemple #5
0
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadInt32();
            if ((Selector == 0))
            {
                Arm_0 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 1))
            {
                Arm_1 = u.ReadSByte();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadInt64();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.ReadEmbeddedPointer <System.Guid>(new System.Func <System.Guid>(u.ReadGuid), false);
                goto done;
            }
            if ((Selector == 6))
            {
                Arm_6 = u.Read_5();
                goto done;
            }
            if ((Selector == 7))
            {
                Arm_7 = u.Read_6();
                goto done;
            }
            if ((Selector == 8))
            {
                Arm_8 = u.Read_7();
                goto done;
            }
            if ((Selector == 9))
            {
                Arm_9 = u.Read_8();
                goto done;
            }
            if ((Selector == 10))
            {
                Arm_10 = u.Read_9();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_4");
done:
            return;
        }
        public uint _Connect(
            string p0,
            string p1,
            System.Nullable <Struct_0> p2,
            int p3,
            out NtApiDotNet.Ndr.Marshal.NdrContextHandle p4,
            out int p5,
            out System.Nullable <Struct_2> p6,
            out long p7,
            int p8,
            out long[] p9,
            out int p10,
            out int p11,
            out string p12,
            out int p13,
            out int p14,
            out int p15,
            out short[] p16,
            out int p17,
            out Struct_3[] p18,
            out int p19,
            out System.Guid[] p20,
            out int p21,
            out int p22,
            out long p23,
            out System.Guid p24,
            out int[] p25,
            out int p26,
            out byte[] p27)
        {
            _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.WriteReferent(p2, new System.Action <Struct_0>(m.Write_0));
            m.WriteInt32(p3);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(0, m);

            p4  = u.ReadContextHandle();
            p5  = u.ReadInt32();
            p6  = u.ReadReferentValue <Struct_2>(new System.Func <Struct_2>(u.Read_1), false);
            p7  = u.ReadInt64();
            p9  = u.Read_11();
            p10 = u.ReadInt32();
            p11 = u.ReadInt32();
            p12 = u.ReadReferent <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
            p13 = u.ReadInt32();
            p14 = u.ReadInt32();
            p15 = u.ReadInt32();
            p16 = u.ReadReferent <short[]>(new System.Func <short[]>(u.Read_12), false);
            p17 = u.ReadInt32();
            p18 = u.ReadReferent <Struct_3[]>(new System.Func <Struct_3[]>(u.Read_13), false);
            p19 = u.ReadInt32();
            p20 = u.ReadReferent <System.Guid[]>(new System.Func <System.Guid[]>(u.Read_14), false);
            p21 = u.ReadInt32();
            p22 = u.ReadInt32();
            p23 = u.ReadInt64();
            p24 = u.ReadGuid();
            p25 = u.Read_15();
            p26 = u.ReadInt32();
            p27 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_16), false);
            return(u.ReadUInt32());
        }
Exemple #7
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member8  = u.ReadInt64();
     Member10 = u.ReadEmbeddedPointer <sbyte[]>(new System.Func <sbyte[]>(u.Read_18), false);
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadEnum16();
     Member4 = u.ReadEnum16();
     Member8 = u.ReadInt64();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.Read_1();
     Member44  = u.Read_4();
     Member148 = u.ReadInt64();
     Member150 = u.ReadInt64();
     Member158 = u.ReadInt64();
     Member160 = u.ReadInt64();
     Member168 = u.ReadInt64();
     Member170 = u.ReadInt64();
     Member178 = u.ReadInt64();
     Member180 = u.ReadInt64();
     Member188 = u.ReadInt64();
     Member190 = u.ReadInt64();
     Member198 = u.ReadInt64();
     Member1A0 = u.ReadInt64();
     Member1A8 = u.ReadInt64();
     Member1B0 = u.ReadInt64();
     Member1B8 = u.ReadInt64();
     Member1C0 = u.ReadInt64();
     Member1C8 = u.ReadInt64();
     Member1D0 = u.Read_2();
     Member200 = u.ReadInt32();
 }