Source position: jwanative.pas line 4908
function NtOpenThreadToken(
ThreadHandle: HANDLE;
DesiredAccess: ACCESS_MASK;
OpenAsSelf: Boolean;
TokenHandle: PHANDLE
):NTSTATUS;