DRM_STATUS_MSG enumeration (msdrmdefs.h)

Note

The AD RMS SDK leveraging functionality exposed by the client in Msdrm.dll is available for use in Windows Server 2008, Windows Vista, Windows Server 2008 R2, Windows 7, Windows Server 2012, and Windows 8. It may be altered or unavailable in subsequent versions. Instead, use Active Directory Rights Management Services SDK 2.1, which leverages functionality exposed by the client in Msipc.dll.

The DRM_STATUS_MSG enumeration is used by the custom callback function to specify why the callback function is being called.

Syntax

typedef enum _DRM_STATUS_MSG {
  DRM_MSG_ACTIVATE_MACHINE,
  DRM_MSG_ACTIVATE_GROUPIDENTITY,
  DRM_MSG_ACQUIRE_LICENSE,
  DRM_MSG_ACQUIRE_ADVISORY,
  DRM_MSG_SIGN_ISSUANCE_LICENSE,
  DRM_MSG_ACQUIRE_CLIENTLICENSOR,
  DRM_MSG_ACQUIRE_ISSUANCE_LICENSE_TEMPLATE
} DRM_STATUS_MSG;

Constants

 
DRM_MSG_ACTIVATE_MACHINE
AD RMS is attempting to activate the machine. For more information, see the DRM_MSG_ACTIVATE_MACHINE message.
DRM_MSG_ACTIVATE_GROUPIDENTITY
AD RMS is attempting to activate a user. For more information, see the DRM_MSG_ACTIVATE_GROUPIDENTITY message.
DRM_MSG_ACQUIRE_LICENSE
AD RMS is attempting to acquire a license. For more information, see the DRM_MSG_ACQUIRE_LICENSE message.
DRM_MSG_ACQUIRE_ADVISORY
AD RMS is attempting to acquire a revocation list. For more information, see the DRM_MSG_ACQUIRE_ADVISORY message.
DRM_MSG_SIGN_ISSUANCE_LICENSE
AD RMS is attempting to acquire a signed issuance license. For more information, see the DRM_MSG_SIGN_ISSUANCE_LICENSE message.
DRM_MSG_ACQUIRE_CLIENTLICENSOR
AD RMS is attempting to acquire a client licensor certificate. For more information, see the DRM_MSG_ACQUIRE_CLIENTLICENSOR message.
DRM_MSG_ACQUIRE_ISSUANCE_LICENSE_TEMPLATE
AD RMS is attempting to acquire a template collection. For more information, see the DRM_MSG_ACQUIRE_ISSUANCE_LICENSE_TEMPLATE message.

Remarks

The callback function can use this message, together with the hr parameter, to determine the status of a request to a server.

Requirements

Requirement Value
Header msdrmdefs.h

See also

AD RMS Enumerations

Creating a Callback Function

DRMAcquireAdvisories

DRMAcquireLicense

DRMActivate