#ifndef _NTRTL_H
#if (PHNT_VERSION >= PHNT_WINDOWS_10_RS1)
// private
/**
* The RtlGetConsoleSessionForegroundProcessId routine returns the process identifier of the foreground process in the active console session.
*
* \return LONGLONG The process identifier of the console session's foreground process.
*/
NTSYSAPI
LONGLONG
NTAPI
RtlGetConsoleSessionForegroundProcessId(
VOID
);
View code on GitHubNo description available.