PM_saveConsoleState

Save the state of the OS console.

Declaration

void PMAPI PM_saveConsoleState(
    void *stateBuf,
    PM_HWND hwndConsole)

Prototype In

pmapi.h

Parameters

stateBuf

State buffer to save state to

hwndConsole

Console window handle

 

Description

This function saves the state of the OS console, so that it can be later restored by the PM_restoreConsoleState. This function must be called to save the console state so that it can go into graphics mode. On many OS'es this doesn't do much, but on Linux for instance this properly enabled the console for graphics output, and allows us to properly restore it later.

See Also

PM_openConsole, PM_getConsoleStateSize, PM_setSuspendAppCallback, PM_restoreConsoleState, PM_closeConsole

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