AMCOPPCommand Structure

 
Microsoft DirectShow 9.0

AMCOPPCommand Structure

The AMCOPPCommand structure contains a Certified Output Protection Protocol (COPP) command.

Syntax

typedef struct _AMCOPPCommand {
    GUID  macKDI;
    GUID  guidCommandID;
    DWORD dwSequence;
    DWORD cbSizeData;
    BYTE  CommandData[4056];
}  AMCOPPCommand, *LPAMCOPPCommand;

Members

macKDI

Message Authentication Code (MAC) of the command data. Use AES-based one-key CBC MAC (OMAC) to calculate this value.

guidCommandID

GUID that specifies the command.

dwSequence

Sequence number. The application must keep a running count of the COPP commands issued. For each command, increment the sequence number by one.

cbSizeData

Number of bytes of valid data in the CommandData member.

CommandData

Data for the command. The meaning of the data depends on the command.

Remarks

The following COPP commands are defined.

GUID Description
DXVA_COPPSetProtectionLevel Sets a specified protection type to a specified protection level.

For more information, see the Windows DDK documentation.

Requirements

  Header: Dshow.h.

See Also