D3DENCRYPTED_BLOCK_INFO structure

Specifies which bytes are encrypted in a protected video surface.

Syntax

typedef struct _D3DENCRYPTED_BLOCK_INFO {
  UINT NumEncryptedBytesAtBeginning;
  UINT NumBytesInSkipPattern;
  UINT NumBytesInEncryptPattern;
} D3DENCRYPTED_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

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
D3d9types.h (include D3d9.h)

See also

Direct3D Video Structures