Searched refs:hToken (Results 1 – 3 of 3) sorted by relevance
/aoo41x/main/sfx2/source/doc/ |
H A D | sfxacldetect.cxx | 50 HANDLE hToken = NULL; in IsReadonlyAccordingACL() local 51 if ( OpenThreadToken( GetCurrentThread(), TOKEN_DUPLICATE|TOKEN_QUERY, TRUE, &hToken ) in IsReadonlyAccordingACL() 52 || OpenProcessToken( GetCurrentProcess(), TOKEN_DUPLICATE|TOKEN_QUERY, &hToken) ) in IsReadonlyAccordingACL() 55 if ( DuplicateToken( hToken, SecurityImpersonation, &hImpersonationToken) ) in IsReadonlyAccordingACL() 81 CloseHandle( hToken ); in IsReadonlyAccordingACL()
|
/aoo41x/main/sal/osl/w32/ |
H A D | security.c | 57 HANDLE hToken, 62 HANDLE hToken, 67 HANDLE hToken, 856 HANDLE hToken; in Privilege() local 862 if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_DUP_QUERY, &hToken)) in Privilege() 881 if (!AdjustTokenPrivileges(hToken, FALSE, &tp, 0, (PTOKEN_PRIVILEGES)NULL, 0)) in Privilege() 884 if (!CloseHandle(hToken)) in Privilege()
|
/aoo41x/main/sal/inc/systools/win32/ |
H A D | kernel9x.h | 279 HANDLE hToken, // handle to user token
|
Completed in 48 milliseconds