Lines Matching refs:hToken
606 * @param hToken The token (=user) to log off.
608 static void rtProcWinUserLogoff(HANDLE hToken)
610 CloseHandle(hToken);
699 * @param hToken Token of the user to use.
703 static int rtProcWinCreateEnvFromToken(HANDLE hToken, RTENV hEnv, PRTUTF16 *ppwszBlock)
705 Assert(hToken);
721 if (pfnCreateEnvironmentBlock(&pvEnvBlockProfile, hToken, FALSE /* Don't inherit from parent. */))
761 HANDLE hToken;
762 int rc = rtProcWinUserLogon(pwszUser, pwszPassword, pwszDomain, &hToken);
765 rc = rtProcWinCreateEnvFromToken(hToken, hEnv, ppwszBlock);
766 rtProcWinUserLogoff(hToken);