Commit Graph

875 Commits

Author SHA1 Message Date
Alexandre Julliard fb04bcf638 Fix position of CDECL qualifier for functions that return pointers. 2009-02-06 14:54:01 +01:00
Christoph von Wittich 4192d34dd9 kernel32: DeviceIoControl: lpBytesReturned must not be NULL if lpOverlapped is NULL. 2009-02-06 13:03:06 +01:00
Alexandre Julliard 5d0f3aa33b kernel32/tests: Add another error code in the CreateDirectory test. 2009-02-03 22:23:19 +01:00
Alexandre Julliard 3cd4150059 kernel32/tests: Don't hardcode C drive for CreateDirectory tests. 2009-02-03 15:21:47 +01:00
Alexandre Julliard 1a28fb6c16 kernel32/tests: Use a better invalid filename than "foo". 2009-02-03 15:15:49 +01:00
Alexandre Julliard bdfa9c3a1b kernel32/tests: Allow more error codes from GetDiskFreeSpace. 2009-02-03 15:04:24 +01:00
Alexandre Julliard e8d36ff9a1 kernel32/tests: Print some more details on directory test failures. 2009-02-03 15:01:41 +01:00
Marcus Meissner 5493b77290 kernel32: Handle username conversion failure (Coverity). 2009-02-02 15:21:43 +01:00
Paul Vriens 047a43f084 kernel32/tests: Fix remaining failures on Win9x and WinME. 2009-02-02 12:12:24 +01:00
Paul Vriens a8c24d343c kernel32/tests: Fix some test failures on Win9x and WinME. 2009-02-02 12:12:16 +01:00
Paul Vriens 2bac661c2f kernel32/tests: Fix some tests on Win9x and WinME (GetPrivateProfileSection). 2009-02-02 12:12:09 +01:00
Paul Vriens b7b59236cf kernel32/tests: Fill the buffer and check for double-NULL to show a bug in Wine. 2009-02-02 12:12:03 +01:00
Paul Vriens 8236f362ff kernel32/tests: Fix some test failures on Win9x and WinME. 2009-01-30 11:43:21 +01:00
Paul Vriens a21ea16f90 kernel32/tests: Skip some tests on Win9x and WinME. 2009-01-30 11:43:16 +01:00
Alexandre Julliard 3e88d45f7c kernel32/tests: Don't test the implementation details of the SList structure. 2009-01-29 22:08:07 +01:00
Alexandre Julliard b8712b7f8a kernel32/tests: Support broken GetTempPath return value on WinME. 2009-01-29 22:07:50 +01:00
Paul Vriens 407f0d9f56 kernel32/tests: Fix some test failures on Win9x and WinME (GetPrivateProfileString). 2009-01-29 12:19:35 +01:00
Paul Vriens 48f035bd4c kernel32/tests: Fix some test failures on Win9x and WinME (GetPrivateProfileSectionNames). 2009-01-29 12:19:29 +01:00
Paul Vriens 7099cdebd5 kernel32/tests: Fix some test failures on several platforms. 2009-01-29 12:19:19 +01:00
Hans Leidekker 2095ba19bb kernel32: Add stub implementations of Wow64DisableWow64FsRedirection and Wow64RevertWow64FsRedirection. 2009-01-29 12:17:58 +01:00
Paul Vriens cca75cc147 kernel32/tests: Don't crash when run as a normal user. 2009-01-28 12:32:22 +01:00
Paul Vriens dda0fe451d kernel32/tests: Fill the buffer to show a bug in Wine. 2009-01-28 12:32:05 +01:00
Austin English eb877e4421 kernel32: Add a stub for OpenProfileUserMapping. 2009-01-28 12:11:22 +01:00
Alasdair Sinclair 116886cf0a kernel32/tests: Fix missing void in empty parameter list. 2009-01-28 12:10:55 +01:00
Alexandre Julliard a79868e09d kernel32/tests: Don't hardcode C drive for SetCurrentDirectory tests.
Also handle the case where TMP and TEMP are not defined.
2009-01-27 14:55:30 +01:00
Marcus Meissner e1d9a793be kernel32: Initialize events correctly. 2009-01-27 11:09:24 +01:00
Ge van Geldorp ee3a743e6c kernel32/tests: "none" debugger test needs user interaction. 2009-01-26 16:08:30 +01:00
Nikolay Sivov 2ddcb295b6 kernel32: Added DeleteTimerQueue. 2009-01-23 13:12:31 +01:00
Nikolay Sivov 32cc4011ee kernel32: Make GetOverlappedResult crash on NULL args as native does. 2009-01-22 15:28:24 +01:00
Alexandre Julliard 6d0a0fb182 kernel32/nls: Use a codepage 950 encoding that round trips correctly for Unicode char 0x5341. 2009-01-20 16:43:08 +01:00
Francois Gouget 89c63fd32b kernel32: Fix some bad left-over uses of value in the CPU detection code. 2009-01-20 12:33:44 +01:00
Alexandre Julliard 317ad64985 kernel32: LCMapString should include the terminating NULL also for LCMAP_SORTKEY. 2009-01-19 13:46:30 +01:00
Austin English 7f3439d556 kernel32: Fix a compiler warning on NetBSD. 2009-01-19 13:36:26 +01:00
Andrew Nguyen 976d5cae8d kernel32: Ensure that WriteConsoleW succeeds with an empty input buffer. 2009-01-19 13:36:25 +01:00
Andrew Nguyen 1571c05ad5 kernel32/tests: Simplify a test function's parameters. 2009-01-19 13:36:25 +01:00
Alexandre Julliard 31fd066393 kernel32/tests: Add test cases for reading/writing process memory from an invalid buffer address. 2009-01-15 12:06:16 +01:00
Alexandre Julliard e016d2ec5e kernel32: Remove the DIB section hack in WriteFile now that NtWriteFile takes care of it. 2009-01-15 12:06:16 +01:00
Alexandre Julliard 8de57bd541 kernel32/tests: Add test cases for reading/writing from an invalid buffer address. 2009-01-15 12:05:53 +01:00
Nikolay Sivov 4e12b8efc8 kernel32/tests: Some todo tests for CompareStringA and lstrcmpi. 2009-01-14 15:54:41 +01:00
Nikolay Sivov 2013cdc604 kernel32: Implemented GetErrorMode(). 2009-01-13 16:39:45 +01:00
Andrey Turkin d2685e7bd7 ntdll: Add RtlCaptureStackBackTrace stub. 2009-01-12 14:37:57 +01:00
Francois Gouget b881cfc541 kernel32: Fix the sysctl() usage and the CPU detection on NetBSD. 2009-01-09 14:06:13 +01:00
Alexandre Julliard 02a1c0d7ee kernel32/tests: Fix some integer to pointer conversion warnings. 2009-01-08 13:17:53 +01:00
Alexandre Julliard 1f83e7d9fd kernel32/tests: Use _lclose instead of CloseHandle to avoid handle casts. 2009-01-08 13:05:16 +01:00
Francois Gouget 581e390115 winapi_test: The tests don't support WIN64 yet so disable them there. 2009-01-08 12:47:22 +01:00
Francois Gouget 411f5d22c0 winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong. 2009-01-08 12:46:39 +01:00
Francois Gouget 9f62c9b7a8 winapi_test: Fix TEST_FIELD() so it correctly tests the field size. 2009-01-08 12:44:49 +01:00
Francois Gouget 43c18c1321 winapi_test: FIELD_ALIGNMENT() is redundant so remove it. 2009-01-08 12:43:15 +01:00
Francois Gouget 2e668d2572 winapi_test: Updated so the generated tests work. 2009-01-08 12:42:12 +01:00
Alexandre Julliard 13df062d36 kernel32: #ifdef out some code that is not needed on non-i386. 2009-01-07 11:10:16 +01:00
Alexandre Julliard 27bb18a531 kernel32: Moved the 16-bit WOW thunk routines to thunk.c. 2009-01-06 20:28:08 +01:00
Alexandre Julliard 1b2ceb5718 kernel32: Moved _DebugOutput to kernel16.c. 2009-01-06 20:27:51 +01:00
Alexandre Julliard e31188d9da winebuild: Improve the calling sequence for register functions.
Pass parameters on the stack instead of retrieving them from the code
stream; this ensures that the code contains only valid instructions.
2009-01-06 12:51:18 +01:00
Alexandre Julliard 9f6ff3d5af kernel32: Change the DEFINE_REGS_ENTRYPOINT macro to use a number of args instead of a size.
Also assume that all register functions are stdcall.
2009-01-06 12:49:38 +01:00
Austin English f4d7369ba3 kernel32: Fix a compiler warning on non-i386. 2009-01-05 12:34:25 +01:00
Alexandre Julliard c9b4210b9c kernel32/tests: Use the actual name of the exe module in toolhelp tests. 2009-01-04 14:59:34 +01:00
Alexandre Julliard 1cdccc7de7 kernel32/tests: Comment out a couple of heap tests that crash on 64-bit Vista. 2009-01-04 14:47:59 +01:00
Alexandre Julliard 935a406b27 include: Fix data structures for processor affinity on 64-bit. 2009-01-04 14:47:24 +01:00
Alexandre Julliard 9e070a6108 kernel32/tests: Use the correct SIZE_T type instead of unsigned long. 2009-01-03 20:21:43 +01:00
Alexandre Julliard b712358152 kernel32/tests: Fix the NT header initialization for 64-bit. 2009-01-03 20:21:25 +01:00
Alexandre Julliard 52f99aeacb kernel32/tests: Don't compare the result of llseek or hwrite against HFILE_ERROR. 2009-01-03 20:21:01 +01:00
Alexandre Julliard bb7de132dd kernel32/tests: Fix pointer casting warnings on 64-bit. 2009-01-03 20:20:14 +01:00
Alexandre Julliard 6a548b1e9d ntdll: Fix the various structures returned by NtQuerySystemInformation for 64-bit. 2009-01-03 14:55:32 +01:00
Austin English d760ec8410 kernel32: Add heap support for OpenBSD. 2009-01-03 14:55:31 +01:00
Alexandre Julliard 9f365e7705 server: Replace EXCEPTION_RECORD by an explicit definition in debug events. 2009-01-02 20:12:46 +01:00
Alexandre Julliard bc03f0ee39 server: Simplify the debug_event_t structure. 2009-01-02 20:09:25 +01:00
Alexandre Julliard 02229896be kernel32/tests: Use the correct value for invalid heap sizes on 64-bit. 2009-01-02 12:20:53 +01:00
Austin English e9569d9c4e kernel32/tests: Fix compile on powerpc. 2009-01-02 11:51:41 +01:00
Alexandre Julliard 5f36d0239f kernel32: Convert FormatMessageA/W to use an MS ABI vararg list for x86_64. 2008-12-31 20:59:51 +01:00
Alexandre Julliard fb7acdcb28 user32: Convert wvsprintfA/W to use an MS ABI vararg list for x86_64. 2008-12-31 20:59:33 +01:00
Alexandre Julliard fa8643805b server: Make TEB and PEB client_ptr_t instead of void pointers. 2008-12-31 15:09:59 +01:00
Alexandre Julliard c6c335d70e server: Make thread entry points client_ptr_t instead of void pointers. 2008-12-31 15:09:59 +01:00
Alexandre Julliard 93737d5575 server: Store debugging output strings as client_ptr_t instead of void pointers. 2008-12-29 17:16:46 +01:00
Alexandre Julliard 947976f22c server: Store module names as client_ptr_t instead of void pointers. 2008-12-29 17:10:11 +01:00
Alexandre Julliard f2c4e09e80 server: Make module handles always 64-bit. 2008-12-29 16:47:51 +01:00
Ge van Geldorp c7905ffebc kernel32/tests: Use shared Windows directory on TS to find regedit.exe. 2008-12-29 12:11:41 +01:00
Francois Gouget 770d28d180 kernel32: Fix a comment in LocalInit16(). 2008-12-29 11:35:36 +01:00
Alexandre Julliard 3ece9e9002 include: Move the DEFINE_REGS_ENTRYPOINT macros to the dlls that use it. 2008-12-27 19:47:46 +01:00
Alexandre Julliard 0ce0af5f16 kernel32: Move AllocMappedBuffer/FreeMappedBuffer to thunk.c. 2008-12-27 19:45:52 +01:00
Maarten Lankhorst 70441d5bb8 kernel32: Change all functions to use CDECL. 2008-12-23 13:09:45 +01:00
Andrew Talbot a1e31e580e kernel32: Remove unused Wine debug channel. 2008-12-19 17:36:35 +01:00
Maarten Lankhorst 768160e944 ntdll: Make all exported wine functions CDECL. 2008-12-17 15:02:25 +01:00
Alexander Nicolaysen Sørnes 93488b19dc kernel32: Add stub for GetConsoleAliasW. 2008-12-15 13:27:03 +01:00
Francois Gouget 0f305929bc kernel32: Make some functions static. 2008-12-15 12:25:39 +01:00
Francois Gouget 7271ed5532 kernel32: Remove _hread16() as it is not used. Move _hwrite16() next to the other related functions. 2008-12-12 11:46:25 +01:00
Alexandre Julliard a2089abd94 ntdll: Enforce correct protection values in virtual memory functions. 2008-12-11 14:05:42 +01:00
Austin English 7a92db4e8b kernel32: Convert a warn to an err. 2008-12-10 11:23:37 +01:00
Alexandre Julliard ffb44032ad kernel32/tests: Fixed the handle test for Win9x. 2008-12-08 21:19:39 +01:00
Alexandre Julliard 50d6b7fb54 ntdll: Added stubs for RtlLookupFunctionEntry and RtlVirtualUnwind. 2008-12-08 19:29:06 +01:00
Alexandre Julliard f06d99f67a include: Implemented inline asm functions for x86_64. Export Interlocked* only on i386. 2008-12-08 19:25:25 +01:00
Alexandre Julliard 7fdadbb377 server: Add functions for conversions between server user handles and pointer-style handles. 2008-12-08 16:58:20 +01:00
Alexandre Julliard d1b3d484f7 server: Add functions for conversions between server object handles and pointer-style handles. 2008-12-08 16:05:17 +01:00
Alexandre Julliard fea2aa55d0 include: Fix the 64-bit value of magic handle constants. 2008-12-08 15:51:22 +01:00
Alexandre Julliard 7749b6e2dd kernel32/tests: Added some tests for behavior of 64-bit kernel handles. 2008-12-08 13:39:31 +01:00
Francois Gouget 7e43f8a4fe kernel32: Remove unneeded casts of zero. 2008-12-08 12:05:39 +01:00
Alexandre Julliard a840b6a7f8 Avoid including time.h before winsock.h in tests. 2008-12-04 12:42:53 +01:00
Alexandre Julliard 31a641aa59 ntdll: Implemented RtlCaptureContext. 2008-12-04 12:42:53 +01:00
Alexandre Julliard c03917c173 Define _WIN32_WINNT before including any headers. 2008-12-04 12:10:16 +01:00
Jeff Zaroyko afce615830 wineserver: Don't use O_CREAT and O_EXCL when attempting to open directories. 2008-12-03 09:58:21 +01:00
Jeff Zaroyko f8b5aa34dc kernel32: Add a test for CreateFile when using OPEN_ALWAYS on directories. 2008-12-03 09:57:52 +01:00