AMCOPPCommand structure (strmif.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The AMCOPPCommand structure contains a Certified Output Protection Protocol (COPP) command.
typedef struct _AMCOPPCommand {
GUID macKDI;
GUID guidCommandID;
DWORD dwSequence;
DWORD cbSizeData;
BYTE CommandData[4056];
} AMCOPPCommand, *LPAMCOPPCommand;
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[4056]
Data for the command. The meaning of the data depends on the command.
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.
Requirement | Value |
---|---|
Header | strmif.h (include Dshow.h) |