Commit Graph

126 Commits

Author SHA1 Message Date
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Peter Ganten f22bea0a76 Better implementation of GetShortPathNameA/W. 1999-03-14 15:15:14 +00:00
Michael McCormack a84860785a Basic support for WIN32 serial communications API.
Modify DOSFS_OpenDevice to allow opening of COM ports.
Change Win32 comm functions to accept file handle.
Add declaration of COMSTAT32 structure.
1999-03-14 12:25:36 +00:00
Marcus Meissner 412d025243 Changed CreateDirectory LastError returns to match Win32 (found out by
experiment). Adapted int21 CreateDirectory call to still return the
correct DOS error codes according to Ralph Brown.
1999-02-28 19:50:39 +00:00
Alexandre Julliard 3f09ec5263 CLIENT_WaitReply: don't clear last error on success; fixed callers
accordingly (based on a patch by Juergen Schmied).
1999-02-28 19:25:51 +00:00
Andreas Mohr df8cdfdfac Better error message. 1999-02-28 16:56:48 +00:00
Alexandre Julliard 96c08d817c Use server handles directly for Win32 handles. Removed use of K32OBJ. 1999-02-28 13:27:56 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Michael Veksler 249d14ba29 Fixed warning and compilation errors. 1999-02-25 16:39:16 +00:00
Marcus Meissner 04c3e1d456 Removed a lot of occurences of windows.h (and added necessary other
includes).
1999-02-19 10:37:02 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Uwe Bonnes 3dbc7881ea Fix GetTempDrive behaviour. 1999-02-14 17:32:46 +00:00
Juergen Schmied 1ed51af346 Small fixes to compile with the headers (mostly nt-security). 1999-02-12 17:47:07 +00:00
Uwe Bonnes 272334287b Set the flags for GetVolumeInformation32A. 1999-02-11 10:23:05 +00:00
Ulrich Weigand b7b205046f Call VIRTUAL_HandleFault if read/write returns EFAULT. 1999-02-09 15:29:27 +00:00
Juergen Schmied 639568276e Wrong access on server handle was demanded (GENERIC_READ instead of
GENERIC_WRITE).
1999-02-09 14:17:35 +00:00
Andreas Mohr e3728cd27a Use vfat/win95 as default. 1999-02-05 10:16:19 +00:00
Eric Pouech 6ec6492ff6 GetDiskFreeSpaceEx32A can get null pointers and still not crash. 1999-02-02 10:25:41 +00:00
Alexandre Julliard 4ff2a27c09 Changed DOS extended error handling to be based on SetLastError;
should be more thread-safe this way.
1999-01-31 15:23:45 +00:00
Marcus Meissner 6b5a811175 Some more warnings and bugs fixed. 1999-01-30 13:06:00 +00:00
Alexandre Julliard 9416abaff7 Don't abort PROFILE_GetSection on empty keys. 1999-01-26 17:29:49 +00:00
Marcus Meissner b12e72d685 DOS programs use handles 0-4 without opening/closing any of those
handles first. Split up Init from AllocDosHandle and call it from
the DOSVM.
1999-01-23 14:01:08 +00:00
Alexandre Julliard 62a8b43301 Hacked server-side device support
Added user APCs support.
Many changes to the xterm console to make use of the server (not
finished yet).
Moved some other small stuff to the server.
1999-01-19 17:48:23 +00:00
Alexandre Julliard 8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Juergen Schmied 8640716a66 Bugfix for trailing slashes, repetition of '/' or '\' and
SetLastError() in GetFullPathname.
1999-01-03 16:12:01 +00:00
Andreas Mohr cc0248e52d Implemented raw device access calls for ioctlGenericBlkDevReq()
and therefore moved the core functionality of int2[56].c into files/drive.c.
1999-01-03 12:31:51 +00:00
Alexandre Julliard 0562539d18 Implemented file sharing checks in the server.
Added set file time server request.
Overall clean up of the file handling (DOS device handling is now
broken, should be redone).
1999-01-03 11:55:56 +00:00
Alexandre Julliard 6ebbe3c949 Cleaned up and removed some no longer used code. 1999-01-01 17:04:00 +00:00
Alexandre Julliard 55443878fc Removed client-side wait functions; all waiting is now done through
the server.
1998-12-31 15:52:06 +00:00
Alexandre Julliard fbe63adcc7 Reimplemented Read/WriteFile to use server file descriptors.
Removed file position hack as it is wrong for Win32 (should be redone
for Win16 only).
1998-12-30 12:10:06 +00:00
Alexandre Julliard 338e757d08 Added beginnings of server-side file handling.
Added -debugmsg +server support.
Better server request dumping for varargs requests.
1998-12-27 15:28:54 +00:00
Marcus Meissner 73458b03cd Changed // comments to /* */ so WINE compiles with non-gcc compilers
again.
1998-12-26 12:54:29 +00:00
Huw D M Davies a03f064175 Fix GetTempPath32 if count=0. 1998-12-15 18:04:58 +00:00
Juergen Schmied 30f503fd01 Bugfix: GetFullPathName sets lpFilePart only when the last element
does not end with '\'.
1998-12-15 17:28:26 +00:00
Marcus Meissner ad7538bfc5 Made async IO (SIGIO) stuff from WINSOCK generic useable.
Added async IO support to FILE and CONSOLE objects.
1998-12-14 18:15:10 +00:00
Marcus Meissner 7d123bf0e4 Added Win32 synchro to FILEs (useful only for terminal handles). 1998-12-11 09:13:29 +00:00
Alexandre Julliard 0c0e3bebb8 Authors: Francis Beaudet <francis@macadamian.com>, Sylvain St-Germain <sylvain@macadamian.com>, Thuy Nguyen <thuy@macadamian.com>
Lots of new stubs.
1998-12-10 15:49:22 +00:00
Uwe Bonnes f3836f5f37 Fixed DRIVE_GetFreeSpace to handle space > 4 GByte. 1998-12-10 09:56:06 +00:00
Marcus Meissner d5e7c7927c Some unnecessary #include and messages removed. 1998-12-09 11:06:00 +00:00
Alexander Larsson 2772a67c7d Reverted previous patch. 1998-12-07 16:23:42 +00:00
Alexander Larsson a8745ea31e Opening a file in a directory which doesn't exist returns
ERROR_FILE_NOT_FOUND instead of ERROR_PATH_NOT_FOUND.
1998-12-02 10:04:52 +00:00
Andreas Mohr 4ae195a2f5 Improved GetDiskFreeSpace32A(). 1998-11-27 15:02:25 +00:00
Juergen Schmied 4658e4d8dd Fixes error handling (SetLastError() and return value). 1998-11-22 12:21:05 +00:00
Uwe Bonnes 99f1d37798 Fixed an error in the implementation of FILE_ShareDeny. 1998-11-06 16:39:57 +00:00
Jesper Skov 5c3e457b16 egcs 'ambiguous else' warnings fixes. 1998-11-01 19:27:22 +00:00
Uwe Bonnes 2e52589dea Give tempfile a different name even if they are created in the same
second. Removed some fixmes from the ShareDeny stuff.
1998-11-01 15:04:52 +00:00
Rein Klazes 1518a949cb Small bug in FILE_InUse does not do a release on every acquired file
pointer.
1998-10-31 12:08:55 +00:00
Uwe Bonnes a370ab4eb7 File sharing fixes. 1998-10-24 09:16:44 +00:00
Marcus Meissner 575a1653f4 DefineDosDevice stub added. 1998-10-21 16:47:29 +00:00