Searched refs:hThreadToken (Results 1 – 1 of 1) sorted by relevance
79 HANDLE hThreadToken = INVALID_HANDLE_VALUE; in Execute() local121 ASSERT(hThreadToken == INVALID_HANDLE_VALUE); in Execute()124 if (!OpenThreadToken(GetCurrentThread(),TOKEN_ADJUST_PRIVILEGES|TOKEN_QUERY,FALSE,&hThreadToken)) in Execute()135 if (!OpenProcessToken(GetCurrentProcess(),TOKEN_ADJUST_PRIVILEGES|TOKEN_QUERY,&hThreadToken)) in Execute()142 ASSERT(hThreadToken != INVALID_HANDLE_VALUE); in Execute()159 hThreadToken, in Execute()432 VERIFY(CloseHandle(hThreadToken)); in Execute()439 if (hThreadToken != INVALID_HANDLE_VALUE) in Execute()440 VERIFY(CloseHandle(hThreadToken)); in Execute()