Freigeben über


WMRMRestrictions.AddExtension2

banner art

Previous Next

WMRMRestrictions.AddExtension2

The AddExtension2 method specifies the extended technologies that are allowed to play protected analog video content using a long value.

Syntax

  WMRMRestrictions.AddExtension2(guid, lVal)

Parameters

guid

[in] A String specifying the GUID of the extended technology to add. For information about the current GUIDs for extended technologies, see the WMRM SDK Compliance Rules that accompanied your license agreement from Microsoft.

lVal

[in] Optional. This value can be used to provide additional configuration data that is specific to the technology you are adding. For more information about possible values, see the WMRM SDK Compliance Rules that accompanied your license agreement from Microsoft. If this value is not specified the default of 0 is used.

Return Values

On success, this function returns S_OK; otherwise, an error code is returned.

Remarks

Due to licensing restrictions, certain technologies, categorized as extended technologies, must be explicitly enabled. This is also the default interface of CWMRMRestrictions class. Older clients will continue to use AddExtension from the IWMRMRestrictions interface.

Requirements

Version: Windows Media Rights Manager 10.1.2 SDK or later

Reference: wmrmobjs 1.0 Type Library

Library: wmrmobjs.dll

Platform: Windows Server 2003

See Also

Previous Next

© 2007 Microsoft Corporation. All rights reserved.