reactos.git
18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 16:47:29 +0000 (16:47 +0000)]
Sync to Wine-20050725:
Huw Davies <huw@codeweavers.com>
- Add English neutral version of IDS_COLOR_GRAY.
Eugeny Gorelov <tft@etersoft.ru>
- Implement most functionality of PageSetupDlg function.
Michael Jung <mjung@iss.tu-darmstadt.de>
- Don't expand MyComputer in the file dialogs without user interaction,
  if unixfs is rooted at desktop.
Henning Gerhardt <henning.gerhardt@web.de>
- Update German resource files.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Remove multiple declarations of the same function, keeping the public
  one as reference.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes.
- Fix declarations.

svn path=/trunk/; revision=17327

18 years agoSync to Wine-20050725:
Gé van Geldorp [Fri, 12 Aug 2005 16:31:56 +0000 (16:31 +0000)]
Sync to Wine-20050725:
Vitaliy Margolen <wine-patch@kievinfo.com>
- Send CDDS_ITEMPOSTERASE | CDDS_PREPAINT notify.
Felix Nawothnig <felix.nawothnig@t-online.de>
- Move DPA and DSA functions out of comctl32undoc.c as they are
  documented by now.
- Fix some DPA functions so they pass the new tests.
- Don't invalidate the whole propsheet when the page is switched.
Dimi Paun <dimi@lattica.com>
- Silence uninitialized warnings.
Robert Shearman <rob@codeweavers.com>
- Call SetBkMode with the correct value from the NMTBCUSTOMDRAW
  structure.
- Don't fill the NMTBCUSTOMDRAW structure in again for
  CDDS_POSTPAINT.
- Remove redundant bBtnTransprnt value.
- Height is now calculated based on the number of rows, not on the
  bounding rect.
- Only call CalcToolbar in AutoSize if it has TBSTYLE_WRAPABLE or
  TBSTYLE_EX_UNDOC1 set.
- Remove a bad test in SetButtonWidth that fixes a regression from the
  above change in IE.
- Remove unnecessary nHeight data.
- Remove duplicated code in Size by calling AutoSize.
- Remove unnecessary bAutoSize value because SetWindowPos doesn't
  generate WM_SIZE when there is nothing to do on both Windows and
  Wine.
- TBSTATE_INDETERMINATE only takes effect if the button is enabled,
  otherwise it should just appear like any other disabled button.
- Native autosizes on inserting/adding buttons, so we should too.
- The IsValidImageList test is not needed because if it isn't a valid
  image list we will have set the bitmap width and height to 1 and it
  does the wrong thing when no buttons are present.
- The calculated button height should include the text height when no
  buttons are present.
- Handle CopyImage and other functions failing by not adding the icon
  and notifying the caller.
Thomas Weidenmueller <wine-patches@reactsoft.com>
- Support PSH_WIZARDHASFINISH in wizards.
- Correct tab order of the wizard buttons.
- Support PSM_IDTOINDEX.
Aric Stewart <aric@codeweavers.com>
- When adding an image copy the full previous buffer.
- Implement replacing an icon with one from a resource.
Kevin Koltzau <kevin@plop.org>
- Forward some header notifications to parent of listview.
Frank Richter <frank.richter@gmail.com>
- Enabled "tab" dialog texture for property sheet pages.
- Add theming support for header controls.
- Use theming for the ListView non-client area.
- Let property sheets update the cached system colors upon receiving
  WM_SYSCOLORCHANGE.
- Add theming for the up/down control.

svn path=/trunk/; revision=17326

18 years agoMake the 'rosky' optional module compile.
Emanuele Aliberti [Fri, 12 Aug 2005 13:46:36 +0000 (13:46 +0000)]
Make the 'rosky' optional module compile.

svn path=/trunk/; revision=17325

18 years agoAdd 'rosky' module.
Emanuele Aliberti [Fri, 12 Aug 2005 12:31:33 +0000 (12:31 +0000)]
Add 'rosky' module.

svn path=/trunk/; revision=17324

18 years agoCSR Reloaded... well, split.
Emanuele Aliberti [Fri, 12 Aug 2005 12:22:02 +0000 (12:22 +0000)]
CSR Reloaded... well, split.
- almost do-nothing base source code for new CSR server DLLs host
- base source code for the core CSR server DLL 'csrsrv.dll' (server 0)
- base source code for the base WIN server DLL 'basesrv.dll' (server 1)
- base source code for the console+user WIN server DLL 'winsrv.dll' (servers 3 and 2)

NOTES
- At present, nothing works, but compilation is OK, sorry.
- The program is temporarily named 'csr.exe' to coexist with current monolithic 'csrss.exe'.
- Code, hints, suggestions, and migration plans welcome! (post 0.3)

