IRMGetLicense::GetDRMVersion

banner art

Previous Next

IRMGetLicense::GetDRMVersion

The GetDRMVersion method retrieves the version of the DRM component of the client player application.

Syntax

  HRESULT GetDRMVersion(
  BSTR*  pbstrDRMVersion
);

Parameters

pbstrDRMVersion

[out] Pointer to a string identifying the version of the DRM component of the client player application.

Return Values

This 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.

Remarks

This method can be used to determine the version of the client. If you require a higher version, you can prompt the consumer to upgrade the player.

Requirements

Version: Windows Media Rights Manager 7 SDK or later

Reference: msnetobj 1.0 Type Library

Library: msnetobj.dll

Platform: Windows Server 2003

See Also

Previous Next

© 2007 Microsoft Corporation. All rights reserved.