Commit graph

25 commits

Author SHA1 Message Date
Aleksey Bragin
354d1e506d - Cleanup 37394, 37396 and 37397:
* PRTL_OVERLAPPED_COMPLETION_ROUTINE is a Wine invention. We already have a type for that, since it's an APC routine, the type will be PIO_APC_ROUTINE.
 * Fix headers, actual stub, and usage in kernel32 respectively.
 * We don't use hungarian notation in RTL ("hFileHandle") .

svn path=/trunk/; revision=37399
2008-11-17 13:16:07 +00:00
Dmitry Chapyshev
375eea5424 - Implement BindIoCompletionCallback, ReadFileScatter, WriteFileGather (based on Wine)
- Move DnsHostnameToComputerNameA/W to computername.c

svn path=/trunk/; revision=37396
2008-11-17 11:53:59 +00:00
Dmitry Chapyshev
bc1f150d78 - Move IsWow64Process to proc.c
- Implement FatalAppExitW (based on Wine)

svn path=/trunk/; revision=37167
2008-11-03 12:27:39 +00:00
Dmitry Chapyshev
b79ada3280 - Implement IsWow64Process (based on Wine)
svn path=/trunk/; revision=37165
2008-11-03 11:46:02 +00:00
James Tabor
6c481db7b0 - Patch by Daniel Zimmerman: Implement FoldStringA/W from wine, see bug 3253.
svn path=/trunk/; revision=37141
2008-11-01 22:44:54 +00:00
Dmitry Chapyshev
517a8ef2b2 - volume.c: replace HeapAlloc to RtlAllocateHeap, HeapFree to RtlFreeHeap
- move TzSpecificLocalTimeToSystemTime to time.c
- implement TzSpecificLocalTimeToSystemTime based on wine. It corrects 378 wine tests.

svn path=/trunk/; revision=36183
2008-09-13 10:22:28 +00:00
Dmitry Chapyshev
0a38b4914f - Move FindVolumeClose, FindFirstVolumeW/A, GetVolumeNameForVolumeMountPointA to volume.c
- Implement FindVolumeClose, GetVolumeNameForVolumeMountPointA (based on wine)

svn path=/trunk/; revision=36181
2008-09-13 09:21:43 +00:00
Stefan Ginsberg
d53b0eb9e6 - Add APIs new to Windows 2003/SP1 (including XP SP1)
- Add missing NtGetCurrentProcessorNumber to ntdll
- Update headers with missing structures

svn path=/trunk/; revision=35817
2008-08-30 20:29:57 +00:00
Steven Edwards
2a31d8815d SetLastError to ERROR_CALL_NOT_IMPLEMENTED
Wine does it, its already a stub, it can only help...


svn path=/trunk/; revision=35142
2008-08-06 11:04:54 +00:00
Aleksey Bragin
febcfe8913 - Revert 34010 completely, too much breakages. "Don't fix what's not broken".
svn path=/trunk/; revision=34023
2008-06-19 08:41:31 +00:00
Dmitry Chapyshev
4cf0f9906b - Implement ReplaceFileA/W (not fully)
- Implement DnsHostnameToComputerNameA/W (not fully)
- Implement FoldStringA/W
- Implement SetCPGlobal (not tested)
- Implement TzSpecificLocalTimeToSystemTime
- Implement ReadFileScatter
- Implement WriteFileGather
- Other small changes
All based on Wine 1.0 implementation

