Changeset 2904
- Timestamp:
- Feb 26, 2000, 6:48:23 PM (25 years ago)
- Location:
- trunk/src/win32k/lib
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/win32k/lib/libDosAllocMemEx.c ¶
r2823 r2904 1 /* $Id: libDosAllocMemEx.c,v 1. 1 2000-02-18 19:27:31bird Exp $1 /* $Id: libDosAllocMemEx.c,v 1.2 2000-02-26 17:48:22 bird Exp $ 2 2 * 3 3 * DosAllocMemEx - Extened Edition of DosAllocMem. … … 14 14 * Header Files * 15 15 *******************************************************************************/ 16 #define INCL_DOSERROR 16 #define INCL_DOSERRORS 17 17 #define INCL_DOSFILEMGR 18 18 #define INCL_DOSDEVICES … … 30 30 * Global Variables * 31 31 *******************************************************************************/ 32 static BOOLfInited = FALSE;33 HFILEhWin32k = NULLHANDLE;32 extern BOOL fInited = FALSE; 33 extern HFILE hWin32k = NULLHANDLE; 34 34 35 35 … … 43 43 { 44 44 K32ALLOCMEMEX Param; 45 ULONG cbParam = sizeof(Param); 46 ULONG cbData = 0UL; 45 47 Param.pv = *ppv; 46 48 Param.cb = cb; 47 49 Param.flFlags = flag; 48 50 Param.rc = 0; 49 Param.ulCS = ;50 Param.ulEIP = ;51 Param.ulCS = -1; 52 Param.ulEIP = -1; 51 53 52 param.pRpInitIn = pRpIn;53 54 rc = DosDevIOCtl(hWin32k, 54 55 IOCTL_W32K_K32, -
TabularUnified trunk/src/win32k/lib/libInit.c ¶
r2823 r2904 1 /* $Id: libInit.c,v 1. 1 2000-02-18 19:27:31bird Exp $1 /* $Id: libInit.c,v 1.2 2000-02-26 17:48:22 bird Exp $ 2 2 * 3 3 * Inits 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 static BOOLfInited = FALSE;30 HFILE 29 BOOL fInited = FALSE; 30 HFILE hWin32k = NULLHANDLE; 31 31 32 32 -
TabularUnified 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.