HandleError
4/8/2010
This method handles a DRM-related error if the DRM status indicates that the media item failed a DRM status check.
Syntax
HRESULT HandleError(
HWND hwndParent,
HRESULT hrError
);
Parameters
- hwndParent
[in] Handle to the window specified by the WMP DSHOW module to handle errors generated by IsPlayable.
- hrError
[in] The error returned from IsPlayable.
Return Value
The function can return any HRESULT and the application should use the SUCCEEDED and FAILED macros to check the results. The following table shows some HRESULT values that might be returned.
Value | Description |
---|---|
S_OK |
Indicates all DRM issues are resolved. |
Requirements
Header | FDRMDSHW.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |