RtlGetConsoleSessionForegroundProcessId - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#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
    );

#endif
#endif

View code on GitHub

NtDoc

No description available.