AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

GetConsoleDisplayMode

The GetConsoleDisplayMode function retrieves the display mode of the current console.

VB4-32,5,6
Declare Function GetConsoleDisplayMode Lib "kernel32" (lpModeFlags As Long) As Long

Operating Systems Supported
Requires Windows XP or later; Win9x/ME: Not supported

Library
Kernel32

Parameter Information
· lpModeFlags
[out] Display mode of the console. This parameter can be one or more of the following values.
CONSOLE_FULLSCREEN
Full-screen console. The console is in this mode as soon as the window is maximized. At this point, the transition to full-screen mode can still fail.
CONSOLE_FULLSCREEN_HARDWARE
Full-screen console communicating directly with the video hardware. This mode is set after the console is in CONSOLE_FULLSCREEN mode to indicate that the transition to full-screen mode has completed.

Return Values
If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Examples

Related Functions

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/