reactos.git
17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

svn path=/trunk/; revision=14299

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

svn path=/trunk/; revision=14224

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

svn path=/trunk/; revision=14215

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

svn path=/trunk/; revision=14200

17 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

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

svn path=/trunk/; revision=14198

17 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

17 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

17 years agogeting update version of ddraw.h working with gdi32.h
Magnus Olsen [Sat, 19 Mar 2005 18:28:01 +0000 (18:28 +0000)]
geting update version of ddraw.h working with gdi32.h
thanks filip.

svn path=/trunk/; revision=14195

17 years agoupdate the ddraw.h header ageinst Wine-20050310
Magnus Olsen [Sat, 19 Mar 2005 18:26:45 +0000 (18:26 +0000)]
update the ddraw.h header ageinst Wine-20050310
so the work on ddraw dll can continue.

this header file have been modify to geting reactos compile and add one struct and fix some protypes that was wrong.

svn path=/trunk/; revision=14194

17 years agoExport the HOST variable even on Windows.
Filip Navara [Sat, 19 Mar 2005 17:22:02 +0000 (17:22 +0000)]
Export the HOST variable even on Windows.

svn path=/trunk/; revision=14193

17 years agoFix a very small typo - "VfatFormat() done" to "VfatxFormat() done"
Aleksey Bragin [Sat, 19 Mar 2005 17:11:15 +0000 (17:11 +0000)]
Fix a very small typo - "VfatFormat() done" to "VfatxFormat() done"

svn path=/trunk/; revision=14192

17 years agolite more code.
Magnus Olsen [Sat, 19 Mar 2005 10:22:52 +0000 (10:22 +0000)]
lite more code.
nothing works yet.
add some check see if the parama are right.

svn path=/trunk/; revision=14191

17 years ago- unregister task manager window at termination
Martin Fuchs [Sat, 19 Mar 2005 09:37:46 +0000 (09:37 +0000)]
- unregister task manager window at termination

svn path=/trunk/; revision=14190

17 years ago- remove old experimental shell hook code
Martin Fuchs [Sat, 19 Mar 2005 09:37:24 +0000 (09:37 +0000)]
- remove old experimental shell hook code

svn path=/trunk/; revision=14189

17 years agoAdded two missing dereferencing calls in ObReferenceObjectByHandle.
Hartmut Birr [Sat, 19 Mar 2005 09:18:58 +0000 (09:18 +0000)]
Added two missing dereferencing calls in ObReferenceObjectByHandle.
Checked also for NtCurrentThread in NtDuplicateObject.
Used the return value from InterlockedIncrement to check for a correct handle count.

svn path=/trunk/; revision=14188

17 years agoAdded two missing dereferencing calls in NtTerminateThread.
Hartmut Birr [Sat, 19 Mar 2005 09:14:21 +0000 (09:14 +0000)]
Added two missing dereferencing calls in NtTerminateThread.

svn path=/trunk/; revision=14187

17 years ago- Fix acpi_os_get_thread_id to return 1-based thread ids (instead of zero-based ones).
Filip Navara [Sat, 19 Mar 2005 02:18:49 +0000 (02:18 +0000)]
- Fix acpi_os_get_thread_id to return 1-based thread ids (instead of zero-based ones).
- Zero the owner_id field while initializing acpi_gbl_acpi_mutex_info.

svn path=/trunk/; revision=14186

17 years agofix warning that is really a bug - from looking at the code, wDevID, is a UINT, not...
Royce Mitchell III [Sat, 19 Mar 2005 01:37:47 +0000 (01:37 +0000)]
fix warning that is really a bug - from looking at the code, wDevID, is a UINT, not a UINT_16

svn path=/trunk/; revision=14185