Changeset 5224 for trunk/src/win32k/lib/libWin32kSetOptions.c
- Timestamp:
- Feb 21, 2001, 8:47:59 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/lib/libWin32kSetOptions.c
r5131 r5224 1 /* $Id: libWin32kSetOptions.c,v 1. 3 2001-02-14 12:46:56bird Exp $1 /* $Id: libWin32kSetOptions.c,v 1.4 2001-02-21 07:47:59 bird Exp $ 2 2 * 3 3 * libWin32kSetOptions - Sets the changable options of win32k.sys the options. 4 4 * 5 * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@mynd.no)5 * Copyright (c) 2000-2001 knut st. osmundsen (knut.stange.osmundsen@mynd.no) 6 6 * 7 7 * Project Odin Software License can be found in LICENSE.TXT … … 23 23 #include <os2.h> 24 24 #include "win32k.h" 25 26 27 /******************************************************************************* 28 * Global Variables * 29 *******************************************************************************/ 30 extern BOOL fInited; 31 extern HFILE hWin32k; 25 #include "libPrivate.h" 32 26 33 27 … … 65 59 ULONG cbData = 0UL; 66 60 61 Param.hdr.cb = sizeof(Param); 62 Param.hdr.rc = ERROR_NOT_SUPPORTED; 67 63 Param.pOptions = pOptions; 68 Param.rc = ERROR_INVALID_PARAMETER;69 64 65 if (usCGSelector) 66 return libCallThruCallGate(K32_SETOPTIONS, &Param); 70 67 rc = DosDevIOCtl(hWin32k, 71 68 IOCTL_W32K_K32, … … 75 72 76 73 if (rc == NO_ERROR) 77 rc = Param. rc;74 rc = Param.hdr.rc; 78 75 } 79 76 else
Note:
See TracChangeset
for help on using the changeset viewer.