Поделиться через


WMRMRights.AllowPlay

banner art

Previous Next

WMRMRights.AllowPlay

The AllowPlay property specifies and retrieves a Boolean value that indicates whether the license permits content to be played on a client computer or device.

This right has been deprecated. AllowPlay is always enabled and cannot be disabled.

Syntax

  WMRMRights.AllowPlay = Boolean 
Boolean = WMRMRights.AllowPlay

Parameters

This property takes no parameters.

Return Values

If the property succeeds, it returns a Boolean value indicating whether the content can be played on a computer or device. If it fails, it returns E_FAIL.

Remarks

The value of this property must be True. If you specify False, the property returns an error.

Requirements

Version: Windows Media Rights Manager 10 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.