The information in this article applies to:
SUMMARYWin32 console applications run in a command window. So that the console application can detect when the console is closing, register a console control handler and look for the following values in your case statement:
For an example, see the CONSOLE sample. For more information, see the entry
for SetConsoleCtrlhandler() in the Win32 application programming interface
(API) reference.
Additional query words:
Keywords : kbConsole kbKernBase kbWinOS2000 kbDSupport kbGrpKernBase |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |