FileDrmGetMetric

4/8/2010

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

Syntax

HRESULT FileDrmGetMetric (
  FDRMMETRIC drmID,
  DWORD* pdwMetric
);

Parameters

  • drmID
    [in] Identifier to specify the desired metric.
  • pdwMetric
    [out] Pointer to a Dword variable that will hold the metric.

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_UNKNOWNMETRIC

Unknown metric.

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

FDRM API Reference
FDRM Functions
FDRMMETRIC