IWMDMLogger::Enable method (wmdmlog.h)
The Enable method enables or disables logging. Logging is enabled by default.
Syntax
HRESULT Enable(
[in] BOOL fEnable
);
Parameters
[in] fEnable
Flag that enables logging if it is true and disables logging if it is false.
Return value
The method returns an HRESULT. All the interface methods in Windows Media Device Manager can return any of the following classes of error codes:
- Standard COM error codes
- Windows error codes converted to HRESULT values
- Windows Media Device Manager error codes
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | wmdmlog.h |
Library | Mssachlp.lib |