13 years agospanish translation for kbswitch
Marc Piulachs [Sun, 27 Apr 2008 17:09:51 +0000 (17:09 +0000)]
spanish translation for kbswitch

svn path=/trunk/; revision=33170

13 years agoGetting the pain in the ass api DxDdCreateDirectDrawObject inside ms dxg.sys working...
Magnus Olsen [Sun, 27 Apr 2008 17:00:06 +0000 (17:00 +0000)]
Getting the pain in the ass api DxDdCreateDirectDrawObject inside ms dxg.sys working it is now returning info now
it needs a negtive value set in struct edd_directdraw_global member llAssertModeTimeout.

svn path=/trunk/; revision=33169

13 years ago- Implement current layout indicator
Dmitry Chapyshev [Sun, 27 Apr 2008 15:40:42 +0000 (15:40 +0000)]
- Implement current layout indicator

svn path=/trunk/; revision=33168

13 years agoadd new : define a new flags for edd_directdraw_global, struct member in edd_directdr...
Magnus Olsen [Sun, 27 Apr 2008 15:31:47 +0000 (15:31 +0000)]
add new : define a new flags for edd_directdraw_global, struct member in edd_directdraw_global
Fixed : some comment
Add DD_MISCELLANEOUS2CALLBACKS so it works now with ms dxg.sys from user mode with callbacks.
it mean follow api from the gf card drv should work now with syscall to win32k from user mode
NtGdiDdAlphaBlt, NtGdiDdCreateSurfaceEx, NtGdiDdGetDriverState, NtGdiDdDestroyDDLocal

svn path=/trunk/; revision=33167

13 years agoFix one warning.
Daniel Reimer [Sun, 27 Apr 2008 15:18:20 +0000 (15:18 +0000)]
Fix one warning.

svn path=/trunk/; revision=33166

