Share via


FileDrmShowLicenseInfo

Send Feedback

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

HRESULT FileDrmShowLicenseInfo (
  HWND hwndParent,
  LPCTSTR pszFileName
);

Parameters

  • hwndParent
    [in] Handle to the window that owns any UI elements such as windows, dialog boxes, or message boxes displayed by this function.
  • pszFileName
    [in] The path of the file for which license information is shown.

Return Values

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 HRESULT values that may be returned.

Value Description
S_FDRM_NOPROVIDER Success, but no FDRM provider found.
S_FDRM_NOTDRMOBJECT Success, but the target is not a FDRM object.

Remarks

A dialog is displayed showing the rights associated with the file. This function returns when the user dismisses the dialog.

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

Requirements

Pocket PC: Windows Mobile Version 5.0 and later
Smartphone: Windows Mobile Version 5.0 and later
OS Versions: Windows CE 5.01 and later.
Header: FDRM.h.
Link Library: Aygshell.lib.

See Also

FDRM Functions | FDRM API Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.