◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINWINDOWMGR BOOL WinTerminate(hab) HAB hab; /* handle of the anchor block */ The WinTerminate function terminates an application thread's use of Presentation Manager and releases all its associated resources. It is recommended that you call this function prior to termination of your application. However, if it is not issued, all Presentation Manager resources allocated to the thread are deallocated when the program terminates──whether normally or abnormally──by Presentation Manager code executed as part of the exit-list processing. Parameter Description ──────────────────────────────────────────────────────────────────────────── hab Identifies the anchor block. Return Value The return value is TRUE if the function is successful or FALSE if an error occurs. See Also WinInitialize ♦