svn path=/trunk/; revision=34010
2008-06-18 15:37:44 +00:00
Dmitry Chapyshev
73c8871a92 Implemented (from Wine): GetCalendarInfoA, GetCalendarInfoW, EnumDateFormatsW, EnumCalendarInfoA, EnumCalendarInfoW, EnumCalendarInfoExA, EnumCalendarInfoExW, FindFirstVolumeA, FindFirstVolumeW, FindNextVolumeA, FindNextVolumeW.
svn path=/trunk/; revision=32945
2008-04-13 18:20:21 +00:00
James Tabor
d9a882e1db Move implemented functions out of stubs.
svn path=/trunk/; revision=32802
2008-04-01 01:41:19 +00:00
James Tabor
dddfb3a0cb Move thread pool functions prototypes to ndk.
svn path=/trunk/; revision=32801
2008-04-01 01:07:09 +00:00
James Tabor
fd52a49081 Phase 1:
- Implement RegisterWaitForSingleObject/Ex and UnregisterWait/Ex in stubs.c. I'm not sure where to place the exports. So ATM it is here.
- Stub RtlRegisterWait and RtlDeregisterWait/Ex.
- Import from Wine source and is LGPL.
- Ref: http://source.winehq.org/WineAPI/RtlRegisterWait.html http://source.winehq.org/WineAPI/RtlDeregisterWait.html


svn path=/trunk/; revision=32778
2008-03-29 03:46:17 +00:00
Hervé Poussineau
155a5c8344 Implement GetLargePageMinimum()
svn path=/trunk/; revision=31014
2007-12-05 14:55:52 +00:00
Christoph von Wittich
75db192c8d fix formatting
svn path=/trunk/; revision=31013
2007-12-05 14:51:06 +00:00
Christoph von Wittich
fe7df0e59f add stub for GetLargePageMinimum
svn path=/trunk/; revision=31012
2007-12-05 14:48:19 +00:00
Christoph von Wittich
8e3dc7d845 add stub for Wow64EnableWow64FsRedirection
svn path=/trunk/; revision=30436
2007-11-14 11:39:32 +00:00
Hervé Poussineau
6982b02da4 Remove local header debug.h, and use the global one
svn path=/trunk/; revision=28784
2007-09-02 19:42:22 +00:00
Alex Ionescu
06283000a1 - Turns out MSVC wasn't compiling one file because it had the same name as another. Renamed it and fixed the resulting errors.
- The structures for vista symlink support are not in winnt.h, they are only in the ntifs.h. Removed them from our winnt.h, and temporarily added them to the .c file itself.
- Implemented intrinsic interlocked functions instead of using the depcreated interlck lib.
- Fixed a bug in the MemoryBarrier intrinsic.
- Included intrin.h by default when using the NDK now, since native apps need Interlocked() functions and ntdll doesn't provide them, and they can't link to kernel32, and libintrlck is deprecated/sucks.
- Fixed stub of BaseCheckAppcompatCache.

svn path=/trunk/; revision=25659
2007-01-29 05:13:13 +00:00
Johannes Anderwald
86ee432e0b Part 2/2 of WDK compability fixes
- reflect previous header changes
- fix prototype for GetConsoleAliasA/W
                    CreateSymbolicLinkA/W


svn path=/trunk/; revision=25139
2006-12-12 23:57:24 +00:00
Magnus Olsen
ae94c696ac 4 of 4 commit (sorry my svn clinet is crazy for moment)
Commit w3seek patch from bug 1609 : file attachment (id=910) 
The attached patch implements QueueUserWorkItem()/RtlQueueWorkItem() (lacks
optimizations!!!). WINE's latest rpcrt4 relies on it.

1. Implement QueueUserWorkItem()/RtlQueueWorkItem() :
2. A slightly optimized 
3. Supports WT_TRANSFER_IMPERSONATION
4. Slightly improved handling of growing/shrinking the pool by assuming work items with WT_EXECUTELONGFUNCTION run longer
5. Fixes a hack that made a worker thread always terminate if there were at least one more thread available




svn path=/trunk/; revision=22807
2006-07-03 20:26:58 +00:00
Aleksey Bragin
d7f687486e - Update ActiveContext functions in kernel32.dll, implementing them as "smart stubs". Implementation taken from Wine's kernel32 (helps Adobe Photoshop 7.0 according to Wine)
svn path=/trunk/; revision=21949
2006-05-20 14:31:38 +00:00
Ged Murphy
b9620a1018 reshuffling of dlls
svn path=/trunk/; revision=21035
2006-02-17 00:52:06 +00:00
Renamed from reactos/lib/kernel32/misc/stubs.c (Browse further)