Struttura CodecAPIEventData (strmif.h)

[La funzionalità associata a questa pagina, DirectShow, è una funzionalità legacy. È stata sostituita da MediaPlayer, FMMediaEngine e Audio/Video Capture in Media Foundation. Queste funzionalità sono state ottimizzate per Windows 10 e Windows 11. Microsoft consiglia vivamente che il nuovo codice usi MediaPlayer, FMMediaEngine e Audio/Video Capture in Media Foundation anziché DirectShow, quando possibile. Microsoft suggerisce che il codice esistente che usa le API legacy venga riscritto per usare le nuove API, se possibile.

La struttura CodecAPIEventData contiene i dati degli eventi per l'evento EC_CODECAPI_EVENT . Questo evento viene inviato da codec che supportano l'interfaccia ICodecAPI .

Sintassi

struct CodecAPIEventData {
  GUID  guid;
  DWORD dataLength;
  DWORD reserved[3];
};

Members

guid

GUID che identifica l'evento codec.

dataLength

Lunghezza dei dati aggiuntivi che seguono questa struttura, in byte. Il valore può essere zero.

reserved[3]

Riservati; non usare.

Commenti

Questa struttura può essere seguita da dati di aggiunta, a seconda dell'evento codec. Per altre informazioni, vedere ICodecAPI::RegisterForEvent.

Requisiti

Requisito Valore
Client minimo supportato Windows XP con SP2 [app desktop | App UWP]
Server minimo supportato Windows Server 2003 R2 [app desktop | App UWP]
Intestazione strmif.h (include Dshow.h)

Vedi anche

Strutture DirectShow

ICodecAPI::RegisterForEvent