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());
        }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadEmbeddedPointer <Struct_7>(new System.Func <Struct_7>(u.Read_6), false);
     Member8  = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
     Member10 = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
     Member18 = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
     Member20 = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
     Member28 = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
     Member30 = u.Read_3();
     Member38 = u.Read_3();
     Member40 = u.ReadInt32();
     Member48 = u.Read_4();
     Member58 = u.Read_5();
     Member68 = u.ReadInt16();
 }
        public int BeginChildren(out char[] p0, int p1, out int p2, ref Struct_0 p3, ref Struct_0 p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p1);
            m.Write_0(p3);
            m.Write_0(p4);
            _Unmarshal_Helper u = SendReceive(13, m);

            p0 = u.Read_4();
            p2 = u.ReadInt32();
            p3 = u.Read_0();
            p4 = u.Read_0();
            return(u.ReadInt32());
        }
        public int s_NgcKspVerifyClaim(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, NtApiDotNet.Ndr.Marshal.NdrContextHandle p1, System.Nullable <Struct_4> p2, byte[] p3, int p4, out Struct_4 p5, int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteContextHandle(p1);
            m.WriteReferent(p2, new System.Action <Struct_4>(m.Write_4));
            m.Write_13(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), p4);
            m.WriteInt32(p4);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(18, m);

            p5 = u.Read_4();
            return(u.ReadInt32());
        }
示例#5
0
        public int NtlmIumPasswordValidateNetwork(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, sbyte p1, Struct_12 p2, Struct_0 p3, out int p4, out Struct_4 p5, out Struct_5 p6, out int p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteSByte(p1);
            m.Write_12(p2);
            m.Write_0(p3);
            _Unmarshal_Helper u = SendReceive(6, m);

            p4 = u.ReadInt32();
            p5 = u.Read_4();
            p6 = u.Read_5();
            p7 = u.ReadInt32();
            return(u.ReadInt32());
        }
示例#6
0
        public int vreg_server_GetConfiguration(int p0, System.Guid p1, System.Guid p2, out Struct_1 p3, out Struct_2 p4, out Struct_3 p5, out Struct_4 p6, out Struct_5 p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            _Unmarshal_Helper u = SendReceive(0, m);

            p3 = u.Read_0();
            p4 = u.Read_1();
            p5 = u.Read_2();
            p6 = u.Read_3();
            p7 = u.Read_4();
            return(u.ReadInt32());
        }
        public int WluirRequestCredentials(ref System.Nullable <NtApiDotNet.Ndr.Marshal.NdrUInt3264> p0, int p1, int p2, System.Nullable <Struct_4> p3, out Struct_4 p4, ref System.Nullable <int> p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteReferent(p0, new System.Action <NtApiDotNet.Ndr.Marshal.NdrUInt3264>(m.WriteUInt3264));
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.WriteReferent(p3, new System.Action <Struct_4>(m.Write_4));
            m.WriteReferent(p5, new System.Action <int>(m.WriteInt32));
            _Unmarshal_Helper u = SendReceive(12, m);

            p0 = u.ReadReferentValue <NtApiDotNet.Ndr.Marshal.NdrUInt3264>(new System.Func <NtApiDotNet.Ndr.Marshal.NdrUInt3264>(u.ReadUInt3264), false);
            p4 = u.Read_4();
            p5 = u.ReadReferentValue <int>(new System.Func <int>(u.ReadInt32), true);
            return(u.ReadInt32());
        }
        public int RpcSrvRequestPrefixEx(string p0, Struct_0 p1, System.Nullable <Struct_1> p2, ref Struct_2 p3, out Struct_4 p4, out int p5, int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteReferent(p0, new System.Action <string>(m.WriteTerminatedString));
            m.Write_0(p1);
            m.WriteReferent(p2, new System.Action <Struct_1>(m.Write_1));
            m.Write_2(p3);
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(0, m);

            p3 = u.Read_2();
            p4 = u.Read_4();
            p5 = u.ReadInt32();
            return(u.ReadInt32());
        }
示例#9
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 == 4))
            {
                Arm_4 = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.Read_3();
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.Read_4();
                goto done;
            }
            if ((Selector == 6))
            {
                Arm_6 = u.Read_5();
                goto done;
            }
            if ((Selector == 7))
            {
                Arm_7 = u.Read_6();
                goto done;
            }
            Arm_Default = u.ReadEmpty();
done:
            return;
        }
