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 |
|