Partager via


IWMDRMDevice::GetDeviceCertificate

banner art

The GetDeviceCertificate method retrieves the device certificate.

Syntax

HRESULT GetDeviceCertificate(
  BSTR*  pbstrDevCert
);

Parameters

pbstrDevCert

[out]  Pointer to a BSTR containing the retrieved device certificate.

Return Values

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

Header: Defined in WMDDRMSP.idl.

Library: mssachlp.lib

See Also