QueryRegistryValue (SETUPAPI.@)
LONG QueryRegistryValue ( HKEY hKey, LPCWSTR lpValueName, LPBYTE* lpData, LPDWORD lpType, LPDWORD lpcbData )
Retrieves value data from the registry and allocates memory for the value data.
hKey | [In] | Handle of the key to query. |
lpValueName | [In] | Name of value under hkey to query. |
lpData | [Out] | Destination for the values contents,. |
lpType | [Out] | Destination for the value type. |
lpcbData | [Out] | Destination for the size of data. |
Success: ERROR_SUCCESS
Failure: Otherwise.
Use MyFree to release the lpData buffer.
Declared in "include/winternl.h". gitlab.winehq.org/wine/wine/blob/master/include/winternl.h
Implemented in "dlls/setupapi/misc.c". gitlab.winehq.org/wine/wine/blob/master/dlls/setupapi/misc.c
Debug channel "setupapi".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.