DD_GETVPORTINPUTFORMATDATA struttura (ddrawint.h)

La struttura DD_GETVPORTINPUTFORMATDATA contiene le informazioni necessarie per il driver per restituire i formati di input che l'oggetto VPE (Video Port Extensions) può accettare.

Sintassi

typedef struct _DD_GETVPORTINPUTFORMATDATA {
  PDD_DIRECTDRAW_LOCAL lpDD;
  PDD_VIDEOPORT_LOCAL  lpVideoPort;
  DWORD                dwFlags;
  LPDDPIXELFORMAT      lpddpfFormat;
  DWORD                dwNumFormats;
  HRESULT              ddRVal;
  VOID                 *GetVideoPortInputFormats;
} *PDD_GETVPORTINPUTFORMATDATA, DD_GETVPORTINPUTFORMATDATA;

Members

lpDD

Punta a una struttura DD_DIRECTDRAW_LOCAL pertinente solo al processo Microsoft DirectDraw corrente.

lpVideoPort

Punta a una struttura DD_VIDEOPORT_LOCAL che rappresenta questo oggetto VPE.

dwFlags

Indica il tipo di formati per cui viene eseguito una query sul supporto. Questo membro può essere uno o più dei valori seguenti:

Flag Significato
DDVPFORMAT_VBI Il driver deve restituire i formati per i dati VBI .
DDVPFORMAT_VIDEO Il driver deve restituire i formati per i dati video.

lpddpfFormat

Punta a una matrice di strutture DDPIXELFORMAT in cui il driver deve scrivere i formati pixel supportati dall'oggetto VPE. Questo membro può essere NULL.

dwNumFormats

Specifica il percorso in cui il driver deve scrivere il numero di formati supportati dall'oggetto VPE.

ddRVal

Specifica il percorso in cui il driver scrive il valore restituito del callback DdVideoPortGetInputFormats . Un codice restituito di DD_OK indica l'esito positivo. Per altre informazioni, vedere Restituire valori per DirectDraw.

GetVideoPortInputFormats

Usato dall'API DirectDraw e non deve essere compilato dal driver.

Requisiti

   
Intestazione ddrawint.h (include Winddi.h)

Vedi anche

DdVideoPortGetInputFormats