WMT_RIGHTS enumeration

The WMT_RIGHTS enumeration type defines the rights that may be specified in a DRM license.

Syntax


typedef enum WMT_RIGHTS { 
  WMT_RIGHT_PLAYBACK                 = 0x00000001,
  WMT_RIGHT_COPY_TO_NON_SDMI_DEVICE  = 0x00000002,
  WMT_RIGHT_COPY_TO_CD               = 0x00000008,
  WMT_RIGHT_COPY_TO_SDMI_DEVICE      = 0x00000010,
  WMT_RIGHT_ONE_TIME                 = 0x00000020,
  WMT_RIGHT_SAVE_STREAM_PROTECTED    = 0x00000040,
  WMT_RIGHT_COPY                     = 0x00000080,
  WMT_RIGHT_COLLABORATIVE_PLAY       = 0x00000100,
  WMT_RIGHT_SDMI_TRIGGER             = 0x00010000,
  WMT_RIGHT_SDMI_NOMORECOPIES        = 0x00020000
} ;

Constants

WMT_RIGHT_PLAYBACK

Specifies the right to play content without restriction.

WMT_RIGHT_COPY_TO_NON_SDMI_DEVICE

Specifies the right to copy content to a device not compliant with the Secure Digital Music Initiative (SDMI).

WMT_RIGHT_COPY_TO_CD

Specifies the right to copy content to a CD.

WMT_RIGHT_COPY_TO_SDMI_DEVICE

Specifies the right to copy content to a device compliant with the Secure Digital Music Initiative (SDMI).

WMT_RIGHT_ONE_TIME

Specifies the right to play content one time only.

WMT_RIGHT_SAVE_STREAM_PROTECTED

Specifies the right to save content from a server.

WMT_RIGHT_COPY

Specifies the right to copy content. Windows Media DRM 10 regulates the devices to which the content can be copied by using output protection levels (OPLs).

WMT_RIGHT_COLLABORATIVE_PLAY

Specifies the right to play content as part of an online scenario where multiple participants can contribute songs from their collection to a shared playlist.

WMT_RIGHT_SDMI_TRIGGER

Reserved for future use. Do not use.

WMT_RIGHT_SDMI_NOMORECOPIES

Reserved for future use. Do not use.

Remarks

These values are bit flags, so one or more can be set by combining them with the bitwise OR operator.

When using Windows Media DRM 10, WMT_RIGHT_COPY_TO_NON_SDMI_DEVICE, WMT_RIGHT_COPY_TO_SDMI_DEVICE, and WMT_RIGHT_COPY_TO_CD are superseded by WMT_RIGHT_COPY. Limitations on the devices to which the content may be copied are specified by using output protection levels (OPLs).

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Version

Windows Media Format 7 SDK, or later versions of the SDK

Header

Wmsdkidl.h (include Wmsdk.h)

See also

Enumeration Types
WAVEFORMATEX

 

 

Show: