// wiautil.h
HRESULT wiauRegOpenDataA(
[in] HKEY hkeyAncestor,
[in, out] HKEY *phkeyDeviceData
);
View the official Windows Driver Kit DDI reference// wiautil.h
HRESULT wiauRegOpenDataW(
[in] HKEY hkeyAncestor,
[in, out] HKEY *phkeyDeviceData
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiauRegOpenData function opens the DeviceData registry key.
hkeyAncestor [in]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 [in, out]Pointer to a memory location that receives the opened key handle.
On success, the function returns S_OK. If the function fails, it returns a standard COM error.
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.
The wiauRegOpenData function opens the DeviceData registry key.
hkeyAncestor [in]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 [in, out]Pointer to a memory location that receives the opened key handle.
On success, the function returns S_OK. If the function fails, it returns a standard COM error.
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.