GXOpenInput
The GXOpenInput function turns on the unfiltered button message mode. All hardware button presses generate appropriate WM_KEY messages to the application and are not sent to the shell.
Note GAPI is deprecated. Use DirectDraw and Direct3D Mobile APIs instead.
Syntax
GXDLL_API int GXOpenInput ();
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.
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