wiauRegOpenDataA function (wiautil.h)
The wiauRegOpenData function opens the DeviceData registry key.
Syntax
HRESULT wiauRegOpenDataA(
[in] HKEY hkeyAncestor,
[in, out] HKEY *phkeyDeviceData
);
Parameters
[in] 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.
[in, out] 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
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wiautil.h (include Wiautil.h) |