DD_FREEDRIVERMEMORYDATA struttura (ddrawint.h)
La struttura DD_FREEDRIVERMEMORYDATA contiene i dettagli della richiesta gratuita.
Sintassi
typedef struct _DD_FREEDRIVERMEMORYDATA {
PDD_DIRECTDRAW_GLOBAL lpDD;
PDD_SURFACE_LOCAL lpDDSurface;
HRESULT ddRVal;
VOID *FreeDriverMemory;
} *PDD_FREEDRIVERMEMORYDATA, DD_FREEDRIVERMEMORYDATA;
Members
lpDD
Punta alla struttura DD_DIRECTDRAW_GLOBAL che descrive il dispositivo del driver.
lpDDSurface
Punta alla struttura DD_SURFACE_LOCAL che rappresenta la superficie che Microsoft DirectDraw sta tentando di allocare.
ddRVal
Specifica il percorso in cui il driver scrive il valore restituito del callback DdFreeDriverMemory . Un codice restituito di DD_OK indica che il driver ha avuto esito positivo liberando uno spazio; in caso contrario, il driver deve impostare questo valore per essere DDERR_OUTOFMEMORY. Per altre informazioni, vedere Restituire valori per DirectDraw.
FreeDriverMemory
Usato dall'API DirectDraw e non deve essere compilato dal driver.
Requisiti
Requisito | Valore |
---|---|
Intestazione | ddrawint.h (include Winddi.h) |