Ignore:
Timestamp:
Dec 12, 2002, 12:50:50 PM (23 years ago)
Author:
umoeller
Message:

Minor changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/winh.c

    r232 r235  
    345345}
    346346
     347/*
     348 *@@ winhDestroyWindow:
     349 *      wrapper around WinDestroyWindow that also sets
     350 *      *phwnd to NULLHANDLE to avoid loose window
     351 *      handles lying around.
     352 *
     353 *@@added V1.0.1 (2002-12-11) [umoeller]
     354 */
     355
     356BOOL winhDestroyWindow(HWND *phwnd)
     357{
     358    if (    (*phwnd)
     359         && (WinDestroyWindow(*phwnd))
     360       )
     361    {
     362        *phwnd = NULLHANDLE;
     363
     364        return TRUE;
     365    }
     366
     367    return FALSE;
     368}
    347369
    348370/*
Note: See TracChangeset for help on using the changeset viewer.