Searched defs:hKey (Results 1 - 14 of 14) sorted by relevance

/vbox/src/VBox/HostDrivers/VBoxUSB/win/cmn/
H A DVBoxDrvTool.h72 VBOXDRVTOOL_DECL(NTSTATUS) VBoxDrvToolRegCloseKey(IN HANDLE hKey); variable
73 VBOXDRVTOOL_DECL(NTSTATUS) VBoxDrvToolRegQueryValueDword(IN HANDLE hKey, IN PWCHAR pName, OUT PULONG pDword);
74 VBOXDRVTOOL_DECL(NTSTATUS) VBoxDrvToolRegSetValueDword(IN HANDLE hKey, IN PWCHAR pName, OUT ULONG val);
H A DVBoxDrvTool.cpp66 VBOXDRVTOOL_DECL(NTSTATUS) VBoxDrvToolRegCloseKey(IN HANDLE hKey) argument
68 return ZwClose(hKey);
71 VBOXDRVTOOL_DECL(NTSTATUS) VBoxDrvToolRegQueryValueDword(IN HANDLE hKey, IN PWCHAR pName, OUT PULONG pDword) argument
81 NTSTATUS Status = ZwQueryValueKey(hKey,
100 VBOXDRVTOOL_DECL(NTSTATUS) VBoxDrvToolRegSetValueDword(IN HANDLE hKey, IN PWCHAR pName, OUT ULONG val) argument
104 return ZwSetValueKey(hKey, &RtlStr,
/vbox/src/VBox/Additions/WINNT/VBoxGINA/
H A DHelper.cpp68 HKEY hKey; local
71 0L, KEY_QUERY_VALUE, &hKey);
78 dwRet = RegQueryValueEx(hKey, L"HandleRemoteSessions", NULL, &dwType, (LPBYTE)&dwValue, &dwSize);
86 dwRet = RegQueryValueEx(hKey, L"LoggingEnabled", NULL, &dwType, (LPBYTE)&dwValue, &dwSize);
96 dwRet = RegQueryValueEx(hKey, L"LoggingLevel", NULL, &dwType, (LPBYTE)&dwValue, &dwSize);
105 RegCloseKey(hKey);
/vbox/src/VBox/Additions/common/VBoxGuestLib/
H A DVBoxGuestR3LibAdditions.cpp87 * @param hKey Receives storage path handle on success.
143 * @param hKey Handle to close, retrieved by
146 static int vbglR3CloseAdditionsWinStoragePath(HKEY hKey) argument
148 return RTErrConvertFromWin32(RegCloseKey(hKey));
185 * @param hKey Handle of registry key to use.
190 static int vbglR3QueryRegistryString(HKEY hKey, const char *pszValName, char *pszBuffer, size_t cchBuffer) argument
199 LONG lRet = RegQueryValueEx(hKey, pszValName, NULL, &dwType, (BYTE *)pszBuffer, &dwSize);
237 HKEY hKey; local
238 int rc = vbglR3QueryAdditionsWinStoragePath(&hKey);
247 rc = vbglR3QueryRegistryString(hKey, "Versio
317 HKEY hKey; local
[all...]
/vbox/src/VBox/Main/src-server/win/
H A DHostDnsServiceWin.cpp133 static inline int registerNotification(const HKEY& hKey, HANDLE& hEvent) argument
135 LONG lrc = RegNotifyChangeKeyValue(hKey,
H A DNetIf-win.cpp913 HKEY hKey; local
916 0, KEY_QUERY_VALUE, &hKey);
923 rc = RegQueryValueExA(hKey, "EnableLUA", NULL, NULL,
926 RegCloseKey(hKey);
/vbox/src/VBox/Additions/WINNT/VBoxCredProv/
H A DVBoxCredProvProvider.cpp129 HKEY hKey; local
132 0L, KEY_QUERY_VALUE, &hKey);
139 dwRet = RegQueryValueEx(hKey, L"HandleRemoteSessions", NULL, &dwType, (LPBYTE)&dwValue, &dwSize);
147 dwRet = RegQueryValueEx(hKey, L"LoggingEnabled", NULL, &dwType, (LPBYTE)&dwValue, &dwSize);
157 dwRet = RegQueryValueEx(hKey, L"LoggingLevel", NULL, &dwType, (LPBYTE)&dwValue, &dwSize);
166 RegCloseKey(hKey);
H A DVBoxCredentialProvider.cpp502 HKEY hKey; local
505 0L, KEY_QUERY_VALUE, &hKey);
512 dwRet = RegQueryValueEx(hKey, L"HandleSENS", NULL, &dwType, (LPBYTE)&dwValue, &dwSize);
520 RegCloseKey(hKey);
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxService-win.cpp296 HKEY hKey = NULL; local
301 &hKey)
304 RegDeleteKey(hKey, VBOXSERVICE_NAME);
305 RegCloseKey(hKey);
/vbox/src/VBox/HostServices/SharedOpenGL/render/
H A Drenderspu_wgl.c159 HKEY hKey, hSubkey; local
173 &hKey);
182 lRc = RegEnumKeyA(hKey, dwIndex, NameBuf, CRREG_MAXKEYNAME);
193 lRc = RegOpenKeyEx(hKey,
201 RegCloseKey(hKey);
252 RegCloseKey(hKey);
/vbox/src/VBox/Additions/WINNT/Installer/
H A DVBoxDrvInst.cpp515 HKEY hKey = NULL; local
517 LONG lRet = RegCreateKeyEx(HKEY_LOCAL_MACHINE, pszSubKey, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_READ | KEY_WRITE, NULL, &hKey, &disp);
527 lRet = RegQueryValueEx(hKey, pszKeyValue, NULL, &dwType, (LPBYTE)szKeyValue, &cbKeyValue);
579 lRet = RegSetValueExW(hKey, pszKeyValue, 0, REG_MULTI_SZ, (LPBYTE)szNewKeyValue, (DWORD)cb);
584 RegCloseKey(hKey);
698 HKEY hKey = NULL; local
700 LONG lRet = RegCreateKeyEx(HKEY_LOCAL_MACHINE, pszSubKey, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_READ | KEY_WRITE, NULL, &hKey, &disp);
708 lRet = RegQueryValueEx(hKey, pszKeyValue, NULL, &dwType, (LPBYTE)szKeyValue, &cbKeyValue);
771 lRet = RegSetValueExW(hKey, pszKeyValue, 0, REG_SZ, (LPBYTE)szNewKeyValue, (DWORD)iNewLen);
776 RegCloseKey(hKey);
793 HKEY hKey = NULL; local
1097 HKEY hKey; local
[all...]
/vbox/src/VBox/Additions/WINNT/VBoxTray/
H A DVBoxLA.cpp142 HKEY hKey; local
147 &hKey);
158 lErr = RegQueryValueExW(hKey,
169 RegCloseKey(hKey);
177 RegCloseKey(hKey);
185 RegCloseKey(hKey);
189 RegCloseKey(hKey);
214 HKEY hKey; local
221 &hKey);
242 dwRet = RegEnumValueW(hKey,
415 HKEY hKey; local
497 HKEY hKey; local
573 HKEY hKey; local
652 HKEY hKey; local
[all...]
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPHardenedVerifyImage-win.cpp1491 HANDLE hKey; local
1492 NTSTATUS rcNt = NtOpenKey(&hKey, KEY_QUERY_VALUE, &ObjAttr);
1516 rcNt = NtQueryValueKey(hKey, &ValueName, KeyValuePartialInformation, &uBuf, sizeof(uBuf) - sizeof(WCHAR), &cbActual);
1635 NtClose(hKey);
/vbox/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/
H A DVBoxNetCfg.cpp436 HKEY hKey = SetupDiOpenDevRegKey(hDevInfo, local
442 if (hKey == INVALID_HANDLE_VALUE)
452 DWORD ret = RegQueryValueExW(hKey, L"NetCfgInstanceId", NULL,
493 RegCloseKey(hKey);

Completed in 182 milliseconds