AD RMS Function Error Codes

[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.]

Active Directory Rights Management Services (AD RMS) functions have the following status and error codes and corresponding hexadecimal values. These codes are defined in the MsdrmError.h header file that is included with this SDK.

E_DRM_INSUFFICIENT_BUFFER (ERROR_INSUFFICIENT_BUFFER)
S_DRM_REQUEST_PREPARED (0x0004CF00)
S_DRM_ALREADY_ACTIVATED (0x0004CF01)
S_DRM_CONNECTING (0x0004CF02)
S_DRM_CONNECTED (0x0004CF03)
S_DRM_COMPLETED (0x0004CF04)
S_DRM_INPROGRESS (0x0004CF05)
E_DRM_MANIFEST_POLICY_VIOLATION (0x8004930C)
E_DRM_INVALID_LICENSE (0x8004CF00)
E_DRM_INFO_NOT_IN_LICENSE (0x8004CF01)
E_DRM_INVALID_LICENSE_SIGNATURE (0x8004CF02)
E_DRM_ENCRYPTION_NOT_PERMITTED (0x8004CF04)
E_DRM_RIGHT_NOT_GRANTED (0x8004CF05)
E_DRM_INVALID_VERSION (0x8004CF06)
E_DRM_INVALID_ENCODING_TYPE (0x8004CF07)
E_DRM_INVALID_NUMERICAL_VALUE (0x8004CF08)
E_DRM_INVALID_ALGORITHM_TYPE (0x8004CF09)
E_DRM_ENV_NOT_LOADED (0x8004CF0A)
E_DRM_ENV_CANNOT_LOAD (0x8004CF0B)
E_DRM_TOO_MANY_LOADED_ENVIRONMENTS (0x8004CF0C)
E_DRM_INCOMPATIBLE_OBJECTS (0x8004CF0E)
E_DRM_LIB_FAIL (0x8004CF0F)
E_DRM_ENABLING_PRINCIPAL_FAILURE (0x8004CF10)
E_DRM_INFO_NOT_PRESENT (0x8004CF11)
E_DRM_BAD_GET_INFO_QUERY (0x8004CF12)
E_DRM_KEY_TYPE_UNSUPPORTED (0x8004CF13)
E_DRM_CRYPTO_OPERATION_UNSUPPORTED (0x8004CF14)
E_DRM_CLOCK_ROLL_BACK_DETECTED (0x8004CF15)
E_DRM_QUERY_REPORTS_NO_RESULTS (0x8004CF16)
E_DRM_UNEXPECTED_EXCEPTION (0x8004CF17)
E_DRM_BIND_VALIDITY_TIME_VIOLATED (0x8004CF18)
E_DRM_BROKEN_CERT_CHAIN (0x8004CF19)
E_DRM_BIND_POLICY_VIOLATION (0x8004CF1B)
E_DRM_BIND_REVOKED_LICENSE (0x8004CF1C)
E_DRM_BIND_REVOKED_ISSUER (0x8004CF1D)
E_DRM_BIND_REVOKED_PRINCIPAL (0x8004CF1E)
E_DRM_BIND_REVOKED_RESOURCE (0x8004CF1F)
E_DRM_BIND_REVOKED_MODULE (0x8004CF20)
E_DRM_BIND_CONTENT_NOT_IN_EUL (0x8004CF21)
E_DRM_BIND_ACCESS_PRINCIPAL_NOT_ENABLING (0x8004CF22)
E_DRM_BIND_ACCESS_UNSATISFIED (0x8004CF23)
E_DRM_BIND_INDICATED_PRINCIPAL_MISSING (0x8004CF24)
E_DRM_BIND_MACHINE_NOT_FOUND_IN_GROUP_IDENTITY (0x8004CF25)
E_DRM_LIB_UNSUPPORTED_PLUGIN (0x8004CF26)
E_DRM_BIND_REVOCATION_LIST_STALE (0x8004CF27)
E_DRM_BIND_NO_APPLICABLE_REVOCATION_LIST (0x8004CF28)
E_DRM_INVALID_HANDLE (0x8004CF2C)
E_DRM_BIND_INTERVALTIME_VIOLATED (0x8004CF2F)
E_DRM_BIND_NO_SATISFIED_RIGHTS_GROUP (0x8004CF30)
E_DRM_BIND_SPECIFIED_WORK_MISSING (0x8004CF31)
E_DRM_NO_MORE_DATA (0x8004CF33)
E_DRM_LICENSEACQUISITIONFAILED (0x8004CF34)
E_DRM_ID_MISMATCH (0x8004CF35)
E_DRM_TOO_MANY_CERTS (0x8004CF36)
E_DRM_NO_DPURL_FOUND (0x8004CF37)
E_DRM_ALREADY_IN_PROGRESS (0x8004CF38)
E_DRM_GROUPID_NOT_SET (0x8004CF39)
E_DRM_RECORD_NOT_FOUND (0x8004CF3A)
E_DRM_NO_CONNECT (0x8004CF3B)
E_DRM_NO_LICENSE (0x8004CF3C)
E_DRM_NEEDS_MACHINE_ACTIVATION (0x8004CF3D)
E_DRM_NEEDS_GROUPIDENTITY_ACTIVATION (0x8004CF3E)
E_DRM_ACTIVATIONFAILED (0x8004CF40)
E_DRM_ABORTED (0x8004CF41)
E_DRM_OUT_OF_QUOTA (0x8004CF42)
E_DRM_AUTHENTICATION_FAILED (0x8004CF43)
E_DRM_SERVER_ERROR (0x8004CF44)
E_DRM_INSTALLATION_FAILED (0x8004CF45)
E_DRM_HID_CORRUPTED (0x8004CF46)
E_DRM_INVALID_SERVER_RESPONSE (0x8004CF47)
E_DRM_SERVICE_NOT_FOUND (0x8004CF48)
E_DRM_USE_DEFAULT (0x8004CF49)
E_DRM_SERVER_NOT_FOUND (0x8004CF4A)
E_DRM_INVALID_EMAIL (0x8004CF4B)
E_DRM_VALIDITYTIME_VIOLATION (0x8004CF4C)
E_DRM_OUTDATED_MODULE (0x8004CF4D)
E_DRM_NOT_SET (0x8004CF4E)
E_DRM_METADATA_NOT_SET (0x8004CF4F)
E_DRM_INVALID_TIMEINFO (0x8004CF50)
E_DRM_RIGHT_NOT_SET (0x8004CF51)
E_DRM_RIGHT_NOT_SET (0x8004CF52)
E_DRM_BIND_NTLM_FAIL (0x8004CF53)
E_DRM_INVALID_ISSUANCELICENSE_TEMPLATE (0x8004CF54)
E_DRM_INVALID_KEY_LENGTH (0x8004CF55)
E_DRM_EXPIRED_OFFICIAL_ISSUANCELICENSE_TEMPLATE (0x8004CF57)
E_DRM_INVALID_CLIENT_LICENSOR_CERTIFICATE (0x8004CF58)
E_DRM_HID_INVALID (0x8004CF59)
E_DRM_EMAIL_NOT_VERIFIED (0x8004CF5A)
E_DRM_SERVICE_MOVED (0x8004CF5B)
E_DRM_SERVICE_GONE (0x8004CF5C)
E_DRM_AD_ENTRY_NOT_FOUND (0x8004CF5D)
E_DRM_NOT_A_CHAIN (0x8004CF5E)
E_DRM_REQUEST_DENIED (0x8004CF5F)
E_DRM_DEBUGGER_DETECTED (0x8004CF60)
E_DRM_INVALID_LOCKBOX_TYPE (0x8004CF70)
E_DRM_INVALID_LOCKBOX_PATH (0x8004CF71)
E_DRM_INVALID_REGISTRY_PATH (0x8004CF72)
E_DRM_NO_AES_PROVIDER (0x8004CF73)
E_DRM_GLOBAL_OPTION_ALREADY_SET (0x8004CF74)
E_DRM_OWNER_LICENSE_NOT_FOUND (0x8004CF75)
E_DRM_INVALID_WINDOW (0x8004CF76)
E_DRM_SAFEMODE_OS_DETECTED (0x8004CF778)
E_DRM_PLATFORM_POLICY_VIOLATION (0x8004CF79)
E_DRM_ISSUANCELICENSE_LENGTH_LIMIT_EXCEEDED (0x8004CF81)

Requirements

Product

Rights Management Services client 1.0 or later

Header

MsdrmError.h

See also

AD RMS Functions

 

 

Show: