Commit Graph

1201 Commits

Author SHA1 Message Date
James Hawkins ff77264a95 Correct third parameter of NtQueryInformationAtom. 2005-09-06 09:26:31 +00:00
Alexandre Julliard 883d3c52d3 Use explicit function pointers for pthread support instead of relying
on ELF symbol overriding.
2005-09-03 15:11:29 +00:00
Mike McCormack b5bd4a101a Fix gcc 4.0 warnings. 2005-09-02 14:47:36 +00:00
Alexandre Julliard 54e9e8745d Fixed a file descriptor leak. 2005-09-02 12:31:35 +00:00
Alexandre Julliard bba5423d0f Uncomment out DisableThreadLibraryCalls in DllMain and add the
kernel32 imports that it requires.
2005-08-29 15:11:37 +00:00
Glenn Wurster cee9a0f2a3 Make stack check work if stack is a small value. 2005-08-25 19:20:21 +00:00
Alexandre Julliard b6b180a16d Moved the implementation of spec file stubs to the winecrt0 library. 2005-08-25 15:27:44 +00:00
Alexandre Julliard 0f41df1681 Use FILE_GetDeviceInfo in NtMapViewOfSection to avoid having to fetch
the file descriptor twice.
2005-08-25 10:23:23 +00:00
Alexandre Julliard f62f6e8fe1 Don't cache file descriptors open on removable devices. 2005-08-24 18:33:50 +00:00
Alexandre Julliard bc22e2f03d Moved the FileFsDeviceInformation query to a separate function. 2005-08-24 18:27:27 +00:00
Alexandre Julliard 38502f70eb Added a separate set_handle_cached_fd request instead of abusing
set_handle_info for that.
2005-08-23 18:43:50 +00:00
Alexandre Julliard 0f254d0356 Removed a few internal functions that are no longer exported on
Windows.
2005-08-19 10:21:17 +00:00
Alexandre Julliard a5156dcf40 Added a stub for NtAlertResumeThread. 2005-08-18 11:47:17 +00:00
Ivan Leo Puoti aab12f5f7c Implement FSCTL_PIPE_DISCONNECT in NtFsControlFile and make
DisconnectNamedPipe call it.
2005-08-18 10:59:26 +00:00
Vitaliy Margolen d27c7135ef Add trace to IOCTL_CDROM_RAW_READ. 2005-08-18 10:49:04 +00:00
Francois Gouget 03ede20086 Fix a couple of MSVC signed/unsigned warnings. 2005-08-17 09:53:39 +00:00
Alexandre Julliard 4886c176f4 There is a registry key for the service pack version (spotted by
Vitaliy Margolen).
2005-08-16 16:13:42 +00:00
Ivan Leo Puoti 9f3af964c7 Improve NtCreateNamedPipe trace. 2005-08-16 15:57:59 +00:00
Alexandre Julliard 4749dd3eaa Fetch the version information from the standard Windows keys if not
specified otherwise.
2005-08-16 11:16:10 +00:00
Ivan Leo Puoti dfb887dc9f NtCreateNamedPipeFile is no longer a stub, so fix TRACE() call. 2005-08-16 11:13:21 +00:00
Alexandre Julliard 7721b267f5 Fixed some confusion over whether HEAP_MIN_BLOCK_SIZE includes the
arena headers of not.
Free list sizes are constant so there's no need to store them in the
heap structure.
2005-08-15 20:49:47 +00:00
Alexandre Julliard f356dd541a Switch the default version to win2k. 2005-08-15 14:52:37 +00:00
Alexandre Julliard 4ebd2fc0ff Better handling of conflicting section information between
SizeOfRawData and VirtualSize.
2005-08-15 14:50:06 +00:00
Alexandre Julliard 03c3b4e7e0 Converted the process heap list to a standard list. 2005-08-12 18:25:16 +00:00
Francois Gouget bcd56fe0e5 Assorted spelling fixes. 2005-08-12 18:22:06 +00:00
Alexandre Julliard c50597c94d Converted the heap free lists to standard lists. 2005-08-12 16:05:46 +00:00
Alexandre Julliard b480a3c544 Removed a redundant and possibly wrong warning. 2005-08-12 16:02:42 +00:00
Alexandre Julliard 8c375c7fd4 Don't map data beyond the virtual size of a section. 2005-08-12 11:21:45 +00:00
Francois Gouget 1b4e18fee7 Define WIN32_NO_STATUS so we don't get 'duplicate macro' errors when
compiling with the PSDK and MSVC.
Add some types that are not defined by the PSDK.
2005-08-11 17:04:07 +00:00
Alexandre Julliard 5617b716e7 Added a wine_unix_to_nt_file_name function to do proper pathname
conversions instead of relying on GetFullPathName hacks.
2005-08-11 10:41:26 +00:00
Francois Gouget 46940ac99e Remove unneeded wine/library.h include.
Use lstrlenW() instead of the Wine-specific strlenW(). This also lets
us get rid of the wine/unicode.h include.
Define the InitializeObjectAttributes() macro if not using Wine's
winternl.h header.
2005-08-11 10:29:03 +00:00
Francois Gouget 023bd5358a Define RTL_HANDLE and RTL_HANDLE_TABLE if not using Wine's winternl.h
header. Fixes the compilation with the PSDK.
2005-08-10 15:00:32 +00:00
Alexandre Julliard 4fd5bf40a2 Implemented RtlGetNtProductType. 2005-08-10 14:48:45 +00:00
Alexandre Julliard 915aebb852 Moved the version initialization to ntdll.
Properly set the version fields in the PEB.
Removed some no longer used structures.
2005-08-10 13:12:27 +00:00
Alexandre Julliard 31dd4af57d Don't call process attach notification during process shutdown.
Make sure we don't insert a module in the same list twice.
2005-08-09 20:45:46 +00:00
Alexandre Julliard 475f2336cc Specify a base address for kernel and ntdll. 2005-08-09 11:19:01 +00:00
Alexandre Julliard 9f32a5c865 Added a VIRTUAL_alloc_teb function to allocate TEBs while making sure
they don't end up above the address space limit.
2005-08-09 10:43:47 +00:00
Tobias Gruetzmacher cdd75bd413 Reverse the direction of raw SCSI commands. 2005-08-08 11:02:32 +00:00
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Alexandre Julliard 5e787ba521 Hack to make the main heap critical section have a proper debug info
structure.
2005-08-03 16:03:15 +00:00
Vitaliy Margolen fa9c730cf6 Implement IOCTL_SCSI_GET_INQUIRY_DATA. 2005-08-03 10:55:12 +00:00
Alexandre Julliard 760ff4338d Removed a noisy trace. 2005-08-02 14:42:51 +00:00
Alexandre Julliard 55ad6cc520 Implemented a few trivial ntdll functions that have been added in
recent Windows versions.
2005-08-02 11:38:51 +00:00
Alexandre Julliard 4de75b5a6f Use the new RtlExitUserThread function instead of exporting
wine_server_exit_thread.
2005-08-02 09:55:40 +00:00
Alexandre Julliard 7be607f7c0 Added commented out stubs for a bunch of new functions. 2005-08-01 14:59:26 +00:00
Vitaliy Margolen 0cb33a9d51 Fixed IOCTL_SCSI_GET_ADDRESS. 2005-08-01 14:50:59 +00:00
Alexandre Julliard e0097da1de Added names for a bunch of status values. 2005-07-28 18:40:45 +00:00
Vincent Béron ca26076164 Use proper macro for using IOKit includes. 2005-07-24 16:15:06 +00:00
Alexandre Julliard 8e21562903 Added small assembly wrapper to call entry points without having to
worry about their calling convention.
2005-07-22 19:50:13 +00:00
Paul Vriens b7fcecca3e Use current process if assigned process cannot be opened. 2005-07-22 19:48:16 +00:00