Home
last modified time | relevance | path

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

/PHP-7.0/TSRM/
H A Dtsrm_win32.c150 PTOKEN_USER pTokenUser = NULL; in tsrm_win32_get_token_sid() local
156 hToken, TokenUser, (LPVOID) pTokenUser, 0, &dwLength)) { in tsrm_win32_get_token_sid()
161 pTokenUser = (PTOKEN_USER)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, dwLength); in tsrm_win32_get_token_sid()
162 if (pTokenUser == NULL) { in tsrm_win32_get_token_sid()
169 hToken, TokenUser, (LPVOID) pTokenUser, dwLength, &dwLength)) { in tsrm_win32_get_token_sid()
173 sid_len = GetLengthSid(pTokenUser->User.Sid); in tsrm_win32_get_token_sid()
180 if (!CopySid(sid_len, pResultSid, pTokenUser->User.Sid)) { in tsrm_win32_get_token_sid()
183 HeapFree(GetProcessHeap(), 0, (LPVOID)pTokenUser); in tsrm_win32_get_token_sid()
191 if (pTokenUser != NULL) { in tsrm_win32_get_token_sid()
192 HeapFree(GetProcessHeap(), 0, (LPVOID)pTokenUser); in tsrm_win32_get_token_sid()

Completed in 5 milliseconds