Partager via


FileDrmNotifyDisable

4/8/2010

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

Syntax

HRESULT FileDrmNotifyDisable (
  LPCTSTR pszFileName
);

Parameters

  • pszFileName
    [in] Fully qualified path to the file for which the application is to no longer receive notifications.

Return Value

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

E_FDRM_NOPROVIDER

No FDRM provider found.

E_FDRM_NOTDRMOBJECT

The target is not a FDRM object.

E_FDRM_NONOTIFY

The object was never registered for notifications.

Requirements

Header fdrm.h
Library aygshell.lib
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also

Reference

FileDrmNotifyEnable
FDRM Functions