Searched refs:pTokenUser (Results 1 – 1 of 1) sorted by relevance
/PHP-8.0/TSRM/ |
H A D | tsrm_win32.c | 144 PTOKEN_USER pTokenUser = NULL; in tsrm_win32_get_token_sid() local 150 hToken, TokenUser, (LPVOID) pTokenUser, 0, &dwLength)) { in tsrm_win32_get_token_sid() 155 pTokenUser = (PTOKEN_USER)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, dwLength); in tsrm_win32_get_token_sid() 156 if (pTokenUser == NULL) { in tsrm_win32_get_token_sid() 163 hToken, TokenUser, (LPVOID) pTokenUser, dwLength, &dwLength)) { in tsrm_win32_get_token_sid() 167 sid_len = GetLengthSid(pTokenUser->User.Sid); in tsrm_win32_get_token_sid() 174 if (!CopySid(sid_len, pResultSid, pTokenUser->User.Sid)) { in tsrm_win32_get_token_sid() 177 HeapFree(GetProcessHeap(), 0, (LPVOID)pTokenUser); in tsrm_win32_get_token_sid() 185 if (pTokenUser != NULL) { in tsrm_win32_get_token_sid() 186 HeapFree(GetProcessHeap(), 0, (LPVOID)pTokenUser); in tsrm_win32_get_token_sid()
|
Completed in 5 milliseconds