Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The GetVideoPortFlipStatuscallback function indicates whether a V-sync has occurred since the flip was performed on the specified surface. This callback is required.
DWORD __stdcall GetVideoPortFlipStatus( LPDDHAL_GETVPORTFLIPSTATUSDATA pgvpfsd );
Parameters
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 the HAL doesn't have to account for this.
If a video V-sync has not occurred since the flip was performed on the specified surface, the HAL should set the ddRVal member of the DDHAL_GETVPORTFLIPSTATUSDATAstructure to DDERR_WASSTILLDRAWING.
Last updated on Tuesday, July 13, 2004