WinTerminate: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
'''WinTerminate''' clean up after resouce allocated by [[WinInitialize]] function. | '''WinTerminate''' clean up after resouce allocated by [[WinInitialize]] function. | ||
==Syntax== | |||
WinTerminate( ''hab'' ) | |||
=== Parameters === | === Parameters === | ||
Line 8: | Line 8: | ||
=== Returns === | === Returns === | ||
;BOOL ''rc'' | |||
TRUE on success | |||
FALSE on error | |||
=== Include Info === | === Include Info === | ||
#define INCL_WIN | #define INCL_WIN |
Revision as of 14:40, 7 September 2017
WinTerminate clean up after resouce allocated by WinInitialize function.
Syntax
WinTerminate( hab )
Parameters
- HAB hab
- Handle of Anchor Block returned from WinInititalize.
Returns
- BOOL rc
TRUE on success FALSE on error
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; }