DRM_LICENSE_STATE_CATEGORY enumeration (Wmdrmsdk.h)
[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 DRM_LICENSE_STATE_CATEGORY enumeration type specifies the type of license restriction that is described by a DRM_LICENSE_STATE_DATA structure.
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
} DRM_LICENSE_STATE_CATEGORY;
Constants
-
WM_DRM_LICENSE_STATE_NORIGHT
-
Specifies that the action for which the DRM_LICENSE_STATE_DATA was received is not allowed.
-
WM_DRM_LICENSE_STATE_UNLIM
-
Specifies that the action for which the DRM_LICENSE_STATE_DATA was received is allowed without restriction.
-
WM_DRM_LICENSE_STATE_COUNT
-
Specifies that the action for which the DRM_LICENSE_STATE_DATA was received is allowed, but only a set number of times.
-
WM_DRM_LICENSE_STATE_FROM
-
Specifies that the action for which the DRM_LICENSE_STATE_DATA was received is allowed after a set date.
-
WM_DRM_LICENSE_STATE_UNTIL
-
Specifies that the action for which the DRM_LICENSE_STATE_DATA was received is allowed until a set date.
-
WM_DRM_LICENSE_STATE_FROM_UNTIL
-
Specifies that the action for which the DRM_LICENSE_STATE_DATA was received is allowed between two set dates.
-
WM_DRM_LICENSE_STATE_COUNT_FROM
-
Specifies that the action for which the DRM_LICENSE_STATE_DATA was received is allowed, but only a set number of times after a set date.
-
WM_DRM_LICENSE_STATE_COUNT_UNTIL
-
Specifies that the action for which the DRM_LICENSE_STATE_DATA was received is allowed, but only a set number of times until a set date.
-
WM_DRM_LICENSE_STATE_COUNT_FROM_UNTIL
-
Specifies that the action for which the DRM_LICENSE_STATE_DATA was received is allowed, but only a set number of times between two set dates.
-
WM_DRM_LICENSE_STATE_EXPIRATION_AFTER_FIRSTUSE
-
Specifies that the action for which the DRM_LICENSE_STATE_DATA was received is allowed for a set amount of time beginning with the first use of the action.
Remarks
None.
Requirements
Requirement | Value |
---|---|
Header |
|