Marcus Meissner
b45367347a
kernel32: Skip modem status tests if GetModemStatus failed.
2007-05-21 12:38:56 +02:00
Alexandre Julliard
73cc00f9a5
ntoskrnl.exe: Reuse the kernel32 instruction emulation support for kernel-mode drivers.
2007-05-18 16:37:23 +02:00
Dmitry Timoshkov
e690916f68
kernel32: Add an overflow test for MultiByteToWideChar.
2007-05-18 14:12:20 +02:00
Dmitry Timoshkov
90bafb3cc1
kernel32: Print last error value as unsigned, printing error in hex is useless.
2007-05-18 14:12:16 +02:00
Alexandre Julliard
8530cb0aec
kernel32: Check for already loaded module also for LOAD_LIBRARY_AS_DATAFILE.
2007-05-16 16:58:51 +02:00
Alexandre Julliard
306d71c3fe
kernel32: Support incrementing the module refcount in GetModuleHandleEx.
2007-05-16 16:47:11 +02:00
Dmitry Timoshkov
59a2686ae4
kernel32: Add a test for LoadLibraryEx(LOAD_LIBRARY_AS_DATAFILE).
2007-05-16 11:55:32 +02:00
Kirill K. Smirnov
24bf66180b
kernel32/tests: Add tests for console codepages.
2007-05-11 12:41:34 +02:00
Kirill K. Smirnov
9d74661856
server: Move console codepages to the server.
2007-05-11 12:41:29 +02:00
Alexandre Julliard
b504d05022
kernel32: Fix typo in CreateActCtxA.
2007-05-11 11:19:38 +02:00
Kirill K. Smirnov
8f45938013
kernel32/tests: Add tests for console screen buffer.
2007-05-10 14:23:46 +02:00
Eric Pouech
fe3869388a
kernel32: Set the new definition for an activation context, and implement adding/releasing references to it.
2007-05-09 12:24:14 +02:00
Eric Pouech
80f41b4937
kernel32: Implemented CreateActCtxA on top of CreateActCtxW.
2007-05-09 12:15:45 +02:00
Alexandre Julliard
6604181c85
kernel32: Set the dll file name with the correct case to make EXECryptor happy.
2007-05-08 13:25:48 +02:00
Andrew Talbot
7919badd70
kernel32: Exclude unused headers.
2007-05-07 20:35:07 +02:00
Andrew Talbot
fe933b022a
kernel32: Exclude unused headers.
2007-05-07 20:34:58 +02:00
Andrew Talbot
072e7d0438
kernel32: Exclude unused headers.
2007-05-07 20:34:49 +02:00
Andrew Talbot
59651999b3
kernel32: Exclude unused headers.
2007-05-07 20:34:41 +02:00
Alexandre Julliard
3baf4dbe76
kernel32: Disable FT_Thunk entry point when Windows version is NT.
2007-05-07 17:10:18 +02:00
Bill Medland
a70df444ae
kernel32/tests: Boundary test cases for SystemTimeToFileTime and GetDateFormat.
2007-05-04 13:39:09 +02:00
Andrew Talbot
a22c7a6c34
kernel32: Constify a variable.
2007-05-03 14:23:31 +02:00
Alexandre Julliard
f807f2d457
kernel32: Don't skip directory symlinks when looking for a specific file.
2007-05-01 14:32:33 +02:00
Louis Lenders
f9a54ebc51
kernel32: Add stub for BindIoCompletionCallback.
2007-05-01 11:42:25 +02:00
Vitaliy Margolen
2bd4d6b180
kernel32: Fix off by one error.
2007-04-30 12:32:58 +02:00
Kirill K. Smirnov
9eb0c87204
kernel32/tests: Add tests for NeedCurrentDirectoryForExePath.
2007-04-27 13:05:19 +02:00
Kirill K. Smirnov
fff6db62f3
kernel32: Add partial stub for NeedCurrentDirectoryForExePath.
2007-04-27 13:05:12 +02:00
Paul Vriens
87e8204365
kernel32/tests: Resource functions are not implemented on win98.
2007-04-26 14:25:04 +02:00
Paul Vriens
67c26f4ec3
kernel32/tests: GetLongPathNameW is not implemented on win98.
2007-04-25 13:48:14 +02:00
Paul Vriens
c1f6501808
kernel32/tests: GetComputerNameW is not implemented on win98.
2007-04-25 13:48:09 +02:00
Paul Vriens
9dafa1fc11
kernel32/tests: CreateRemoteThread is not implemented on win98.
2007-04-25 13:48:04 +02:00
Rob Shearman
27412837b9
kernel32: Add the directory the executable was loaded from to the module search path if the module file name doesn't contain a path.
2007-04-25 11:49:37 +02:00
Alexandre Julliard
3684dc181c
server: Move the FSCTL_PIPE_WAIT ioctl implementation to the server.
2007-04-17 22:07:07 +02:00
Alexandre Julliard
aaf477f292
server: Change the timeout handling to use NT-style 64-bit timeouts everywhere.
2007-04-17 20:08:59 +02:00
Alexandre Julliard
8c46095484
server: Implement the FSCTL_PIPE_DISCONNECT ioctl on the server side.
2007-04-16 14:51:29 +02:00
Alexandre Julliard
9eaaadbb47
kernel32: Use the correct access rights when opening named pipes.
2007-04-16 14:32:18 +02:00
Chia-I Wu
bbbd42787c
kernel32: Fix non-terminated separator string.
2007-04-16 12:07:44 +02:00
Hans Leidekker
ce0da3e75f
kernel32: Allow any amount of whitespace between the words ANSI and SCSI in /proc/scsi/scsi.
2007-04-12 16:16:36 +02:00
Alexandre Julliard
83cef86f29
kernel32: Add SYNCHRONIZE access to mailslot handles.
...
Don't bother to request write access.
2007-04-10 22:24:40 +02:00
Alexandre Julliard
c915215ba6
ntdll: Use send(2) instead of write(2) for zero-byte writes to sockets.
2007-04-09 12:21:24 +02:00
Andrew Talbot
a0b2dbd1dc
kernel32: Remove superfluous semicolons.
2007-04-09 12:19:07 +02:00
Alexandre Julliard
aef2edb0cf
kernel32: Add a bit of slack to the mailslot timeout test.
2007-04-06 12:35:21 +02:00
Alexandre Julliard
4e5c7038da
server: Make timeout status for async I/O specifiable. Fix mailslots timeout handling.
2007-04-03 19:12:31 +02:00
Francois Gouget
0081b430e1
Assorted spelling and English fixes.
2007-04-03 11:23:12 +02:00
Alexandre Julliard
2a86f347fa
kernel32: Added some last error tests for mailslots.
2007-04-02 20:25:08 +02:00
Dmitry Timoshkov
bae3dc49cc
kernel32: Add GetCPInfo test.
2007-04-02 11:34:21 +02:00
Alexandre Julliard
a441935c37
kernel32: Better default for dwActiveProcessorMask in GetSystemInfo.
2007-03-30 12:22:13 +02:00
Alexandre Julliard
c4ad5eeb69
kernel32: Make default behavior more consistent when AeDebug key is not present.
2007-03-30 12:00:11 +02:00
Francois Gouget
d9e8a0f63e
Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll.
2007-03-28 12:36:13 +02:00
Paul Vriens
5de163f9d4
kernel32/profile: Some parameter tests for GetPrivateProfileSectionA.
2007-03-28 12:09:26 +02:00
Paul Vriens
4a431afd69
kernel32/profile: Add a few NULL checks (Coverity).
2007-03-28 12:07:36 +02:00
Paul Vriens
0230695a29
kernel32/profile: Move GetPrivateProfileSectionA to its own test.
2007-03-28 12:06:28 +02:00
Paul Vriens
2559440dc9
kernel32/profile: Rename a test.
2007-03-28 12:06:18 +02:00
Alexandre Julliard
6746209d4e
kernel32: Don't use the reserved argument of the APC routine callback.
2007-03-26 19:14:13 +02:00
Alexandre Julliard
ad3faa829c
kernel32: Fixed timeout calculation in WaitNamedPipe.
2007-03-23 13:06:44 +01:00
Louis Lenders
eafbf45fce
kernel32: Add stub for AttachConsole.
2007-03-23 13:04:36 +01:00
Louis Lenders
b335a25638
kernel32: Print a fixme only once.
2007-03-22 11:28:22 +01:00
Andrew Talbot
c261a75a6f
kernel32/tests: Replace inline static with static inline.
2007-03-21 22:51:50 +01:00
Paul Vriens
5b5d737111
kernel32/tests: Use skip.
2007-03-21 11:54:35 +01:00
Andrew Talbot
503b338e88
kernel32: Replace inline static with static inline.
2007-03-17 20:03:39 +01:00
Detlef Riekenberg
439b852dca
kernel32/tests: DuplicateTokenEx is not present on all platforms.
2007-03-17 19:51:55 +01:00
Rob Shearman
9dc55ab01d
kernel32: Fix several failing GetComputerNameA/W tests on Windows.
2007-03-16 11:20:58 +01:00
Fabian Bieler
70ff521a24
kernel32: GlobalMemoryStatusEx: always report at least 1 byte of virtual memory even if none is available.
2007-03-15 13:11:30 +01:00
Fabian Bieler
e1c6c97fc5
kernel32: GlobalMemoryStatusEx: return the size of physical memory + swapsize in ullTotalPageFile/ullAvailPageFile.
2007-03-15 13:11:11 +01:00
Fabian Bieler
7d1ffb564f
kernel32: GlobalMemoryStatusEx: memory usage reported only reflects physical memory.
2007-03-15 13:10:29 +01:00
Huw Davies
3f49239063
kernel32: Fix GetPrivateProfileSectionNamesA when the file does not exist.
2007-03-14 18:49:40 +01:00
Alexandre Julliard
a79b26284a
libwine: Pass flags to wine_utf8_wcstombs to allow supporting WC_ERR_INVALID_CHARS.
2007-03-14 15:57:50 +01:00
Mikołaj Zalewski
c5082679e5
kernel32: Fix LANGID for Korean resource.
2007-03-13 20:49:49 +01:00
Stefan Huehner
4d1d01f266
Mark several functions as static.
2007-03-13 13:35:12 +01:00
Jan Zerebecki
f7c4b25723
kernel32: Add DebugInfo to critical sections.
2007-03-12 13:37:27 +01:00
Stefan Huehner
51a7ca3440
Change some functions arguments from () -> (void).
2007-03-12 12:25:31 +01:00
Paul Vriens
281ebbb5d6
kernel32/tests: Use skip.
2007-03-12 12:21:57 +01:00
Alasdair Sinclair
81c922398e
kernel32: Fix GetComputerNameA to not count trailing NULL, with test.
2007-03-09 13:55:43 +01:00
Alexandre Julliard
82274f8b16
kernel32: Implemented GetSystemInfo() for Solaris.
2007-03-08 23:01:03 +01:00
Alexandre Julliard
849ee1c2bb
kernel32: Fixed DosDateTimeToFileTime behavior when timegm() is missing.
...
The tm_isdst field needs to be initialized for mktime to do the right thing.
2007-03-08 21:06:41 +01:00
Alexandre Julliard
544a32f0e1
kernel32: Add missing limits.h include.
2007-03-08 13:12:59 +01:00
Konstantin Kondratyuk
aefbef00f9
kernel32: Allow to execute .cmd files.
2007-03-07 21:34:03 +01:00
Rob Shearman
1fa2a2b649
kernel32: Add tests for ImpersonateNamedPipeClient.
2007-03-07 20:10:31 +01:00
Detlef Riekenberg
20a3298312
serialui: Fix return type for CommConfigDialog.
2007-03-06 12:25:06 +01:00
Rob Shearman
5267e36ad0
kernel32: Implement CallNamedPipeW.
2007-03-05 16:43:26 +01:00
Jason Edmeades
9d00aeafd7
kernel32/tests: Show wrong behaviour with current directory.
2007-03-05 12:59:19 +01:00
Aric Stewart
00eca70b2a
kernel32: Allow for non base-10 int values in ini file.
2007-02-27 12:34:21 +01:00
Detlef Riekenberg
ade9fd6400
kernel32: Remove duplicate code (use serialui instead).
2007-02-27 12:25:49 +01:00
Rob Shearman
e716c5b1ef
kernel32: Fix crash in dns_gethostbyname.
2007-02-23 11:18:40 +01:00
Rob Shearman
a5317eb846
kernel32: Fix an off-by-one error in GetComputerNameExA/W.
...
The dns_* functions expect the input buffer to have space for size
characters plus the nul terminating character.
2007-02-21 19:50:57 +01:00
Detlef Riekenberg
d7e88ff996
kernel32: Display correct parameters in comm traces.
2007-02-20 20:52:41 +01:00
Rob Shearman
ea8ccb2590
kernel32: Don't run the CreateRemoteThread tests if the child process isn't mapped at the same address as the parent process.
2007-02-20 11:39:23 +01:00
Stefan Dösinger
e90635f5b6
kernel32: Add a CheckRemoteDebuggerPresent stub.
2007-02-19 13:11:08 +01:00
Hans Leidekker
c56eafcb80
kernel32: Add a stub implementation for FindFirstVolumeMountPoint{A, W}.
2007-02-19 12:40:09 +01:00
Rob Shearman
fc5b795f7c
kernel32: Fix the GetComputerName* functions to not write to the buffer at all if there is not enough space.
...
Add tests for the GetComputerName* functions that show this issue.
Fix an off-by-one error in setting the size when there is not enough space.
Remove the exception handlers for GetComputerNameW,
GetComputerNameExA/W, since testing on XP SP2 shows that access
violations are not caught and these are not present on Win9x, which
does have an exception handler.
2007-02-16 13:13:17 +01:00
Marcus Meissner
beb603e908
kernel32/tests: Fixed several uninitialized variables.
2007-02-09 12:07:14 +01:00
Marcus Meissner
c05b43f464
kernel32: Remove CloseHandle call.
2007-02-09 11:49:56 +01:00
Misha Koshelev
12e3d642dd
kernel32: CreateThread returns NULL on error, not INVALID_HANDLE_VALUE.
2007-02-06 20:23:12 +01:00
Francois Gouget
0271a09d4c
Add missing '\n's in traces.
2007-02-06 13:20:59 +01:00
Damjan Jovanovic
07db8882c2
ntdll: Slist support.
...
Implemented ntdll's RtlInitializeSListHead, RtlQueryDepthSList,
RtlInterlockedFlushSList, RtlFirstEntrySList,
RtlInterlockedPushEntrySList, RtlInterlockedPopEntrySList, their
kernel32 equivalents, and tests.
2007-02-05 21:46:28 +01:00
Misha Koshelev
d6d6ce299f
kernel32: Added conformance test for nested thread wakeups in the server.
2007-02-05 18:07:24 +01:00
Marcus Meissner
67b6044de7
kernel32: Initialize owner_exists (Coverity).
2007-02-05 14:02:35 +01:00
Dmitry Timoshkov
d32d5a4706
kernel32: Add a trace to MultiByteToWideChar.
2007-02-05 12:28:57 +01:00
Anatoly Lyutin
8ffdf9b45a
kernel32: Add comment for GetConsoleWindow.
2007-01-23 13:06:29 +01:00
Mike McCormack
71a2f4d184
kernel32: Forward EncodePointer and DecodePointer to their ntdll counterparts.
2007-01-22 12:45:46 +01:00
Detlef Riekenberg
dc577ed685
kernel32/tests: GetVolumeNameForMountPoint not present before w2k.
2007-01-22 12:08:25 +01:00