fQueryRegistryValue

The fQueryRegistryValue function is used to query a value from the registry.This utility function is used to construct an integrated link service configuration DLL.

BOOL fQueryRegistryValue(
  HKEY *  hGlobalKey,
  LPSTR szRegistryKey,
  LPSTR szRegistryValue,
  LPSTR szRegistryData,
  LPDWORD dSize
);

Parameters

hGlobalKey
This supplied parameter specifies the handle of the registry.
szRegistryKey
This supplied parameter specifies the registry key.
szRegistryValue
This supplied parameter specifies the registry value name.
szRegistryData
This supplied parameter specifies the registry value data.
dSize
This supplied parameter specifies the size of the registry data.

Return Values

true
The function executed successfully and the function was able to connect to the registry.
false
The function failed.