WinTerminate: Difference between revisions
Appearance
Line 8: | Line 8: | ||
=== Returns === | === Returns === | ||
; | ;''rc'' ([[BOOL]]) - returns : Termination indicator. | ||
:;TRUE | |||
::Application usage of Presentation Manager successfully terminated | |||
:;FALSE | |||
:Application usage of Presentation Manager not successfully terminated, or WinInitialize has not been issued on this thread. | |||
=== Include Info === | === Include Info === |
Revision as of 18:58, 10 April 2025
WinTerminate clean up after resouce allocated by WinInitialize function.
Syntax
WinTerminate( hab )
Parameters
- hab (HAB) - input
- Handle of Anchor Block returned from WinInititalize.
Returns
- rc (BOOL) - returns
- Termination indicator.
- TRUE
- Application usage of Presentation Manager successfully terminated
- FALSE
- Application usage of Presentation Manager not successfully terminated, or WinInitialize has not been issued on this thread.
Include Info
#define INCL_WIN
or
#include INCL_PM
or
#define INCL_WINDOWMGR #include <os2.h>
Sample Code
int main() { HAB hab; hab = WinInitialize( 0 ); ... WinTerminate( hab ); return 0; }