Condividi tramite


DD_NTCALLBACKS struttura (ddrawint.h)

La struttura DD_NTCALLBACKS contiene puntatori di ingresso a Microsoft Windows 2000 e versioni successive delle funzioni di callback di Microsoft DirectDraw supportate da un driver di dispositivo.

Sintassi

typedef struct _DD_NTCALLBACKS {
  DWORD                dwSize;
  DWORD                dwFlags;
  PDD_FREEDRIVERMEMORY FreeDriverMemory;
  PDD_SETEXCLUSIVEMODE SetExclusiveMode;
  PDD_FLIPTOGDISURFACE FlipToGDISurface;
} DD_NTCALLBACKS, *PDD_NTCALLBACKS;

Members

dwSize

Specifica le dimensioni in byte di questa struttura DD_NTCALLBACKS.

dwFlags

Indica le funzioni di callback di Windows 2000 e successive 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_NTCB32_FREEDRIVERMEMORY
DDHAL_NTCB32_SETEXCLUSIVEMODE
DDHAL_NTCB32_FLIPTOGDISURFACE

FreeDriverMemory

Punta al callback DdFreeDriverMemory fornito dal driver.

SetExclusiveMode

Punta al callback DdSetExclusiveMode fornito dal driver.

FlipToGDISurface

Punta al callback DdFlipToGDISurface fornito 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_NTCallbacks.

Requisiti

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

Vedi anche

DD_COLORCONTROLCALLBACKS

DD_KERNELCALLBACKS

DD_MISCELLANEOUSCALLBACKS

DD_MOTIONCOMPCALLBACKS

DD_PALETTECALLBACKS

DD_SURFACECALLBACKS

DD_VIDEOPORTCALLBACKS

DdFlipToGDISurface

DdFreeDriverMemory

DdGetDriverInfo

DdSetExclusiveMode