Commit graph

26809 commits

Author SHA1 Message Date
Aleksey Bragin
2c239e0bd6 - PS_UNKNOWN_VALUE determines if the process should be created with large pages: rename to PS_LARGE_PAGES
- Do Address Space initialization as per "Windows Internals II" slides, either for the Boot, System, Cloned User or New User Process cases.
- Rename MmCreateProcessAddressSpace to MmInitializeProcessAddressSpace, and MmCopyMmInfo to MmCreateProcessAddressSpace. What ReactOS did is correct as per "Windows Internals II", but the names were inverted.
- Clone the Object Table if we are the boot process, and only initialize part of the address space (since we don't need things like guard page, TEB, etc), however, do initialize and map the shared user data section.
- Make the initial system process and idle process share the same page directory instead of creating a new one.
- Use the same priority class as the parent process, if the process was in the idle or below-normal priority class.
- Only duplicate handles if the caller requested it, instead of always duplicating the process's handles!
- Generate a null image file name for system processes.
- Rename ObpCreateHandleTable to ObInitProcess and better handle race and out-of-memory conditions. Detect if auditing required, but don't do anything about it.
- Initialize the Idle/System process address space much earlier in the boot process, in MmInitSystem.

Thanks to Alex for providing various information, and answering all my questions.

svn path=/trunk/; revision=29223
2007-09-26 20:55:26 +00:00
Daniel Reimer
6433b53657 Another german rc file update
svn path=/trunk/; revision=29222
2007-09-26 20:49:06 +00:00
Thomas Bluemel
3570f78e87 Display the display device adapter name and show device properties
svn path=/trunk/; revision=29221
2007-09-26 20:41:57 +00:00
Ged Murphy
9fa9463d77 - add missing net card interface info to ipifcons.h
- follow on patch from Gregor Brunmar <gregor.brunmar - home - se>

svn path=/trunk/; revision=29220
2007-09-26 20:36:28 +00:00
Ged Murphy
98727fc4a0 - generate the netcard status information and populate the dialog with it
- patch by Gregor Brunmar <gregor.brunmar - home - se>

svn path=/trunk/; revision=29219
2007-09-26 20:34:08 +00:00
Thomas Bluemel
992a4c2d01 Add deskadp.dll to the bootcd and register the shell extension
svn path=/trunk/; revision=29218
2007-09-26 20:12:26 +00:00
Thomas Bluemel
45dc31ac0b Add initial implementation of the display adapter desk.cpl shell extension
svn path=/trunk/; revision=29217
2007-09-26 20:00:07 +00:00
Thomas Bluemel
8e049e50a4 Move routines that can be shared between desk.cpl shell extensions to common header as inlined functions
svn path=/trunk/; revision=29216
2007-09-26 19:42:39 +00:00
Thomas Bluemel
04931ef194 Move desk.cpl shell extension interface definition to shared header file
svn path=/trunk/; revision=29215
2007-09-26 19:23:50 +00:00
Aleksey Bragin
432625614e - Implement InterlockedExchangeAdd/Decrement/Increment16.
- Fix MM_EXTEND_INFO definition.
- Fix MMWSLE definition.
- Fix EPROCESS definition.
- Add quota functions to NDK.
- Add one more parameter to PspMapSystemDll to support mapping large pages.
- Don't make the quota functions do anything for the system process.
- Add page file quota functions.
- Other misc small fixes.

svn path=/trunk/; revision=29214
2007-09-26 16:41:35 +00:00
Daniel Reimer
cb82475b6d Updated German Translation.
svn path=/trunk/; revision=29213
2007-09-26 09:53:48 +00:00
Colin Finck
1efd6d7df7 Ukrainian translations by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2692 for more details.

svn path=/trunk/; revision=29212
2007-09-26 08:48:29 +00:00
James Tabor
ff1881b631 Fix calling conventions.
svn path=/trunk/; revision=29211
2007-09-26 06:26:17 +00:00
Thomas Bluemel
3b6747e11c Display advanced display settings and allow shell extensions to extend it. Not yet fully functional/working
svn path=/trunk/; revision=29210
2007-09-26 06:20:16 +00:00
Thomas Bluemel
ad47c9b3a9 Add stub for SHCreatePropSheetExtArrayEx, temporarily
svn path=/trunk/; revision=29209
2007-09-26 06:14:05 +00:00
Thomas Bluemel
3db8801f43 Fix copy&paste typo in comment
svn path=/trunk/; revision=29208
2007-09-26 04:33:50 +00:00
Thomas Bluemel
6648bd3f85 Allow loading shell extensions
svn path=/trunk/; revision=29207
2007-09-26 04:30:57 +00:00
James Tabor
9f930ed173 Fix calling conventions and do not unload setupapi.dll after registering the notification. Thank you Thomas.
svn path=/trunk/; revision=29206
2007-09-26 01:10:51 +00:00
James Tabor
d42fa2d392 Testing return as default user32 error ERROR_SERVICE_SPECIFIC_ERROR.
svn path=/trunk/; revision=29205
2007-09-25 23:43:28 +00:00
James Tabor
5baf5558ff Implement RegisterDeviceNotificationAW and UnregisterDeviceNotification, based on Gdi32 OpenGL.
svn path=/trunk/; revision=29204
2007-09-25 22:28:35 +00:00
Magnus Olsen
a9892925a1 forget commit Implement of GdiGetLocalBrush, GdiGetLocalDC, GdiGetLocalFont
fix a smaller bug in GdiSetBatchLimit
fix GdiSetLastError to be simluare to windows xp 


svn path=/trunk/; revision=29203
2007-09-25 20:44:53 +00:00
Magnus Olsen
588e62a967 Fix a stupied bug in DdAttachSurface when pSurfaceFrom->hDDSurface is NULL or pSurfaceTo->hDDSurface is null we need create them.
svn path=/trunk/; revision=29202
2007-09-25 16:49:13 +00:00
James Tabor
27a27ff89e IsMetaFile is an easy check used when porting wine static and listbox.
svn path=/trunk/; revision=29201
2007-09-25 14:42:51 +00:00
Ged Murphy
c338775265 - Add usermode checks to GetDIBits
- passes 21 out of 27 tests
- Add GdiSetLastError to the lib instead of forwarding it straight to kernel32

svn path=/trunk/; revision=29200
2007-09-25 13:27:09 +00:00
Ged Murphy
b3c3c9ba5b add more checks for GetDIBits
svn path=/trunk/; revision=29199
2007-09-25 13:20:46 +00:00
Colin Finck
77e82dcd8b Traditional chinese translation for "cacls" by Chaoming Tseng
See issue #2687 for more details.

svn path=/trunk/; revision=29198
2007-09-25 10:32:22 +00:00
Colin Finck
e5402189b9 - Bug 2685: Ukrainian translation for "format" by Rostislav Zabolotny (rstzab AT yandex DOT ru)
- Bug 2686: Ukrainian translation for "regsvr32" by Rostislav Zabolotny (rstzab AT yandex DOT ru)

svn path=/trunk/; revision=29197
2007-09-25 10:08:39 +00:00
Magnus Olsen
92b7462fcb clean up : move EngWideCharToMultiByte from stubs.c to eng.c and mark it as implement
svn path=/trunk/; revision=29195
2007-09-24 19:17:15 +00:00
Magnus Olsen
9b2a7bf67c implmented EngQueryEMFInfo it always return FALSE
it is historic in Windows XP, But not in Windows 2000

svn path=/trunk/; revision=29194
2007-09-24 18:00:49 +00:00
Aleksey Bragin
f38baaaaa2 Dmitry Chapyshev <lentind@yandex.ru>
- Start implementing systeminfo system utility (it already works quite nice, but not complete yet).

svn path=/trunk/; revision=29193
2007-09-24 16:32:12 +00:00
Aleksey Bragin
2e3b975002 - Make PsChargeProcessPoolQuota returning STATUS_SUCCESS
svn path=/trunk/; revision=29192
2007-09-24 16:00:21 +00:00
Ged Murphy
9be6565d51 Add basic tests for NtGdiGetDIBitsInternal
svn path=/trunk/; revision=29191
2007-09-24 15:09:15 +00:00
Ged Murphy
f26bd07f86 Add basic tests for GetDIBits
svn path=/trunk/; revision=29190
2007-09-24 15:02:20 +00:00
Aleksey Bragin
2cbc032859 - Add Ex*Spinlock macros and FLUSH_MULTIPLE_MAXIMUM definitions missing from DDK
- Add KeAcquireQueuedSpinLock / KeAcquireReleaseQueuedSpinLock, RtlCompareMemoryUlong definitions missing from IFS.
- Add actual section object definition to NDK
- More NDK fixes
- Fix incorrect definition of MMPTE_LIST
- Fix incorrect prototype of NtFlushVirtualMemory
- Fix incorrect prototypes of KeAcquire / ReleaseQueuedSpinLock
- Add a second parameter to MmCreateKernelStack to select the NUMA node on which the stack should be allocated
- Avoid usage of PROS_SECTION_OBJECT in Ps where possible
- Unimplement PsChargeProcessQuota. It was not working right
- Use PFN_NUMBER defined in DDK instead of PFN_TYPE internal ROS Type.

svn path=/trunk/; revision=29188
2007-09-24 14:01:54 +00:00
Hervé Poussineau
a7396c359e When depending of a module, also depends of its generated headers
svn path=/trunk/; revision=29186
2007-09-24 13:21:31 +00:00
Hervé Poussineau
7e0ebf1fc6 Add headers dependencies for modules which declare a .idl in their rbuild file
svn path=/trunk/; revision=29185
2007-09-24 12:53:33 +00:00
Hervé Poussineau
9fea5a34a6 Keep standard includes when building C++ modules
svn path=/trunk/; revision=29184
2007-09-24 12:27:00 +00:00
Hervé Poussineau
18bb1da6d2 Fix typo
svn path=/trunk/; revision=29183
2007-09-24 12:22:22 +00:00
Aleksey Bragin
50951397e4 - Small update to the plan (remove what's done already for sure)
svn path=/trunk/; revision=29182
2007-09-24 12:11:14 +00:00
Hervé Poussineau
d7b829fbc7 Depend again of autogenerated psdk headers (was broken in r29176)
svn path=/trunk/; revision=29181
2007-09-24 12:03:10 +00:00
Hervé Poussineau
2ad309f010 Do not use host headers anymore when building target executables/libraries
svn path=/trunk/; revision=29180
2007-09-24 11:43:38 +00:00
Hervé Poussineau
9c968b2b68 Remove this headers set, as they already exist in include/crt
svn path=/trunk/; revision=29179
2007-09-24 11:42:04 +00:00
Hervé Poussineau
682904a871 Copy some headers from RosBE to our include directory. These files are now considered as target headers, whereas those in RosBE are host headers.
svn path=/trunk/; revision=29178
2007-09-24 11:40:54 +00:00
Hervé Poussineau
ea8a8e47da Use user flags when building host tools
svn path=/trunk/; revision=29177
2007-09-24 11:28:52 +00:00
Hervé Poussineau
5dc2b7e865 Do not put .h files in object files, it causes problems at link time
svn path=/trunk/; revision=29176
2007-09-24 11:00:17 +00:00
Hervé Poussineau
c27dad3928 Display a message when a module has been disabled
Support variables in aliased module names

svn path=/trunk/; revision=29175
2007-09-24 09:15:49 +00:00
Hervé Poussineau
d0f1fadb7b Never call TdiCloseDevice when warming up a socket
svn path=/trunk/; revision=29174
2007-09-24 08:39:23 +00:00
James Tabor
e6ed27d2e5 Turn off DcAttr updates for now.
svn path=/trunk/; revision=29173
2007-09-24 04:05:24 +00:00
James Tabor
f924fa55c9 Make sure it is non zero.
svn path=/trunk/; revision=29172
2007-09-24 02:58:22 +00:00
James Tabor
82ad159967 Implement IsGUIThread.
svn path=/trunk/; revision=29171
2007-09-24 02:42:17 +00:00