GetVideoPortFlipStatus (Windows CE 5.0)
This callback function indicates whether a V-sync operation has occurred since the flip was performed on the specified surface. This callback function is required.
DWORD GetVideoPortFlipStatus(LPDDHAL_GETVPORTFLIPSTATUSDATApgvpfsd);
Parameters
- pgvpfsd
[in, out] Pointer to a DDHAL_GETVPORTFLIPSTATUSDATA structure that contains the information about the flip status of the specified surface.
Return Values
Returns one of the following values:
Remarks
This function allows Ddraw.dll to fail locks on a surface that was recently flipped from so that the HAL does not have to account for this.
If a video V-sync operation has not occurred since the flip was performed on the specified surface, the HAL should set the ddRVal member of the DDHAL_GETVPORTFLIPSTATUSDATA structure to DDERR_WASSTILLDRAWING.
Requirements
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.
Link Library: Developer implemented.
See Also
Video Port Extension Callback Functions | DDHAL_GETVPORTFLIPSTATUSDATA | DDERR_WASSTILLDRAWING | DDHAL_DRIVER_HANDLED | DDHAL_DRIVER_NOTHANDLED
Send Feedback on this topic to the authors