共用方式為


HandleError

Send Feedback

This method handles a DRM-related error if the DRM status indicates that the media item failed a DRM status check.

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 Values

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

Pocket PC: Windows Mobile Version 5.0 and later
Smartphone: Windows Mobile Version 5.0 and later
OS version: Windows CE 5.01 and later
Header: FDRMDSHW.h

See Also

IFileDrmHandler |

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.