Searched refs:hToken (Results 1 - 12 of 12) sorted by relevance

/vbox/src/VBox/HostServices/auth/winlogon/
H A Dwinlogon.cpp78 HANDLE hToken; local
87 &hToken);
91 dprintf("LogonUser success. hToken = %p\n", hToken);
95 CloseHandle (hToken);
/vbox/src/VBox/Runtime/r3/win/
H A DRTSystemShutdown-win.cpp72 HANDLE hToken = NULL; local
76 &hToken))
85 &hToken))
103 if (AdjustTokenPrivileges(hToken,
122 CloseHandle(hToken);
H A Dprocess-win.cpp606 * @param hToken The token (=user) to log off.
608 static void rtProcWinUserLogoff(HANDLE hToken) argument
610 CloseHandle(hToken);
699 * @param hToken Token of the user to use.
703 static int rtProcWinCreateEnvFromToken(HANDLE hToken, RTENV hEnv, PRTUTF16 *ppwszBlock) argument
705 Assert(hToken);
721 if (pfnCreateEnvironmentBlock(&pvEnvBlockProfile, hToken, FALSE /* Don't inherit from parent. */))
761 HANDLE hToken; local
762 int rc = rtProcWinUserLogon(pwszUser, pwszPassword, pwszDomain, &hToken);
765 rc = rtProcWinCreateEnvFromToken(hToken, hEn
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dntsec.c73 HANDLE hToken = NULL; /* initialized to an arbitrary value to local
86 rv = OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &hToken);
103 rv = GetTokenInformation(hToken, TokenOwner, infoBuffer,
112 rv = GetTokenInformation(hToken, TokenPrimaryGroup, infoBuffer,
122 rv = CloseHandle(hToken);
/vbox/src/VBox/Additions/WINNT/VBoxGINA/
H A DVBoxGINA.cpp643 HANDLE hToken; local
646 &dwOpts, &hToken, &wlxNotifyInfo, &pvProfile);
/vbox/src/VBox/Main/src-helper-apps/
H A DVBoxExtPackHelperApp.cpp1669 HANDLE hToken; local
1670 if (!OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &hToken))
1688 if ( !GetTokenInformation(hToken, TokenGroups, NULL, 0, &cb)
1692 if (GetTokenInformation(hToken, TokenGroups, pTokenGroups, cb, &cb))
1726 if ( !GetTokenInformation(hToken, MY_TokenIntegrityLevel, NULL, 0, &cb)
1730 if (GetTokenInformation(hToken, MY_TokenIntegrityLevel, pSidAndAttr, cb, &cb))
1750 CloseHandle(hToken);
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServiceVMInfo-win.cpp238 HANDLE hToken; local
239 if (OpenProcessToken(h, TOKEN_QUERY, &hToken))
271 if (!GetTokenInformation(hToken, tkClass, pvTokenInfo, dwTokenInfoSize, &dwRetLength))
303 if (!GetTokenInformation(hToken, tkClass, pvTokenInfo, dwTokenInfoSize, &dwRetLength))
409 CloseHandle(hToken);
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/ddk/
H A Dwinsplp.h374 BOOL WINAPI ImpersonatePrinterClient(HANDLE hToken);
376 BOOL WINAPI SetPrinterToken(HANDLE hToken);
377 BOOL WINAPI ClosePrinterToken(HANDLE hToken);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/ddk/
H A Dwinsplp.h374 BOOL WINAPI ImpersonatePrinterClient(HANDLE hToken);
376 BOOL WINAPI SetPrinterToken(HANDLE hToken);
377 BOOL WINAPI ClosePrinterToken(HANDLE hToken);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dshlobj.h1410 HRESULT WINAPI SHGetFolderLocation(HWND hwndOwner, int nFolder, HANDLE hToken, DWORD dwReserved, LPITEMIDLIST *ppidl);
1420 HRESULT WINAPI SHGetFolderPathA(HWND hwnd, int nFolder, HANDLE hToken, DWORD dwFlags, LPSTR pszPath);
1421 HRESULT WINAPI SHGetFolderPathW(HWND hwnd, int nFolder, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath);
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPR3HardenedMain-win.cpp2758 HANDLE hToken; local
2759 SUPR3HARDENED_ASSERT_NT_SUCCESS(NtOpenProcessToken(NtCurrentProcess(), TOKEN_QUERY, &hToken));
2767 SUPR3HARDENED_ASSERT_NT_SUCCESS(NtQueryInformationToken(hToken, TokenUser, &uBuf, sizeof(uBuf), &cbRet));
2771 NTSTATUS rcNt = NtQueryInformationToken(hToken, TokenLogonSid, &uBuf, sizeof(uBuf), &cbRet);
2783 SUPR3HARDENED_ASSERT_NT_SUCCESS(NtClose(hToken));
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dshlobj.h1468 HRESULT WINAPI SHGetFolderLocation(HWND hwndOwner, int nFolder, HANDLE hToken, DWORD dwReserved, LPITEMIDLIST *ppidl);
1478 HRESULT WINAPI SHGetFolderPathA(HWND hwnd, int nFolder, HANDLE hToken, DWORD dwFlags, LPSTR pszPath);
1479 HRESULT WINAPI SHGetFolderPathW(HWND hwnd, int nFolder, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath);

Completed in 627 milliseconds