Changeset 5224 for trunk/src/win32k/lib/libWin32kQueryOptionsStatus.c
- Timestamp:
- Feb 21, 2001, 8:47:59 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/lib/libWin32kQueryOptionsStatus.c
r4164 r5224 1 /* $Id: libWin32kQueryOptionsStatus.c,v 1. 2 2000-09-02 21:08:12bird Exp $1 /* $Id: libWin32kQueryOptionsStatus.c,v 1.3 2001-02-21 07:47:59 bird Exp $ 2 2 * 3 3 * libWin32kQueryOptionsStatus - Queries the options and/or the status of 4 4 * Win32k.sys driver. 5 5 * 6 * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@mynd.no)6 * Copyright (c) 2000-2001 knut st. osmundsen (knut.stange.osmundsen@mynd.no) 7 7 * 8 8 * Project Odin Software License can be found in LICENSE.TXT … … 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 … … 71 65 ULONG cbData = 0UL; 72 66 67 Param.hdr.cb = sizeof(Param); 68 Param.hdr.rc = ERROR_NOT_SUPPORTED; 73 69 Param.pOptions = pOptions; 74 70 Param.pStatus = pStatus; 75 Param.rc = ERROR_INVALID_PARAMETER;76 71 72 if (usCGSelector) 73 return libCallThruCallGate(K32_QUERYOPTIONSSTATUS, &Param); 77 74 rc = DosDevIOCtl(hWin32k, 78 75 IOCTL_W32K_K32, … … 82 79 83 80 if (rc == NO_ERROR) 84 rc = Param. rc;81 rc = Param.hdr.rc; 85 82 } 86 83 else
Note:
See TracChangeset
for help on using the changeset viewer.