IWMDRMDevice::GetDeviceCertificate method

The GetDeviceCertificate method retrieves the device certificate.

Syntax

HRESULT GetDeviceCertificate(
  [out] BSTR *pbstrDevCert
);

Parameters

pbstrDevCert [out]

Pointer to a BSTR containing the retrieved device certificate.

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