D3D11_ENCRYPTED_BLOCK_INFO Structure

Specifies which bytes in a video surface are encrypted.

Syntax

typedef struct D3D11_ENCRYPTED_BLOCK_INFO {
    UINT NumEncryptedBytesAtBeginning;
    UINT NumBytesInSkipPattern;
    UINT NumBytesInEncryptPattern;
} D3D11_ENCRYPTED_BLOCK_INFO;  

Members

NumEncryptedBytesAtBeginning
The number of bytes that are encrypted at the start of the buffer.

NumBytesInSkipPattern
The number of bytes that are skipped after the first NumEncryptedBytesAtBeginning bytes, and then after each block of NumBytesInEncryptPattern bytes. Skipped bytes are not encrypted.

NumBytesInEncryptPattern
The number of bytes that are encrypted after each block of skipped bytes.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).