public uint PrivReportUnhealthyProcess(NtApiDotNet.NtProcess p0, NtApiDotNet.NtThread p1, int p2)
 {
     _Marshal_Helper m = new _Marshal_Helper();
     m.Write_14(p0);
     m.Write_15(p1);
     m.WriteInt32(p2);
     _Unmarshal_Helper u = SendReceive(27, m);
     return u.ReadUInt32();
 }
        // async
        public int RAiFinishPackageActivation(NtApiDotNet.NtProcess p0, NtApiDotNet.NtThread p1, int p2, string p3, string p4, NtApiDotNet.NtToken p5, out int p6)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.Write_5(p0);
            m.Write_6(p1);
            m.WriteInt32(p2);
            m.WriteReferent(p3, new System.Action <string>(m.WriteTerminatedString));
            m.WriteReferent(p4, new System.Action <string>(m.WriteTerminatedString));
            m.Write_4(p5);
            _Unmarshal_Helper u = SendReceive(2, m);

            p6 = u.ReadInt32();
            return(u.ReadInt32());
        }
 public void Write_6(NtApiDotNet.NtThread p0)
 {
     WriteSystemHandle <NtApiDotNet.NtThread>(p0);
 }