13 years agoBug 3198: add new slovak translations and some changes by Mário Kačmár (
Daniel Reimer [Sun, 27 Apr 2008 15:02:13 +0000 (15:02 +0000)]
Bug 3198: add new slovak translations and some changes by Mário Kačmár (
Bug 3196: some spanish traslation by Javier Remacha (

svn path=/trunk/; revision=33165

13 years agoadd DD_VIDEOPORTCALLBACKS it mean directx video port interface should started working...
Magnus Olsen [Sun, 27 Apr 2008 13:05:13 +0000 (13:05 +0000)]
add DD_VIDEOPORTCALLBACKS it mean directx video port interface should started working now to user mode, with ms dxg.sys

svn path=/trunk/; revision=33164

13 years agoms dxg.sys can now found and execute GetAvailDriverMemory it works from usermode...
Magnus Olsen [Sun, 27 Apr 2008 12:47:28 +0000 (12:47 +0000)]
ms dxg.sys can now found and execute GetAvailDriverMemory it works from usermode with syscall,

svn path=/trunk/; revision=33163

13 years agoadding more code for init the drv in intEnableReactXDriver
Magnus Olsen [Sun, 27 Apr 2008 12:11:00 +0000 (12:11 +0000)]
adding more code for init the drv in intEnableReactXDriver

svn path=/trunk/; revision=33162

13 years ago- Add new layouts to bootcd
Dmitry Chapyshev [Sun, 27 Apr 2008 12:02:29 +0000 (12:02 +0000)]
- Add new layouts to bootcd

svn path=/trunk/; revision=33161

13 years agoAdd keyboard layouts:
Dmitry Chapyshev [Sun, 27 Apr 2008 12:01:38 +0000 (12:01 +0000)]
Add keyboard layouts:
- Romanian
- Tatar
- US Dvorak for left hand
- US Dvorak for right hand
- US International

svn path=/trunk/; revision=33160

13 years agono new code, only fixed some more members in EDD_DIRECTDRAW_GLOBAL struct, and copy...
Magnus Olsen [Sun, 27 Apr 2008 09:41:21 +0000 (09:41 +0000)]
no new code, only fixed some more members in EDD_DIRECTDRAW_GLOBAL struct, and copy some private note to it.

svn path=/trunk/; revision=33159

13 years ago- Increasing the size of controls
Dmitry Chapyshev [Sun, 27 Apr 2008 09:07:43 +0000 (09:07 +0000)]
- Increasing the size of controls

svn path=/trunk/; revision=33158

13 years agoEDD_DIRECTDRAW_GLOBAL mark out ddSurfaceCallbacks is corrct and corrected the comment...
Magnus Olsen [Sun, 27 Apr 2008 01:11:13 +0000 (01:11 +0000)]
EDD_DIRECTDRAW_GLOBAL mark out ddSurfaceCallbacks is corrct and corrected the comment about it
updateddump_edd_directdraw_global so it dump even more data.

svn path=/trunk/; revision=33157

13 years agoBugFix : EDD_DIRECTDRAW_GLOBAL put ddCallbacks in right position.
Magnus Olsen [Sat, 26 Apr 2008 20:18:42 +0000 (20:18 +0000)]
BugFix : EDD_DIRECTDRAW_GLOBAL  put ddCallbacks in right position.
that mean  driver api DestroyDriver, CreateSurface, SetColorKey, SetMode, WaitForVerticalBlank, CanCreateSurface, CreatePalette, GetScanLine, MapMemory works inside ms dxg.sys now
test of that is NtGdiDdCreateSurface, NtGdiDdSetColorKey, NtGdiDdWaitForVerticalBlank, NtGdiDdCanCreateSurface, NtGdiDdCreatePalette, NtGdiDdGetScanLine
works and show prof it being call to the drv. that mean we got the graphic card api working now. It still exists bugs. Long live our ReactX that showing frist life sign with ms dxg.sys inside vmware and thuse api working. But it is not egunt getting a dx apps working yet.

svn path=/trunk/; revision=33156

13 years ago- Add new layouts to bootcd
Dmitry Chapyshev [Sat, 26 Apr 2008 19:07:51 +0000 (19:07 +0000)]
- Add new layouts to bootcd

svn path=/trunk/; revision=33155

13 years agoAdd keyboard layouts:
Dmitry Chapyshev [Sat, 26 Apr 2008 19:07:16 +0000 (19:07 +0000)]
Add keyboard layouts:
- Canadian French (Legacy)
- Canadian Multilingual Standard
- Dutch
- Estonian
- Georgian
- Latvian
- Macedonian (FYRO)

svn path=/trunk/; revision=33154

13 years agofinish proting of intEnableDriver from ReactOS 0.3.1 - 0.3.2 that have been rename...
Magnus Olsen [Sat, 26 Apr 2008 18:25:24 +0000 (18:25 +0000)]
finish proting of intEnableDriver from ReactOS 0.3.1 - 0.3.2 that have been rename to intEnableReactXDriver
lefttodo fix correct positions of everything in the edd_directdraw_global amd fill in the driver phdev correct in that struct as well.
Hacked : NtGdiDdGetScanLine for now, it crash when it being call again.

svn path=/trunk/; revision=33153

13 years agoAdd : started port in intEnableDriver from reactos 0.3.2 and rename it to intEnableR...
Magnus Olsen [Sat, 26 Apr 2008 17:27:35 +0000 (17:27 +0000)]
Add : started port in  intEnableDriver from reactos 0.3.2 and rename it to intEnableReactXDriver. it is the part activate the graphic card directx support.
Add : more debug data for ReactX it is need it to fill all edd_ struct right, allot of the debug functions will go away after we got up stable interface.
BugFix : EDD_DIRECTDRAW_LOCAL the struct did miss one member.

svn path=/trunk/; revision=33152

13 years agoremove some debug output it is not longer need it.
Magnus Olsen [Sat, 26 Apr 2008 14:13:59 +0000 (14:13 +0000)]
remove some debug output it is not longer need it.
add allot debug data at NtGdiDdQueryDirectDrawObject we are here now, prepare activate the whole graphic driver directx interface.
we will add back some older code of the old desgin of the directx interface, for we need init the graphic card directx interface
it is not done by dxg.sys, it is done by win32k and dxg.sys using the cached data from win32k. rember it is cached for each drv.
but we will only support one graphic drv for dx for now, when the code comes alive again.

svn path=/trunk/; revision=33151

13 years agofixed bit more in the struct EDD_DIRECTDRAW_GLOBAL,
Magnus Olsen [Sat, 26 Apr 2008 12:55:14 +0000 (12:55 +0000)]
fixed bit more in the struct EDD_DIRECTDRAW_GLOBAL,
the struct are still wrong. trust only on thuse I wrote verify on

svn path=/trunk/; revision=33150

13 years agoAdd alternative German "de-ergo/eMeier 0.1", "NEO 1.1" and "Ristome" Layouts.
Daniel Reimer [Sat, 26 Apr 2008 12:30:46 +0000 (12:30 +0000)]
Add alternative German "de-ergo/eMeier 0.1", "NEO 1.1" and "Ristome" Layouts.
If you have a modified Keyboard lying around, have fun writing.

svn path=/trunk/; revision=33149

13 years agoBugfix : EngDeleteSemaphore one line patch by Samuel Serapión (samcharly at hotmail...
Magnus Olsen [Sat, 26 Apr 2008 12:11:01 +0000 (12:11 +0000)]
Bugfix : EngDeleteSemaphore one line patch by Samuel Serapión (samcharly at hotmail dot com) aka irc : encoded
it did not releas the create resuse, it was leaking.

svn path=/trunk/; revision=33148

13 years agofixed : we do not longer losing the hdev for ms dxg.sys
Magnus Olsen [Sat, 26 Apr 2008 09:29:10 +0000 (09:29 +0000)]
fixed : we do not longer losing the hdev for ms dxg.sys
fixed : remove few hacks I did and reactivate some api I did take offline.
the struct EDD_DIRECTDRAW_LOCAL from yuah gdi book does not match windows xp, I have verify some member for windows xp.
the struct EDD_DIRECTDRAW_GLOBAL from yuah gdi book does not match windows xp, I have verify some member for windows xp.
and add two new member so hPDEV get in right place.

svn path=/trunk/; revision=33147

13 years ago- Add US IBM Arabic 238_L and Icelandic layouts to bootcd
Dmitry Chapyshev [Fri, 25 Apr 2008 16:50:06 +0000 (16:50 +0000)]
- Add US IBM Arabic 238_L and Icelandic layouts to bootcd

svn path=/trunk/; revision=33146

13 years ago- Add US IBM Arabic 238_L keyboard layout
Dmitry Chapyshev [Fri, 25 Apr 2008 16:49:17 +0000 (16:49 +0000)]
- Add US IBM Arabic 238_L keyboard layout
- Add Icelandic keyboard layout

svn path=/trunk/; revision=33145

13 years agoReplace ROSCalc with Wine Calc.
Daniel Reimer [Fri, 25 Apr 2008 15:41:03 +0000 (15:41 +0000)]
Replace ROSCalc with Wine Calc.

svn path=/trunk/; revision=33144

13 years agoReplace Wine Calc with ROSCalc
Daniel Reimer [Fri, 25 Apr 2008 15:40:31 +0000 (15:40 +0000)]
Replace Wine Calc with ROSCalc

svn path=/trunk/; revision=33143

13 years agoWhat do we learn here? Always try patches with a updated trunk. Removed Bulgarian...
Daniel Reimer [Fri, 25 Apr 2008 11:55:28 +0000 (11:55 +0000)]
What do we learn here? Always try patches with a updated trunk. Removed Bulgarian Translation again. Its outdated.

svn path=/trunk/; revision=33142

13 years agoBug 3192: Bulgarian translation of ReactOS by Станев (
Daniel Reimer [Fri, 25 Apr 2008 11:46:01 +0000 (11:46 +0000)]
Bug 3192: Bulgarian translation of ReactOS by Станев (
Bug 3194: Czech translation update by Radek Liška (

svn path=/trunk/; revision=33141

13 years ago- implement enumerating DirectPlay service providers
Johannes Anderwald [Fri, 25 Apr 2008 10:56:18 +0000 (10:56 +0000)]
- implement enumerating DirectPlay service providers
- update resources

svn path=/trunk/; revision=33140

13 years ago- Add more MDL flags.
Aleksey Bragin [Fri, 25 Apr 2008 07:55:12 +0000 (07:55 +0000)]
- Add more MDL flags.
- Reformat MDL implementation (mdlsup.c) to make it readable, and add comments.
- Add a couple dozen assertions to validate that MDL flags, state and addresses.
- Use ADDRESS_AND_SIZE_TO_SPAN_PAGES macro for nice MDL calculations.
- Set Mdl->Process only when required, and set/unset various MDL flags which were being ignored/incorrectly manipulated.
- Keep track of Process->NumberOfLockedPages during MDL lock/unlock.
- Don't return the base address of the MDL allocation when mapping locked pages - MDLs have a byte offset which was being ignored.
- Fix incorrect usage of MDLs found in the kernel (thanks to the new assertions).
- Split kernel vs. user mode MDL requests in a much more organized and optimized fashion.
- Fix a number of smaller bugs throughout the code.

svn path=/trunk/; revision=33139

13 years agoadding more debug output for dx
Magnus Olsen [Fri, 25 Apr 2008 05:47:32 +0000 (05:47 +0000)]
adding more debug output for dx

svn path=/trunk/; revision=33138

13 years agoULONG -> SIZE_T
Timo Kreuzer [Fri, 25 Apr 2008 01:42:25 +0000 (01:42 +0000)]

svn path=/trunk/; revision=33137

13 years agoULONG -> SIZE_T for ZwAllocateVirtualMemory and MmMapViewOfSection
Timo Kreuzer [Fri, 25 Apr 2008 01:16:08 +0000 (01:16 +0000)]
ULONG -> SIZE_T for ZwAllocateVirtualMemory and MmMapViewOfSection

svn path=/trunk/; revision=33136

13 years agofix cast of pointer: ULONG -> ULONG_PTR
Timo Kreuzer [Fri, 25 Apr 2008 01:09:28 +0000 (01:09 +0000)]
fix cast of pointer: ULONG -> ULONG_PTR

svn path=/trunk/; revision=33135

13 years agofix EngAllocUserMem parameter
Timo Kreuzer [Fri, 25 Apr 2008 00:38:32 +0000 (00:38 +0000)]
fix EngAllocUserMem parameter

svn path=/trunk/; revision=33134

13 years ago- Rewrite NtRead/WriteVirtualMemory around MiCopyVirtualMemory, and use MmMapLockedPa...
Aleksey Bragin [Thu, 24 Apr 2008 21:26:01 +0000 (21:26 +0000)]
- Rewrite NtRead/WriteVirtualMemory around MiCopyVirtualMemory, and use MmMapLockedPagesSpecifyCache to do the bulk of the work, instead of the MDL hacks that were previously used.
- Reformat and cleanup the entire file, deprecate NtVirtualLock/Unlock which didn't really work (and aren't really required for any apps for now)
- Major perf optimizations to NtRead/VirtualMemory: Use pool memory transfer when more efficient than MDL, and use local stack buffer when size permits.
- This patch provides up to 109% improvement (more than twice as fast) in certain virtual memory operations.
- Thanks to Alex for researching this issue, and providing the internal information on the various optimizations and behaviors the NT implementation uses.

svn path=/trunk/; revision=33133

13 years agoAdded some work-in-progress structs needed for IDirect3D9::CreateDevice()
Gregor Brunmar [Thu, 24 Apr 2008 19:57:41 +0000 (19:57 +0000)]
Added some work-in-progress structs needed for IDirect3D9::CreateDevice()

svn path=/trunk/; revision=33132

13 years agoRenamed internal Direct3D9 structure to make more sense
Gregor Brunmar [Thu, 24 Apr 2008 18:29:50 +0000 (18:29 +0000)]
Renamed internal Direct3D9 structure to make more sense

svn path=/trunk/; revision=33131

13 years agokbswitch:
Colin Finck [Thu, 24 Apr 2008 17:57:48 +0000 (17:57 +0000)]
- Revert some changes from r33106:
    * Set the size of szTempLCID back to CCH_LAYOUT_ID + 1, a layout ID mustn't be longer than this.
      As we pass the correct size to the Registry functions as well, there can be no buffer overflow.
      MAX_PATH was probably used here, because input.dll had a bug as well, so that it saved the layout ID with the wrong length.
    * Use wsprintf over _stprintf
    * Pass the correct value to dwBufLen (in bytes, not in TCHAR's!)
- Add back SystemParametersInfo, so that the system gets to know about the keyboard layout change.
  EnumWindows is still used for setting the new keyboard layout to all existing Windows.
- Don't show a different menu for left and right clicks, that's not how most popup menus work under Windows.
  Instead append all menu items from the menu template to the popup menu.
- Call SetForegroundWindow before and post a WM_NULL message after calling TrackPopupMenu, so that the popup menu will be closed, when the user clicks somewhere else
- Fix indentation

- Fix some incorrect lengths passed to other functions
- Get rid of some unneeded variables
- Always use the 32-bit Registry functions over the old 16-bit deprecated ones
- Fix some other stuff here and there

svn path=/trunk/; revision=33130

13 years ago- Reformat Se code and put functions to more appropriate locations.
Aleksey Bragin [Wed, 23 Apr 2008 20:38:37 +0000 (20:38 +0000)]
- Reformat Se code and put functions to more appropriate locations.

svn path=/trunk/; revision=33129

13 years ago- Fix logic bugs in LpcRequestPort (which is not the same as NtRequestPort as someone...
Aleksey Bragin [Wed, 23 Apr 2008 16:40:08 +0000 (16:40 +0000)]
- Fix logic bugs in LpcRequestPort (which is not the same as NtRequestPort as someone incorrectly assumed previously) and also reference/dereference the process who owns the server mapping.

svn path=/trunk/; revision=33128

13 years ago- Update Russian translation
Dmitry Chapyshev [Wed, 23 Apr 2008 15:54:29 +0000 (15:54 +0000)]
- Update Russian translation

svn path=/trunk/; revision=33127

13 years agoRevert r33093. It breaks build for me and fixes no circular dependency for the rest.
Daniel Reimer [Wed, 23 Apr 2008 09:55:55 +0000 (09:55 +0000)]
Revert r33093. It breaks build for me and fixes no circular dependency for the rest.
Set the new added wine dlls to autosync in

svn path=/trunk/; revision=33126

13 years agostart setup edd directdraw local
Magnus Olsen [Wed, 23 Apr 2008 05:45:59 +0000 (05:45 +0000)]
start setup edd directdraw local

svn path=/trunk/; revision=33125

13 years agochange directx struct
Magnus Olsen [Wed, 23 Apr 2008 05:44:20 +0000 (05:44 +0000)]
change directx struct

svn path=/trunk/; revision=33124

13 years agocomment out one line for now.
Magnus Olsen [Wed, 23 Apr 2008 05:23:51 +0000 (05:23 +0000)]
comment out one line for now.
for we will use same struct as gdi object in dx/reactx header.

svn path=/trunk/; revision=33123

13 years agotake offline some code, this file should be take code from win32k.
Magnus Olsen [Wed, 23 Apr 2008 05:21:59 +0000 (05:21 +0000)]
take offline some code, this file should be take code from win32k.
it is same as gdi handle alloc doing it.

svn path=/trunk/; revision=33122

13 years ago- enlarge the dialog window
Johannes Anderwald [Tue, 22 Apr 2008 23:19:50 +0000 (23:19 +0000)]
- enlarge the dialog window
- load treeview classes on startup
- link to dinput8 + dxguid library
- start implementing DirectInput dialog
- use DirectInput version 8 for now

svn path=/trunk/; revision=33121

13 years agomodified include/psdk/ntdef.h
KJK::Hyperion [Tue, 22 Apr 2008 23:09:05 +0000 (23:09 +0000)]
modified   include/psdk/ntdef.h
   Make C_ASSERT standards-compliant. Hopefully fixed for good

svn path=/trunk/; revision=33120

13 years ago- add missing constants required for dxdiag
Johannes Anderwald [Tue, 22 Apr 2008 22:52:44 +0000 (22:52 +0000)]
- add missing constants required for dxdiag

svn path=/trunk/; revision=33119

13 years agoI am stupid and buildbot is broken
KJK::Hyperion [Tue, 22 Apr 2008 22:51:30 +0000 (22:51 +0000)]
I am stupid and buildbot is broken

svn path=/trunk/; revision=33118

13 years agomodified include/psdk/ntdef.h
KJK::Hyperion [Tue, 22 Apr 2008 22:45:53 +0000 (22:45 +0000)]
modified   include/psdk/ntdef.h
   C_ASSERT is equivalent to a typedef, NOT a variable declaration

modified   ntoskrnl/mm/pe.c
   Convert as many ASSERTs as possible to C_ASSERT

svn path=/trunk/; revision=33117

13 years agoBug fixes from Alex:
Aleksey Bragin [Tue, 22 Apr 2008 20:44:34 +0000 (20:44 +0000)]
Bug fixes from Alex:
- CDFS should enter a critical region before acquiring a resource.
- "Fix" resource assert during installation by adding some padding at the end of the VFAT FCB header -- corruption happens at pad 51.
- Once we detect corruption at pad 51, skip the FCB instead of attempting to flush it.
- Fix a serious bug in our detection of incorrect resource usage while APCs are not disabled.
- Fix a serious bug which caused shared resources not to wake up waiters when it was released, and which cause it to wake up waiters when there were still active locks held.

New ERESOURCE implementation by Aleksey (thanks to Alex for providing the information required)
- Remove ERESOURCE_XP concept, and fix the three incorrect and different definitions of the ERESOURCE structure.
- Fix the ERESOURCE implementation to use the new Vista ERESOURCE type. Two main changes:
   * The count is now a 32-bit count called ActiveEntries. ActiveCount is now simply a flip-flop bit (0/1) for backward compatibility (we set to 0 when active entries is 0, and 1 when active entries is > 0)
   * Instead of caching two owners, we only cache one owner, in the OwnerEntry field.
- Optimize some search algorithms slightly (just better code).
- Remove duplicated code for ExReleaseResourceLite and call ExReleaseResourceForThreadLite instead. Alex says this is ok.

svn path=/trunk/; revision=33111

13 years ago- Add "Preferences" button
Dmitry Chapyshev [Tue, 22 Apr 2008 20:01:08 +0000 (20:01 +0000)]
- Add "Preferences" button

svn path=/trunk/; revision=33109

13 years ago- Add kbswitch to bootcd
Dmitry Chapyshev [Tue, 22 Apr 2008 19:09:13 +0000 (19:09 +0000)]
- Add kbswitch to bootcd

svn path=/trunk/; revision=33108

13 years agoRevert 33105, C_ASSERT is broken
KJK::Hyperion [Tue, 22 Apr 2008 19:03:21 +0000 (19:03 +0000)]
Revert 33105, C_ASSERT is broken

svn path=/trunk/; revision=33107

13 years ago- Keyboard layout switching works now in ReactOS!
Dmitry Chapyshev [Tue, 22 Apr 2008 19:01:56 +0000 (19:01 +0000)]
- Keyboard layout switching works now in ReactOS!

svn path=/trunk/; revision=33106

13 years agomodified ntoskrnl/mm/pe.c
KJK::Hyperion [Tue, 22 Apr 2008 18:49:22 +0000 (18:49 +0000)]
modified   ntoskrnl/mm/pe.c
   Convert as many ASSERTs as possible to C_ASSERT

svn path=/trunk/; revision=33105

13 years agoChange default intermediate directory to obj directory.
Hervé Poussineau [Tue, 22 Apr 2008 05:52:18 +0000 (05:52 +0000)]
Change default intermediate directory to obj directory.

svn path=/trunk/; revision=33094

13 years ago- add a proxy idl file
Johannes Anderwald [Mon, 21 Apr 2008 22:49:48 +0000 (22:49 +0000)]
- add a proxy idl file
- should fix the circual dependency

svn path=/trunk/; revision=33093

13 years ago- The address space lock is a pushlock -- pushlocks can fail if callers are acquiring...
Aleksey Bragin [Mon, 21 Apr 2008 21:42:00 +0000 (21:42 +0000)]
- The address space lock is a pushlock -- pushlocks can fail if callers are acquiring them without first disabling APCs, so they should always be acquired within a critical region. Fix the address space lock to do this.
- Don't keep track of the page table reference count table in the address space structure, nobody was using this.
- Instead of using either a global kernel pushlock for the kernel address space, and a per-process lock for process address space, always use a per-process lock (the kernel address space uses the idle process' lock).
- Instead of acquiring/releasing the lock by dereferencing the process which owns the address space, hold a pointer to the lock directly. This removes an extra dereference, and also allows the kernel lock to work (because kernel address space doesn't have an associated process).
- Inline the lock acquisition/release functions and the get-address-space functions.
- Measured a 20% performance boost during boot-up, and 150% during installation.
- Patch by Alex.

svn path=/trunk/; revision=33092

13 years ago- Remove perf code from Ob SD Cache implementation.
Aleksey Bragin [Mon, 21 Apr 2008 18:33:23 +0000 (18:33 +0000)]
- Remove perf code from Ob SD Cache implementation.

svn path=/trunk/; revision=33091

13 years agoAttempt to fix problem where there should have not been a problem. Remember this...
James Tabor [Mon, 21 Apr 2008 18:28:35 +0000 (18:28 +0000)]
Attempt to fix problem where there should have not been a problem. Remember this, do not fix it when it is not broken. I will restore GdiFixUpHandle back to the original state later.

svn path=/trunk/; revision=33090

13 years agoA driver-supplied Cancel routine is called with the cancel spin lock held, it must...
Andrew Munger [Mon, 21 Apr 2008 12:10:55 +0000 (12:10 +0000)]
A driver-supplied Cancel routine is called with the cancel spin lock held, it must be released on IRP completion.
This was inverted in mouclass. Fix by Samuel Serapión.

svn path=/trunk/; revision=33089

13 years ago- check input in PNP_GetRootDeviceInstance
Johannes Anderwald [Mon, 21 Apr 2008 12:08:42 +0000 (12:08 +0000)]
- check input in PNP_GetRootDeviceInstance
- fix length check in PNP_GetClassName
- allocate device id string dynamically in to avoid a potential buffer overflow
- use lstrlenW over wcslen in PnpEventThread

svn path=/trunk/; revision=33088

13 years agoImplemented DxEngGetRedirectionBitmap. Fixed GdiGetSetCopyCount.
James Tabor [Mon, 21 Apr 2008 05:56:49 +0000 (05:56 +0000)]
Implemented DxEngGetRedirectionBitmap. Fixed GdiGetSetCopyCount.

svn path=/trunk/; revision=33087

13 years agodid the mistake commit the reactos.diff again :(
Magnus Olsen [Mon, 21 Apr 2008 05:43:51 +0000 (05:43 +0000)]
did the mistake commit the reactos.diff again :(

svn path=/trunk/; revision=33086

13 years ago- Add Russian translation
Dmitry Chapyshev [Mon, 21 Apr 2008 05:43:23 +0000 (05:43 +0000)]
- Add Russian translation

svn path=/trunk/; revision=33085

13 years agoDxDdStartupDxGraphics
Magnus Olsen [Mon, 21 Apr 2008 05:42:08 +0000 (05:42 +0000)]
Bugfix : the load order, it try loading vista dxkrnl.sys frist then it try loading dxg.System
rember I have not tested vista dxkrnl.sys in reactos at all yet.

Bugfix :
thx piggworth for notice the hDev was never resive to DxEngLockHdev, it still does not do in some case.
we need more invigaste why

svn path=/trunk/; revision=33084

13 years agoForgot this file.
Ziliang Guo [Mon, 21 Apr 2008 03:50:48 +0000 (03:50 +0000)]
Forgot this file.

svn path=/trunk/; revision=33083

13 years agoFix memory leaks, patch by Samuel Serapión
Ziliang Guo [Mon, 21 Apr 2008 02:15:19 +0000 (02:15 +0000)]
Fix memory leaks, patch by Samuel Serapión

svn path=/trunk/; revision=33082

13 years agoHeader updates from Samuel
Ziliang Guo [Mon, 21 Apr 2008 02:13:57 +0000 (02:13 +0000)]
Header updates from Samuel

svn path=/trunk/; revision=33081

13 years ago- directory.rbuild in rosapps should be alphabetically sorted, so move drivers to...
Aleksey Bragin [Sun, 20 Apr 2008 20:54:06 +0000 (20:54 +0000)]
- directory.rbuild in rosapps should be alphabetically sorted, so move drivers to its respected place.
- Move service skeleton into templates directory, it's there for that kind of stuff.

svn path=/trunk/; revision=33080

13 years ago- Make the "Exit" string translateable
Colin Finck [Sun, 20 Apr 2008 19:49:10 +0000 (19:49 +0000)]
- Make the "Exit" string translateable
- Use the last possible ID for this command, so we can add as many keyboard layouts as possible to the popup menu
- Send a WM_CLOSE message when clicking "Exit", don't duplicate the WM_DESTROY code here

svn path=/trunk/; revision=33079

13 years agoPrevent mshtml registration (doesn't work yet)
Hervé Poussineau [Sun, 20 Apr 2008 19:10:41 +0000 (19:10 +0000)]
Prevent mshtml registration (doesn't work yet)
See issue #3189 for more details.

svn path=/trunk/; revision=33078

13 years ago- Add "Exit" item to menu
Dmitry Chapyshev [Sun, 20 Apr 2008 18:59:58 +0000 (18:59 +0000)]
- Add "Exit" item to menu

svn path=/trunk/; revision=33077

13 years agoFix indentation in the .rbuild file and remove some libs we don't use
Colin Finck [Sun, 20 Apr 2008 18:06:36 +0000 (18:06 +0000)]
Fix indentation in the .rbuild file and remove some libs we don't use

svn path=/trunk/; revision=33075

13 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Sun, 20 Apr 2008 17:11:36 +0000 (17:11 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=33074

Hervé Poussineau [Sun, 20 Apr 2008 17:11:12 +0000 (17:11 +0000)]

svn path=/trunk/; revision=33073

13 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Sun, 20 Apr 2008 17:07:15 +0000 (17:07 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=33072

13 years agoAdd GetCharABCWidthsI, GetGlyphIndicesA/W prototypes
Hervé Poussineau [Sun, 20 Apr 2008 17:06:50 +0000 (17:06 +0000)]
Add GetCharABCWidthsI, GetGlyphIndicesA/W prototypes

svn path=/trunk/; revision=33071

13 years agoAdd usp10 base address
Hervé Poussineau [Sun, 20 Apr 2008 17:06:38 +0000 (17:06 +0000)]
Add usp10 base address

svn path=/trunk/; revision=33070

13 years agoRemove rasdlg again. Misinterpretation by me. Sorry for that.
Daniel Reimer [Sun, 20 Apr 2008 16:49:57 +0000 (16:49 +0000)]
Remove rasdlg again. Misinterpretation by me. Sorry for that.

svn path=/trunk/; revision=33069

13 years agofix another stack crouptions for wrong prototype
Magnus Olsen [Sun, 20 Apr 2008 16:29:43 +0000 (16:29 +0000)]
fix another stack crouptions for wrong prototype

svn path=/trunk/; revision=33068

13 years agofix the trunk build for real now, i hate sell man calling in the phone.
Magnus Olsen [Sun, 20 Apr 2008 16:14:06 +0000 (16:14 +0000)]
fix the trunk build for real now, i hate sell man calling in the phone.

svn path=/trunk/; revision=33067

13 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Sun, 20 Apr 2008 16:10:55 +0000 (16:10 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=33066

13 years agofix the no init value in kbswith
Magnus Olsen [Sun, 20 Apr 2008 16:10:27 +0000 (16:10 +0000)]
fix the no init value in kbswith

svn path=/trunk/; revision=33065

13 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Sun, 20 Apr 2008 16:01:17 +0000 (16:01 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=33064

13 years agoSupport memicmpW() Wine specific function
Hervé Poussineau [Sun, 20 Apr 2008 16:01:04 +0000 (16:01 +0000)]
Support memicmpW() Wine specific function

svn path=/trunk/; revision=33063

13 years ago- Add the actual function for switching the keyboard layout
Colin Finck [Sun, 20 Apr 2008 15:48:43 +0000 (15:48 +0000)]
- Add the actual function for switching the keyboard layout
- Handle keyboard layout substitutes (like the "German (IBM)" layout)
- Refactor many parts of the code:
   * Always close hKey handles after they were successfully opened
   * Build the keyboard layout menu one time and not everytime, when it's opened
   * Use smaller sizes for some string variables, defined with CCH_LAYOUT_ID and CCH_ULONG_DEC.
     This also ensures that we don't retrieve bigger values, which would be invalid.
- Use a consistent indentation

svn path=/trunk/; revision=33062

13 years agoSynced Winhelp
Daniel Reimer [Sun, 20 Apr 2008 15:38:34 +0000 (15:38 +0000)]
Synced Winhelp
- Added atl.dll, pdh.dll, rasapi32, rasdlg, stdole2.tlb, tapi32, usp10, winhttp
All of these are from wine. I called them Out of sync now. Change the way you want.

svn path=/trunk/; revision=33061

13 years agoLet DxEngScreenAccessCheck() always return true for now until we implemete it
Magnus Olsen [Sun, 20 Apr 2008 14:46:03 +0000 (14:46 +0000)]
Let DxEngScreenAccessCheck() always return true for now until we implemete it
it mean dxg.sys have preemptions to access the screen.

svn path=/trunk/; revision=33060

13 years agoBug 3188: Lithuanian translation by Vytis Girdzijauskas (
Daniel Reimer [Sun, 20 Apr 2008 14:44:14 +0000 (14:44 +0000)]
Bug 3188: Lithuanian translation by Vytis Girdzijauskas (

svn path=/trunk/; revision=33059

13 years agoBug 3188: Lithuanian translation by Vytis Girdzijauskas (
Daniel Reimer [Sun, 20 Apr 2008 14:44:13 +0000 (14:44 +0000)]
Bug 3188: Lithuanian translation by Vytis Girdzijauskas (

svn path=/trunk/; revision=33058

13 years agoadd dump of edd_directdraw_global
Magnus Olsen [Sun, 20 Apr 2008 14:10:08 +0000 (14:10 +0000)]
add dump of edd_directdraw_global
so we can easy see what it contain.

svn path=/trunk/; revision=33057

13 years agotake pfnDxDdCanCreateSurface offline for now
Magnus Olsen [Sun, 20 Apr 2008 13:08:25 +0000 (13:08 +0000)]
take pfnDxDdCanCreateSurface offline for now

svn path=/trunk/; revision=33056

13 years agoReinsert the <group> tag to stay XML compatible.
Colin Finck [Sun, 20 Apr 2008 12:29:19 +0000 (12:29 +0000)]
Reinsert the <group> tag to stay XML compatible.
XML forbids to have more than one root element in a file.

svn path=/trunk/; revision=33055

13 years agoadd two hack so dxg.sys continue works for now.
Magnus Olsen [Sun, 20 Apr 2008 11:50:43 +0000 (11:50 +0000)]
add two hack so dxg.sys continue works for now.
it does not longer crash at DdDeleteDirectDrawObject for it never been call longer to dxg.sys until I figout why
take DxEngLockShareSem and DxEngUnLockShareSem offline need more invigaste how it is done in windows.
take DxGdiDdGetScanLine offline for now so it does not crash dxg.sys

svn path=/trunk/; revision=33054