GXSuspend
The GXSuspend function suspends GAPI operations.
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
Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: gx.h
Library: gx.lib
See Also
Windows Mobile Game Programming
Last updated on Friday, April 22, 2005
© 2005 Microsoft Corporation. All rights reserved.
Send feedback on this topic to the authors.