WMT_RIGHTS enumeration

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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 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

Requirement Value
Header
Wmdrmsdk.h

See also

Enumeration Types