Changeset 5224 for trunk/src/win32k/lib/libW32kHandleSystemEvent.c
- Timestamp:
- Feb 21, 2001, 8:47:59 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/lib/libW32kHandleSystemEvent.c
r5167 r5224 1 /* $Id: libW32kHandleSystemEvent.c,v 1. 1 2001-02-18 14:46:31bird Exp $1 /* $Id: libW32kHandleSystemEvent.c,v 1.2 2001-02-21 07:47:58 bird Exp $ 2 2 * 3 3 * libW32kHandleSystemEvent - Override system events like Ctrl-Alt-Delete … … 24 24 #include <os2.h> 25 25 #include "win32k.h" 26 27 28 /******************************************************************************* 29 * Global Variables * 30 *******************************************************************************/ 31 extern BOOL fInited; 32 extern HFILE hWin32k; 26 #include "libPrivate.h" 33 27 34 28 … … 64 58 ULONG cbData = 0UL; 65 59 66 Param.ulEvent = ulEvent; 67 Param.hev = hev; 68 Param.fHandle = fHandle; 69 Param.rc = ERROR_INVALID_PARAMETER; 60 Param.hdr.cb = sizeof(Param); 61 Param.hdr.rc = ERROR_NOT_SUPPORTED; 62 Param.ulEvent = ulEvent; 63 Param.hev = hev; 64 Param.fHandle = fHandle; 70 65 66 if (usCGSelector) 67 return libCallThruCallGate(K32_HANDLESYSTEMEVENT, &Param); 71 68 rc = DosDevIOCtl(hWin32k, 72 69 IOCTL_W32K_K32, … … 76 73 77 74 if (rc == NO_ERROR) 78 rc = Param. rc;75 rc = Param.hdr.rc; 79 76 } 80 77 else
Note:
See TracChangeset
for help on using the changeset viewer.