Redigera

Dela via


D3DAUTHENTICATEDCHANNEL_CONFIGURE_INPUT structure

Contains input data for the IDirect3DAuthenticatedChannel9::Configure method.

Syntax

typedef struct _D3DAUTHENTICATEDCHANNEL_CONFIGURE_INPUT {
  D3D_OMAC omac;
  GUID     ConfigureType;
  HANDLE   hChannel;
  UINT     SequenceNumber;
} D3DAUTHENTICATEDCHANNEL_CONFIGURE_INPUT;

Members

omac

A D3D_OMAC structure that contains a Message Authentication Code (MAC) of the data. The driver uses AES-based one-key CBC MAC (OMAC) to calculate this value for the block of data that appears after this structure member.

ConfigureType

A GUID that specifies the command. For a list of values, see Content Protection Commands.

hChannel

A handle to the authenticated channel. To get the handle, call IDirect3DDevice9Video::CreateAuthenticatedChannel.

SequenceNumber

The query sequence number. At the start of the session, generate a cryptographically secure 32-bit random number to use as the starting sequence number. For each command, increment the sequence number by 1.

Requirements

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

See also

Direct3D Video Structures

IDirect3DAuthenticatedChannel9::Configure