CheckProcessSession - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTUSER_H

// rev
/**
 * The CheckProcessSession routine validates the session that a process belongs to.
 *
 * \param ProcessId Client process identifier.
 * \returns ULONG_PTR Status code or session validation result.
 * \remarks Forwards to the NtUserCheckProcessSession system call.
 */
NTSYSAPI
ULONG_PTR
NTAPI
CheckProcessSession(
    _In_ LONG_PTR ProcessId
    );

#endif

View code on GitHub

NtDoc

No description available.