DRM Properties

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The following table lists DRM properties that applications can get or set when writing or reading protected files. These properties are not file attributes; they are not written to the ASF file header.

DRM Property Global Identifier Data Type
DRM_ActionAllowed g_wszWMDRM_ActionAllowed WMT_TYPE_BOOL
DRM_ActionAllowed_Backup g_wszWMDRM_ActionAllowed_Backup WMT_TYPE_BOOL
DRM_ActionAllowed_CollaborativePlay g_wszWMDRM_ActionAllowed_CollaborativePlay WMT_TYPE_BOOL
DRM_ActionAllowed_Copy g_wszWMDRM_ActionAllowed_Copy WMT_TYPE_BOOL
DRM_ActionAllowed_CopyToCD g_wszWMDRM_ActionAllowed_CopyToCD WMT_TYPE_BOOL
DRM_ActionAllowed_CopyToNonSDMIDevice g_wszWMDRM_ActionAllowed_CopyToNonSDMIDevice WMT_TYPE_BOOL
DRM_ActionAllowed_CopyToSDMIDevice g_wszWMDRM_ActionAllowed_CopyToSDMIDevice WMT_TYPE_BOOL
DRM_ActionAllowed_Playback g_wszWMDRM_ActionAllowed_Playback WMT_TYPE_BOOL
DRM_ActionAllowed_PlaylistBurn g_wszWMDRM_ActionAllowed_PlaylistBurn WMT_TYPE_BOOL
DRM_BaseLicenseAcqURL g_wszWMDRM_BaseLicenseAcqURL WMT_TYPE_STRING
DRM_Flags g_wszWMDRM_Flags WMT_TYPE_DWORD
DRM_HeaderSignPrivKey g_wszWMDRM_HeaderSignPrivKey WMT_TYPE_STRING
DRM_IsDRM g_wszIsDRM WMT_TYPE_BOOL
DRM_IsDRMCached g_wszIsDRMCached WMT_TYPE_BOOL
DRM_KeySeed g_wszWMDRM_KeySeed WMT_TYPE_STRING
DRM_Level g_wszWMDRM_Level WMT_TYPE_DWORD
DRM_LicenseID g_wszWMDRM_LicenseID WMT_TYPE_STRING
DRM_LicenseState g_wszWMDRM_LicenseState WMT_TYPE_DWORD
DRM_LicenseState_CollaborativePlay g_wszWMDRM_LicenseState_CollaborativePlay WMT_TYPE_BINARY
DRM_LicenseState_Copy g_wszWMDRM_LicenseState_Copy WMT_TYPE_BINARY
DRM_LicenseState_CopyToCD g_wszWMDRM_LicenseState_CopyToCD WMT_TYPE_BINARY
DRM_LicenseState_CopyToSDMIDevice g_wszWMDRM_LicenseState_CopyToSDMIDevice WMT_TYPE_BINARY
DRM_LicenseState_CopyToNonSDMIDevice g_wszWMDRM_LicenseState_CopyToNonSDMIDevice WMT_TYPE_BINARY
DRM_LicenseState_Playback g_wszWMDRM_LicenseState_Playback WMT_TYPE_BINARY
DRM_LicenseState_PlaylistBurn g_wszWMDRM_LicenseState_PlaylistBurn WMT_TYPE_BINARY
DRM_Rights g_wszWMDRM_Rights WMT_TYPE_STRING
DRM_SAPLEVEL g_wszWMDRM_SAPLEVEL WMT_TYPE_STRING
Use_Advanced_DRM g_wszWMUse_Advanced_DRM WMT_TYPE_BOOL
Use_DRM g_wszWMUse_DRM WMT_TYPE_BOOL
WMDRMNET_Revocation g_wszWMDRMNET_Revocation WMT_TYPE_STRING

 

DRM Attribute List