reactos.git
19 years agoFix some more bugs thanks to Tribes.
Magnus Olsen [Sat, 26 Mar 2005 16:41:45 +0000 (16:41 +0000)]
Fix some more bugs thanks to Tribes.
Now the mouse y cordinate works fine
Set right timestap on the event.
Remove time delay on 50ms
new code for 50ms event calction.

Todo
why does the Tribes get wrong x,y cordinate.
why does the mouse limit area setup are wrong.

svn path=/trunk/; revision=14333

19 years agoFix a small bug I introdues and fix a old bug for tribes
Magnus Olsen [Sat, 26 Mar 2005 11:58:43 +0000 (11:58 +0000)]
Fix a small bug I introdues and fix a old bug for tribes

svn path=/trunk/; revision=14330

19 years agomore bugfix for Tribes
Magnus Olsen [Sat, 26 Mar 2005 11:16:14 +0000 (11:16 +0000)]
more bugfix for Tribes
but still choppy mouse but not equal as last time

svn path=/trunk/; revision=14329

19 years agoAdded tools needed to build the ppc boot program.
Art Yerkes [Sat, 26 Mar 2005 10:19:48 +0000 (10:19 +0000)]
Added tools needed to build the ppc boot program.

svn path=/trunk/; revision=14328

19 years agoFix some bugs for Tirbes in GetDeivceData
Magnus Olsen [Sat, 26 Mar 2005 09:38:23 +0000 (09:38 +0000)]
Fix some bugs for Tirbes in GetDeivceData
remove to call for geting mouse data. That
are not need it. rest are bugs fix for Tirbes.

Left Todo
The mouse are bit choppy. The mouse area you
can move the mouse are not being set up right.

svn path=/trunk/; revision=14327

19 years agoalways wake waiting threads when releasing the last recursion
Thomas Bluemel [Sat, 26 Mar 2005 00:10:34 +0000 (00:10 +0000)]
always wake waiting threads when releasing the last recursion

svn path=/trunk/; revision=14326

19 years agoImplement IntChangeDisplaySettings in a crappy way. Feel free to improve it!
Hervé Poussineau [Fri, 25 Mar 2005 23:23:35 +0000 (23:23 +0000)]
Implement IntChangeDisplaySettings in a crappy way. Feel free to improve it!

svn path=/trunk/; revision=14325

19 years agoCall ChangeDisplaySettingsEx.
Hervé Poussineau [Fri, 25 Mar 2005 23:21:00 +0000 (23:21 +0000)]
Call ChangeDisplaySettingsEx.
We need to implement a test phase to verify that new settings are correct.

svn path=/trunk/; revision=14324

19 years agogrant correct access rights when duplicating a handle
Thomas Bluemel [Fri, 25 Mar 2005 23:11:20 +0000 (23:11 +0000)]
grant correct access rights when duplicating a handle

svn path=/trunk/; revision=14323

19 years agominor optimization fix for single linked lists
Thomas Bluemel [Fri, 25 Mar 2005 22:53:57 +0000 (22:53 +0000)]
minor optimization fix for single linked lists

svn path=/trunk/; revision=14322

19 years agoGenerate code without L-value casts. Fix remaining issues.
Eric Kohl [Fri, 25 Mar 2005 21:29:11 +0000 (21:29 +0000)]
Generate code without L-value casts. Fix remaining issues.

svn path=/trunk/; revision=14320

19 years agopatch by Filip Navara:
Royce Mitchell III [Fri, 25 Mar 2005 19:34:26 +0000 (19:34 +0000)]
patch by Filip Navara:
IopCreateDeviceNode should allocate from NonPagedPool, not PagedPool... (the memory is accessed at DISPATCH_LEVEL)

svn path=/trunk/; revision=14319

19 years agoonly return the token handle if creating it succeeded
Thomas Bluemel [Fri, 25 Mar 2005 18:13:31 +0000 (18:13 +0000)]
only return the token handle if creating it succeeded

svn path=/trunk/; revision=14316

19 years agoFix a typo.
Filip Navara [Fri, 25 Mar 2005 15:48:03 +0000 (15:48 +0000)]
Fix a typo.

svn path=/trunk/; revision=14313

19 years ago- Implemented NpfsCleanup.
Hartmut Birr [Fri, 25 Mar 2005 13:40:33 +0000 (13:40 +0000)]
- Implemented NpfsCleanup.
- Moved most of the code from NpfsClose to NpfsCleanup.
- If a pipe handle is closed, remove the fcb from the wait list and cancel a connecting irp if one is waiting.

svn path=/trunk/; revision=14310

19 years agoFix uninitialized variable warnings.
Filip Navara [Fri, 25 Mar 2005 12:00:56 +0000 (12:00 +0000)]
Fix uninitialized variable warnings.

svn path=/trunk/; revision=14308

19 years agoReverted my last changes which allows to read from a listening pipe.
Hartmut Birr [Fri, 25 Mar 2005 11:45:48 +0000 (11:45 +0000)]
Reverted my last changes which allows to read from a listening pipe.

svn path=/trunk/; revision=14307

19 years agoFixed the return value and last error in ConnectNamedPipe if a overlapped structure...
Hartmut Birr [Fri, 25 Mar 2005 11:25:44 +0000 (11:25 +0000)]
Fixed the return value and last error in ConnectNamedPipe if a overlapped structure is given.

svn path=/trunk/; revision=14306

19 years agoAdded a missing unlock.
Hartmut Birr [Fri, 25 Mar 2005 11:05:10 +0000 (11:05 +0000)]
Added a missing unlock.

svn path=/trunk/; revision=14305

19 years agoFix compilation.
Filip Navara [Thu, 24 Mar 2005 13:17:23 +0000 (13:17 +0000)]
Fix compilation.

svn path=/trunk/; revision=14299

19 years agoThis is change 1 of 2.
Art Yerkes [Thu, 24 Mar 2005 10:46:52 +0000 (10:46 +0000)]
This is change 1 of 2.
AddIPAddress and DeleteIPAddress are now implemented all the way down.
Next we need the dhcp service live enough to assign the address from userland,
then we can remove the IP address setting from the kernel.

svn path=/trunk/; revision=14298

19 years ago- Add synchronization on input and output buffers
Hervé Poussineau [Thu, 24 Mar 2005 07:50:41 +0000 (07:50 +0000)]
- Add synchronization on input and output buffers
- Respect timeouts on IRP_MJ_READ
- Get right buffer in read/write routines

svn path=/trunk/; revision=14297

19 years ago- Guarded the calls to IoSetCancelRoutine with IoAcquireCancelSpinLock/IoReleaseCance...
Hartmut Birr [Wed, 23 Mar 2005 22:11:20 +0000 (22:11 +0000)]
- Guarded the calls to IoSetCancelRoutine with IoAcquireCancelSpinLock/IoReleaseCancelSpinLock.
- Used a fastmutex as lock for the data queue.
- Used paged pool for the data buffers.
- Allowed the server to read (and to wait) on a listening pipe.
- Implemented the non blocking read operations.

svn path=/trunk/; revision=14296

19 years agoSet the share disposition of an interrupt according to the value from the resource.
Hartmut Birr [Wed, 23 Mar 2005 21:51:40 +0000 (21:51 +0000)]
Set the share disposition of an interrupt according to the value from the resource.

svn path=/trunk/; revision=14295

19 years agoold Win9x drivers subsystem id
Emanuele Aliberti [Wed, 23 Mar 2005 21:51:08 +0000 (21:51 +0000)]
old Win9x drivers subsystem id

svn path=/trunk/; revision=14294

19 years agoSUBLANG_NEUTRAL -> SUBLANG_ENGLISH_US because ReactOS searches for english/US if...
Hervé Poussineau [Wed, 23 Mar 2005 21:06:02 +0000 (21:06 +0000)]
SUBLANG_NEUTRAL -> SUBLANG_ENGLISH_US because ReactOS searches for english/US if no more suitable langage is found

svn path=/trunk/; revision=14293

