GetCurrentProcessToken function advapi32

int GetCurrentProcessToken()

Retrieves a pseudo-handle that you can use as a shorthand way to refer to the access token associated with a process.

Implementation

int GetCurrentProcessToken() => -4.toUnsigned(32);