fg_ddflipnw()

Win32 DirectX Fastgraph/Light

Prototype

int fg_ddflipnw (void);

Function fg_ddflipnw () As Long

function fg_ddflipnw : integer;

Description

The fg_ddflipnw() function moves or "flips" the DirectDraw back buffer surface to the screen, without waiting for the display hardware to finish drawing if it is busy. It is meaningful only for programs that specify the FG_DX_FLIP flag through fg_ddsetup().

Parameters

none

Return value

The fg_ddflipnw() return value will be zero if successful, or the DirectDraw error DDERR_WASSTILLDRAWING if the flip operation could not performed because the display hardware was busy. Otherwise, the return value will be a standard error code listed in Microsoft's DirectX documentation.

Restrictions

This function is available only in Fastgraph's DirectX libraries.

See also

fg_ddflip(), fg_ddsetup()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.