Пример #1
0
 private void Marshal(_Marshal_Helper m)
 {
     m.Write_7(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member0, "Member0"));
     m.WriteInt32(Member10);
     m.WriteInt64(Member18);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteInt64(Member8);
     m.WriteEmbeddedPointer <Struct_14>(Member10, new System.Action <Struct_14>(m.Write_13));
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEnum16(Member0);
     m.WriteInt32(Member4);
     m.WriteEmbeddedPointer <Struct_3[], long>(Member8, new System.Action <Struct_3[], long>(m.Write_22), Member4);
 }
Пример #4
0
        public uint _CertifyServerIdentity(int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, string p9, string p10, string p11, int p12, int p13, out int p14)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.WriteInt32(p5);
            m.WriteInt32(p6);
            m.WriteInt32(p7);
            m.WriteInt32(p8);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p9, "p9"));
            m.WriteReferent(p10, new System.Action <string>(m.WriteTerminatedString));
            m.WriteReferent(p11, new System.Action <string>(m.WriteTerminatedString));
            m.WriteInt32(p12);
            m.WriteInt32(p13);
            _Unmarshal_Helper u = SendReceive(6, m);

            p14 = u.ReadInt32();
            return(u.ReadUInt32());
        }
Пример #5
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEnum16(Member0);
     m.WriteInt32(Member4);
     m.WriteInt32(Member8);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteEmbeddedPointer <sbyte[], long>(Member8, new System.Action <sbyte[], long>(m.Write_1), Member0);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteInt64(Member8);
     m.WriteInt32(Member10);
     m.WriteInt32(Member14);
     m.WriteInt32(Member18);
     m.WriteInt32(Member1C);
     m.WriteInt32(Member20);
     m.WriteInt32(Member24);
     m.WriteInt32(Member28);
     m.WriteInt32(Member2C);
     m.WriteInt32(Member30);
     m.WriteInt32(Member34);
     m.WriteInt32(Member38);
     m.WriteInt32(Member3C);
     m.WriteInt32(Member40);
     m.WriteInt32(Member44);
     m.WriteInt32(Member48);
     m.WriteInt32(Member4C);
     m.WriteGuid(Member50);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEmbeddedPointer <string>(Member0, new System.Action <string>(m.WriteTerminatedString));
     m.WriteEmbeddedPointer <string>(Member8, new System.Action <string>(m.WriteTerminatedString));
     m.WriteInt32(Member10);
 }
        private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Selector);
            if ((Selector == 0))
            {
                m.Write_6(Arm_0);
                goto done;
            }
            if ((Selector == 1))
            {
                m.Write_6(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.Write_6(Arm_2);
                goto done;
            }
            if ((Selector == 3))
            {
                m.Write_6(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.Write_10(Arm_4);
                goto done;
            }
            if ((Selector == 5))
            {
                m.Write_10(Arm_5);
                goto done;
            }
            if ((Selector == 6))
            {
                m.Write_10(Arm_6);
                goto done;
            }
            if ((Selector == 9))
            {
                m.WriteInt32(Arm_9);
                goto done;
            }
            if ((Selector == 10))
            {
                m.WriteGuid(Arm_10);
                goto done;
            }
            if ((Selector == 7))
            {
                m.Write_11(Arm_7);
                goto done;
            }
            if ((Selector == 8))
            {
                m.Write_11(Arm_8);
                goto done;
            }
            if ((Selector == 11))
            {
                m.Write_12(Arm_11);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_6");
done:
            return;
        }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteGuid(Member0);
     m.WriteInt32(Member10);
     m.Write_7(Member18);
 }
Пример #11
0
 private void Marshal(_Marshal_Helper m)
 {
     m.Write_1(Member0);
     m.WriteInt32(Member8);
     m.Write_2(Member10);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.Write_30(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member4, "Member4"));
     m.Write_31(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member1C, "Member1C"));
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteEmbeddedPointer <Struct_15[], long>(Member0, new System.Action <Struct_15[], long>(m.Write_29), Member8);
     m.WriteInt32(Member8);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteInt32(Member4);
     m.WriteEmbeddedPointer <Struct_15[], long>(Member8, new System.Action <Struct_15[], long>(m.Write_23), NtApiDotNet.Win32.Rpc.RpcUtils.OpBitwiseAnd(NtApiDotNet.Win32.Rpc.RpcUtils.OpPlus(Member0, 1), -2));
 }
        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());
        }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.Write_21(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member8, "Member8"), Member0);
 }
Пример #17
0
        private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Selector);
            if ((Selector == 0))
            {
                m.WriteInt32(Arm_0);
                goto done;
            }
            if ((Selector == 1))
            {
                m.WriteSByte(Arm_1);
                goto done;
            }
            if ((Selector == 2))
            {
                m.WriteInt32(Arm_2);
                goto done;
            }
            if ((Selector == 3))
            {
                m.WriteInt64(Arm_3);
                goto done;
            }
            if ((Selector == 4))
            {
                m.WriteEmbeddedPointer <string>(Arm_4, new System.Action <string>(m.WriteTerminatedString));
                goto done;
            }
            if ((Selector == 5))
            {
                m.WriteEmbeddedPointer <System.Guid>(Arm_5, new System.Action <System.Guid>(m.WriteGuid));
                goto done;
            }
            if ((Selector == 6))
            {
                m.Write_5(Arm_6);
                goto done;
            }
            if ((Selector == 7))
            {
                m.Write_6(Arm_7);
                goto done;
            }
            if ((Selector == 8))
            {
                m.Write_7(Arm_8);
                goto done;
            }
            if ((Selector == 9))
            {
                m.Write_8(Arm_9);
                goto done;
            }
            if ((Selector == 10))
            {
                m.Write_9(Arm_10);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_4");
done:
            return;
        }
Пример #18
0
 private void Marshal(_Marshal_Helper m)
 {
     m.Write_1(Member0);
     m.Write_6(Member40);
     m.WriteInt32(Member70);
 }
Пример #19
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteGuid(Member0);
     m.WriteInt32(Member10);
     m.Write_20(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(Member14, "Member14"), NtApiDotNet.Win32.Rpc.RpcUtils.OpBitwiseAnd(NtApiDotNet.Win32.Rpc.RpcUtils.OpPlus(Member10, 7), -8));
 }
Пример #20
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteByte(Member4);
     m.WriteByte(Member5);
 }
Пример #21
0
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteEmbeddedPointer <Struct_3>(Member8, new System.Action <Struct_3>(m.Write_2));
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
 }
 private void Marshal(_Marshal_Helper m)
 {
     m.WriteInt32(Member0);
     m.WriteInt32(Member4);
     m.WriteEmbeddedPointer <sbyte[], long>(Member8, new System.Action <sbyte[], long>(m.Write_20), NtApiDotNet.Win32.Rpc.RpcUtils.OpPlus(Member4, Member0));
 }