Commit Graph

70 Commits

Author SHA1 Message Date
Eric Pouech 5ea3d51118 wnaspi32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-22 18:20:23 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard b089dc16bf wnaspi32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-24 17:30:00 +01:00
Alexandre Julliard d373c1a16f wnaspi32: Remove Linux-specific SCSI ioctls.
This has been broken at least since 19549d11a7.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-24 17:29:44 +01:00
Alexandre Julliard 6ba7773121 makefiles: Add a -mcygwin flag to specify the inverse of -mno-cygwin.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Michael Stefaniuc e688e1c1c4 wnaspi32: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:02 +02:00
Thierry Vermeylen 77af98e3df wnaspi32: Do not crash on SC_GETSET_TIMEOUTS.
Signed-off-by: Thierry Vermeylen <t_chan4958@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:46:58 +01:00
Alexandre Julliard 9222e4e0ea wnaspi32: Remove unnecessary DllMain implementation on non-Linux. 2014-05-16 11:34:51 +02:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard 633c3cb086 wnaspi32: Don't bother to delete critical sections at process exit. 2013-05-16 12:56:53 +02:00
Marcus Meissner bd6729dd08 wnaspi32: Mark internal symbols as hidden. 2011-04-28 18:13:52 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard a85b6fe2c4 wnaspi32: Use explicit prototypes for function pointers. 2009-10-02 15:06:59 +02:00
Alexandre Julliard a2ae7dd06c wnaspi32: Make winaspi.dll into a stand-alone 16-bit module. 2009-03-23 20:33:34 +01:00
Gerald Pfeifer 1420ef9c4b wnaspi32: Invoke ASPI_SendASPICommand() on non-Linux platforms, too. 2009-02-05 14:27:25 +01:00
Andrew Talbot acbba11c49 wnaspi32: Declare some functions static. 2009-02-03 12:39:28 +01:00
Francois Gouget f2c5f6a288 wnaspi32: Add a trailing '\n' to a Wine trace. 2008-12-29 11:35:37 +01:00
Francois Gouget 2c23ad2588 wnaspi32: Remove unneeded casts. 2008-12-08 12:05:49 +01:00
Michael Stefaniuc f4c2f2b0c4 wnaspi32: Remove some superfluous casts. 2008-12-05 12:36:29 +01:00
Michael Stefaniuc 81f919fd37 wnaspi32: Replace malloc with HeapAlloc. 2008-12-05 12:36:26 +01:00
Roderick Colenbrander fff24b061c wnaspi32: Fix a buffer size regression. 2008-11-05 15:46:28 +01:00
Rob Shearman 8ef9d20f96 wnaspi32: Protect the inclusion of dirent.h in aspi.c.
This allows the file to be compiled on platforms that don't have the
header file, such as MSVC.
2008-10-14 13:41:54 +02:00
Marcus Meissner 0ff2c06c1d Fixed RegEnumKey(Ex)W buffer sizes. 2008-10-13 12:04:26 +02:00
Andrew Talbot 53eacee0da wnaspi32: Remove unused variables. 2008-05-05 12:53:13 +02:00
Andrew Talbot d0986ac5ad wnaspi32: Assign to struct instead of using memcpy. 2008-03-24 11:32:53 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Andrew Talbot 49665fa354 wnaspi32: Remove unneeded cast. 2008-02-08 11:02:34 +01:00
Rok Mandeljc 47d1fee7fc wnaspi32: Fix controller number validation. 2007-11-02 13:03:38 +01:00
Rok Mandeljc 3a59ac0829 wnaspi32: Fix Controller -> H/C mapping. 2007-11-02 13:03:31 +01:00
Rok Mandeljc 1161d0e15e wnaspi32: Do the command dumping only after device has been verified. 2007-11-02 13:03:23 +01:00
Rok Mandeljc 084636c518 wnaspi32: Call ASPI_GetNumControllers() only once. 2007-11-02 13:02:14 +01:00
Rok Mandeljc a2a34bd80b wnaspi32: Degrade ERR of not finding registry entry for a device to TRACE. 2007-11-02 13:02:06 +01:00
Rok Mandeljc b6a9257077 wnaspi32: Print error when device cannot be opened. 2007-11-02 13:01:59 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Andrew Talbot 2a6024504a wnaspi32: Qualify use of WINE_DEFAULT_DEBUG_CHANNEL. 2007-01-02 13:20:41 +01:00
Michael Stefaniuc 72e64f53b1 wnaspi32: Win64 printf format warning fixes. 2006-10-07 17:47:46 +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
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
Alexandre Julliard 071f5f25db wnaspi32: Renamed the winaspi directory to wnaspi32. 2006-02-28 12:59:52 +01:00
David Elliott c3bcd6cec5 - Slightly reworked include files (less messy, more straightforward).
- Moved DOS ASPI functionality to msdos/dosaspi.c.
- Got rid using PROFILE to get SCSI info from wine.conf.
- Read scsi info from /proc/scsi/scsi.
- Added setting of a reasonable timeout when opening a SCSI device (5
  minutes, defined in winescsi.h).
- ExecScsiCommand now ALWAYS posts, even on error (which is the correct
  behavior).
2000-03-08 19:41:49 +00:00
Alexandre Julliard d0edc5fecd Moved dll-specific make rules to a separate Makedll.rules file. 2000-03-04 22:31:27 +00:00
Alexandre Julliard 90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Alexandre Julliard 318f4cefd2 Build most dlls as separate shared libraries. 2000-01-31 05:02:49 +00:00