IWiaLog::InitializeLog method (wia_lh.h)
The IWiaLog::InitializeLog method is obsolete and is no longer supported. Use the Diagnostic Log Macros instead.
The IWiaLog::InitializeLog method initializes the lWiaLog interface.
Syntax
HRESULT InitializeLog(
[in] LONG hInstance
);
Parameters
[in] hInstance
Specifies the module handle. This parameter indicates which module is calling the method.
Return value
If the method succeeds, it returns S_OK. If the method fails, it returns a standard COM error code.
Remarks
The minidriver should call CoCreateInstance or CoCreateInstanceEx to obtain the IWiaLog interface.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Obsolete and is no longer supported. Instead, use the Diagnostic Log Macros. |
Target Platform | Desktop |
Header | wia_lh.h |