Changeset 5224 for trunk/src/win32k/lib/libW32kProcessReadWrite.c
- Timestamp:
- Feb 21, 2001, 8:47:59 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/lib/libW32kProcessReadWrite.c
r4347 r5224 1 /* $Id: libW32kProcessReadWrite.c,v 1. 1 2000-10-01 02:58:20bird Exp $1 /* $Id: libW32kProcessReadWrite.c,v 1.2 2001-02-21 07:47:58 bird Exp $ 2 2 * 3 3 * libW32kProcessReadWrite - Read or write to another process. 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; 32 25 #include "libPrivate.h" 33 26 34 27 … … 55 48 ULONG cbData = 0UL; 56 49 50 Param.hdr.cb = sizeof(Param); 51 Param.hdr.rc = ERROR_NOT_SUPPORTED; 57 52 Param.pid = pid; 58 53 Param.cb = cb; … … 60 55 Param.pvTarget = pvTarget; 61 56 Param.fRead = fRead; 62 Param.rc = ERROR_INVALID_PARAMETER;63 57 58 if (usCGSelector) 59 return libCallThruCallGate(K32_PROCESSREADWRITE, &Param); 64 60 rc = DosDevIOCtl(hWin32k, 65 61 IOCTL_W32K_K32, … … 69 65 70 66 if (rc == NO_ERROR) 71 rc = Param. rc;67 rc = Param.hdr.rc; 72 68 } 73 69 else
Note:
See TracChangeset
for help on using the changeset viewer.