Partager via


FDRM Functions

4/8/2010

The following table shows the file-based Digital Rights Management (FDRM) functions with a description of the purpose of each.

Programming element Description

FileDrmCommitRights

This function enables an application to commit the rights used.

FileDrmCreateFile

This function enables a FDRM-enabled application to open FDRM-protected content. This function is used in place of the standard WIN32 CreateFile function.

FileDrmCreateForwardableContent

This function creates a file that contains FDRM-protected content so that the file can be sent to another device.

FileDrmCreateForwardableContentEx

This function is an extended version of FileDrmCreateForwardableContent, which has been created to support version 2 of File Based DRM.

This function creates a file that contains FDRM-protected content so that the file can be sent to another device.

FileDrmDeleteFile

This function deletes a FDRM object as well as the associated rights.

FileDrmGetMetric

This function retrieves metrics related to using FDRM-protected content.

FileDrmHandleError

This function displays an error dialog to the user when an error occurs while they are trying to use FDRM content.

FileDrmIsDRM

This function enables an application to determine quickly if an object is FDRM-protected.

FileDrmNotifyDisable

This function enables the FDRM provider to stop receiving notifications of changes to the rights associated with a file.

FileDrmNotifyEnable

This function registers an application with the FDRM provider for updates when updated rights are received on the device.

FileDrmRenewRights

This function renews the rights associated with FDRM-protected content.

FileDrmShowLicenseInfo

This function shows the rights associated with FDRM-protected content.

FileDrmStoreContent

This function reads a file that contains MIME-encoded content to be FDRM-protected and creates the device-locked version of that content as well as any associated rights or pending rights.

FileDrmVerifyRights

This function enables an application to verify that an object has the required rights before it uses FDRM-protected content.

FileDrmVerifyRightsEx

This function enables an application to verify that an object has the required rights before it uses FDRM-protected content and enables the user to filter content by its intended use.

See Also

Reference

FDRM API Reference