wiauRegOpenDataA function

The wiauRegOpenData function opens the DeviceData registry key.

Syntax

HRESULT wiauRegOpenDataA(
  HKEY hkeyAncestor,
  HKEY *phkeyDeviceData
);

Parameters

hkeyAncestor

Specifies the key handle of the parent. This parameter should be set to the value used in the call to the IStiUSD::Initialize method.

phkeyDeviceData

Pointer to a memory location that receives the opened key handle.

Return value

On success, the function returns S_OK. If the function fails, it returns a standard COM error.

Remarks

Call this function only in the STI IStiUSD::Initialize method. Call RegCloseKey (described in the Microsoft Windows SDK documentation) when you are finished with the registry.

Requirements

   
Target Platform Desktop
Header wiautil.h (include Wiautil.h)

See also

IStiUSD::Initialize