Partager via


IFileDrmHandler

4/8/2010

This interface enables DSHOW filters to use FDRM.

When you use the FDRM APIs in a DSHOW filter, the FDRM functions FileDrmShowLicenseInfo and FileDrmRenewRights must not be called. In addition, you must specify the FDRVF_NOUI flag when you call FileDrmVerifyRights.

The following table shows the methods for IfileDrmHandler in the order the compiler calls them.

Method Description

IsPlayable

This method evaluates the DRM status of the media item and returns any errors that result in addition to a value that indicates whether the evaluation attempt was successful.

HandleError

Handles a DRM-related error if the DRM status indicates that the media item failed a DRM status check.

See Also

Reference

FDRM Interfaces

Concepts

Using FDRM APIs in DSHOW Filters