PM_openConsole

Opens a console for windowed or fullscreen operation

Declaration

PM_HWND PMAPI PM_openConsole(
PM_HWND hWndUser,
int device,
int xRes,
int yRes,
int bpp,
ibool fullScreen)

Prototype In

pmapi.h

Parameters

hWndUser | Pointer to use application window (NULL if none)
device | Index of the device to control (0 for primary)
xRes | X resolution planned for the fullscreen console mode
yRes | Y resolution planned for the fullscreen console mode
bpp | Color depth planned for the fullscreen console mode
fullScreen | True if the console is fullscreen, false if windowed

Return Value

Pointer to the console window handle

Description

This function open a console for output to the screen, creating the main event handling window if necessary when the hWndUser parameter is set to NULL.

See Also

PM_getConsoleStateSize, PM_saveConsoleState, PM_setSuspendAppCallback, PM_restoreConsoleState, PM_closeConsole

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com