GXOpenDisplay

The GXOpenDisplay function opens the display for use and ensures exclusive access to the video frame buffer memory.

Syntax

GXDLL_API int GXOpenDisplay (
  HWND hWnd,
  DWORD dwFlags 
);

Parameters

  • hWnd
    If requesting full screen mode, handle to the full screen window.
  • dwFlags
    Specifies options for the screen mode.
    Value Description
    GX_FULLSCREEN Use full screen mode.

Return Values

Returns 1 if the call was successful; returns 0 if there was an error. Call GetLastError to retrieve extended error information.

Requirements

Smartphone: Windows Mobile 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

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.