svn path=/trunk/; revision=17323

18 years agoSet the process exit status.
Hartmut Birr [Fri, 12 Aug 2005 12:10:33 +0000 (12:10 +0000)]
Set the process exit status.

svn path=/trunk/; revision=17322

18 years agoFixed compilation.
Hartmut Birr [Thu, 11 Aug 2005 21:56:28 +0000 (21:56 +0000)]
Fixed compilation.

svn path=/trunk/; revision=17321

18 years agoMinor changes to some API signatures.
Emanuele Aliberti [Thu, 11 Aug 2005 21:46:37 +0000 (21:46 +0000)]
Minor changes to some API signatures.

svn path=/trunk/; revision=17320

18 years agoInput parameter in FSCTL_GET_RETRIEVAL_POINTERS is really a STARTING_VCN_INPUT_BUFFER...
Hervé Poussineau [Thu, 11 Aug 2005 21:29:37 +0000 (21:29 +0000)]
Input parameter in FSCTL_GET_RETRIEVAL_POINTERS is really a STARTING_VCN_INPUT_BUFFER structure (even if it contains only a LARGE_INTEGER)

svn path=/trunk/; revision=17319

18 years agoBYTE -> UCHAR. Thanks Alex
Hervé Poussineau [Thu, 11 Aug 2005 21:25:28 +0000 (21:25 +0000)]
BYTE -> UCHAR. Thanks Alex

svn path=/trunk/; revision=17318

18 years agoAdd STARTING_LCN_INPUT_BUFFER and VOLUME_BITMAP_BUFFER structures
Hervé Poussineau [Thu, 11 Aug 2005 21:20:42 +0000 (21:20 +0000)]
Add STARTING_LCN_INPUT_BUFFER and VOLUME_BITMAP_BUFFER structures
Remove #pragma pack/pop around RETRIEVAL_POINTERS_BUFFER as it should be standard-packed according to Alex.

svn path=/trunk/; revision=17317

18 years agoRevert last Wine sync to pidl.c, since it breaks SHGetPathFromIDListW. Fixes
Gé van Geldorp [Thu, 11 Aug 2005 21:09:56 +0000 (21:09 +0000)]
Revert last Wine sync to pidl.c, since it breaks SHGetPathFromIDListW. Fixes
bug 697

svn path=/trunk/; revision=17316

18 years agoImplement NdisAllocatePacketPool by calling NdisAllocatePacketPoolEx.
Filip Navara [Thu, 11 Aug 2005 20:48:55 +0000 (20:48 +0000)]
Implement NdisAllocatePacketPool by calling NdisAllocatePacketPoolEx.

svn path=/trunk/; revision=17315

18 years agoReplaced _WINBASE_ by _WINBASE_H because some headers depends on _WINBASE_H.
Hartmut Birr [Thu, 11 Aug 2005 20:48:55 +0000 (20:48 +0000)]
Replaced _WINBASE_ by _WINBASE_H because some headers depends on _WINBASE_H.

svn path=/trunk/; revision=17314

18 years agoThe RpcFinally block must always be executed. Otherwise, RPC code will leak allocated...
Eric Kohl [Thu, 11 Aug 2005 20:45:41 +0000 (20:45 +0000)]
The RpcFinally block must always be executed. Otherwise, RPC code will leak allocated buffer memory.

svn path=/trunk/; revision=17313

18 years agoMoved the pragma to the correct position.
Hartmut Birr [Thu, 11 Aug 2005 20:44:04 +0000 (20:44 +0000)]
Moved the pragma to the correct position.

svn path=/trunk/; revision=17312

