Searched refs:restricted_token_handle (Results 1 – 2 of 2) sorted by relevance
159 HANDLE restricted_token_handle; in GetRestrictedTokenHandleForImpersonation() local160 unsigned err_code = GetRestrictedTokenHandle(&restricted_token_handle); in GetRestrictedTokenHandleForImpersonation()165 if (!::DuplicateToken(restricted_token_handle, in GetRestrictedTokenHandleForImpersonation()168 ::CloseHandle(restricted_token_handle); in GetRestrictedTokenHandleForImpersonation()172 ::CloseHandle(restricted_token_handle); in GetRestrictedTokenHandleForImpersonation()
41 HANDLE restricted_token_handle = NULL; in TEST() local43 token_default.GetRestrictedTokenHandle(&restricted_token_handle)); in TEST()46 restricted_token.Attach(restricted_token_handle); in TEST()83 HANDLE restricted_token_handle = NULL; in TEST() local85 token.GetRestrictedTokenHandle(&restricted_token_handle)); in TEST()88 restricted_token.Attach(restricted_token_handle); in TEST()