win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinTerminate (1.2)
                                                      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