Searched refs:hSessionKey (Results 1 – 3 of 3) sorted by relevance
/reactos/base/shell/explorer/ |
H A D | startup.cpp | 568 HKEY hSessionKey, hKey; in DoStartStartupItems() local 569 HRESULT hr = SHCreateSessionKey(KEY_WRITE, &hSessionKey); in DoStartStartupItems() 572 ASSERT(hSessionKey); in DoStartStartupItems() 575 LONG Error = RegCreateKeyExW(hSessionKey, L"StartupHasBeenRun", 0, NULL, in DoStartStartupItems() 577 RegCloseKey(hSessionKey); in DoStartStartupItems()
|
/reactos/modules/rosapps/applications/explorer-old/services/ |
H A D | startup.c | 436 HKEY hSessionKey, hKey; in startup() local 456 hr = SHCreateSessionKey(KEY_WRITE, &hSessionKey); in startup() 462 …Error = RegCreateKeyEx(hSessionKey, L"StartupHasBeenRun", 0, NULL, REG_OPTION_VOLATILE, KEY_WRITE,… in startup() 463 RegCloseKey(hSessionKey); in startup()
|
/reactos/modules/rostests/winetests/rsaenh/ |
H A D | rsaenh.c | 1902 HCRYPTKEY hKeyExchangeKey, hSessionKey; in test_import_private() local 1940 result = CryptImportKey(hProv, abSessionKey, dwLen, hKeyExchangeKey, 0, &hSessionKey); in test_import_private() 1946 result = CryptGetKeyParam(hSessionKey, KP_PERMISSIONS, (BYTE*)&dwVal, &dwLen, 0); in test_import_private() 1955 result = CryptDecrypt(hSessionKey, 0, TRUE, 0, abEncryptedMessage, &dwLen); in test_import_private() 1959 CryptDestroyKey(hSessionKey); in test_import_private() 1961 if (!derive_key(CALG_RC4, &hSessionKey, 56)) return; in test_import_private() 1966 CryptDestroyKey(hSessionKey); in test_import_private() 1970 result = CryptImportKey(hProv, abSessionKey, dwLen, hKeyExchangeKey, 0, &hSessionKey); in test_import_private() 1974 CryptDestroyKey(hSessionKey); in test_import_private() 3482 HCRYPTKEY hKeyExchangeKey, hSessionKey, hKey; in test_key_initialization() local [all …]
|