DRM_USAGEPOLICY_TYPE 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_USAGEPOLICY_TYPE enumeration is used with the DRMGetUsagePolicy and DRMSetUsagePolicy functions to specify a type of usage policy.

Syntax

typedef enum _DRM_USAGEPOLICY_TYPE {
  DRM_USAGEPOLICY_TYPE_BYNAME,
  DRM_USAGEPOLICY_TYPE_BYPUBLICKEY,
  DRM_USAGEPOLICY_TYPE_BYDIGEST,
  DRM_USAGEPOLICY_TYPE_OSEXCLUSION
} DRM_USAGEPOLICY_TYPE;

Constants

 
DRM_USAGEPOLICY_TYPE_BYNAME
The usage policy is tied to an application name.
DRM_USAGEPOLICY_TYPE_BYPUBLICKEY
The usage policy is tied to an application's public key.
DRM_USAGEPOLICY_TYPE_BYDIGEST
The usage policy is tied to a digest of an application.
DRM_USAGEPOLICY_TYPE_OSEXCLUSION
The usage policy is tied to an operating system.

Requirements

Requirement Value
Header msdrmdefs.h

See also

AD RMS Enumerations

DRMGetUsagePolicy

DRMSetUsagePolicy