csharp/tyranid/WindowsRpcClients/Win10_1809/appventsubsystemcontroller.dll/461e6f82-89d8-4b7b-95ca-2e5c965953fc_1.0.cs

461e6f82-89d8-4b7b-95ca-2e5c965953fc_1.0.cs
//------------------------------------------------------------------------------
// 
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.42000
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// 
//------------------------------------------------------------------------------

// Source Executable: c:\windows\system32\AppVEntSubsystemController.dll
// Interface ID: 461e6f82-89d8-4b7b-95ca-2e5c965953fc
// Interface Version: 1.0



namespace rpc_461e6f82_89d8_4b7b_95ca_2e5c965953fc_1_0
{
    
    #region Marshal Helpers
    internal clast _Marshal_Helper : NtApiDotNet.Ndr.Marshal.NdrMarshalBuffer
    {
        public void Write_0(Struct_1 p0)
        {
            WriteStruct(p0);
        }
        public void Write_1(Struct_2 p0)
        {
            WriteStruct(p0);
        }
        public void Write_2(Struct_3 p0)
        {
            WriteStruct(p0);
        }
        public void Write_3(Struct_4 p0)
        {
            WriteStruct(p0);
        }
        public void Write_4(Struct_5 p0)
        {
            WriteStruct(p0);
        }
        public void Write_5(char[] p0, long p1)
        {
            WriteConformantArray(p0, p1);
        }
        public void Write_6(byte[] p0, long p1)
        {
            WriteConformantArray(p0, p1);
        }
        public void Write_7(byte[] p0, long p1)
        {
            WriteConformantArray(p0, p1);
        }
        public void Write_8(string[] p0, long p1)
        {
            WriteConformantStringArray(p0, new System.Action(this.WriteTerminatedString), p1);
        }
        public void Write_9(string[] p0, long p1)
        {
            WriteConformantStringArray(p0, new System.Action(this.WriteTerminatedString), p1);
        }
        public void Write_10(char[] p0, long p1)
        {
            WriteConformantArray(p0, p1);
        }
        public void Write_11(byte[] p0, long p1)
        {
            WriteConformantArray(p0, p1);
        }
    }
    internal clast _Unmarshal_Helper : NtApiDotNet.Ndr.Marshal.NdrUnmarshalBuffer
    {
        public _Unmarshal_Helper(NtApiDotNet.Win32.Rpc.RpcClientResponse r) : 
                base(r.NdrBuffer, r.Handles, r.DataRepresentation)
        {
        }
        public _Unmarshal_Helper(byte[] ba) : 
                base(ba)
        {
        }
        public Struct_1 Read_0()
        {
            return ReadStruct();
        }
        public Struct_2 Read_1()
        {
            return ReadStruct();
        }
        public Struct_3 Read_2()
        {
            return ReadStruct();
        }
        public Struct_4 Read_3()
        {
            return ReadStruct();
        }
        public Struct_5 Read_4()
        {
            return ReadStruct();
        }
        public char[] Read_5()
        {
            return ReadConformantArray();
        }
        public byte[] Read_6()
        {
            return ReadConformantArray();
        }
        public byte[] Read_7()
        {
            return ReadConformantArray();
        }
        public string[] Read_8()
        {
            return ReadConformantStringArray(new System.Func(this.ReadConformantVaryingString));
        }
        public string[] Read_9()
        {
            return ReadConformantStringArray(new System.Func(this.ReadConformantVaryingString));
        }
        public char[] Read_10()
        {
            return ReadConformantArray();
        }
        public byte[] Read_11()
        {
            return ReadConformantArray();
        }
    }
    #endregion
    #region Complex Types
    public struct Struct_1 : NtApiDotNet.Ndr.Marshal.INdrStructure
    {
        void NtApiDotNet.Ndr.Marshal.INdrStructure.Marshal(NtApiDotNet.Ndr.Marshal.NdrMarshalBuffer m)
        {
            Marshal(((_Marshal_Helper)(m)));
        }
        private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteEmbeddedPointer(Member8, new System.Action(m.Write_5), Member0);
        }
        void NtApiDotNet.Ndr.Marshal.INdrStructure.Unmarshal(NtApiDotNet.Ndr.Marshal.NdrUnmarshalBuffer u)
        {
            Unmarshal(((_Unmarshal_Helper)(u)));
        }
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadInt32();
            Member8 = u.ReadEmbeddedPointer(new System.Func(u.Read_5), true);
        }
        int NtApiDotNet.Ndr.Marshal.INdrStructure.GetAlignment()
        {
            return 4;
        }
        public int Member0;
        public NtApiDotNet.Ndr.Marshal.NdrEmbeddedPointer Member8;
        public static Struct_1 CreateDefault()
        {
            return new Struct_1();
        }
        public Struct_1(int Member0, char[] Member8)
        {
            this.Member0 = Member0;
            this.Member8 = Member8;
        }
    }
    public struct Struct_2 : NtApiDotNet.Ndr.Marshal.INdrStructure
    {
        void NtApiDotNet.Ndr.Marshal.INdrStructure.Marshal(NtApiDotNet.Ndr.Marshal.NdrMarshalBuffer m)
        {
            Marshal(((_Marshal_Helper)(m)));
        }
        private void Marshal(_Marshal_Helper m)
        {
            m.WriteInt32(Member0);
            m.WriteInt32(Member4);
            m.WriteInt32(Member8);
            m.WriteInt32(MemberC);
            m.WriteInt32(Member10);
            m.WriteInt32(Member14);
            m.WriteInt32(Member18);
        }
        void NtApiDotNet.Ndr.Marshal.INdrStructure.Unmarshal(NtApiDotNet.Ndr.Marshal.NdrUnmarshalBuffer u)
        {
            Unmarshal(((_Unmarshal_Helper)(u)));
        }
        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();
        }
        int NtApiDotNet.Ndr.Marshal.INdrStructure.GetAlignment()
        {
            return 4;
        }
        public int Member0;
        public int Member4;
        public int Member8;
        public int MemberC;
        public int Member10;
        public int Member14;
        public int Member18;
        public static Struct_2 CreateDefault()
        {
            return new Struct_2();
        }
        public Struct_2(int Member0, int Member4, int Member8, int MemberC, int Member10, int Member14, int Member18)
        {
            this.Member0 = Member0;
            this.Member4 = Member4;
            this.Member8 = Member8;
            this.MemberC = MemberC;
            this.Member10 = Member10;
            this.Member14 = Member14;
            this.Member18 = Member18;
        }
    }
    public struct Struct_3 : NtApiDotNet.Ndr.Marshal.INdrStructure
    {
        void NtApiDotNet.Ndr.Marshal.INdrStructure.Marshal(NtApiDotNet.Ndr.Marshal.NdrMarshalBuffer m)
        {
            Marshal(((_Marshal_Helper)(m)));
        }
        private void Marshal(_Marshal_Helper m)
        {
            m.WriteUInt3264(Member0);
            m.WriteInt32(Member8);
            m.WriteInt32(MemberC);
            m.WriteInt32(Member10);
            m.WriteEmbeddedPointer(Member18, new System.Action(m.Write_6), Member10);
            m.WriteEmbeddedPointer(Member20, new System.Action(m.WriteInt32));
            m.WriteEmbeddedPointer(Member28, new System.Action(m.WriteInt32));
            m.WriteEmbeddedPointer(Member30, new System.Action(m.WriteInt32));
            m.WriteInt32(Member38);
        }
        void NtApiDotNet.Ndr.Marshal.INdrStructure.Unmarshal(NtApiDotNet.Ndr.Marshal.NdrUnmarshalBuffer u)
        {
            Unmarshal(((_Unmarshal_Helper)(u)));
        }
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadUInt3264();
            Member8 = u.ReadInt32();
            MemberC = u.ReadInt32();
            Member10 = u.ReadInt32();
            Member18 = u.ReadEmbeddedPointer(new System.Func(u.Read_6), false);
            Member20 = u.ReadEmbeddedPointer(new System.Func(u.ReadInt32), false);
            Member28 = u.ReadEmbeddedPointer(new System.Func(u.ReadInt32), false);
            Member30 = u.ReadEmbeddedPointer(new System.Func(u.ReadInt32), false);
            Member38 = u.ReadInt32();
        }
        int NtApiDotNet.Ndr.Marshal.INdrStructure.GetAlignment()
        {
            return 4;
        }
        public NtApiDotNet.Ndr.Marshal.NdrUInt3264 Member0;
        public int Member8;
        public int MemberC;
        public int Member10;
        public NtApiDotNet.Ndr.Marshal.NdrEmbeddedPointer Member18;
        public NtApiDotNet.Ndr.Marshal.NdrEmbeddedPointer Member20;
        public NtApiDotNet.Ndr.Marshal.NdrEmbeddedPointer Member28;
        public NtApiDotNet.Ndr.Marshal.NdrEmbeddedPointer Member30;
        public int Member38;
        public static Struct_3 CreateDefault()
        {
            return new Struct_3();
        }
        public Struct_3(NtApiDotNet.Ndr.Marshal.NdrUInt3264 Member0, int Member8, int MemberC, int Member10, byte[] Member18, System.Nullable Member20, System.Nullable Member28, System.Nullable Member30, int Member38)
        {
            this.Member0 = Member0;
            this.Member8 = Member8;
            this.MemberC = MemberC;
            this.Member10 = Member10;
            this.Member18 = Member18;
            this.Member20 = Member20;
            this.Member28 = Member28;
            this.Member30 = Member30;
            this.Member38 = Member38;
        }
    }
    public struct Struct_4 : NtApiDotNet.Ndr.Marshal.INdrStructure
    {
        void NtApiDotNet.Ndr.Marshal.INdrStructure.Marshal(NtApiDotNet.Ndr.Marshal.NdrMarshalBuffer m)
        {
            Marshal(((_Marshal_Helper)(m)));
        }
        private void Marshal(_Marshal_Helper m)
        {
            m.WriteUInt3264(Member0);
            m.WriteInt32(Member8);
            m.WriteInt32(MemberC);
            m.WriteEmbeddedPointer(Member10, new System.Action(m.Write_7), MemberC);
            m.WriteEmbeddedPointer(Member18, new System.Action(m.WriteInt32));
            m.WriteEmbeddedPointer(Member20, new System.Action(m.WriteInt32));
            m.WriteInt32(Member28);
        }
        void NtApiDotNet.Ndr.Marshal.INdrStructure.Unmarshal(NtApiDotNet.Ndr.Marshal.NdrUnmarshalBuffer u)
        {
            Unmarshal(((_Unmarshal_Helper)(u)));
        }
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadUInt3264();
            Member8 = u.ReadInt32();
            MemberC = u.ReadInt32();
            Member10 = u.ReadEmbeddedPointer(new System.Func(u.Read_7), false);
            Member18 = u.ReadEmbeddedPointer(new System.Func(u.ReadInt32), false);
            Member20 = u.ReadEmbeddedPointer(new System.Func(u.ReadInt32), false);
            Member28 = u.ReadInt32();
        }
        int NtApiDotNet.Ndr.Marshal.INdrStructure.GetAlignment()
        {
            return 4;
        }
        public NtApiDotNet.Ndr.Marshal.NdrUInt3264 Member0;
        public int Member8;
        public int MemberC;
        public NtApiDotNet.Ndr.Marshal.NdrEmbeddedPointer Member10;
        public NtApiDotNet.Ndr.Marshal.NdrEmbeddedPointer Member18;
        public NtApiDotNet.Ndr.Marshal.NdrEmbeddedPointer Member20;
        public int Member28;
        public static Struct_4 CreateDefault()
        {
            return new Struct_4();
        }
        public Struct_4(NtApiDotNet.Ndr.Marshal.NdrUInt3264 Member0, int Member8, int MemberC, byte[] Member10, System.Nullable Member18, System.Nullable Member20, int Member28)
        {
            this.Member0 = Member0;
            this.Member8 = Member8;
            this.MemberC = MemberC;
            this.Member10 = Member10;
            this.Member18 = Member18;
            this.Member20 = Member20;
            this.Member28 = Member28;
        }
    }
    public struct Struct_5 : NtApiDotNet.Ndr.Marshal.INdrStructure
    {
        void NtApiDotNet.Ndr.Marshal.INdrStructure.Marshal(NtApiDotNet.Ndr.Marshal.NdrMarshalBuffer m)
        {
            Marshal(((_Marshal_Helper)(m)));
        }
        private void Marshal(_Marshal_Helper m)
        {
            m.WriteGuid(Member0);
            m.WriteGuid(Member10);
        }
        void NtApiDotNet.Ndr.Marshal.INdrStructure.Unmarshal(NtApiDotNet.Ndr.Marshal.NdrUnmarshalBuffer u)
        {
            Unmarshal(((_Unmarshal_Helper)(u)));
        }
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Member0 = u.ReadGuid();
            Member10 = u.ReadGuid();
        }
        int NtApiDotNet.Ndr.Marshal.INdrStructure.GetAlignment()
        {
            return 4;
        }
        public System.Guid Member0;
        public System.Guid Member10;
        public static Struct_5 CreateDefault()
        {
            return new Struct_5();
        }
        public Struct_5(System.Guid Member0, System.Guid Member10)
        {
            this.Member0 = Member0;
            this.Member10 = Member10;
        }
    }
    #endregion
    #region Client Implementation
    public sealed clast Client : NtApiDotNet.Win32.Rpc.RpcClientBase
    {
        public Client() : 
                base("461e6f82-89d8-4b7b-95ca-2e5c965953fc", 1, 0)
        {
        }
        private _Unmarshal_Helper SendReceive(int p, _Marshal_Helper m)
        {
            return new _Unmarshal_Helper(SendReceive(p, m.DataRepresentation, m.ToArray(), m.Handles));
        }
        public void s_vservices_server_GetVeProcessRuntimeSettings(int p0, System.Guid p1, System.Guid p2, out int p3, out long p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            _Unmarshal_Helper u = SendReceive(0, m);
            p3 = u.ReadInt32();
            p4 = u.ReadInt64();
        }
        public void s_vservices_server_OpenSCManager(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, int p4, out long p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(1, m);
            p5 = u.ReadInt64();
        }
        public void s_vservices_server_OpenService(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, Struct_1 p4, int p5, ref NtApiDotNet.Ndr.Marshal.NdrUInt3264 p6, out long p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.Write_0(p4);
            m.WriteInt32(p5);
            m.WriteUInt3264(p6);
            _Unmarshal_Helper u = SendReceive(2, m);
            p6 = u.ReadUInt3264();
            p7 = u.ReadInt64();
        }
        public void s_vservices_server_StartService(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, int p4, string[] p5, out long p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action(m.Write_8), p4);
            _Unmarshal_Helper u = SendReceive(3, m);
            p6 = u.ReadInt64();
        }
        public void s_vservices_server_StartServiceControlDispatcher(int p0, System.Guid p1, System.Guid p2, int p3, string[] p4, out long p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action(m.Write_9), p3);
            _Unmarshal_Helper u = SendReceive(4, m);
            p5 = u.ReadInt64();
        }
        public void s_vservices_server_SetServiceStatus(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, Struct_2 p4, out long p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.Write_1(p4);
            _Unmarshal_Helper u = SendReceive(5, m);
            p5 = u.ReadInt64();
        }
        public void s_vservices_server_ControlService(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, int p4, out Struct_2 p5, out long p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.WriteInt32(p4);
            _Unmarshal_Helper u = SendReceive(6, m);
            p5 = u.Read_1();
            p6 = u.ReadInt64();
        }
        public void s_vservices_server_QueryServiceStatusEx(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, out Struct_2 p4, out int p5, out int p6, out long p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            _Unmarshal_Helper u = SendReceive(7, m);
            p4 = u.Read_1();
            p5 = u.ReadInt32();
            p6 = u.ReadInt32();
            p7 = u.ReadInt64();
        }
        public void s_vservices_server_EnumServicesStatusW(int p0, System.Guid p1, System.Guid p2, ref Struct_3 p3, out long p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.Write_2(p3);
            _Unmarshal_Helper u = SendReceive(8, m);
            p3 = u.Read_2();
            p4 = u.ReadInt64();
        }
        public void s_vservices_server_EnumServicesStatusA(int p0, System.Guid p1, System.Guid p2, ref Struct_3 p3, out long p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.Write_2(p3);
            _Unmarshal_Helper u = SendReceive(9, m);
            p3 = u.Read_2();
            p4 = u.ReadInt64();
        }
        public void s_vservices_server_EnumServicesStatusExW(int p0, System.Guid p1, System.Guid p2, ref Struct_3 p3, out long p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.Write_2(p3);
            _Unmarshal_Helper u = SendReceive(10, m);
            p3 = u.Read_2();
            p4 = u.ReadInt64();
        }
        public void s_vservices_server_EnumServicesStatusExA(int p0, System.Guid p1, System.Guid p2, ref Struct_3 p3, out long p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.Write_2(p3);
            _Unmarshal_Helper u = SendReceive(11, m);
            p3 = u.Read_2();
            p4 = u.ReadInt64();
        }
        public void s_vservices_server_EnumDependentServicesW(int p0, System.Guid p1, System.Guid p2, ref Struct_4 p3, out long p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.Write_3(p3);
            _Unmarshal_Helper u = SendReceive(12, m);
            p3 = u.Read_3();
            p4 = u.ReadInt64();
        }
        public void s_vservices_server_EnumDependentServicesA(int p0, System.Guid p1, System.Guid p2, ref Struct_4 p3, out long p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.Write_3(p3);
            _Unmarshal_Helper u = SendReceive(13, m);
            p3 = u.Read_3();
            p4 = u.ReadInt64();
        }
        public void s_vservices_server_CloseServiceHandle(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, out long p4)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            _Unmarshal_Helper u = SendReceive(14, m);
            p4 = u.ReadInt64();
        }
        public void s_vservices_server_GetServiceKeyName(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, Struct_1 p4, ref char[] p5, ref int p6, out long p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.Write_0(p4);
            m.WriteReferent(p5, new System.Action(m.Write_10), NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p6));
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(15, m);
            p5 = u.ReadReferent(new System.Func(u.Read_10), false);
            p6 = u.ReadInt32();
            p7 = u.ReadInt64();
        }
        public void s_vservices_server_GetServiceDisplayName(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, Struct_1 p4, ref char[] p5, ref int p6, out long p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.Write_0(p4);
            m.WriteReferent(p5, new System.Action(m.Write_10), NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p6));
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(16, m);
            p5 = u.ReadReferent(new System.Func(u.Read_10), false);
            p6 = u.ReadInt32();
            p7 = u.ReadInt64();
        }
        public void s_vservices_server_QueryServiceConfigW(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, ref byte[] p4, int p5, out int p6, int p7, out long p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.WriteReferent(p4, new System.Action(m.Write_11), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(17, m);
            p4 = u.ReadReferent(new System.Func(u.Read_11), false);
            p6 = u.ReadInt32();
            p8 = u.ReadInt64();
        }
        public void s_vservices_server_QueryServiceConfigA(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, ref byte[] p4, int p5, out int p6, int p7, out long p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.WriteReferent(p4, new System.Action(m.Write_11), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(18, m);
            p4 = u.ReadReferent(new System.Func(u.Read_11), false);
            p6 = u.ReadInt32();
            p8 = u.ReadInt64();
        }
        public void s_vservices_server_QueryServiceConfig2W(int p0, Struct_5 p1, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p2, int p3, ref byte[] p4, int p5, out int p6, int p7, out long p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_4(p1);
            m.WriteUInt3264(p2);
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action(m.Write_11), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(19, m);
            p4 = u.ReadReferent(new System.Func(u.Read_11), false);
            p6 = u.ReadInt32();
            p8 = u.ReadInt64();
        }
        public void s_vservices_server_QueryServiceConfig2A(int p0, Struct_5 p1, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p2, int p3, ref byte[] p4, int p5, out int p6, int p7, out long p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.Write_4(p1);
            m.WriteUInt3264(p2);
            m.WriteInt32(p3);
            m.WriteReferent(p4, new System.Action(m.Write_11), p5);
            m.WriteInt32(p5);
            m.WriteInt32(p7);
            _Unmarshal_Helper u = SendReceive(20, m);
            p4 = u.ReadReferent(new System.Func(u.Read_11), false);
            p6 = u.ReadInt32();
            p8 = u.ReadInt64();
        }
        public void s_vservices_server_QueryServiceObjectSecurity(int p0, System.Guid p1, System.Guid p2, NtApiDotNet.Ndr.Marshal.NdrUInt3264 p3, int p4, ref char[] p5, ref int p6, out long p7)
        {
            _Marshal_Helper m = new _Marshal_Helper();
            m.WriteInt32(p0);
            m.WriteGuid(p1);
            m.WriteGuid(p2);
            m.WriteUInt3264(p3);
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action(m.Write_10), NtApiDotNet.Win32.Rpc.RpcUtils.DeRef(p6));
            m.WriteInt32(p6);
            _Unmarshal_Helper u = SendReceive(21, m);
            p5 = u.ReadReferent(new System.Func(u.Read_10), false);
            p6 = u.ReadInt32();
            p7 = u.ReadInt64();
        }
    }
    #endregion
}