Home
last modified time | relevance | path

Searched refs:pTokenUser (Results 1 – 1 of 1) sorted by relevance

/PHP-8.1/TSRM/
H A Dtsrm_win32.c145 PTOKEN_USER pTokenUser = NULL; in tsrm_win32_get_token_sid() local
151 hToken, TokenUser, (LPVOID) pTokenUser, 0, &dwLength)) { in tsrm_win32_get_token_sid()
156 pTokenUser = (PTOKEN_USER)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, dwLength); in tsrm_win32_get_token_sid()
157 if (pTokenUser == NULL) { in tsrm_win32_get_token_sid()
164 hToken, TokenUser, (LPVOID) pTokenUser, dwLength, &dwLength)) { in tsrm_win32_get_token_sid()
168 sid_len = GetLengthSid(pTokenUser->User.Sid); in tsrm_win32_get_token_sid()
175 if (!CopySid(sid_len, pResultSid, pTokenUser->User.Sid)) { in tsrm_win32_get_token_sid()
178 HeapFree(GetProcessHeap(), 0, (LPVOID)pTokenUser); in tsrm_win32_get_token_sid()
186 if (pTokenUser != NULL) { in tsrm_win32_get_token_sid()
187 HeapFree(GetProcessHeap(), 0, (LPVOID)pTokenUser); in tsrm_win32_get_token_sid()

Completed in 6 milliseconds