Home
last modified time | relevance | path

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

/PHP-5.3/TSRM/
H A Dtsrm_win32.c144 PTOKEN_USER pTokenUser = NULL; in tsrm_win32_get_token_sid() local
152 hToken, TokenUser, (LPVOID) pTokenUser, 0, &dwLength)) { in tsrm_win32_get_token_sid()
157 pTokenUser = (PTOKEN_USER)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, dwLength); in tsrm_win32_get_token_sid()
158 if (pTokenUser == NULL) { in tsrm_win32_get_token_sid()
165 hToken, TokenUser, (LPVOID) pTokenUser, dwLength, &dwLength)) { in tsrm_win32_get_token_sid()
169 sid_len = GetLengthSid(pTokenUser->User.Sid); in tsrm_win32_get_token_sid()
176 if (!CopySid(sid_len, pResultSid, pTokenUser->User.Sid)) { in tsrm_win32_get_token_sid()
179 HeapFree(GetProcessHeap(), 0, (LPVOID)pTokenUser); in tsrm_win32_get_token_sid()
187 if (pTokenUser != NULL) { in tsrm_win32_get_token_sid()
188 HeapFree(GetProcessHeap(), 0, (LPVOID)pTokenUser); in tsrm_win32_get_token_sid()

Completed in 5 milliseconds