DD_MOTIONCOMPCALLBACKS struttura (ddrawint.h)

La struttura DD_MOTIONCOMPCALLBACKS contiene puntatori di ingresso alle funzioni di callback di compensazione del movimento supportate da un driver di dispositivo.

Sintassi

typedef struct DD_MOTIONCOMPCALLBACKS {
  DWORD                        dwSize;
  DWORD                        dwFlags;
  PDD_MOCOMPCB_GETGUIDS        GetMoCompGuids;
  PDD_MOCOMPCB_GETFORMATS      GetMoCompFormats;
  PDD_MOCOMPCB_CREATE          CreateMoComp;
  PDD_MOCOMPCB_GETCOMPBUFFINFO GetMoCompBuffInfo;
  PDD_MOCOMPCB_GETINTERNALINFO GetInternalMoCompInfo;
  PDD_MOCOMPCB_BEGINFRAME      BeginMoCompFrame;
  PDD_MOCOMPCB_ENDFRAME        EndMoCompFrame;
  PDD_MOCOMPCB_RENDER          RenderMoComp;
  PDD_MOCOMPCB_QUERYSTATUS     QueryMoCompStatus;
  PDD_MOCOMPCB_DESTROY         DestroyMoComp;
} DD_MOTIONCOMPCALLBACKS;

Members

dwSize

Specifica le dimensioni in byte di questa struttura DD_MOTIONCOMPCALLBACKS.

dwFlags

Indica le funzioni di callback di compensazione del movimento di Microsoft DirectDraw aggiuntive implementate dal driver. Per ogni set di bit in dwFlags, il driver deve inizializzare il membro del puntatore della funzione corrispondente di questa struttura. Questo membro può essere uno o più dei flag seguenti:

DDHAL_MOCOMP32_BEGINFRAME
DDHAL_MOCOMP32_CREATE
DDHAL_MOCOMP32_DESTROY
DDHAL_MOCOMP32_GETCOMPBUFFINFO
DDHAL_MOCOMP32_GETINTERNALINFO
DDHAL_MOCOMP32_ENDFRAME
DDHAL_MOCOMP32_GETFORMATS
DDHAL_MOCOMP32_GETGUIDS
DDHAL_MOCOMP32_QUERYSTATUS
DDHAL_MOCOMP32_RENDER

GetMoCompGuids

Punta alla funzione di callback DdMoCompGetGuids fornita dal driver.

GetMoCompFormats

Punta alla funzione di callback DdMoCompGetFormats fornita dal driver.

CreateMoComp

Punta alla funzione DdMoCompCreate callback fornita dal driver.

GetMoCompBuffInfo

Punta alla funzione di callback DdMoCompGetBuffInfo fornita dal driver.

GetInternalMoCompInfo

Punta alla funzione di callback DdMoCompGetInternalInfo fornita dal driver.

BeginMoCompFrame

Punta alla funzione di callback DdMoCompBeginFrame fornita dal driver.

EndMoCompFrame

Punta alla funzione di callback DdMoCompEndFrame fornita dal driver.

RenderMoComp

Punta alla funzione di callback DdMoCompRender fornita dal driver.

QueryMoCompStatus

Punta alla funzione di callback DdMoCompQueryStatus fornita dal driver.

DestroyMoComp

Punta alla funzione di callback DdMoCompDestroy fornita dal driver.

Commenti

Le voci usate dal driver di visualizzazione non devono essere impostate su NULL. Il driver deve inizializzare questa struttura quando viene chiamata la funzione DdGetDriverInfo con il GUID GUID_MotionCompCallbacks.

Requisiti

Requisito Valore
Intestazione ddrawint.h (include Winddi.h)

Vedi anche

DD_COLORCONTROLCALLBACKS

DD_KERNELCALLBACKS

DD_MISCELLANEOUSCALLBACKS

DD_NTCALLBACKS

DD_PALETTECALLBACKS

DD_SURFACECALLBACKS

DD_VIDEOPORTCALLBACKS

DdGetDriverInfo

DdMoCompBeginFrame

DdMoCompCreate

DdMoCompDestroy

DdMoCompEndFrame

DdMoCompGetBuffInfo

DdMoCompGetFormats

DdMoCompGetGuids

DdMoCompGetInternalInfo

DdMoCompQueryStatus

DdMoCompRender