IMDSPRevoked::GetRevocationURL method (mswmdm.h)

The GetRevocationURL method retrieves the URL from which updated components can be downloaded.

Syntax

HRESULT GetRevocationURL(
  [in, out] LPWSTR *ppwszRevocationURL,
  [in, out] DWORD  *pdwBufferLen
);

Parameters

[in, out] ppwszRevocationURL

Pointer to a Unicode string where the revocation URL should be written.

[in, out] pdwBufferLen

Number of WCHAR characters that the buffer supplied by the client can hold; on return it contains the required number of characters.

Return value

The method returns an HRESULT. All the interface methods in Windows Media Device Manager can return any of the following classes of error codes:

  • Standard COM error codes
  • Windows error codes converted to HRESULT values
  • Windows Media Device Manager error codes
For an extensive list of possible error codes, see Error Codes.

Remarks

The IMDSPRevoked interface retrieves the URL from which updated components can be downloaded if the service provider is ever revoked by any digital rights management system. If this method is not implemented, a default Microsoft URL will be used. This location is maintained by Microsoft and contains updates to components revoked by the Microsoft digital rights management system.

Requirements

Requirement Value
Target Platform Windows
Header mswmdm.h
Library Mssachlp.lib

See also

IMDSPRevoked Interface