IsPlayable
4/8/2010
This method evaluates the DRM status of the media item.
Syntax
HRESULT IsPlayable(
BOOL* pfRequestUI
);
Parameters
- pfRequestUI
[out, retval] A pointer to a Boolean variable that is set to TRUE if DRM status needs to show the user interface to complete the evaluation. It is set to FALSE when the content is playable, or if an unrecoverable error has occurred.
Return Value
The function can return any HRESULT.
A success HRESULT indicates that the content is playable, and in this case pfRequestUI must be set to FALSE. A failure HRESULT indicates that the content is not playable. In the failure case, the value of pfRequestUI indicates whether or not the calling application can proceed by calling HandleError to complete DRM status evaluation.
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 |