Changeset 2904 for trunk/src/win32k/lib/libTerm.c
- Timestamp:
- Feb 26, 2000, 6:48:23 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/lib/libTerm.c
r2830 r2904 1 /* $Id: libTerm.c,v 1. 1 2000-02-19 16:52:38bird Exp $1 /* $Id: libTerm.c,v 1.2 2000-02-26 17:48:23 bird Exp $ 2 2 * 3 3 * Terminates the Win32k library functions. … … 13 13 * Header Files * 14 14 *******************************************************************************/ 15 #define INCL_DOSERROR 15 #define INCL_DOSERRORS 16 16 #define INCL_DOSFILEMGR 17 17 #define INCL_DOSDEVICES … … 27 27 * Global Variables * 28 28 *******************************************************************************/ 29 extern static BOOLfInited;29 extern BOOL fInited; 30 30 extern HFILE hWin32k; 31 31 … … 39 39 APIRET APIENTRY libWin32kTerm(void) 40 40 { 41 APIRET rc = NO_ERROR; 42 41 43 if (fInited) 42 DosClose(hWin32k); 43 hWin32k = NULLHANDLE; 44 fInited = FALSE; 45 return NO_ERROR; 44 rc = DosClose(hWin32k); 45 46 if (rc == NO_ERROR) 47 { 48 hWin32k = NULLHANDLE; 49 fInited = FALSE; 50 } 51 return rc; 46 52 } 47 53
Note:
See TracChangeset
for help on using the changeset viewer.