次の方法で共有


WMRMRights.PMAppSecurity

banner art

Previous Next

WMRMRights.PMAppSecurity

The PMAppSecurity property specifies and retrieves the security level for content that is being transferred to portable devices or portable media.

This right has been deprecated and replaced by MinimumSecurityLevel and MinimumClientSDKSecurity.

Syntax

  WMRMRights.
  PMAppSecurity
  
  =
  
  DWORD
DWORD
  
  =
  
  WMRMRights.
  PMAppSecurity

Parameters

This property takes no parameters.

Return Values

If the property succeeds, it returns a DWORD containing the security level. If it fails, it returns E_FAIL, 0x80004005.

Remarks

Each license contains a value that indicates the minimum security value required of the playback device. The default value is 1000. The following table shows general guidelines for the minimum application security levels required to play Windows Media files.

Security level Type of content
150 Devices that support Windows Media-based content but not protected content
1,000 (default) Windows Media Player for Pocket PC or SmartPhone
2,000 Devices based on Windows Media DRM 10 for Portable Devices or later

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.