示例#10
0
        public uint RemoteActivation(
            Struct_0 p0,
            out Struct_5 p1,
            System.Guid p2,
            string p3,
            System.Nullable <Struct_6> p4,
            int p5,
            int p6,
            int p7,
            System.Guid[] p8,
            short p9,
            short[] p10,
            out long p11,
            out System.Nullable <Struct_7> p12,
            out System.Guid p13,
            out int p14,
            out Struct_1 p15,
            out int p16,
            out Struct_6[] p17,
            out int[] p18)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_0(p0);
            m.WriteGuid(p2);
            m.WriteReferent(p3, new System.Action <string>(m.WriteTerminatedString));
            m.WriteReferent(p4, new System.Action <Struct_6>(m.Write_5));
            m.WriteInt32(p5);
            m.WriteInt32(p6);
            m.WriteInt32(p7);
            m.WriteReferent(p8, new System.Action <System.Guid[], long>(m.Write_11), p7);
            m.WriteInt16(p9);
            m.Write_12(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p10, "p10"), p9);
            _Unmarshal_Helper u = SendReceive(0, m);

            p1  = u.Read_4();
            p11 = u.ReadInt64();
            p12 = u.ReadReferentValue <Struct_7>(new System.Func <Struct_7>(u.Read_6), false);
            p13 = u.ReadGuid();
            p14 = u.ReadInt32();
            p15 = u.Read_1();
            p16 = u.ReadInt32();
            p17 = u.Read_13();
            p18 = u.Read_14();
            return(u.ReadUInt32());
        }
        public int Server_GetFSStreamInformation(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, int p1, ref int p2, ref byte[] p3, ref int p4, ref byte[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt32(p1);
            m.WriteInt32(p2);
            m.Write_4(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"), NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p2));
            m.WriteInt32(p4);
            m.Write_5(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"), NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p4));
            _Unmarshal_Helper u = SendReceive(5, m);

            p2 = u.ReadInt32();
            p3 = u.Read_4();
            p4 = u.ReadInt32();
            p5 = u.Read_5();
            return(u.ReadInt32());
        }
        // async
        public int SpiReceiveAuthorizeCallback(int p0, ref Struct_0 p1, ref Struct_0 p2, int p3, ref int p4, ref byte[] p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p0);
            m.Write_0(p1);
            m.Write_0(p2);
            m.WriteInt32(p3);
            m.WriteInt32(p4);
            m.Write_4(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"), p3);
            _Unmarshal_Helper u = SendReceive(9, m);

            p1 = u.Read_0();
            p2 = u.Read_0();
            p4 = u.ReadInt32();
            p5 = u.Read_4();
            return(u.ReadInt32());
        }
示例#13
0
        public int NtlmIumLm20GetNtlm3ChallengeResponse(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, Struct_0 p1, Struct_6 p2, Struct_6 p3, Struct_6 p4, sbyte[] p5, out short p6, out sbyte[] p7, out Struct_7 p8, out Struct_4 p9, out Struct_5 p10)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.Write_0(p1);
            m.Write_6(p2);
            m.Write_6(p3);
            m.Write_6(p4);
            m.Write_20(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"));
            _Unmarshal_Helper u = SendReceive(2, m);

            p6  = u.ReadInt16();
            p7  = u.ReadReferent <sbyte[]>(new System.Func <sbyte[]>(u.Read_26), false);
            p8  = u.Read_7();
            p9  = u.Read_4();
            p10 = u.Read_5();
            return(u.ReadInt32());
        }
示例#14
0
 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.ReadInt64();
     Member1D8 = u.Read_2();
     Member208 = u.Read_6();
     Member248 = u.Read_6();
     Member288 = u.Read_6();
     Member2C8 = u.ReadInt64();
     Member2D0 = u.ReadInt64();
     Member2D8 = u.ReadInt64();
     Member2E0 = u.ReadInt64();
     Member2E8 = u.ReadInt64();
     Member2F0 = u.Read_6();
     Member330 = u.Read_6();
     Member370 = u.Read_6();
     Member3B0 = u.ReadInt64();
     Member3B8 = u.ReadInt64();
     Member3C0 = u.ReadInt64();
     Member3C8 = u.ReadInt64();
     Member3D0 = u.ReadInt64();
     Member3D8 = u.ReadInt32();
 }
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadInt32();
            if ((Selector == 0))
            {
                Arm_0 = u.Read_2();
                goto done;
            }
            if ((Selector == 1))
            {
                Arm_1 = u.Read_3();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.Read_4();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_1");
done:
            return;
        }
示例#16
0
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 0))
            {
                Arm_0 = u.Read_2();
                goto done;
            }
            if ((Selector == 1))
            {
                Arm_1 = u.Read_2();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.Read_4();
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.Read_5();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.Read_2();
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.Read_2();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_2");
done:
            return;
        }
 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();
 }
示例#18
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.ReadInt32();
     Member4   = u.ReadInt32();
     Member8   = u.ReadInt32();
     MemberC   = u.ReadInt32();
     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();
     Member48  = u.ReadEmbeddedPointer <Struct_1>(new System.Func <Struct_1>(u.Read_1), false);
     Member50  = u.Read_4();
     Member154 = u.ReadInt32();
     Member158 = u.Read_5();
     Member360 = u.Read_5();
     Member568 = u.ReadEmbeddedPointer <Struct_2>(new System.Func <Struct_2>(u.Read_2), false);
     Member570 = u.ReadEmbeddedPointer <Struct_2>(new System.Func <Struct_2>(u.Read_2), false);
     Member578 = u.ReadInt32();
     Member580 = u.ReadEmbeddedPointer <Struct_2>(new System.Func <Struct_2>(u.Read_2), false);
     Member588 = u.ReadEmbeddedPointer <Struct_2>(new System.Func <Struct_2>(u.Read_2), false);
     Member590 = u.ReadEmbeddedPointer <Struct_3>(new System.Func <Struct_3>(u.Read_3), false);
     Member598 = u.ReadInt32();
     Member59C = u.ReadInt32();
     Member5A0 = u.Read_6();
     Member7A4 = u.ReadInt32();
     Member7A8 = u.ReadInt32();
 }
示例#19
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);
 }
示例#20
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.Read_4();
     Member200 = u.Read_4();
     Member400 = u.Read_4();
 }
 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_3();
     Member80 = u.ReadInt32();
     Member84 = u.Read_4();
 }
示例#23
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadGuid();
     Member10 = u.Read_4();
 }
示例#24
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadEnum16();
     Member8  = u.Read_4();
     Member10 = u.ReadInt32();
 }
示例#25
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.Read_4();
     Member6  = u.Read_8();
     Member62 = u.Read_9();
 }