GXSuspend
The GXSuspend function suspends GAPI operations.
Note GAPI is deprecated. Use DirectDraw and Direct3D Mobile APIs instead.
Syntax
GXDLL_API int GXSuspend ();
Parameters
None.
Return Values
Returns 1 if the call was successful; returns 0 if there was an error. Call GetLastError to retrieve extended error information.
Remarks
GXSuspend must be called when the application receives a WM_KILLFOCUS message. Failure to do so could result in undesired consequences. It is acceptable to call GXSuspend automatically in the WM_KILLFOCUS handler without regard to nesting it properly with a GXResume call.
Requirements
Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: gx.h
Library: gx.lib
See Also
GAPI Functions | Windows Mobile Game Programming
Send Feedback on this topic to the authors