Commit Graph

389 Commits

Author SHA1 Message Date
Rob Shearman a82f4dd9b7 Don't use GetExceptionCode and GetExceptionInformation in exception filter functions.
When using native compiler exceptions, it isn't valid to use 
GetExceptionCode and GetExceptionInformation anywhere other than in the 
filter or handler blocks since it would be very hard for the compiler to 
work out where to retrieve the exception information from on the stack.

Therefore, remove the WINE_EXCEPTION_FILTER and WINE_FINALLY_FUNC macros 
which enabled GetExceptionCode, GetExceptionInformation and 
AbnormalTermination to be used inside of the functions they declared and 
fix up all callers to access the information directly.
2008-02-16 14:57:44 +01:00
Andrew Talbot 84b9356618 winedos: Remove unneeded casts. 2008-01-25 12:08:45 +01:00
Austin English 65569206b2 Spelling fixes. 2008-01-10 12:16:31 +01:00
Alexandre Julliard 4d53055f62 winedos: Don't emulate in 32-bit mode interrupts that don't have a specific handler. 2007-12-31 17:25:05 +01:00
Alexandre Julliard 201fc77fd6 winedos: Add the possibility of refusing to emulate some interrupts. 2007-12-23 13:55:12 +01:00
Alexandre Julliard e2a366ce33 kernel32: Forward interrupts in 32-bit code to winedos too. 2007-12-20 12:18:19 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Gerald Pfeifer 6b7957f4db winedos: Use DWORD instead of long for return values of SetFilePointer.
Adjust type of loop variable in INT21_Ioctl_Char().
2007-11-26 13:57:20 +01:00
Francois Gouget c4b1195c0c Assorted spelling fixes. 2007-10-23 18:20:27 +02:00
Steven Edwards c9a0da51a5 Remove more unneeded wine 16bit header usage. 2007-08-30 12:31:01 +02:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Mikołaj Zalewski 570eb6093e winedos: Make UMB executable. 2007-08-14 20:29:21 +02:00
Francois Gouget ebadbd4bd5 Assorted spelling fixes. 2007-08-09 14:13:07 +02:00
Michael Stefaniuc b4475b257e winedos: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:45 +02:00
Alexandre Julliard b8d1560ac3 winedos: Fix the device open code for the new NtCreateFile syntax for Unix files. 2007-06-18 12:53:40 +02:00
Francois Gouget 96c337f0a1 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00
Michael Stefaniuc 5c06fb0bb1 winedos: Fix printf format warnings introduced by the TEB change in thread.h. 2007-06-06 12:10:18 +02:00
Alexandre Julliard 7373ced544 winedos: Merge a number of tiny source files into interrupts.c. 2007-05-30 13:12:09 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Michael Stefaniuc 9a5c5178c2 winedos: Check a file handle against INVALID_HANDLE_VALUE, not 0. 2007-03-09 11:36:43 +01:00
Tomas Carnecky 9b4f99782e dsound: Update prototypes for IDirectSoundBuffer::Lock/Unlock. 2007-03-08 21:30:54 +01:00
Andrew Talbot bf98c9d182 winedos: Declare some items static. 2007-02-05 17:11:51 +01:00
Francois Gouget 367f91fb5c Assorted spelling fixes. 2006-12-14 20:25:05 +01:00
Dmitry Timoshkov c9a57ee196 winedos: Make some data const. 2006-11-29 12:44:37 +01:00
Alexandre Julliard d2abcecd94 winedos: Use NT instead of Unix calls to identify DOS device pseudo-files. 2006-10-31 20:24:14 +01:00
Michael Stefaniuc 56b87f3a0f janitorial: Remove redundant NULL checks before calling HeapFree wrappers. 2006-10-16 10:52:48 +02:00
Michael Stefaniuc db4eaf5e6f winedos: Win64 printf format warning fixes. 2006-10-03 15:55:37 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Dan Kegel 91f9746d2f winedos: Limit reported disk space to 1GB. 2006-07-24 12:57:34 +02:00
Michael Stefaniuc 932a2a0d54 Fix swapped 2nd and 3rd argument passed to memset. 2006-07-14 12:38:36 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Petr Tesarik 31b0a4edf6 winedos: Implement INT2F/AX=1501 (get drive device list). 2006-04-12 11:18:43 +02:00
Petr Tesarik 9f9ac54a19 winedos: Implement true CDROM DOS device driver. 2006-04-11 11:40:14 +02:00
Petr Tesarik d72178a1be winedos: Move all device driver initialization code to a newly written
function DOSDEV_SetupDevice().
2006-04-11 11:39:24 +02:00
Petr Tesarik 07d77c28fd winedos: Move most of MSCDEX stuff into a separate function. 2006-04-11 11:38:15 +02:00
Petr Tesarik 7e4ad8e6a7 winedos: Move some declarations to the header file. 2006-04-11 11:37:58 +02:00
Petr Tesarik 404eadc775 winedos: Clear TF bit before passing control to a VM86 interrupt handler. 2006-03-27 12:14:13 +02:00
Marco Timpano 8d845e3a1a winedos: Fixed a couple of typos in ppdev. 2006-02-22 12:03:07 +01:00
Alexandre Julliard b7b7f2b679 Avoid importing _strlwr/_strupr from ntdll. 2006-01-24 12:24:05 +01:00
Rein Klazes 43694d9582 winedos: Open files with write access on read only media.
If the CreateFile in INT21_CreateFile fails with ERROR_WRITE_PROTECT,
retry without write access.
2006-01-10 12:12:46 +01:00
Alexandre Julliard 59797f292e Pass specific access rights to wine_server_handle_to_fd. 2005-12-12 17:15:26 +01:00
Eric Pouech 4e7b8f4a7b kernel32: Get rid of DOSMEM_AllocSelector. 2005-12-12 13:02:35 +01:00
Markus Amsler 19d60d3c5a winedos: Implement MCB. 2005-12-12 11:50:01 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget 6d442aeb34 Assorted spelling fixes. 2005-11-23 20:14:43 +01:00