DD_FLIPVPORTDATA structure (ddrawint.h)
The DD_FLIPVPORTDATA structure contains the information necessary for the video port extensions (VPE) object to perform a flip.
Syntax
typedef struct _DD_FLIPVPORTDATA {
PDD_DIRECTDRAW_LOCAL lpDD;
PDD_VIDEOPORT_LOCAL lpVideoPort;
PDD_SURFACE_LOCAL lpSurfCurr;
PDD_SURFACE_LOCAL lpSurfTarg;
HRESULT ddRVal;
VOID *FlipVideoPort;
} *PDD_FLIPVPORTDATA, DD_FLIPVPORTDATA;
Members
lpDD
Points to a DD_DIRECTDRAW_LOCAL structure that is relevant to the current Microsoft DirectDraw process only.
lpVideoPort
Points to a DD_VIDEOPORT_LOCAL structure that represents this VPE object.
lpSurfCurr
Points to a DD_SURFACE_LOCAL structure for the current surface; that is, the surface on which data is currently being written.
lpSurfTarg
Points to a DD_SURFACE_LOCAL structure for the target surface; that is, the surface to which the driver should flip.
ddRVal
Specifies the location in which the driver writes the return value of the DdVideoPortFlip callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.
FlipVideoPort
Used by the DirectDraw API and should not be filled in by the driver.
Requirements
Requirement | Value |
---|---|
Header | ddrawint.h (include Winddi.h) |