MSDRM_STATUS 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 MSDRM_STATUS enumeration type defines status conditions for the DRM subsystem.

Syntax

typedef enum MSDRM_STATUS { 
  DRM_ERROR                        = 0,
  DRM_INFORMATION                  = 1,
  DRM_BACKUPRESTORE_BEGIN          = 2,
  DRM_BACKUPRESTORE_END            = 3,
  DRM_BACKUPRESTORE_CONNECTING     = 4,
  DRM_BACKUPRESTORE_DISCONNECTING  = 5,
  DRM_ERROR_WITHURL                = 6,
  DRM_RESTRICTED_LICENSE           = 7,
  DRM_NEEDS_INDIVIDUALIZATION      = 8,
  DRM_PLAY_OPL_NOTIFICATION        = 9,
  DRM_COPY_OPL_NOTIFICATION        = 10,
  DRM_REFRESHCRL_COMPLETE          = 11
} ;

Constants

DRM_ERROR

Specifies that an error has occurred.

DRM_INFORMATION

Specifies that there is additional status information.

DRM_BACKUPRESTORE_BEGIN

Specifies that a license backup or restore operation has begun.

DRM_BACKUPRESTORE_END

Specifies that a license backup or restore operation has ended.

DRM_BACKUPRESTORE_CONNECTING

Specifies that a license backup or restore operation is in progress and that the client computer is connecting with the backup server.

DRM_BACKUPRESTORE_DISCONNECTING

Specifies that a license backup or restore operation is in progress and that the client computer is disconnecting from the backup server.

DRM_ERROR_WITHURL

Specifies that the DRM operation has encountered a bad URL.

DRM_RESTRICTED_LICENSE

Specifies that the DRM operation cannot continue because no license granting the required right exists on the client computer.

DRM_NEEDS_INDIVIDUALIZATION

Specifies that the DRM operation cannot continue because the DRM subsystem needs to be individualized.

DRM_PLAY_OPL_NOTIFICATION

Specifies that a playback operation cannot be completed because an output protection level requirement has not been met.

DRM_COPY_OPL_NOTIFICATION

Specifies that a copy operation cannot be completed because an output protection level requirement has not been met.

DRM_REFRESHCRL_COMPLETE

Specifies that a call to IWMDRMSecurity::PerformSecurityUpdate has completed refreshing a revocation list.

Remarks

None.

Requirements

Requirement Value
Header
Wmdrmsdk.h

See also

Enumeration Types