DRM_ACTION_ALLOWED_QUERY_RESULTS enumeration

The DRM_ACTION_ALLOWED_QUERY_RESULTS enumeration type is used by the IWMDRMLicenseQuery::QueryActionAllowed interface to specify the reason an action is not allowed.

Syntax

typedef enum DRM_ACTION_ALLOWED_QUERY_RESULTS { 
  DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED                       = 0x00000001,
  DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_NO_LICENSE            = 0x00000002,
  DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_NO_RIGHT              = 0x00000004,
  DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_EXHAUSTED             = 0x00000008,
  DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_EXPIRED               = 0x00000010,
  DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_NOT_STARTED           = 0x00000020,
  DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_APPSEC_TOO_LOW        = 0x00000040,
  DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_REQ_INDIV             = 0x00000080,
  DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_COPY_OPL_TOO_LOW      = 0x00000100,
  DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_COPY_OPL_EXCLUDED     = 0x00000200,
  DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_NO_CLOCK_SUPPORT      = 0x00000400,
  DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_NO_METERING_SUPPORT   = 0x00000800,
  DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_CHAIN_DEPTH_TOO_HIGH  = 0x00001000
} ;

Constants

DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED

Specifies that the queries action is not allowed. For actions that are not allowed, the returned value is this value combined by using a bitwise OR with one or more of the other values in this enumeration.

DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_NO_LICENSE

Specifies that a license does not exist for the requested content.

DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_NO_RIGHT

Specifies that a license exists for the content, but that the queried right is not allowed.

DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_EXHAUSTED

Specifies that the queried right is restricted by a count, and that no more uses remain.

DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_EXPIRED

Specifies that the queried right is restricted with an expiration date that is earlier than the current date.

DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_NOT_STARTED

Specifies that the queried right is restricted with a start date that is later than the current date.

DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_APPSEC_TOO_LOW

Specifies that a license exists for the content and that the license allows the queried right, but that the security level of the calling application is not high enough.

DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_REQ_INDIV

Specifies that a license exists for the content and that the license allows the queried right, but that the DRM subsystem must be individualized.

DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_COPY_OPL_TOO_LOW

Specifies that the output protection level of the client is too low.

DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_COPY_OPL_EXCLUDED

Specifies that the output protection level of the client is on the exclusion list.

DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_NO_CLOCK_SUPPORT

Specifies that the license requires secure clock support and that the client does not provide it.

DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_NO_METERING_SUPPORT

Specifies that the queried action is allowed by a license, but that metering is required and the client does not support metering.

DRM_ACTION_ALLOWED_QUERY_NOT_ENABLED_CHAIN_DEPTH_TOO_HIGH

Specifies that the rights for the queried action cannot be determined because the content is covered by a chained license and the leaf license is missing.

Remarks

The values of this enumeration type indicate that an action is not allowed. A value of zero indicates that the action is allowed.

Requirements

Header
Wmdrmsdk.h

See also

Enumeration Types