Share via


WMRMRights.AllowPlayOnPC

banner art

Previous Next

WMRMRights.AllowPlayOnPC

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

This right has been deprecated and replaced by AllowPlay, which is always enabled.

Syntax

  WMRMRights.
  AllowPlayOnPC
  
  =
  
  Boolean
Boolean
  
  =
  
  WMRMRights.
  AllowPlayOnPC

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 client computer. If it fails, it returns E_FAIL, 0x80004005.

Remarks

The default value of this property is 1 (true).

Example Code

  

Requirements

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