19 years agoFixed the calling convention of the cancel routine.
Hartmut Birr [Wed, 23 Mar 2005 19:05:42 +0000 (19:05 +0000)]
Fixed the calling convention of the cancel routine.

svn path=/trunk/; revision=14292

19 years agorevert my changes
Thomas Bluemel [Wed, 23 Mar 2005 13:26:38 +0000 (13:26 +0000)]
revert my changes

svn path=/trunk/; revision=14275

19 years agoupdated an absolete comment
Emanuele Aliberti [Tue, 22 Mar 2005 23:34:08 +0000 (23:34 +0000)]
updated an absolete comment

svn path=/trunk/; revision=14274

19 years ago- Implement IOCTL_SERIAL_GET_COMMSTATUS, IOCTL_SERIAL_PURGE, IOCTL_SET_QUEUE_SIZE
Hervé Poussineau [Tue, 22 Mar 2005 22:10:44 +0000 (22:10 +0000)]
- Implement IOCTL_SERIAL_GET_COMMSTATUS, IOCTL_SERIAL_PURGE, IOCTL_SET_QUEUE_SIZE
- Add a hack in IOCTL_SERIAL_GET_BAUD_RATE to get it working with mode.exe

svn path=/trunk/; revision=14273

19 years agoChristoph von Wittich <Christoph@ApiViewer.de>
Hervé Poussineau [Tue, 22 Mar 2005 20:16:41 +0000 (20:16 +0000)]
Christoph von Wittich <Christoph@ApiViewer.de>
- Extract hard-coded english sentences from settings.c and put them into resources
- Add corresponding german translations
- Correct some control locations in german and english resource files
- Show only resolutions >= 640x480

svn path=/trunk/; revision=14271

19 years agoForgotten file in r13928
Gé van Geldorp [Tue, 22 Mar 2005 19:32:17 +0000 (19:32 +0000)]
Forgotten file in r13928

svn path=/trunk/; revision=14270

19 years agoforgot this file
Thomas Bluemel [Tue, 22 Mar 2005 17:46:44 +0000 (17:46 +0000)]
forgot this file

svn path=/trunk/; revision=14269

19 years agofixed a few race conditions during thread/process termination leading to dead-locks
Thomas Bluemel [Tue, 22 Mar 2005 17:32:15 +0000 (17:32 +0000)]
fixed a few race conditions during thread/process termination leading to dead-locks

svn path=/trunk/; revision=14268

19 years agoimprove readability by removing obsolete gotos and for loops where appropriate
Thomas Bluemel [Tue, 22 Mar 2005 17:17:02 +0000 (17:17 +0000)]
improve readability by removing obsolete gotos and for loops where appropriate

svn path=/trunk/; revision=14267

19 years agoFix really really big Mutex/APC bug. Killing GUI Threads from taskmanager should...
Alex Ionescu [Tue, 22 Mar 2005 03:06:03 +0000 (03:06 +0000)]
Fix really really big Mutex/APC bug. Killing GUI Threads from taskmanager should now work flawlessly, and gui apps should work better; the bug had probably tiny important impact in them

svn path=/trunk/; revision=14264

19 years agoforgot to remove debug messages
Thomas Bluemel [Tue, 22 Mar 2005 03:05:46 +0000 (03:05 +0000)]
forgot to remove debug messages

svn path=/trunk/; revision=14263

19 years agosilence obsolete debug message
Thomas Bluemel [Tue, 22 Mar 2005 02:35:54 +0000 (02:35 +0000)]
silence obsolete debug message

svn path=/trunk/; revision=14262

19 years agofixed thread/process termination bugs that might have caused crashes. due to a apc...
Thomas Bluemel [Tue, 22 Mar 2005 02:32:14 +0000 (02:32 +0000)]
fixed thread/process termination bugs that might have caused crashes. due to a apc bug gui threads terminating gui threads doesn't work. Alex is going to take care of it.

svn path=/trunk/; revision=14261

19 years agoSylvain Petreolle <spetreolle@yahoo.fr>
Hervé Poussineau [Mon, 21 Mar 2005 23:37:02 +0000 (23:37 +0000)]
Sylvain Petreolle <spetreolle@yahoo.fr>
- Translate sysdm.cpl into french
- Fix misplaced icons and text boxes
- Add default values into network identification

