[ Home | Alpha index | Topic index | Tutorials | Download | Feedback ]

The OS/2 API Project

WinTerminate

[ Syntax | Params | Returns | Include | Usage | Structs | Gotchas | Code | Also ]

Syntax

rc = 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>

Usage Explanation

WinTerminate clean up after resouce allocated by WinInitialize function.

Relevant Structures

Gotchas

Sample Code

int main() { HAB hab; hab = WinInitialize( 0 ); ... WinTerminate( hab ); return 0; }

See Also

WinInitialize

Author

Sang Kim - z929171@mp.cs.niu.edu

Additions

Last modified October 19/1996
Please send all errors, comments, and suggestions to: timur@vnet.ibm.com

The OS/2 API Project

WinTerminate