18 years agoA more likely demo VMS server (it should not block, because it is chain-called from...
Emanuele Aliberti [Thu, 11 Aug 2005 20:43:24 +0000 (20:43 +0000)]
A more likely demo VMS server (it should not block, because it is chain-called from the listenig thread in csrsrv.dll.

svn path=/trunk/; revision=17311

18 years agoUse GetLocalTime instead of GetSystemTime.
Hartmut Birr [Thu, 11 Aug 2005 20:41:20 +0000 (20:41 +0000)]
Use GetLocalTime instead of GetSystemTime.

svn path=/trunk/; revision=17310

18 years agoDon't query on batch files.
Hartmut Birr [Thu, 11 Aug 2005 20:39:28 +0000 (20:39 +0000)]
Don't query on batch files.

svn path=/trunk/; revision=17309

18 years agoClear the memory after we know that the buffer was allocated.
Hartmut Birr [Thu, 11 Aug 2005 20:37:09 +0000 (20:37 +0000)]
Clear the memory after we know that the buffer was allocated.

svn path=/trunk/; revision=17308

18 years ago- Implemented MEMORY_AREA_PEB_OR_TEB and MEMORY_AREA_PAGED_POOL for MiQueryVirtualMemory.
Hartmut Birr [Thu, 11 Aug 2005 20:35:00 +0000 (20:35 +0000)]
- Implemented MEMORY_AREA_PEB_OR_TEB and MEMORY_AREA_PAGED_POOL for MiQueryVirtualMemory.
- Fixed the range check in ProbeForRead and ProbeForWrite.

svn path=/trunk/; revision=17307

18 years ago- Removed the hole pool allocation, because it needs to much memory and ros will...
Hartmut Birr [Thu, 11 Aug 2005 20:29:08 +0000 (20:29 +0000)]
- Removed the hole pool allocation, because it needs to much memory and ros will not boot.
- Allocate short blocks in one page.
- Split the used and free header. It makes it easier to implement a red zone check.

svn path=/trunk/; revision=17306

18 years agoFixed a debug message.
Hartmut Birr [Thu, 11 Aug 2005 20:23:13 +0000 (20:23 +0000)]
Fixed a debug message.

svn path=/trunk/; revision=17305

18 years agoReenabled a debug message.
Hartmut Birr [Thu, 11 Aug 2005 20:18:24 +0000 (20:18 +0000)]
Reenabled a debug message.

svn path=/trunk/; revision=17304

18 years agoImplemented (copied from NdisAllocatePacketPool) NdisAllocatePacketPoolEx.
Hartmut Birr [Thu, 11 Aug 2005 20:16:03 +0000 (20:16 +0000)]
Implemented (copied from NdisAllocatePacketPool) NdisAllocatePacketPoolEx.

svn path=/trunk/; revision=17303

18 years agoRemove debug output and some useless code
Hervé Poussineau [Thu, 11 Aug 2005 20:13:26 +0000 (20:13 +0000)]
Remove debug output and some useless code
Replace false by FALSE

svn path=/trunk/; revision=17302

18 years agoAdd DIF_* codes 40 to 42.
Hervé Poussineau [Thu, 11 Aug 2005 20:13:16 +0000 (20:13 +0000)]
Add DIF_* codes 40 to 42.
Reformat the whole list to align values

svn path=/trunk/; revision=17301

18 years agoMove usb controllers and cdrom classes parameters to their own .inf files. They would...
Hervé Poussineau [Thu, 11 Aug 2005 20:13:06 +0000 (20:13 +0000)]
Move usb controllers and cdrom classes parameters to their own .inf files. They would be regenerated during 2nd stage setup
Fix a typo in mouse.inf

svn path=/trunk/; revision=17300

18 years agoInitialized the cnt value of the file structure.
Hartmut Birr [Thu, 11 Aug 2005 19:52:33 +0000 (19:52 +0000)]
Initialized the cnt value of the file structure.

svn path=/trunk/; revision=17299

18 years agoDefined DbgPrint.
Hartmut Birr [Thu, 11 Aug 2005 19:49:47 +0000 (19:49 +0000)]
Defined DbgPrint.

svn path=/trunk/; revision=17298

18 years agoFixed the loading of the global flag.
Hartmut Birr [Thu, 11 Aug 2005 19:46:39 +0000 (19:46 +0000)]
Fixed the loading of the global flag.

svn path=/trunk/; revision=17297

18 years ago- Open the BaseNamedObjects directory case insensitive.
Hartmut Birr [Thu, 11 Aug 2005 19:44:36 +0000 (19:44 +0000)]
- Open the BaseNamedObjects directory case insensitive.
- Interpret INVALID_HANDLE_VALUE for the console handle as NULL.

svn path=/trunk/; revision=17296

18 years agoHonour the inheritance of a handle if it would be duplicated or opened.
Hartmut Birr [Thu, 11 Aug 2005 19:37:29 +0000 (19:37 +0000)]
Honour the inheritance of a handle if it would be duplicated or opened.

svn path=/trunk/; revision=17295

18 years agoCall the registered exit functions if the dll is unloaded.
Hartmut Birr [Thu, 11 Aug 2005 19:32:02 +0000 (19:32 +0000)]
Call the registered exit functions if the dll is unloaded.

svn path=/trunk/; revision=17294

18 years agoFixed some problems if special parameters are delivered like SL_RESTART_SCAN, SL_INDE...
Hartmut Birr [Thu, 11 Aug 2005 19:11:17 +0000 (19:11 +0000)]
Fixed some problems if special parameters are delivered like SL_RESTART_SCAN, SL_INDEX_SPECIFIED or SL_RETURN_SINGLE_ENTRY.

svn path=/trunk/; revision=17293

18 years agoImplemented IRP_MJ_QUERY_VOLUME_INFORMATION/FileFsDeviceInformation. Msvcrt needs...
Hartmut Birr [Thu, 11 Aug 2005 19:07:11 +0000 (19:07 +0000)]
Implemented IRP_MJ_QUERY_VOLUME_INFORMATION/FileFsDeviceInformation. Msvcrt needs to detect the device type.

svn path=/trunk/; revision=17292

18 years agoReimplemented FindFirstFileEx and removed some overhead.
Hartmut Birr [Thu, 11 Aug 2005 19:02:31 +0000 (19:02 +0000)]
Reimplemented FindFirstFileEx and removed some overhead.

svn path=/trunk/; revision=17291

18 years agoSync to Wine-20050725:
Gé van Geldorp [Thu, 11 Aug 2005 18:49:40 +0000 (18:49 +0000)]
Sync to Wine-20050725:
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Gerold Jens Wucherpfennig <gjwucherpfennig@gmx.net>
- Support for big-endian systems.
- The fci_get_little_endian... and fci_set_little_endian... functions
  don't really set and unset little endianes, they do the same thing:
  merely swapping bytes from one endianes to the other.
Stefan Huehner <stefan@huehner.org>
- Make some function static.
- Fix some more -Wmissing-declarations warnings.

svn path=/trunk/; revision=17290

18 years agoIgnore .svn folders
Casper Hornstrup [Thu, 11 Aug 2005 17:41:30 +0000 (17:41 +0000)]
Ignore .svn folders

svn path=/trunk/; revision=17289

18 years agoremove ros specific functions from public header
Steven Edwards [Thu, 11 Aug 2005 17:27:13 +0000 (17:27 +0000)]
remove ros specific functions from public header

svn path=/trunk/; revision=17288

18 years agoAdded TimeOut to the correct section, removed ion's 12148 incorrect addition. 10...
Andrew Munger [Thu, 11 Aug 2005 15:55:25 +0000 (15:55 +0000)]
Added TimeOut to the correct section, removed ion's 12148 incorrect addition. 10 second default.

svn path=/trunk/; revision=17287

18 years agoAlexandre Julliard <julliard@winehq.org>
Gé van Geldorp [Thu, 11 Aug 2005 15:10:01 +0000 (15:10 +0000)]
Alexandre Julliard <julliard@winehq.org>
- Added support for HTML resource type.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes.
Stefan Huehner <stefan@huehner.org>
- Fix some -Wsign-compare warnings.
Jacek Caban <jack@itma.pwr.wroc.pl>
- '.' is a valid char of tIDENT.
Marcus Meissner <marcus@jet.franken.de>
- Fixed signedness warnings.

svn path=/trunk/; revision=17286

18 years agoCleanup.
Emanuele Aliberti [Thu, 11 Aug 2005 12:23:51 +0000 (12:23 +0000)]
Cleanup.

svn path=/trunk/; revision=17285

18 years agoVMS: use csrsrv!CsrAddStaticServerThread to hook the listening port.
Emanuele Aliberti [Thu, 11 Aug 2005 11:52:40 +0000 (11:52 +0000)]
VMS: use csrsrv!CsrAddStaticServerThread to hook the listening port.

svn path=/trunk/; revision=17284

18 years agoModify CsrAddStaticServerThread signature.
Emanuele Aliberti [Thu, 11 Aug 2005 11:49:36 +0000 (11:49 +0000)]
Modify CsrAddStaticServerThread signature.

svn path=/trunk/; revision=17283

18 years agoFix HEAD compilation.
Emanuele Aliberti [Thu, 11 Aug 2005 09:19:10 +0000 (09:19 +0000)]
Fix HEAD compilation.
LPC_MESSAGE.DataSize ==> PORT_MESSAGE.u1.s1.DataLength
LPC_MESSAGE.MessageSize ==> PORT.u1.s1.TotalLength

svn path=/trunk/; revision=17282

18 years agoEmit Win32 error messages on failure.
Emanuele Aliberti [Thu, 11 Aug 2005 09:07:48 +0000 (09:07 +0000)]
Emit Win32 error messages on failure.

svn path=/trunk/; revision=17281

18 years agoLPC_MESSAGE.MessageType ==> PORT_MESSAGE.u2.s2.Type
Emanuele Aliberti [Thu, 11 Aug 2005 09:01:30 +0000 (09:01 +0000)]
LPC_MESSAGE.MessageType ==> PORT_MESSAGE.u2.s2.Type
Make head copmpile.

svn path=/trunk/; revision=17280

18 years agoFirst attempt to convert the VMS demo server.
Emanuele Aliberti [Thu, 11 Aug 2005 08:46:57 +0000 (08:46 +0000)]
First attempt to convert the VMS demo server.
Note: it does NOT work.

svn path=/trunk/; revision=17279

18 years agoSome guessing on the API used by server DLLs.
Emanuele Aliberti [Thu, 11 Aug 2005 07:13:03 +0000 (07:13 +0000)]
Some guessing on the API used by server DLLs.

svn path=/trunk/; revision=17278

18 years ago- Use correct, documented, LPC Message structures (PORT_VIEW, REMOTE_PORT_VIEW)....
Alex Ionescu [Thu, 11 Aug 2005 03:23:44 +0000 (03:23 +0000)]
- Use correct, documented, LPC Message structures (PORT_VIEW, REMOTE_PORT_VIEW). Fix all caller code to use new member names and structure names.

svn path=/trunk/; revision=17277

18 years agoTrackMoveEvent is a semi-implemented not UNIMPLEMENTED. Shut it up.
Steven Edwards [Thu, 11 Aug 2005 03:15:17 +0000 (03:15 +0000)]
TrackMoveEvent is a semi-implemented not UNIMPLEMENTED. Shut it up.

svn path=/trunk/; revision=17276

18 years ago- Use correct, documented, LPC Message structure (PORT_MESSAGE). Fix all caller code...
Alex Ionescu [Thu, 11 Aug 2005 02:58:54 +0000 (02:58 +0000)]
- Use correct, documented, LPC Message structure (PORT_MESSAGE). Fix all caller code to use new member names and structure names.

svn path=/trunk/; revision=17275

18 years agoinitialize StringBuffer to NULL, as some code paths lead to it being tested without...
Royce Mitchell III [Thu, 11 Aug 2005 02:51:51 +0000 (02:51 +0000)]
initialize StringBuffer to NULL, as some code paths lead to it being tested without ever being set.

svn path=/trunk/; revision=17274

18 years agoMove doc folder to media
Alex Ionescu [Thu, 11 Aug 2005 01:18:22 +0000 (01:18 +0000)]
Move doc folder to media

svn path=/trunk/; revision=17273

18 years ago- Fix DEVICE_NODE definition to remove ROS-only fields
Alex Ionescu [Thu, 11 Aug 2005 00:01:17 +0000 (00:01 +0000)]
- Fix DEVICE_NODE definition to remove ROS-only fields
- Move RTL_HEAP_PARAMETERS to umtypes.h
- Fix PROCESS_PRIORITY_CLASS_XXX definitions.
- Use PROCESS_PRIORITY_CLASS_INVALID in process creation code.
- Move and correct EX_PUSH_LOCK definition to ntifs.h
- Define KQUEUE along with KAPC_STATE if ntifs.h is not used, so that we don't force its usage
- Enable usage of EX_QUEUE_WORKER_INFO and EX_WORK_QUEUE without requiring the IFS.
- Fix definition of CsrClientConnectToServer
- Update NDK FIXME list
- Define and use a list of Bus Type GUIDs instead of saving the GUID in a ROS-only field of DEVICE_NODE.
- Use a IRP_MN_QUERY_CAPABILITIES PnP IRP to get the Address of a DeviceNode, intead of saving it inside a ROS-only field.

svn path=/trunk/; revision=17272

18 years agoPhil Krylov <phil@newstar.rinet.ru>
Gé van Geldorp [Wed, 10 Aug 2005 22:15:12 +0000 (22:15 +0000)]
Phil Krylov <phil@newstar.rinet.ru>
- Fixed winebuild operation in Darwin.
Steve Zellers <zellers@mac.com>
- Fixed leftover import table name in output_import_thunk.
Alexandre Julliard <julliard@winehq.org>
- Replace configure macros by explicit platform checks (probably not
  correct on all platforms yet).
- Moved most of the implementation of CALL32_CBClient(Ex) to the C
  code.
- Don't use the full 32 bits of %esp when called from 16-bit code.
- Added a --target option to allow cross-compilation.
- Improve a bit the assembly generated for import thunks.
- Don't depend on ELF features for PIC code.
- A couple of optimizations.
- Intercept functions for 16-bit relay debugging by patching the
  CALLFROM16 table instead of having the wine_call_from_16 functions
  call out the relay functions explicitly.
- Added vararg argument type so that the relay code can distinguish from
  a normal cdecl function.
- Don't rely on the relay thunk preserving the stack pointer.
- Moved all 16-bit relay code to the text section.
- Changed a few symbol names for better consistency.
- Get rid of the global debugging flag.
Mike McCormack <mike@codeweavers.com>
- gcc 4.0 -Wpointer-sign fixes.
Marcus Meissner <marcus@jet.franken.de>
- Fixed signedness warnings.

svn path=/trunk/; revision=17271

18 years agoMinor change in two strings.
Emanuele Aliberti [Wed, 10 Aug 2005 21:09:05 +0000 (21:09 +0000)]
Minor change in two strings.

svn path=/trunk/; revision=17270

18 years agoenable building shell32_test. some header fixes
Steven Edwards [Wed, 10 Aug 2005 20:58:29 +0000 (20:58 +0000)]
enable building shell32_test. some header fixes

svn path=/trunk/; revision=17269

18 years agoadded shell32 tests. Not enabled just yet
Steven Edwards [Wed, 10 Aug 2005 20:35:15 +0000 (20:35 +0000)]
added shell32 tests. Not enabled just yet

svn path=/trunk/; revision=17268

18 years agomove WM_SYSTIMER where it belongs
Gunnar Dalsnes [Wed, 10 Aug 2005 19:19:13 +0000 (19:19 +0000)]
move WM_SYSTIMER where it belongs

svn path=/trunk/; revision=17265

18 years agoadd missing define
Gunnar Dalsnes [Wed, 10 Aug 2005 18:42:27 +0000 (18:42 +0000)]
add missing define

svn path=/trunk/; revision=17264

18 years agoWindows 2000 does not always zerofill data if you are using heap_zero fill. to be...
Magnus Olsen [Wed, 10 Aug 2005 18:10:45 +0000 (18:10 +0000)]
Windows 2000 does not always zerofill data if you are using heap_zero fill. to be 100% sure everything are zero fill, we need zerofil the whole object before instate

svn path=/trunk/; revision=17263

18 years agomove W32PROCESS/W32THREAD into win32\include bcause they are win32k private structs
Gunnar Dalsnes [Wed, 10 Aug 2005 18:09:44 +0000 (18:09 +0000)]
move W32PROCESS/W32THREAD into win32\include bcause they are win32k private structs

svn path=/trunk/; revision=17262

18 years agoFixed the base detection in RtlUnicodeStringToInteger again.
Hartmut Birr [Wed, 10 Aug 2005 17:49:57 +0000 (17:49 +0000)]
Fixed the base detection in RtlUnicodeStringToInteger again.

svn path=/trunk/; revision=17261

18 years agofix horribly broken ftol. this fixes abiword 2.0.3
Gunnar Dalsnes [Wed, 10 Aug 2005 17:48:13 +0000 (17:48 +0000)]
fix horribly broken ftol. this fixes abiword 2.0.3

svn path=/trunk/; revision=17260

18 years agoregistry entries to install .inf files. No clue if this is correct.
Royce Mitchell III [Wed, 10 Aug 2005 17:19:13 +0000 (17:19 +0000)]
registry entries to install .inf files. No clue if this is correct.

svn path=/trunk/; revision=17259

18 years agoFixed a typo. According to the url pointed out by Royce3, it's right ( http://www...
Aleksey Bragin [Wed, 10 Aug 2005 16:33:49 +0000 (16:33 +0000)]
Fixed a typo. According to the url pointed out by Royce3, it's right ( osronline.com/lists_archive/ntdev/thread1866.html)

svn path=/trunk/; revision=17258

18 years agoFixed the base detection in RtlUnicodeStringToInteger.
Hartmut Birr [Wed, 10 Aug 2005 11:45:50 +0000 (11:45 +0000)]
Fixed the base detection in RtlUnicodeStringToInteger.

svn path=/trunk/; revision=17257

18 years agoAlex Ionescu: more details about the CSR core protocol.
Emanuele Aliberti [Wed, 10 Aug 2005 09:09:28 +0000 (09:09 +0000)]
Alex Ionescu: more details about the CSR core protocol.

svn path=/trunk/; revision=17256

18 years agoChange the demo VMS subsystem definition.
Emanuele Aliberti [Wed, 10 Aug 2005 08:36:37 +0000 (08:36 +0000)]
Change the demo VMS subsystem definition.

svn path=/trunk/; revision=17255

18 years agoSome new internal headers (draft) to be used in the planned CSR/WIN split subsystem...
Emanuele Aliberti [Wed, 10 Aug 2005 08:28:08 +0000 (08:28 +0000)]
Some new internal headers (draft) to be used in the planned CSR/WIN split subsystem server.

svn path=/trunk/; revision=17254

18 years agoanother shot at fixing writes
Steven Edwards [Wed, 10 Aug 2005 03:59:01 +0000 (03:59 +0000)]
another shot at fixing writes

svn path=/trunk/; revision=17253

18 years agofix typo
Royce Mitchell III [Wed, 10 Aug 2005 03:32:15 +0000 (03:32 +0000)]
fix typo

svn path=/trunk/; revision=17252

18 years agoActive functions related to interfaces enumeration: SETUP_CreateSerialDeviceList...
Hervé Poussineau [Tue, 9 Aug 2005 20:12:35 +0000 (20:12 +0000)]
Active functions related to interfaces enumeration: SETUP_CreateSerialDeviceList, SETUP_CreateInterfaceList, SetupDiGetDeviceInterfaceDetailW. They were disabled since r17210
Replace ERROR_NO_SYSTEM_RESOURCES by ERROR_NOT_ENOUGH_MEMORY
Replace #ifdef __WINESRC__ by #ifndef __REACTOS__, as ReactOS also defines __WINESRC__
Minor fixes

svn path=/trunk/; revision=17251

18 years agoThx harmut you did see the small bug, I miss, do not use MAX_PATH as lenght of comman...
Magnus Olsen [Tue, 9 Aug 2005 19:52:16 +0000 (19:52 +0000)]
Thx harmut you did see the small bug, I miss, do not use MAX_PATH as lenght of command line, it must be CMDLINE_LENGTH instead, patch by Brandon Turner

svn path=/trunk/; revision=17250

18 years agoSilence a debug message.
Hartmut Birr [Tue, 9 Aug 2005 19:35:07 +0000 (19:35 +0000)]
Silence a debug message.

svn path=/trunk/; revision=17249

18 years agoIf the file object is for a device, we must gather some information
Hartmut Birr [Tue, 9 Aug 2005 19:12:46 +0000 (19:12 +0000)]
If the file object is for a device, we must gather some information
from the object attribute (at least the OBJ_INHERIT flag). We cannot
use IoCreateStreamFileObject because a handle from such a file object
is never inheritable.

svn path=/trunk/; revision=17248

18 years agoFull some additional Structs
Maarten Bosma [Tue, 9 Aug 2005 19:11:57 +0000 (19:11 +0000)]
Full some additional Structs

svn path=/trunk/; revision=17247

18 years agoimplemented ?name@type_info@@QBEPBDXZ.msvcr and __unDName based on code from Wine
Steven Edwards [Tue, 9 Aug 2005 17:55:47 +0000 (17:55 +0000)]
implemented ?name@type_info@@QBEPBDXZ.msvcr and __unDName based on code from Wine

svn path=/trunk/; revision=17246

18 years agoreturn timer id for windowed timers also
Gunnar Dalsnes [Tue, 9 Aug 2005 16:15:52 +0000 (16:15 +0000)]
return timer id for windowed timers also

svn path=/trunk/; revision=17245

18 years agoImplement SetupDiGetSelectedDriverW/SetupDiSetSelectedDriverW
Hervé Poussineau [Tue, 9 Aug 2005 16:13:50 +0000 (16:13 +0000)]
Implement SetupDiGetSelectedDriverW/SetupDiSetSelectedDriverW
Define rank of a driver as in MSDN description
Fix comments in Flags/FlagsEx description
Factorise DeviceInfoElement structure creation in CreateDeviceInfoElement().

svn path=/trunk/; revision=17244

18 years agoUpdate KeActiveProcessors if an application processor does start.
Hartmut Birr [Tue, 9 Aug 2005 16:08:00 +0000 (16:08 +0000)]
Update KeActiveProcessors if an application processor does start.

svn path=/trunk/; revision=17243

18 years agoMinor change.
Emanuele Aliberti [Tue, 9 Aug 2005 16:01:42 +0000 (16:01 +0000)]
Minor change.

svn path=/trunk/; revision=17242

18 years ago- Don't try to close the thread handle twice.
Hartmut Birr [Tue, 9 Aug 2005 15:47:14 +0000 (15:47 +0000)]
- Don't try to close the thread handle twice.
- Close the process handle on exit for _P_OVERLAY.

svn path=/trunk/; revision=17241

18 years ago- Don't try to free the returned buffer from getenv.
Hartmut Birr [Tue, 9 Aug 2005 15:44:54 +0000 (15:44 +0000)]
- Don't try to free the returned buffer from getenv.
- Split the path correctly from shell command.

svn path=/trunk/; revision=17240

18 years agoDon't use the required access rights for the object attributes.
Hartmut Birr [Tue, 9 Aug 2005 15:41:10 +0000 (15:41 +0000)]
Don't use the required access rights for the object attributes.

svn path=/trunk/; revision=17239

18 years agoAdd second call to DdQueryDirectDrawObject.
Maarten Bosma [Tue, 9 Aug 2005 13:57:03 +0000 (13:57 +0000)]
Add second call to DdQueryDirectDrawObject.

svn path=/trunk/; revision=17238

18 years agofix a minor bug, for bad writen driver. some drv checking for two DDRAWI_DDRAWSURFACE...
Magnus Olsen [Tue, 9 Aug 2005 11:18:48 +0000 (11:18 +0000)]
fix a minor bug, for bad writen driver. some drv checking for two DDRAWI_DDRAWSURFACE_LCL array instead for one. But it is not the bug

svn path=/trunk/; revision=17237

18 years agoReturn failure if native function failed. one more test passes
Alex Ionescu [Tue, 9 Aug 2005 08:54:56 +0000 (08:54 +0000)]
Return failure if native function failed. one more test passes

svn path=/trunk/; revision=17236

18 years ago- Last patch was incomplete, apologies. SVN @ 5AM = bad idea.
Alex Ionescu [Tue, 9 Aug 2005 08:50:57 +0000 (08:50 +0000)]
- Last patch was incomplete, apologies. SVN @ 5AM = bad idea.
- Do not report that ROS is running on 0 active processors, that's a bad idea.
- Actually check the affinity mask set by NtSetInformationThread
- Fix the check in KeSetAffinityThread
- Give a valid affinity to the system thread (corresponding to the active cpu affinity set).

This removes all bugchecks from the kernel32 thread winetest.

svn path=/trunk/; revision=17235

18 years agoFix priority formulas, account for saturation, do proper km_um conversions for out...
Alex Ionescu [Tue, 9 Aug 2005 08:02:05 +0000 (08:02 +0000)]
Fix priority formulas, account for saturation, do proper km_um conversions for out of bounds or saturation priorirites, create an internal priority change function to be called if the lock is already held (however it's not efficient yet since ros dispatches instead of schedules, and so the lock is sometimes released, but i did write a small hack to account for that)... this fixes more wine tests

svn path=/trunk/; revision=17234

18 years agoThx Royce3 for notice's a typo error CreateData to CanCreateData in a if statement...
Magnus Olsen [Tue, 9 Aug 2005 07:42:00 +0000 (07:42 +0000)]
Thx Royce3 for notice's a typo error CreateData to CanCreateData in a if statement. But it is not the bug we are looking for.

svn path=/trunk/; revision=17233

18 years agoIt is generally considered a bad idea to dereference an object after the reference...
Alex Ionescu [Tue, 9 Aug 2005 06:28:23 +0000 (06:28 +0000)]
It is generally considered a bad idea to dereference an object after the reference failed..... this fixes another wine test and avoids a bugcheck

svn path=/trunk/; revision=17232

18 years ago- Implement KeQueryBasePriorityThread to return the actual Base Priority Increment...
Alex Ionescu [Tue, 9 Aug 2005 06:23:16 +0000 (06:23 +0000)]
- Implement KeQueryBasePriorityThread to return the actual Base Priority Increment (or Saturation Increment) to NtQueryInformationThread. The value win32 works with is actually (usually) the difference between process and thread Base Priorities.

This fixes another WINE test.

svn path=/trunk/; revision=17231

18 years ago- Fix NtSuspendThread: correct PreviousMode check, return error if thread is terminat...
Alex Ionescu [Tue, 9 Aug 2005 05:54:57 +0000 (05:54 +0000)]
- Fix NtSuspendThread: correct PreviousMode check, return error if thread is terminating, handle KeSuspendThread's possible exception, only attempt to return previous suspend count if asked to.
- Make KeSuspendThread return an exception if the thread has been suspended beyond the limit.

This fixes another wine test.

svn path=/trunk/; revision=17230

18 years agoSigh... yet another misuse of Object Attributes. Developer Note: Object Attributes...
Alex Ionescu [Tue, 9 Aug 2005 04:59:19 +0000 (04:59 +0000)]
Sigh... yet another misuse of Object Attributes. Developer Note: Object Attributes are used to pass OBJ_ flags. Not Access Flags.

svn path=/trunk/; revision=17229

18 years agoremove another invalid ObjectAttribute
Alex Ionescu [Tue, 9 Aug 2005 04:56:29 +0000 (04:56 +0000)]
remove another invalid ObjectAttribute

svn path=/trunk/; revision=17228

18 years ago- Fix a large amount of bugs in ObpAllocateObjectAttributes & Name
Alex Ionescu [Tue, 9 Aug 2005 04:43:54 +0000 (04:43 +0000)]
- Fix a large amount of bugs in ObpAllocateObjectAttributes & Name

svn path=/trunk/; revision=17227

18 years ago- Send the pointer to the handle, not the NULL handle itself. This fixes another...
Alex Ionescu [Tue, 9 Aug 2005 04:03:14 +0000 (04:03 +0000)]
- Send the pointer to the handle, not the NULL handle itself. This fixes another winetest bugcheck.

svn path=/trunk/; revision=17226