DRMRegisterRevocationList function (msdrm.h)
[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 DRMRegisterRevocationList function registers a rights revocation list on the client.
Syntax
DRMEXPORT HRESULT UDAPICALL DRMRegisterRevocationList(
[in] DRMENVHANDLE hEnv,
[in] PWSTR wszRevocationList
);
Parameters
[in] hEnv
A handle to an environment, created by DRMInitEnvironment.
[in] wszRevocationList
Revocation list as a null-terminated string.
Return value
If the function succeeds, the function returns S_OK.
If the function fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.
Remarks
A revocation list holds all group identities, end-user licenses, or other principals that have been revoked. This function blocks the display of content from distributors or users whose license has been revoked. When an attempt to bind to a license fails with E_DRM_BIND_REVOCATION_LIST_STALE or E_DRM_BIND_NO_APPLICABLE_REVOCATION_LIST, this indicates that the license requires a revocation list. This list must either be found in the license store (using DRMEnumerateLicense) or must be acquired fresh using DRMAcquireAdvisories and then retrieved from the license store. Registration is only for the lifetime of the environment passed in. Any time that a new environment object is created, the necessary revocation lists must be registered for that environment.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | msdrm.h |
Library | Msdrm.lib |
DLL | Msdrm.dll |