IWMDRMDevice::IsWMDRMDevice method

The IsWMDRMDevice method determines whether the device supports Windows Media DRM 10 for Portable Devices.

Syntax

HRESULT IsWMDRMDevice(
  [out] DWORD *pdwVersion
);

Parameters

pdwVersion [out]

Version of Windows Media DRM 10 for Portable Devices, which has value of 0x00010000.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Header
WMDDRMSP.idl
Library
Mssachlp.lib

See also

IWMDRMDevice Interface