svn path=/trunk/; revision=14260

19 years agoNice "About Explorer" icon, by Mindflyer.
Aleksey Bragin [Mon, 21 Mar 2005 22:10:10 +0000 (22:10 +0000)]
Nice "About Explorer" icon, by Mindflyer.

svn path=/trunk/; revision=14259

19 years agoChange REG_MULTI_SZ entry values to readable form.
Hervé Poussineau [Mon, 21 Mar 2005 22:07:06 +0000 (22:07 +0000)]
Change REG_MULTI_SZ entry values to readable form.

svn path=/trunk/; revision=14258

19 years agoMove the process object dereference from NtTerminateProcess to PspExitProcess (commen...
Filip Navara [Mon, 21 Mar 2005 21:33:31 +0000 (21:33 +0000)]
Move the process object dereference from NtTerminateProcess to PspExitProcess (comments inside).

svn path=/trunk/; revision=14257

19 years ago- Advance the CurrentEntry pointer before terminating thread in PspTerminateProcessTh...
Filip Navara [Mon, 21 Mar 2005 20:11:52 +0000 (20:11 +0000)]
- Advance the CurrentEntry pointer before terminating thread in PspTerminateProcessThreads.
- Lock the process in NtTerminateProcess to prevent race conditions.

svn path=/trunk/; revision=14256

19 years agoreadd incorrectly removed access mapping
Gunnar Dalsnes [Mon, 21 Mar 2005 17:13:55 +0000 (17:13 +0000)]
readd incorrectly removed access mapping

svn path=/trunk/; revision=14255

19 years agoCopyAcceleratorTableA: dont access lpAccelDst it its NULL (w3seek)
Gunnar Dalsnes [Mon, 21 Mar 2005 17:11:48 +0000 (17:11 +0000)]
CopyAcceleratorTableA: dont access lpAccelDst it its NULL (w3seek)

svn path=/trunk/; revision=14254

19 years agoUse a work item only for calling KdSystemDebugControl with code 10 (which is Tab...
Gregor Anich [Mon, 21 Mar 2005 17:09:06 +0000 (17:09 +0000)]
Use a work item only for calling KdSystemDebugControl with code 10 (which is Tab + K, or "Enter Kernel Debugger") because sometimes when the system crashes work items do not work anymore. Thanks to Filip for pointing out the problem.

svn path=/trunk/; revision=14253

19 years agoBased on work by Saveliy Tretiakov (saveliyt@mail.ru)
Hervé Poussineau [Mon, 21 Mar 2005 12:41:54 +0000 (12:41 +0000)]
Based on work by Saveliy Tretiakov (saveliyt@mail.ru)
Implement IOCTL_SERIAL_GET_PROPERTIES

svn path=/trunk/; revision=14252

19 years ago- Implement GetCommProperties (Saveliy Tretiakov <saveliyt@mail.ru>)
Hervé Poussineau [Mon, 21 Mar 2005 10:32:15 +0000 (10:32 +0000)]
- Implement GetCommProperties (Saveliy Tretiakov <saveliyt@mail.ru>)
- Remove a test in GetCommState that shouldn't exist

svn path=/trunk/; revision=14251

19 years agoFix a typo in write_function_stubs.
Filip Navara [Mon, 21 Mar 2005 08:43:01 +0000 (08:43 +0000)]
Fix a typo in write_function_stubs.

svn path=/trunk/; revision=14250

19 years agoSpecify correct access rights in NtOpenProcess when sending control events.
Filip Navara [Mon, 21 Mar 2005 08:32:22 +0000 (08:32 +0000)]
Specify correct access rights in NtOpenProcess when sending control events.

svn path=/trunk/; revision=14249

19 years agoCorrectly draw the titlebar as active or inactive during the processing of WM_NCACTIV...
Filip Navara [Mon, 21 Mar 2005 01:59:21 +0000 (01:59 +0000)]
Correctly draw the titlebar as active or inactive during the processing of WM_NCACTIVATE message.

svn path=/trunk/; revision=14248

19 years ago- Cleanup DefWndDoButton function.
Filip Navara [Mon, 21 Mar 2005 01:34:02 +0000 (01:34 +0000)]
- Cleanup DefWndDoButton function.
- Fix some loops where GetMessage was inadvertently used.

svn path=/trunk/; revision=14247

19 years ago- Move WINDOWOBJECT_NEED_INTERNALPAINT flag handling to NtGdiBeginPaint.
Filip Navara [Mon, 21 Mar 2005 00:55:16 +0000 (00:55 +0000)]
- Move WINDOWOBJECT_NEED_INTERNALPAINT flag handling to NtGdiBeginPaint.
- Fix IntGetPaintMessage to not return TRUE when no message was returned.
- IntIsWindowDirty shouldn't check for the WINDOWOBJECT_NEED_NCPAINT flag (at least not now).

svn path=/trunk/; revision=14246

19 years agocleaned a wrong comment (copy&paste)
Emanuele Aliberti [Sun, 20 Mar 2005 23:01:48 +0000 (23:01 +0000)]
cleaned a wrong comment (copy&paste)

svn path=/trunk/; revision=14245

19 years agoSM: init system reading the registry
Emanuele Aliberti [Sun, 20 Mar 2005 22:55:05 +0000 (22:55 +0000)]
SM: init system reading the registry
CSR: register with SM for IMAGE_SUBSYSTEM_WINDOWS_CUI

svn path=/trunk/; revision=14244

19 years agoMinor correction to my r14237 commit. Forgot to delete "++".
Filip Navara [Sun, 20 Mar 2005 21:44:58 +0000 (21:44 +0000)]
Minor correction to my r14237 commit. Forgot to delete "++".

svn path=/trunk/; revision=14239

19 years agoReorder the source file lists so we, lousy people, building with DEPENDENCIES=no...
Filip Navara [Sun, 20 Mar 2005 21:40:00 +0000 (21:40 +0000)]
Reorder the source file lists so we, lousy people, building with DEPENDENCIES=no can also enjoy the blessing of the PnP gods.

svn path=/trunk/; revision=14238

19 years agoGenerate code without L-value casts.
Filip Navara [Sun, 20 Mar 2005 21:35:12 +0000 (21:35 +0000)]
Generate code without L-value casts.

svn path=/trunk/; revision=14237

19 years agorevert changes from CreateFileA
Thomas Bluemel [Sun, 20 Mar 2005 20:46:16 +0000 (20:46 +0000)]
revert changes from CreateFileA

svn path=/trunk/; revision=14236

19 years ago- Add stubs: CM_GetChild, CM_GetChild_Ex, CM_GetParent, CM_GetPaarent_Ex, CM_GetSibli...
Eric Kohl [Sun, 20 Mar 2005 20:43:46 +0000 (20:43 +0000)]
- Add stubs: CM_GetChild, CM_GetChild_Ex, CM_GetParent, CM_GetPaarent_Ex, CM_GetSibling, CM_GetSibling_Ex, CM_Locate_DevNodeA, CM_Locate_DevNodeW, CM_Locate_DevNode_ExA, CM_Locate_DevNode_ExW
- Implement:  CM_GetVersion, CM_GetVersion_Ex, CM_Connect_MachineA, CM_Connect_MachineW, CM_Disconnect_Machine.
- Implement RPC server in umpnpmgr.dll to reply to calls to CM_GetVersion/CM_GetVersion_Ex.

svn path=/trunk/; revision=14235

19 years agoThere's no need to call PropertySheet twice.
Filip Navara [Sun, 20 Mar 2005 20:28:19 +0000 (20:28 +0000)]
There's no need to call PropertySheet twice.

svn path=/trunk/; revision=14234

19 years agoadded support for template directories (copy ntfs extended attributes) to CreateDirec...
Thomas Bluemel [Sun, 20 Mar 2005 20:27:56 +0000 (20:27 +0000)]
added support for template directories (copy ntfs extended attributes) to CreateDirectoryEx()

svn path=/trunk/; revision=14233

19 years agoInitialize the "toc" field in the pdb_lookup structure in order
Filip Navara [Sun, 20 Mar 2005 19:11:52 +0000 (19:11 +0000)]
Initialize the "toc" field in the pdb_lookup structure in order
to prevent pdb_free_lookup from trying to delete invalid pointers.

svn path=/trunk/; revision=14232

19 years ago- added support for template files (copy ntfs extended attributes) to CreateFile()
Thomas Bluemel [Sun, 20 Mar 2005 18:55:54 +0000 (18:55 +0000)]
- added support for template files (copy ntfs extended attributes) to CreateFile()
- mask out file flags from dwFlagsAndAttributes before passing them to NtCreateFile as file attributes

svn path=/trunk/; revision=14231

19 years agoDon't use uninitialized variable in _SHExpandEnvironmentStrings.
Filip Navara [Sun, 20 Mar 2005 18:40:57 +0000 (18:40 +0000)]
Don't use uninitialized variable in _SHExpandEnvironmentStrings.

svn path=/trunk/; revision=14230

19 years agoBased on work by Mark Junker <mjscod@gmx.de>
Hervé Poussineau [Sun, 20 Mar 2005 18:30:09 +0000 (18:30 +0000)]
Based on work by Mark Junker <mjscod@gmx.de>
- Detect UART type
- Clear transmit/receive FIFO if applicable

svn path=/trunk/; revision=14229

19 years ago LPUNKNOWN pUnkOuter did check it was NULL and return
Magnus Olsen [Sun, 20 Mar 2005 18:20:59 +0000 (18:20 +0000)]
 LPUNKNOWN pUnkOuter did check it was NULL and return
forget it should be not equal with NULL it return
thx to mifritscher did the first test to find my mistake

svn path=/trunk/; revision=14228

19 years agoGetBinaryTypeA, CopyFileExA, CreateFileA, DeleteFileA, MoveFileWithProgressA: Use...
Gunnar Dalsnes [Sun, 20 Mar 2005 17:39:11 +0000 (17:39 +0000)]
GetBinaryTypeA, CopyFileExA, CreateFileA, DeleteFileA, MoveFileWithProgressA: Use common A2W conv. routines

svn path=/trunk/; revision=14227

19 years agoremoved faulty FilenameA2U (returned ptr to stack var)
Gunnar Dalsnes [Sun, 20 Mar 2005 17:26:58 +0000 (17:26 +0000)]
removed faulty FilenameA2U (returned ptr to stack var)
remove faulty init of StaticUnicodeString (now done in ntdll)

svn path=/trunk/; revision=14226

19 years agostart add hardware interface to hal
Magnus Olsen [Sun, 20 Mar 2005 17:24:11 +0000 (17:24 +0000)]
start add hardware interface to hal
we now map the hal to directdraw

follow api are implement in the ddraw for hal
but all hal api are not implement in the kernel
if you got louky it maby working with nvida driver now.

untested yet.

svn path=/trunk/; revision=14225

19 years agoinit StaticUnicodeString
Gunnar Dalsnes [Sun, 20 Mar 2005 17:22:24 +0000 (17:22 +0000)]
init StaticUnicodeString

svn path=/trunk/; revision=14224

19 years ago- fixed access rights and shared access checks in IoSetShareAccess()
Thomas Bluemel [Sun, 20 Mar 2005 15:54:22 +0000 (15:54 +0000)]
- fixed access rights and shared access checks in IoSetShareAccess()
- remove obsolete checks in IoCheckShareAccess() and IoUpdateShareAccess() to simplify them

svn path=/trunk/; revision=14223

19 years ago- only mask out the generic rights flags in RtlMapGenericMask()
Thomas Bluemel [Sun, 20 Mar 2005 13:53:54 +0000 (13:53 +0000)]
- only mask out the generic rights flags in RtlMapGenericMask()
- only deny access when requested rights can't be granted in IoCheckDesiredAccess()

svn path=/trunk/; revision=14222

19 years agothis waring break the head for me
Magnus Olsen [Sun, 20 Mar 2005 13:32:27 +0000 (13:32 +0000)]
this waring break the head for me

pnp.c:141: warning: 'Affinity' might be used uninitialized in this function
{standard input}: Assembler messages:

initialized it with Affinity = 0;

svn path=/trunk/; revision=14221

19 years agoFix a cut & paste error.
Filip Navara [Sun, 20 Mar 2005 13:10:57 +0000 (13:10 +0000)]
Fix a cut & paste error.

svn path=/trunk/; revision=14220

19 years agoAllow the lpTemplateDirectory parameter to be NULL in CreateDirectoryExA.
Filip Navara [Sun, 20 Mar 2005 13:10:11 +0000 (13:10 +0000)]
Allow the lpTemplateDirectory parameter to be NULL in CreateDirectoryExA.

svn path=/trunk/; revision=14219

19 years agoImprove error messages.
Eric Kohl [Sun, 20 Mar 2005 13:06:11 +0000 (13:06 +0000)]
Improve error messages.
Don't start counting the type_offset for each new fuction. It is a global offset.
Use only basic types in type- and proc-strings (e.g. unsigned long -> long).

svn path=/trunk/; revision=14218

19 years ago- Rename bitblt.c to more generic bitmap.c.
Filip Navara [Sun, 20 Mar 2005 12:30:06 +0000 (12:30 +0000)]
- Rename bitblt.c to more generic bitmap.c.
- Normalize BITMAPINFO structure in CreateDIBSection before sending it to win32k.

svn path=/trunk/; revision=14217

19 years agoAdd legacy detection of COM3 and COM4
Hervé Poussineau [Sun, 20 Mar 2005 12:15:51 +0000 (12:15 +0000)]
Add legacy detection of COM3 and COM4
Be ready for PnP serial ports
Don't hardcode base addresses and irq twice

svn path=/trunk/; revision=14216

19 years agoImplement IoReportDetectedDevice
Hervé Poussineau [Sun, 20 Mar 2005 12:15:33 +0000 (12:15 +0000)]
Implement IoReportDetectedDevice

svn path=/trunk/; revision=14215

19 years agoFix nasty condition when we were subtracting AlignedAddress (which happened to be...
Filip Navara [Sun, 20 Mar 2005 12:04:30 +0000 (12:04 +0000)]
Fix nasty condition when we were subtracting AlignedAddress (which happened to be aligned to 0x80000000) from HighestAddress (which is MmSystemRangeStart - 1 == 0x7fffffff) and then using it for length comparsion.

svn path=/trunk/; revision=14214

19 years agoFix the AdjustTokenPrivileges call once more.
Filip Navara [Sun, 20 Mar 2005 11:35:39 +0000 (11:35 +0000)]
Fix the AdjustTokenPrivileges call once more.

svn path=/trunk/; revision=14213

19 years agofixed AdjustTokenPrivileges() call
Thomas Bluemel [Sun, 20 Mar 2005 11:22:50 +0000 (11:22 +0000)]
fixed AdjustTokenPrivileges() call

svn path=/trunk/; revision=14212

19 years agoComplete the dummy of HAL.
Magnus Olsen [Sun, 20 Mar 2005 09:58:10 +0000 (09:58 +0000)]
Complete the dummy of HAL.
CreateDirectDraw and CreateDirectDrawEx
will return a pointer of ddraw object.
only hardware acclration support are being add.
noting real working yet.

svn path=/trunk/; revision=14211

19 years agoFixed the required access rights for formating a disk.
Hartmut Birr [Sun, 20 Mar 2005 09:46:13 +0000 (09:46 +0000)]
Fixed the required access rights for formating a disk.

svn path=/trunk/; revision=14210

19 years agoMinor correction to NtAdjustPrivilegesToken to keep it from returning total junk.
Filip Navara [Sun, 20 Mar 2005 01:58:54 +0000 (01:58 +0000)]
Minor correction to NtAdjustPrivilegesToken to keep it from returning total junk.

svn path=/trunk/; revision=14209

19 years agoRevert the last change to device stack attaching.
Filip Navara [Sun, 20 Mar 2005 00:53:24 +0000 (00:53 +0000)]
Revert the last change to device stack attaching.

svn path=/trunk/; revision=14208

19 years agoAttach the PDOs to device stack and report device unique IDs if available.
Filip Navara [Sun, 20 Mar 2005 00:33:36 +0000 (00:33 +0000)]
Attach the PDOs to device stack and report device unique IDs if available.

svn path=/trunk/; revision=14207

19 years agodid forget these two file
Magnus Olsen [Sat, 19 Mar 2005 23:52:04 +0000 (23:52 +0000)]
did forget these two file

svn path=/trunk/; revision=14206

19 years agoupdate directx d3d and draw header to Wine-20050310
Magnus Olsen [Sat, 19 Mar 2005 23:47:52 +0000 (23:47 +0000)]
update directx d3d and draw header to Wine-20050310
so the work on ddraw dll can continue.

svn path=/trunk/; revision=14205

19 years agoForgot to add this file in revision 14203.
Filip Navara [Sat, 19 Mar 2005 22:50:11 +0000 (22:50 +0000)]
Forgot to add this file in revision 14203.

svn path=/trunk/; revision=14204

19 years ago- Replace the ColorMap pointer in BITMAPOBJ with palette handle and
Filip Navara [Sat, 19 Mar 2005 22:15:02 +0000 (22:15 +0000)]
- Replace the ColorMap pointer in BITMAPOBJ with palette handle and
  correctly free it when the bitmap is about to be destroyed. Also
  get rid of some palette leaks when DIBs were selected into device
  context.
- Refine GDI32 -> Win32k interface for creating and managing brushes.
  Remove NtGdiCreateBrushIndirect, NtGdiCreateDIBPatternBrush,
  NtGdiCreateDIBPatternBrushPt and NtGdiFixBrushOrgEx syscalls and
  add NtGdiCreateDIBBrush.
- Implement basic support for DIB pattern brushes.
- Add user mode helper routine for "normalizing" BITMAPINFO structure.
- Add definition for BITMAPV5HEADER.

svn path=/trunk/; revision=14203

19 years agoSpecify correct buffer size in GetPrivateProfileStringW calls.
Filip Navara [Sat, 19 Mar 2005 21:48:33 +0000 (21:48 +0000)]
Specify correct buffer size in GetPrivateProfileStringW calls.

svn path=/trunk/; revision=14202

19 years agoadd more code.
Magnus Olsen [Sat, 19 Mar 2005 20:39:25 +0000 (20:39 +0000)]
add more code.
start create a protype of hal, that can be use also for
software emulation mode.

svn path=/trunk/; revision=14201

19 years agoOops
Alex Ionescu [Sat, 19 Mar 2005 20:29:19 +0000 (20:29 +0000)]
Oops

svn path=/trunk/; revision=14200

19 years agoCorrect NtW32call to call correct kernel function, add placeholder for SEH, implement...
Alex Ionescu [Sat, 19 Mar 2005 20:26:46 +0000 (20:26 +0000)]
Correct NtW32call to call correct kernel function, add placeholder for SEH, implement KeUserModeCallback (right now a copy of the old code). Part I of an incomplete W32Callback rewrite, just to set up the groundwork to make testing easier. Might look ugly/messy now but it'll be clean soon

svn path=/trunk/; revision=14199

19 years agoFix indentation.
Filip Navara [Sat, 19 Mar 2005 19:52:36 +0000 (19:52 +0000)]
Fix indentation.

svn path=/trunk/; revision=14198

19 years ago- correctly deny access to handles when rights requested can't be granted
Thomas Bluemel [Sat, 19 Mar 2005 19:13:01 +0000 (19:13 +0000)]
- correctly deny access to handles when rights requested can't be granted
- map generic rights correctly
- various fixes where handles with inappropriate access rights were created

svn path=/trunk/; revision=14197

19 years agowinsta.dll raw stubs
Emanuele Aliberti [Sat, 19 Mar 2005 18:31:14 +0000 (18:31 +0000)]
winsta.dll raw stubs

svn path=/trunk/; revision=14196