Export (0) Print
Expand All

D3D11_CONTENT_PROTECTION_CAPS enumeration

Contains flags that describe content-protection capabilities.

Syntax


typedef enum D3D11_CONTENT_PROTECTION_CAPS { 
  D3D11_CONTENT_PROTECTION_CAPS_SOFTWARE                 = 0x00000001,
  D3D11_CONTENT_PROTECTION_CAPS_HARDWARE                 = 0x00000002,
  D3D11_CONTENT_PROTECTION_CAPS_PROTECTION_ALWAYS_ON     = 0x00000004,
  D3D11_CONTENT_PROTECTION_CAPS_PARTIAL_DECRYPTION       = 0x00000008,
  D3D11_CONTENT_PROTECTION_CAPS_CONTENT_KEY              = 0x00000010,
  D3D11_CONTENT_PROTECTION_CAPS_FRESHEN_SESSION_KEY      = 0x00000020,
  D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK      = 0x00000040,
  D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK_KEY  = 0x00000080,
  D3D11_CONTENT_PROTECTION_CAPS_SEQUENTIAL_CTR_IV        = 0x00000100,
  D3D11_CONTENT_PROTECTION_CAPS_ENCRYPT_SLICEDATA_ONLY   = 0x00000200,
  D3D11_CONTENT_PROTECTION_CAPS_DECRYPTION_BLT           = 0x00000400
} D3D11_CONTENT_PROTECTION_CAPS;

Constants

D3D11_CONTENT_PROTECTION_CAPS_SOFTWARE

The content protection is implemented in software by the driver.

D3D11_CONTENT_PROTECTION_CAPS_HARDWARE

The content protection is implemented in hardware by the GPU.

D3D11_CONTENT_PROTECTION_CAPS_PROTECTION_ALWAYS_ON

Content protection is always applied to a protected surface, regardless of whether the application explicitly enables protection.

D3D11_CONTENT_PROTECTION_CAPS_PARTIAL_DECRYPTION

The driver can use partially encrypted buffers. If this capability is not present, the entire buffer must be either encrypted or clear.

D3D11_CONTENT_PROTECTION_CAPS_CONTENT_KEY

The driver can encrypt data using a separate content key that is encrypted using the session key.

D3D11_CONTENT_PROTECTION_CAPS_FRESHEN_SESSION_KEY

The driver can refresh the session key without renegotiating the key.

D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK

The driver can read back encrypted data from a protected surface. For more information, see ID3D11VideoContext::EncryptionBlt.

D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK_KEY

The driver requires a separate key to read encrypted data from a protected surface.

D3D11_CONTENT_PROTECTION_CAPS_SEQUENTIAL_CTR_IV

If the encryption type is D3DCRYPTOTYPE_AES128_CTR, the application must use a sequential count in the D3D11_AES_CTR_IV structure.

D3D11_CONTENT_PROTECTION_CAPS_ENCRYPT_SLICEDATA_ONLY

The driver supports encrypted slice data, but does not support any other encrypted data in the compressed buffer. The caller should not encrypt any data within the buffer other than the slice data.

Note  The driver should only report this flag for the specific profiles that have this limitation.

D3D11_CONTENT_PROTECTION_CAPS_DECRYPTION_BLT

The driver can copy encrypted data from one resource to another, decrypting the data as part of the process.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

D3d11.h

See also

D3D11_VIDEO_CONTENT_PROTECTION_CAPS

 

 

Community Additions

ADD
Show:
© 2014 Microsoft