fRegistryKeyExists

The fRegistryKeyExists function is used to determine if a registry key already exists in the registry.This utility function is used to construct an integrated link service configuration DLL.

BOOL fRegistryKeyExists (
  HKEY *  hGlobalKey,
  LPSTR szRegistryKey
);

Parameters

hGlobalKey
This supplied parameter specifies the handle of the registry.
szRegistryKey
This supplied parameter specifies the registry key.

Return Values

true
The registry key exists.
false
The function failed or the registry key doen't exist.