OpenProcessTokenLibrary: advapi32Min. Required OS: Windows NT 3.1 or later; Windows 95/98: not supportedGroup: PrivilegesDescription: The OpenProcessToken function opens the access token associated with a process.Example(s): ExitWindowsX - NT System ShutdownRelated function(s): AdjustTokenPrivileges