wiauRegOpenDataW function (wiautil.h)
The wiauRegOpenData function opens the DeviceData registry key.
Syntax
HRESULT wiauRegOpenDataW(
[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) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for