Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


Windows Mobile 6.5

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

HRESULT FileDrmRenewRights (
  HWND hwndParent,
  LPCTSTR pszFileName


[in] Handle to the window that owns any UI elements such as windows, dialog boxes, or message boxes displayed by this function.


[in] Path to the file that contains the FDRM-protected content.

This function can return any HRESULT and the application should use the SUCCEEDED and FAILED macros to check the results. The following table shows additional HRESULTS values that may be returned.

Value Description


Success, but no FDRM provider found.


Success, but the target is not a FDRM object.


Rights renewal is not allowed for this object type.

A rights renewal request is generated. This may cause a network connection to be opened.

This function allows an application to renew rights associated with FDRM-protected content. In most cases this will be handled by the FDRM provider when FileDrmHandleError is called. New or updated rights will arrive asynchronously.

When you use the FDRM APIs in a DSHOW filter, the FileDrmShowLicenseInfo function must not be called.

Windows Embedded CEWindows Embedded CE 6.0 and later
Windows MobilePocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

Community Additions

© 2015 Microsoft