Querying for Simple Rights Information
The Windows Media DRM Client Extended APIs enable you to quickly get simple information about whether protected content can be accessed for various actions.
The IWMDRMLicenseQuery::QueryActionAllowed method can be used to determine quickly whether an action is permitted by a license in the local license store. QueryActionAllowed has been optimized to be much faster than queries for similar information using the objects of the Windows Media Format SDK. However, this type of query aggregates the licenses in the local license store and should be used only for simple features, such as might be needed for user interface elements, for example displaying a permission indicator.