Share via


FileDrmDeleteFile

Send Feedback

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

HRESULT FileDrmDeleteFile (
  LPCTSTR pszFileName
);

Parameters

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

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 an FDRM object.

Remarks

This API deletes both an FDRM object and the associated rights. The result is that rights store is updated and the file containing the object is deleted.

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 API Reference | FDRM Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.