public int HcsRpc_CreateSystem(string p0, string p1, NtApiDotNet.Ndr.Marshal.NdrInterfacePointer p2, NtApiDotNet.NtToken p3, int p4, byte[] p5, long p6, out NtApiDotNet.Ndr.Marshal.NdrContextHandle p7, out string p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteInterfacePointer(p2);
            m.Write_2(p3);
            m.WriteInt32(p4);
            m.Write_3(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p5, "p5"), p4);
            m.WriteInt64(p6);
            _Unmarshal_Helper u = SendReceive(1, m);

            p7 = u.ReadContextHandle();
            p8 = u.ReadReferent <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
            return(u.ReadInt32());
        }