Gunnar Dalsnes
ed69e0431b
LoadResource crashed with NULL hModule
...
svn path=/trunk/; revision=4383
2003-03-21 00:20:41 +00:00
Gunnar Dalsnes
957f814a24
initial work on I/O completion
...
svn path=/trunk/; revision=4352
2003-03-19 23:17:52 +00:00
Gunnar Dalsnes
b41c5aa867
TlsGetValue: fix to comply with SDK behaviour
...
svn path=/trunk/; revision=4327
2003-03-17 22:39:09 +00:00
Casper Hornstrup
77eee7ca44
2003-03-16 Casper S. Hornstrup <[email protected] >
...
* include/ntos/rtltypes.h (PRTL_BASE_PROCESS_START_ROUTINE): Define.
* lib/kernel32/process/create.c (RtlBaseProcessStartRoutine): Import.
(KlCreateFirstThread): Support images with native subsystem ID.
* lib/ntdll/def/ntdll.def (RtlBaseProcessStartRoutine): Export.
* lib/ntdll/def/ntdll.edf (RtlBaseProcessStartRoutine): Ditto.
* lib/ntdll/rtl/exception.c (RtlBaseProcessStart): Forward declare.
(RtlBaseProcessStartRoutine, RtlBaseProcessStart): Add.
svn path=/trunk/; revision=4317
2003-03-16 14:16:54 +00:00
Casper Hornstrup
6697890d71
2003-03-16 Casper S. Hornstrup <[email protected] >
...
* include/ntos/zwtypes.h (FILE_BASIC_INFORMATION): Use LARGE_INTEGER,
not TIME type for time fields.
* lib/kernel32/file/copy.c (SetLastWriteTime): Adjust for new type.
(CopyFileExW): Ditto.
svn path=/trunk/; revision=4312
2003-03-16 12:57:32 +00:00
Hartmut Birr
8716ed6781
- Fixed the return value in SearchPathW.
...
svn path=/trunk/; revision=4274
2003-03-09 21:39:17 +00:00
Hartmut Birr
1768a37e66
- Duplicate the error handle in CreateProcessW.
...
- Fixed the size parameter in calls to SearchPathW.
svn path=/trunk/; revision=4273
2003-03-09 21:38:40 +00:00
Hartmut Birr
59798c6f34
- Improved DuplicateHandle for console handles.
...
svn path=/trunk/; revision=4272
2003-03-09 21:37:57 +00:00
Hartmut Birr
bb63ba9048
- Implemented DuplicateConsoleHandle.
...
- Duplicate the error handle in AllocConsole.
- Opening 'CONIN$' for console access in GetConsoleTitleW, SetConsoleTitleW, SetConsoleTitleA.
svn path=/trunk/; revision=4271
2003-03-09 21:37:18 +00:00
Eric Kohl
f7e5711321
Implemented GetProcessAffinityMask() and SetProcessAffinityMask().
...
svn path=/trunk/; revision=4248
2003-03-06 15:05:29 +00:00
Eric Kohl
916b14c816
Implemented SignalObjectAndWait().
...
Added some checks for console handles.
svn path=/trunk/; revision=4247
2003-03-06 13:01:15 +00:00
Eric Kohl
cb8b8e6c15
Implemented VerifyConsoleIoHandle().
...
svn path=/trunk/; revision=4243
2003-03-05 22:51:48 +00:00
Marty Dill
20a78cdf13
Fixed up Get/SetConsoleTitleAW().
...
svn path=/trunk/; revision=4225
2003-03-02 01:23:19 +00:00
Gunnar Dalsnes
d295bac408
WaitForMultipleObjectsEx passed WaitAny for WaitAll waits and vice versa
...
svn path=/trunk/; revision=4207
2003-02-27 15:40:46 +00:00
Hartmut Birr
0c1e5baf17
- Improved CloseConsoleHandle.
...
svn path=/trunk/; revision=4195
2003-02-24 23:24:55 +00:00
Hartmut Birr
471aaa7f5e
- Added oppening of console handles (CreateFileW).
...
svn path=/trunk/; revision=4194
2003-02-24 23:23:32 +00:00
Eric Kohl
32bef2128d
Fixed a compiler warning.
...
svn path=/trunk/; revision=4165
2003-02-17 16:30:17 +00:00
Eric Kohl
d38b07d910
Added errcodes.rc.
...
svn path=/trunk/; revision=4164
2003-02-17 16:29:11 +00:00
Eric Kohl
9f61985794
Replaced kernel32 heap functions by ntdll heap functions.
...
svn path=/trunk/; revision=4163
2003-02-17 16:27:31 +00:00
Hartmut Birr
bf6c33299c
- Set the last error if SearchPathW fails.
...
svn path=/trunk/; revision=4162
2003-02-16 18:56:04 +00:00
Hartmut Birr
7644e39b2c
- errcodes.rc and msg00409.bin are build by the makefile.
...
svn path=/trunk/; revision=4160
2003-02-16 18:52:31 +00:00
Hartmut Birr
7aa65c578d
- Add a rule to build errcodes.rc.
...
svn path=/trunk/; revision=4159
2003-02-16 18:47:41 +00:00
Eric Kohl
9895df9741
Implemented IsProcessorFeaturePresent().
...
svn path=/trunk/; revision=4141
2003-02-12 03:44:20 +00:00
KJK::Hyperion
15d50c5fcd
* include/defines.h: defined INVALID_FILE_SIZE
...
* include/ntos/rtl.h: fixed typo
* lib/kernel32/file/file.c: fixed GetCompressedFileSizeW
* lib/kernel32/misc/comm.c: implemented BuildCommDCB and BuildCommDCBAndTimeouts
* lib/kernel32/misc/handle.c: fixed SetHandleInformation
* lib/kernel32/misc/time.c: fixed FileTimeToSystemTime
* lib/kernel32/misc/dllmain.c: shut up a warning
* lib/kernel32/misc/env.c: ditto
* lib/kernel32/misc/ldr.c: ditto
svn path=/trunk/; revision=4140
2003-02-12 00:39:31 +00:00
Eric Kohl
a9b14e9d16
Implemented CancelIo() and SetThreadIdealProcessor().
...
svn path=/trunk/; revision=4111
2003-02-03 14:20:24 +00:00
Eric Kohl
ffebe8dee1
Implemented QueryPerformanceCounter() and QueryPerformanceFrequency().
...
svn path=/trunk/; revision=4101
2003-02-02 16:57:49 +00:00
KJK::Hyperion
035dcd8224
GetVersion, GetVersionExA and GetVersionExW reimplemented correctly (almost)
...
svn path=/trunk/; revision=4095
2003-02-01 19:58:17 +00:00
Eric Kohl
834dbc5fd5
Fixed some warnings.
...
Added missing stubs.
Implemented GetThreadPriotityBoost() and SetThreadPriorityBoost().
svn path=/trunk/; revision=4052
2003-01-22 02:24:36 +00:00
Robert Dickenson
1eac255e7c
Changed define _OLE2NLS_IN_BUILD_ to reactivate various stubs including GetACP.
...
svn path=/trunk/; revision=4050
2003-01-21 20:50:51 +00:00
Gé van Geldorp
14fc3556c8
Silence some debug messages
...
svn path=/trunk/; revision=4043
2003-01-19 01:13:04 +00:00
Marty Dill
47333299bc
Fixed a few memory leaks. Minor cleanup.
...
svn path=/trunk/; revision=4029
2003-01-18 00:10:59 +00:00
guido
3adeec8d80
fix compiler warning
...
svn path=/trunk/; revision=4026
2003-01-17 19:26:14 +00:00
Casper Hornstrup
fd6f0e5b04
*** empty log message ***
...
svn path=/trunk/; revision=4010
2003-01-15 21:25:29 +00:00
Casper Hornstrup
910f281f6e
2003-01-15 Casper S. Hornstrup <[email protected] >
...
* lib/kernel32/k32.h: New file.
* lib/kernel32/makefile (TARGET_CFLAGS): Add -I./.
(TARGET_PCH): Set to k32.h.
* lib/kernel32/except/except.c: Use <k32.h>.
* lib/kernel32/file/backup.c: Ditto.
* lib/kernel32/file/cnotify.c: Ditto.
* lib/kernel32/file/copy.c: Ditto.
* lib/kernel32/file/create.c: Ditto.
* lib/kernel32/file/curdir.c: Ditto.
* lib/kernel32/file/delete.c: Ditto.
* lib/kernel32/file/deviceio.c: Ditto.
* lib/kernel32/file/dir.c: Ditto.
* lib/kernel32/file/dosdev.c: Ditto.
* lib/kernel32/file/file.c: Ditto.
* lib/kernel32/file/find.c: Ditto.
* lib/kernel32/file/iocompl.c: Ditto.
* lib/kernel32/file/lfile.c: Ditto.
* lib/kernel32/file/lock.c: Ditto.
* lib/kernel32/file/mailslot.c: Ditto.
* lib/kernel32/file/move.c: Ditto.
* lib/kernel32/file/npipe.c: Ditto.
* lib/kernel32/file/pipe.c: Ditto.
* lib/kernel32/file/rw.c: Ditto.
* lib/kernel32/file/tape.c: Ditto.
* lib/kernel32/file/volume.c: Ditto.
* lib/kernel32/mem/global.c: Ditto.
* lib/kernel32/mem/heap.c: Ditto.
* lib/kernel32/mem/isbad.c: Ditto.
* lib/kernel32/mem/local.c: Ditto.
* lib/kernel32/mem/procmem.c: Ditto.
* lib/kernel32/mem/section.c: Ditto.
* lib/kernel32/mem/virtual.c: Ditto.
* lib/kernel32/misc/atom.c: Ditto.
* lib/kernel32/misc/comm.c: Ditto.
* lib/kernel32/misc/console.c: Ditto.
* lib/kernel32/misc/debug.c: Ditto.
* lib/kernel32/misc/dllmain.c: Ditto.
* lib/kernel32/misc/env.c: Ditto.
* lib/kernel32/misc/error.c: Ditto.
* lib/kernel32/misc/handle.c: Ditto.
* lib/kernel32/misc/ldr.c: Ditto.
* lib/kernel32/misc/profile.c: Ditto.
* lib/kernel32/misc/res.c: Ditto.
* lib/kernel32/misc/stubs.c: Ditto.
* lib/kernel32/misc/sysinfo.c: Ditto.
* lib/kernel32/misc/time.c: Ditto.
* lib/kernel32/process/cmdline.c: Ditto.
* lib/kernel32/process/create.c: Ditto.
* lib/kernel32/process/proc.c: Ditto.
* lib/kernel32/process/session.c: Ditto.
* lib/kernel32/string/lstring.c: Ditto.
* lib/kernel32/synch/critical.c: Ditto.
* lib/kernel32/synch/event.c: Ditto.
* lib/kernel32/synch/intrlck.c: Ditto.
* lib/kernel32/synch/mutex.c: Ditto.
* lib/kernel32/synch/sem.c: Ditto.
* lib/kernel32/synch/timer.c: Ditto.
* lib/kernel32/synch/wait.c: Ditto.
* lib/kernel32/thread/fiber.c: Ditto.
* lib/kernel32/thread/thread.c: Ditto.
* lib/kernel32/thread/tls.c: Ditto.
svn path=/trunk/; revision=4009
2003-01-15 21:24:36 +00:00
Robert Dickenson
e6a193806c
Mainly standardisation of makefiles. Added some exports to core libs for wine dependancies.
...
svn path=/trunk/; revision=4002
2003-01-15 20:05:53 +00:00
Gé van Geldorp
ec67f794e9
Temporary fix to allow build to continue(generated file, shouldn't be in CVS)
...
svn path=/trunk/; revision=3967
2003-01-10 20:02:50 +00:00
Robert Dickenson
0ffa768455
Added support for lauching VDM on dos image load.
...
Depends phase in makefile for processing with wmc.
Included message table resources section.
Added some some missing exports for wine module linkage.
svn path=/trunk/; revision=3948
2003-01-07 17:29:09 +00:00
Robert Dickenson
a8e38f8c30
housekeeping files...
...
svn path=/trunk/; revision=3945
2003-01-05 19:32:32 +00:00
Robert Dickenson
d110568a5c
created stubs for the rest of the functions listed in mingw's tlhelp.h and exported them.
...
svn path=/trunk/; revision=3937
2003-01-05 14:32:32 +00:00
Robert Dickenson
b9113d3fae
Moved the beginnings of some toolhelp exports to their own module.
...
svn path=/trunk/; revision=3935
2003-01-05 10:07:08 +00:00
Robert Dickenson
7a48c7fcf2
exported stubs for Process32First, Process32Next and CreateToolhelp32Snapshot created.
...
svn path=/trunk/; revision=3933
2003-01-04 18:33:18 +00:00
Gé van Geldorp
133a166af6
Improved file attribute and file time handling
...
svn path=/trunk/; revision=3902
2002-12-27 23:50:21 +00:00
Casper Hornstrup
3aa9d2d9ba
2002-12-15 Casper S. Hornstrup <[email protected] >
...
* drivers/fs/vfat/cleanup.c (VfatCleanupFile): Only uninitialize caching
when initialized.
* drivers/fs/vfat/fcb.c (vfatReleaseFCB): Ditto.
* lib/kernel32/mem/section.c (CreateFileMappingW): Pass NULL as
MaximumSize to NtCreateSection if dwMaximumSizeHigh and dwMaximumSizeLow
are both 0.
* ntoskrnl/cc/pin.c (CcMapData): Assert if Bcb is NULL.
* ntoskrnl/cc/view.c (CcRosReleaseCacheSegment, CcRosLookupCacheSegment,
CcRosMarkDirtyCacheSegment, CcRosUnmapCacheSegment,
CcRosCreateCacheSegment, CcRosGetCacheSegmentChain,
CcRosGetCacheSegment, CcRosRequestCacheSegment, CcFlushCache,
CcRosDeleteFileCache, CcRosReferenceCache, CcRosDereferenceCache,
CcRosReleaseFileCache, CcGetFileObjectFromSectionPtrs): Ditto.
* ntoskrnl/mm/section.c (MiReadPage): Assert if Fcb->Bcb is NULL.
(MmCreateDataFileSection): Make sure caching is initialized for the file
stream.
svn path=/trunk/; revision=3879
2002-12-15 17:01:52 +00:00
Robert Dickenson
35ccf47588
created kernel32.mc message file which generates errcodes.rc, MSG00409.bin and /include/reactos/errcodes.h
...
need to figure out how to get these to build automatically at the dependancy stage before including the output rc into kernel32 resources.
svn path=/trunk/; revision=3877
2002-12-15 06:34:43 +00:00
Robert Dickenson
30b8d5cc45
Fixed "kernel32_test codepage" conformance test:
...
C:\reactos\bin>kernel32_test codepage
codepage: 2 tests executed, 0 marked as todo, 0 failures.
Plus a bit of cvsignoring and #ifdef's in stubs for trying to build with the ole2nls module.
svn path=/trunk/; revision=3871
2002-12-12 04:53:23 +00:00
Robert Dickenson
91616f730f
Adding support for resource based error message table
...
svn path=/trunk/; revision=3833
2002-12-08 16:07:18 +00:00
Eric Kohl
72136233fb
Fixed warnings.
...
svn path=/trunk/; revision=3827
2002-12-06 17:33:16 +00:00
Eric Kohl
5c0db541d3
Fixed a typo.
...
svn path=/trunk/; revision=3826
2002-12-06 17:31:33 +00:00
Robert Dickenson
accbf7c896
In search of meaningful error messages and some housekeeping on the stubs file.
...
svn path=/trunk/; revision=3825
2002-12-06 13:14:14 +00:00
Eric Kohl
c00bebf1f2
Implemented SetThreadAffinityMask().
...
Fixed some *nix line breaks.
svn path=/trunk/; revision=3817
2002-12-02 21:28:40 +00:00