DRM_LICENSE_STATE_CATEGORY enumeration

The DRM_LICENSE_STATE_CATEGORY enumeration type defines the categories for DRM license strings that are displayed to the user.

Syntax


typedef enum DRM_LICENSE_STATE_CATEGORY { 
  WM_DRM_LICENSE_STATE_NORIGHT                    = 0,
  WM_DRM_LICENSE_STATE_UNLIM,
  WM_DRM_LICENSE_STATE_COUNT,
  WM_DRM_LICENSE_STATE_FROM,
  WM_DRM_LICENSE_STATE_UNTIL,
  WM_DRM_LICENSE_STATE_FROM_UNTIL,
  WM_DRM_LICENSE_STATE_COUNT_FROM,
  WM_DRM_LICENSE_STATE_COUNT_UNTIL,
  WM_DRM_LICENSE_STATE_COUNT_FROM_UNTIL,
  WM_DRM_LICENSE_STATE_EXPIRATION_AFTER_FIRSTUSE
} ;

Constants

WM_DRM_LICENSE_STATE_NORIGHT

Indicates the string will take the form "Playback not permitted."

WM_DRM_LICENSE_STATE_UNLIM

Indicates the string will take the form "Playback unlimited."

WM_DRM_LICENSE_STATE_COUNT

Indicates the string will take the form "Playback valid 5 times."

WM_DRM_LICENSE_STATE_FROM

Indicates the string will take the form "Playback valid from 7/12/00."

WM_DRM_LICENSE_STATE_UNTIL

Indicates the string will take the form "Playback valid until 7/12/00."

WM_DRM_LICENSE_STATE_FROM_UNTIL

Indicates the string will take the form "Playback valid from 5/12 to 9/12."

WM_DRM_LICENSE_STATE_COUNT_FROM

Indicates the string will take the form "Playback valid 5 times from 5/12 to 9/12."

WM_DRM_LICENSE_STATE_COUNT_UNTIL

Indicates the string will take the form "Playback valid 5 times until 7/12/00."

WM_DRM_LICENSE_STATE_COUNT_FROM_UNTIL

Indicates the string will take the form "Playback valid 5 times from 5/12 to 9/12."

WM_DRM_LICENSE_STATE_EXPIRATION_AFTER_FIRSTUSE

Indicates the string will take the form "Playback valid for 24 hours from first use."

Remarks

This enumeration indicates the category for each possible output string to be displayed. It is a member of the DRM_LICENSE_STATE_DATA structure.

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

Drmexternals.h

See also

Enumeration Types

 

 

Show: