Paul Vriens
868d492cf7
kernel32/tests: Fix some intermittent crashes/failures on Vista+.
2009-11-29 16:37:59 +01:00
Alexandre Julliard
ac572be030
kernel32/tests: Specify the correct machine for the fake dll file.
2009-11-24 15:53:37 +01:00
Alexandre Julliard
181b3cf07f
server: Implement the file sharing check for delete on close with an existing image mapping.
2009-11-23 17:29:22 +01:00
Alexandre Julliard
923d582f07
server: Implement the file sharing check when truncating a file that has an existing mapping.
2009-11-23 17:24:45 +01:00
Alexandre Julliard
fd504b6289
server: Implement the special file sharing rules for memory mappings.
2009-11-23 17:10:28 +01:00
Alexandre Julliard
647491418b
kernel32/tests: Add more tests for file sharing with mappings, including SEC_IMAGE mappings.
2009-11-20 14:21:31 +01:00
Alexandre Julliard
c073ee54c9
kernel32/tests: Add some tests for file sharing against a memory mapping.
2009-11-19 16:16:52 +01:00
Henri Verbeet
d4fc2fd746
kernel32: Also accept STATUS_BUFFER_OVERFLOW as a valid return code in GetFileInformationByHandle().
...
FileAllInformation is supposed to also return the file name. If it did,
"all_info" would be too small for the returned data, but since it would still
return as much information as fits in the buffer, we don't need a larger
buffer either.
2009-11-19 12:22:51 +01:00
Austin Lund
f5271ce1e3
kernel32/tests: Fixed test for GetVolumeNameForVolumeMountPoint on directory.
2009-11-16 12:43:07 +01:00
Stefan Leichter
7f1fe90e7f
kernel32: Added stub for CreateMemoryResourceNotification.
2009-11-16 12:42:19 +01:00
Alexandre Julliard
935e06c5c3
kernel32: Null-terminate the buffer also on error in GetPrivateProfileString16.
2009-11-16 11:36:08 +01:00
Alexandre Julliard
18ddbc1c7d
kernel32: Use PeekMessageW instead of UserYield.
2009-11-12 23:09:21 +01:00
Viliam Lejcik
3dc8b28d84
kernel32: Fix GetCurrencyFormat grouping.
2009-11-11 11:24:09 +01:00
Paul Vriens
159506893b
kernel32/tests: Fix some test failures on Win9x/WinMe.
2009-11-10 15:18:05 +01:00
Francois Gouget
5fb3985fa5
Assorted spelling fixes.
2009-11-09 19:42:31 +01:00
Alexandre Julliard
1a3777e2dc
ntdll: Reject VirtualAlloc blocks in NtUnmapViewOfSection.
2009-11-04 19:53:00 +01:00
Michael Martin
39d8f13785
kernel32/tests: Additional tests for CopyFile/MoveFile used on mapped files.
2009-11-04 13:17:15 +01:00
Alexandre Julliard
cf8fa5459a
kernel32: Make sure the codepage registry keys are set correctly on wineprefix creation.
2009-10-30 15:14:49 +01:00
Alexandre Julliard
36e56ad1aa
kernel32/tests: Fix FormatMessage test failures on various Windows versions.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
0e26e741f7
kernel32: Replicate the MS bug with va_list argument counting in FormatMessage.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
24a8e33fb6
kernel32/tests: Use __ms_va_list in the FormatMessage test.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
b353401513
kernel32: Fix handling of width and precision arguments and remove assumptions about va_list implementation in FormatMessage.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
100131d4ca
kernel32: Propagate the error result from RtlFindMessage in FormatMessage.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
b381958f78
kernel32: Reimplement the formatting of inserts in FormatMessageW.
2009-10-30 11:03:21 +01:00
Alexandre Julliard
3307563a6c
kernel32: Reimplement the formatting of inserts in FormatMessageA.
2009-10-30 11:01:51 +01:00
Louis Lenders
1be99033b1
kernel32/tests: Add more tests for FormatMessageA.
2009-10-29 17:07:53 +01:00
Alexandre Julliard
549116bd68
kernel32/tests: Add some tests for width and precision formatting in FormatMessage.
2009-10-29 13:06:12 +01:00
Alexandre Julliard
c9e25dbe35
kernel32: Set the 64-bit flag for builtin executables based on their load directory.
2009-10-28 11:09:20 +01:00
Alexandre Julliard
4313c95526
kernel32: Retrieve the executable information as soon as we open the file.
2009-10-28 11:03:05 +01:00
Alexandre Julliard
28f13f83a6
kernel32: Add a structure to store all the information about an executable.
2009-10-28 11:03:04 +01:00
Alexandre Julliard
072b737059
kernel32: Specify the full application path when starting wineboot.exe.
2009-10-28 10:55:35 +01:00
Alexandre Julliard
aadf703fc0
ntdll: The meaning of the flag is inverted between RtlWow64EnableFsRedirection and RtlWow64EnableFsRedirectionEx.
2009-10-28 10:55:19 +01:00
Alexandre Julliard
e487b560d9
kernel32: Make GetQueuedCompletionStatus return failure for I/O errors, as per MSDN.
2009-10-27 16:52:48 +01:00
Alexander Nicolaysen Sørnes
fca16bc519
kernel32: Implement GetProductInfo on top of ntdll stub.
2009-10-26 11:37:04 +01:00
Louis Lenders
3c92b6c5e4
kernel32: Add stub for GetVolumePathNamesForVolumeNameW.
2009-10-23 12:38:31 +02:00
Paul Vriens
cde8673339
kernel32/tests: Fix an intermittent test failure on Vista+.
2009-10-23 12:02:54 +02:00
Nikolay Sivov
e94587c98d
kernel32: Fix copied data length.
2009-10-23 12:02:17 +02:00
Alexandre Julliard
c9689897d9
kernel32: Create the syswow64 directory if necessary.
2009-10-22 19:52:12 +02:00
Alexandre Julliard
985dd53712
kernel32: Store the symlink target directly into the correct buffer in GetVolumeNameForVolumeMountPointW.
2009-10-22 14:57:24 +02:00
Alexandre Julliard
f86d10ffb6
kernel32: Make sure the 32/64-bit state of the wineprefix matches the binary we are running.
2009-10-21 19:45:17 +02:00
Alexandre Julliard
11b0b0658d
kernel32: Return the appropriate binary type for 64-bit PE files.
2009-10-21 18:02:30 +02:00
Dan Kegel
4696a53679
kernel32: Fix two little leaks in heap test.
...
Found by valgrind.
2009-10-21 17:40:19 +02:00
Aurimas Fišeras
65fc5aa57e
kernel32/nls: Add genitive forms for Lithuanian locale.
2009-10-21 16:05:58 +02:00
Nikolay Sivov
2b7a3657f7
kernel32/locale: Add support for LOCALE_RETURN_GENITIVE_NAMES for LOCALE_SMONTHNAME* locale data, update Russian nls resource accordingly.
2009-10-21 16:05:57 +02:00
Nikolay Sivov
15c0f0a42d
kernel32/tests: Add tests for LOCALE_RETURN_GENITIVE_NAMES flag for GetLocaleInfoW.
2009-10-21 16:05:57 +02:00
Alexandre Julliard
87894c5f7b
kernel32: Use the PWD variable to set the initial current directory.
2009-10-15 12:06:23 +02:00
Paul Vriens
d11df5126d
kernel32/tests: Fix some test failures on Win9x/WinMe.
2009-10-14 14:24:29 +02:00
Ray Hinchliffe
2c725de6de
kernel32: Correct ullTotalVirtual for GlobalMemoryStatusEx().
2009-10-14 13:03:33 +02:00
Stefan Dösinger
282cc71aed
kernel32: Make some functions hookable.
2009-10-14 12:21:05 +02:00
Dmitry Timoshkov
27ebfdb879
kernel32: Implement HeapQueryInformation, add some basic tests for it.
2009-10-12 12:48:03 +02:00
Alexandre Julliard
42c5215133
kernel32: Moved the DeviceIoControl function to file.c.
2009-10-08 20:30:16 +02:00
Alexandre Julliard
69a1fba4c3
kernel32: Move some 16-bit definitions to kernel16_private.h.
2009-10-08 20:29:57 +02:00
Alexandre Julliard
e5288bf42f
kernel32: Move the DOS file handle functions to file16.c.
2009-10-08 19:22:17 +02:00
Alexandre Julliard
86c6021c71
kernel32: Reimplement GetPrivateProfileString16 on top of 32-bit functions and move it to file16.c.
2009-10-08 19:12:37 +02:00
Alexandre Julliard
362ecd06f6
kernel32: Fix handling of overflows in GetPrivateProfileSectionA.
2009-10-08 16:28:17 +02:00
Ge van Geldorp
55423d8df2
kernel32/tests: Check last error before calling lstrcmpA() since it may reset GLE.
2009-10-08 12:03:02 +02:00
Alexandre Julliard
21df49c8b5
kernel32: Don't export the large integer functions on 64-bit.
2009-10-08 11:12:21 +02:00
Alexandre Julliard
65bc15998d
kernel32: Move the k32 kernel32->user32 helpers to thunk.c.
2009-10-08 11:12:21 +02:00
Alexandre Julliard
e0ce6dc32e
kernel32: Move Get/SetProcessDword to kernel16.c.
2009-10-08 11:12:21 +02:00
Alexandre Julliard
806deab0b7
kernel32: Fix a couple of compiler warnings on 64-bit.
2009-10-08 11:12:21 +02:00
Alexandre Julliard
2f3e8d3c6e
kernel32: Move the 16-bit version functions to kernel16.c.
2009-10-08 11:12:20 +02:00
Alexandre Julliard
4496f281d8
kernel32: Move the 16-bit PE module functions to kernel16.c.
2009-10-08 11:12:20 +02:00
Alexandre Julliard
6404817de4
kernel32: Move the 16-bit handle functions to kernel16.c.
2009-10-08 11:12:14 +02:00
Alexandre Julliard
b6e0b3428d
kernel32: Move the 16-bit thread and process functions to kernel16.c.
2009-10-08 11:11:45 +02:00
Alexandre Julliard
79cb7798f9
kernel32: Move the 16-bit debugger functions to kernel16.c.
2009-10-08 11:11:12 +02:00
Alexandre Julliard
c57fd07d27
kernel32: Move the 16-bit synchronization functions to kernel16.c.
2009-10-08 11:10:59 +02:00
Alexandre Julliard
fe2c157fe9
kernel32: Move the 16-bit error functions to error16.c.
2009-10-08 11:10:08 +02:00
Alexandre Julliard
3b1186de5a
kernel32: Move the 16-bit string functions to kernel16.c.
2009-10-07 17:54:30 +02:00
Ge van Geldorp
63d77d07dc
kernel32/tests: Skip some resource tests on Win7.
2009-10-07 15:20:57 +02:00
Paul Vriens
6d416e6934
kernel32/tests: Don't crash on WinMe.
2009-10-07 12:55:16 +02:00
Alexandre Julliard
fe1374cc4c
kernel32: Fix empty function prototypes.
2009-10-06 16:12:39 +02:00
Alexandre Julliard
26aea12cce
kernel32: Use call_entry_point to call functions with variable number of arguments.
2009-10-06 13:41:38 +02:00
Andrey Turkin
02ce96f425
kernel32: Send debug strings to system-wide monitor.
2009-10-06 13:41:06 +02:00
Andrey Turkin
3eaecf0476
kernel32: Always use ANSI version of OutputDebugString.
2009-10-06 12:03:35 +02:00
Ge van Geldorp
6571d1e4a8
kernel32/tests: Add acceptable error codes for Win7 process test.
2009-10-06 12:00:13 +02:00
Ge van Geldorp
4d5059060a
kernel32/tests: Fix atom tests on Win7.
2009-10-06 11:59:35 +02:00
Michael Stefaniuc
73d38b047b
kernel32/tests: Use better types than long.
2009-10-06 11:57:53 +02:00
Andrey Turkin
95eb435a33
kernel32: Catch invalid memory accesses in resource enumeration handlers.
2009-10-05 15:55:24 +02:00
Dmitry Kislyuk
c81d1e78f7
kernel32/tests: Pass test on error code returned by Windows 7.
2009-10-05 13:46:01 +02:00
Juan Lang
6614323807
kernel32: Set time between interrupts in GetSystemTimeAdjustment.
2009-10-01 11:33:27 +02:00
Paul Vriens
a04e265486
kernel32/tests: Fix some test failures on WinMe.
2009-09-29 14:22:33 +02:00
Alexandre Julliard
c1dbeade52
kernel32: Make toolhelp.dll into a stand-alone 16-bit module.
2009-09-28 20:00:15 +02:00
Alexandre Julliard
72b0389bc6
kernel32: Moved private function prototypes out of toolhelp.h.
2009-09-28 19:59:09 +02:00
Alexandre Julliard
b088cc5781
kernel32: Moved GetThreadSelectorEntry to thread.c.
2009-09-28 19:58:45 +02:00
Alexandre Julliard
2c491feb4b
kernel32: Moved ToolHelpHook16 to kernel16.c, it's not a toolhelp function.
2009-09-28 19:57:56 +02:00
Alexandre Julliard
9bf4de22f4
kernel32: Moved MemManInfo16 to toolhelp16.c.
2009-09-28 19:57:28 +02:00
Alexandre Julliard
2e1b87d547
kernel32: Allocate the global arena array only once and store a pointer to it in THHOOK.
2009-09-28 19:56:44 +02:00
Alexandre Julliard
55b5e3a727
kernel32: Make system.drv into a stand-alone 16-bit module.
2009-09-28 19:56:10 +02:00
Alexandre Julliard
68dd560860
winedos: Always run the BIOS tick timer.
2009-09-28 19:55:39 +02:00
Stefan Leichter
2c576e88b4
kernel32: Check parameter of CheckRemoteDebuggerPresent with tests.
2009-09-28 12:37:28 +02:00
Alexandre Julliard
b9251bcdbf
kernel32/tests: Fix a couple of failures in the comm tests.
2009-09-24 13:10:54 +02:00
Alexandre Julliard
9f28d9a171
kernel32: Cope with an empty resource section in UpdateResource.
2009-09-24 13:10:39 +02:00
Michael Stefaniuc
a8c19696f1
kernel32: Add missing stdarg.h include.
...
This fixes a compile breakage with older gcc versions.
2009-09-23 12:33:25 +02:00
Eric Pouech
e1e9f5993f
kernel32: Rewrite GetSystemInfo() purely on ntdll calls.
2009-09-22 16:54:59 +02:00
Eric Pouech
004fdc7a97
ntdll: Moved CPU related registry key creation from kernel32 to ntdll.
2009-09-22 16:54:14 +02:00
Eric Pouech
0bf33d6ac2
kernel32: Store the process features flag in the KUSER_SHARED_DATA structure.
2009-09-22 16:51:11 +02:00
Eric Pouech
f6ceedf6dd
ntdll: In SYSTEM_BASIC_INFORMATION, the active processors field refers to the affinity mask.
2009-09-22 16:47:25 +02:00
Ge van Geldorp
160d7dfb91
kernel32/tests: Fix actctx tests on Vista+.
2009-09-15 17:33:50 -05:00
Akihiro Sagawa
c9be290e79
kernel32: Add Japanese system error messages.
2009-09-15 16:41:25 -05:00
Alexandre Julliard
72241b5d47
ntdll: Make sure that serial ioctl calls fail on non-serial handles.
2009-09-10 11:06:01 +02:00