예제 #1
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member8  = u.ReadInt64();
     Member10 = u.ReadInt32();
     Member14 = u.ReadInt32();
     Member18 = u.ReadInt32();
     Member1C = u.ReadInt32();
     Member20 = u.ReadInt32();
     Member24 = u.ReadInt32();
     Member28 = u.ReadInt32();
     Member2C = u.ReadInt32();
     Member30 = u.ReadInt32();
     Member34 = u.ReadInt32();
     Member38 = u.ReadInt32();
     Member3C = u.ReadInt32();
     Member40 = u.ReadInt32();
     Member44 = u.ReadInt32();
     Member48 = u.ReadInt32();
     Member4C = u.ReadInt32();
     Member50 = u.ReadGuid();
 }
예제 #2
0
        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 int p12,
            out string p13,
            out int p14,
            out int p15,
            out int p16,
            out short[] p17,
            out int p18,
            out Struct_3[] p19,
            out int p20,
            out System.Guid[] p21,
            out int p22,
            out int p23,
            out long p24,
            out System.Guid p25,
            out int[] p26,
            out int p27,
            out byte[] p28)
        {
            _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.ReadInt32();
            p13 = u.ReadReferent <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
            p14 = u.ReadInt32();
            p15 = u.ReadInt32();
            p16 = u.ReadInt32();
            p17 = u.ReadReferent <short[]>(new System.Func <short[]>(u.Read_12), false);
            p18 = u.ReadInt32();
            p19 = u.ReadReferent <Struct_3[]>(new System.Func <Struct_3[]>(u.Read_13), false);
            p20 = u.ReadInt32();
            p21 = u.ReadReferent <System.Guid[]>(new System.Func <System.Guid[]>(u.Read_14), false);
            p22 = u.ReadInt32();
            p23 = u.ReadInt32();
            p24 = u.ReadInt64();
            p25 = u.ReadGuid();
            p26 = u.Read_15();
            p27 = u.ReadInt32();
            p28 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_16), false);
            return(u.ReadUInt32());
        }
예제 #3
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_1();
     Member40 = u.Read_6();
     Member70 = u.ReadInt32();
 }
예제 #4
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadSByte();
     Member4 = u.ReadInt32();
     Member8 = u.ReadEmbeddedPointer <char[]>(new System.Func <char[]>(u.Read_3), false);
 }
예제 #5
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadGuid();
     Member10 = u.ReadInt32();
 }
예제 #6
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadEnum16();
     Member4 = u.ReadInt32();
 }
예제 #7
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;
        }
예제 #8
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadInt32();
     Member8 = u.ReadEmbeddedPointer <char[]>(new System.Func <char[]>(u.Read_2), true);
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_1();
     Member44 = u.ReadInt32();
     Member48 = u.Read_4();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_11();
     Member10 = u.ReadInt32();
     Member18 = u.ReadInt64();
 }
예제 #11
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.ReadInt32();
     Member8   = u.Read_6();
     Member4B8 = u.ReadInt32();
     Member4BC = u.ReadInt32();
     Member4C0 = u.ReadInt32();
     Member4C4 = u.ReadInt32();
     Member4C8 = u.Read_3();
     Member4D8 = u.ReadInt16();
     Member4DA = u.ReadByte();
     Member4DC = u.ReadInt32();
     Member4E0 = u.ReadInt32();
     Member4E8 = u.ReadInt64();
     Member4F0 = u.ReadInt64();
     Member4F8 = u.ReadInt32();
     Member4FC = u.Read_7();
     Member5C4 = u.ReadInt32();
     Member5C8 = u.ReadInt64();
     Member5D0 = u.ReadInt32();
     Member5D4 = u.ReadInt32();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member4  = u.Read_28();
     Member1C = u.Read_29();
 }
예제 #13
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadInt32();
     Member4 = u.ReadByte();
     Member5 = u.ReadByte();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadInt32();
     Member4 = u.ReadInt32();
     Member8 = u.ReadEmbeddedPointer <Struct_10>(new System.Func <Struct_10>(u.Read_9), true);
 }
예제 #15
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadUInt3264();
     Member8 = u.ReadInt32();
     MemberC = u.ReadSByte();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadInt32();
     Member4  = u.ReadInt32();
     Member8  = u.ReadEmbeddedPointer <char[]>(new System.Func <char[]>(u.Read_3), false);
     Member10 = u.ReadInt32();
     Member18 = u.ReadEmbeddedPointer <sbyte[]>(new System.Func <sbyte[]>(u.Read_4), false);
     Member20 = u.ReadInt32();
     Member28 = u.ReadEmbeddedPointer <char[]>(new System.Func <char[]>(u.Read_5), false);
     Member30 = u.ReadInt32();
     Member38 = u.ReadEmbeddedPointer <sbyte[]>(new System.Func <sbyte[]>(u.Read_6), false);
     Member40 = u.ReadInt32();
     Member44 = u.ReadInt32();
     Member48 = u.ReadEmbeddedPointer <sbyte[]>(new System.Func <sbyte[]>(u.Read_7), false);
     Member50 = u.ReadInt32();
     Member58 = u.ReadEmbeddedPointer <sbyte[]>(new System.Func <sbyte[]>(u.Read_8), false);
     Member60 = u.ReadInt32();
     Member68 = u.ReadEmbeddedPointer <sbyte[]>(new System.Func <sbyte[]>(u.Read_9), false);
     Member70 = u.ReadInt32();
     Member74 = u.ReadInt32();
     Member78 = u.ReadInt32();
 }
예제 #17
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadInt32();
     Member8 = u.ReadEmbeddedPointer <NtApiDotNet.Ndr.Marshal.NdrEnum16[]>(new System.Func <NtApiDotNet.Ndr.Marshal.NdrEnum16[]>(u.Read_10), false);
 }
예제 #18
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_4();
     Member14 = u.ReadInt32();
     Member18 = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
 }
        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;
        }
예제 #20
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadEmbeddedPointer <byte[]>(new System.Func <byte[]>(u.Read_1), false);
     Member8 = u.ReadInt32();
 }
예제 #21
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_18();
     Member8  = u.ReadInt32();
     Member10 = u.ReadEmbeddedPointer <Struct_20[]>(new System.Func <Struct_20[]>(u.Read_26), false);
 }
예제 #22
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadInt32();
     Member8 = u.Read_10();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadEnum16();
     Member4 = u.ReadInt32();
     Member8 = u.ReadEmbeddedPointer <Struct_3[]>(new System.Func <Struct_3[]>(u.Read_21), false);
 }