IAPI::ShowConsoleWindow

method ShowConsoleWindow.

Shows or hides the console window (DOS), enables/disables output into the console window.

 

HRESULT ShowConsoleWindow(
  long ShowOrHide
);

Parameters

ShowOrHide

[in] .   0 (hide) or 1 (show) or 2 (screen centering)

 

         Since v2.38.2.7 :

         -1 to hide and disable any output into the console window

         -2 to allow and enable any output into the console window

Return Values

S_OK

The operation was successfull.

E_UNEXPECTED

An unexpected error occoured.

E_FAIL

A general error occoured.

See Also

IAPI