fConnectRegistry

The fConnectRegistry function is used to connect to a remote computer's registry and return a handle to the remote registry. This utility function is used to construct an integrated link service configuration DLL.

BOOL fConnectRegistry(
  HKEY *hGlobalKey,
  LPSTR *szComputerName
);

Parameters

hGlobalKey
This supplied parameter specifies the handle of the registry to connect to.
szComputername
This supplied parameter specifies the computer name to connect to.

Return Values

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