Microsoft Windows CE 3.0  

GetVideoPortFlipStatus

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

pgvpfsd
Pointer to a DDHAL_GETVPORTFLIPSTATUSDATAstructure that contains the information about the flip status of the specified surface.

Return Values

Returns one of the following values:

  • DDHAL_DRIVER_HANDLED
  • DDHAL_DRIVER_NOTHANDLED

    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

    © 2004 Microsoft Corporation. All rights reserved.