Поделиться через


WMT_DRMLA_TRUST enumeration (wmsdkidl.h)

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

Defines the trust state of a DRM license acquisition URL.

Syntax

typedef enum tagWMT_DRMLA_TRUST {
  WMT_DRMLA_UNTRUSTED = 0,
  WMT_DRMLA_TRUSTED,
  WMT_DRMLA_TAMPERED
} WMT_DRMLA_TRUST;

Constants

 
WMT_DRMLA_UNTRUSTED
Value: 0
Indicates that the validity of the license acquisition URL cannot be guaranteed because it is not signed. All protected content created prior to Windows Media 9 Series will cause this value to be returned.
WMT_DRMLA_TRUSTED
Indicates that the license acquisition URL is the original one provided with the content.
WMT_DRMLA_TAMPERED
Indicates that the license acquisition URL was originally signed and has been tampered with.

Remarks

When a WMT_LICENSEURL_SIGNATURE_STATE message is received in the OnStatus callback method, pValue will be set to one of the WMT_DRMLA_TRUST constants, which indicate whether there is any problem with the digital signature applied to the license acquisition URL.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only],Windows Media Format 7 SDK, or later versions of the SDK
Minimum supported server Windows 2000 Server [desktop apps only]
Header wmsdkidl.h (include Wmsdk.h)

See also

Enumeration Types