Colin Finck
85de27e4af
[FORMATTING] Fix indentation (4 spaces)
...
svn path=/trunk/; revision=33485
2008-05-12 20:11:11 +00:00
Colin Finck
abab705b13
The lstr* functions don't reset the last error on an exception. Also they handle more than just access violation exceptions.
...
This makes us passing (at least) one more sub test of a Wine test (user32_winetest text)
Behaviour verified under Windows XP SP2.
svn path=/trunk/; revision=33484
2008-05-12 20:01:48 +00:00
Gregor Brunmar
858f98f040
* Synced DIALOG_DlgDirListW() and DIALOG_DlgDirSelect() from Wine to get more user32.dll winetests to pass
...
* Fixed indentation in User32EnumWindows()
* Removed internal use of Set/GetLastError() from User32EnumWindows() - makes even more winetests pass
svn path=/trunk/; revision=33483
2008-05-12 19:36:39 +00:00
Colin Finck
58f94d1774
Sync CharLowerA/W and CharUpperA/W with Wine (after replacing Wine's SEH with PSEH).
...
This way, we pass all user32 wsprintf Wine tests.
Verified under Windows XP SP2.
svn path=/trunk/; revision=33482
2008-05-12 18:35:21 +00:00
James Tabor
cf585bc08a
Misc patch, for later Icm support, update CreateCompatibleDC.
...
svn path=/trunk/; revision=33481
2008-05-12 18:16:48 +00:00
Eric Kohl
5244432b9c
Do not touch the new user name if the user cancels the rename action.
...
svn path=/trunk/; revision=33479
2008-05-12 17:39:58 +00:00
Johannes Anderwald
c0c67eed2b
- ModifyMenu[A|W], AppendMenu[A|W], InsertMenu[A|W] should accept MF_HILITE
...
- verified by user32_winetest.exe
- ReactOS now passes these tests (test_menu_flags)
svn path=/trunk/; revision=33478
2008-05-12 17:17:55 +00:00
Johannes Anderwald
5bc1879d50
- create the profiles directory if it does not yet exist
...
svn path=/trunk/; revision=33477
2008-05-12 16:59:06 +00:00
Colin Finck
f50c85e75f
Remove all remaining occurrences of the W64 macro.
...
The __w64 setting is obsolete beginning with MSVC 2008.
svn path=/trunk/; revision=33475
2008-05-12 15:59:31 +00:00
Aleksey Bragin
78681a8ec7
- Fix a typo in NtSecureConnectPort, ViewBase was not updated, thus confusing callers.
...
See issue #3242 for more details.
svn path=/trunk/; revision=33473
2008-05-12 15:27:15 +00:00
Timo Kreuzer
3dfc1c7b9e
convert another pointer calculations to FIELD_OFFSET macro and use "%p" instead of casting pointers to long
...
svn path=/trunk/; revision=33472
2008-05-12 15:12:43 +00:00
Aleksey Bragin
fcae112976
- Make IoCreateNotificationEvent and IoCreateSynchronizationEvent create kernel handles (according to MSDN http://msdn.microsoft.com/en-us/library/aa490498.aspx ). Spotted by Stefan Ginsberg.
...
svn path=/trunk/; revision=33470
2008-05-12 13:42:05 +00:00
Hervé Poussineau
d600586fdd
Use dynamic debug system
...
svn path=/trunk/; revision=33469
2008-05-12 12:01:51 +00:00
Hervé Poussineau
7c21013a99
Reuse existing function instead of duplicating functionality
...
Patch by Carlo Bramini, carlo dot bramix at libero dot it
See issue #2437 for more details.
svn path=/trunk/; revision=33468
2008-05-12 09:58:14 +00:00
Hervé Poussineau
a617fe3890
"\\.\" always exists
...
Fixes "copy freeldr.ini con:" command
svn path=/trunk/; revision=33467
2008-05-12 09:40:08 +00:00
Aleksey Bragin
2e73601047
- Fix yet another typo in the same line, spotted by Stefan Ginsberg.
...
svn path=/trunk/; revision=33465
2008-05-12 08:34:33 +00:00
Aleksey Bragin
b17882ecd8
Kamil Hornicek <tykef@atlas.cz>
...
- Update tests to Wine head (as of 11th of May, 2008).
svn path=/trunk/; revision=33464
2008-05-12 08:33:26 +00:00
Aleksey Bragin
0d2bc37302
- Fix a typo, spotted by Stefan Ginsberg.
...
svn path=/trunk/; revision=33463
2008-05-12 08:11:31 +00:00
James Tabor
92849df7cc
Fixed ExtCreatePen and started CreatePen. Tested with wine gdi32 cross test. Isolated problem in win32k.
...
svn path=/trunk/; revision=33461
2008-05-12 07:31:15 +00:00
James Tabor
f5cf7f122c
Fixed wine all of gdi32 dc tests and only 2 of gdiobj tests left todo.
...
svn path=/trunk/; revision=33460
2008-05-12 04:59:20 +00:00
James Tabor
e051367b2f
Fix typo spoted by Stefan100.
...
svn path=/trunk/; revision=33459
2008-05-12 01:55:34 +00:00
Timo Kreuzer
da0b3935d7
NtUserEnumDisplaySettings returns NTSTATUS not BOOL, it doesn't set LastError value. Fix parameter validation and return value, based on tests in w32knapi.Move NtUserEnumDisplayMonitors and NtUserEnumDisplaySettings from windc to a new file display.c (Int functions should go there, too). adapt user32 functions accordingly. As a result w32knapi test doesn't crash anymore.
...
svn path=/trunk/; revision=33458
2008-05-11 23:51:55 +00:00
Timo Kreuzer
fcaf6d5aef
fix a header name
...
svn path=/trunk/; revision=33457
2008-05-11 23:25:02 +00:00
Timo Kreuzer
41758b941b
patch by hyperion: convert pointer calculations with FIELD_OFFSET macro
...
svn path=/trunk/; revision=33456
2008-05-11 23:15:44 +00:00
Timo Kreuzer
c6aa16c16a
use "%p" to DPRINT a pointer instead of casting it to int and using "%08x"
...
svn path=/trunk/; revision=33455
2008-05-11 22:28:20 +00:00
Timo Kreuzer
8c2db2fee0
- Use InterlockedExchangePointer instead of InterlockedExchange for a pointer.
...
- Don't cast a DWORD to HANDLE directly
- ViewSize param of MmMapViewOfSection is SIZE_T, not ULONG
svn path=/trunk/; revision=33454
2008-05-11 22:23:45 +00:00
Timo Kreuzer
24a4495952
a "real" InterlockedExchangePointer wants PVOID* and nothing else.
...
svn path=/trunk/; revision=33453
2008-05-11 22:09:53 +00:00
Timo Kreuzer
e7657c026b
- a bunch of tests for NtUserEnumDisplaySettings
...
- one test for NtGdiGetFontResourceInfoInternalW
svn path=/trunk/; revision=33452
2008-05-11 21:49:56 +00:00
Hervé Poussineau
906bec0223
Add generic list scrolling
...
See issue #3234 for more details.
svn path=/trunk/; revision=33451
2008-05-11 21:32:00 +00:00
Hervé Poussineau
2199183bbe
Better encapsulation of generic list
...
svn path=/trunk/; revision=33450
2008-05-11 21:17:57 +00:00
Filip Navara
0e6c1e1d3a
Fix incorrect parameters to IoSetDeviceToVerify/IoVerifyVolume. Spotted by R.T.Sivakumar <rtshiva@gmail.com>.
...
svn path=/trunk/; revision=33449
2008-05-11 20:04:47 +00:00
Filip Navara
b512080393
Fix checking of return values from IoCreateDevice. Spotted by R.T.Sivakumar <rtshiva@gmail.com>.
...
svn path=/trunk/; revision=33448
2008-05-11 19:47:50 +00:00
Filip Navara
76256a1bdd
Fix wrong variable usage - "Filename" (8 characters long) of a directory entry was referenced instead of a "ShortName" (11 characters long). The actual bug was harmless since both arrays are defined in an union and lie at the same place in memory.
...
svn path=/trunk/; revision=33447
2008-05-11 18:57:07 +00:00
Colin Finck
951e1367da
Robin Geuze (r DOT geuze AT chello DOT nl):
...
- Add the correct Visual Studio version to the .sln file header, so that the Visual Studio Version Selector does not get confused.
I slightly modified the patch to replace some following if's by else if's.
svn path=/trunk/; revision=33446
2008-05-11 18:30:36 +00:00
Colin Finck
67e88fe072
- [FORMATTING] Fix indentation in usetup's genlist.
...
- Remove the obsolete "media/vgafonts/readme.txt" file.
No code changes
svn path=/trunk/; revision=33445
2008-05-11 15:07:16 +00:00
Marc Piulachs
bd846f9aa4
- fix typo
...
svn path=/trunk/; revision=33444
2008-05-11 15:05:19 +00:00
Pierre Schweitzer
d91736aefb
Synced urlmon.dll with Wine HEAD.
...
This *does not* fix Downloader
svn path=/trunk/; revision=33443
2008-05-11 13:57:45 +00:00
Gregor Brunmar
5e244d149d
Made 17 listbox winetests pass in user32.dll (some of the changes were taken from wine)
...
svn path=/trunk/; revision=33442
2008-05-11 13:46:47 +00:00
Pierre Schweitzer
ba3a40c9e9
No need for a shortcut to kbswitch.exe on the desktop
...
svn path=/trunk/; revision=33441
2008-05-11 13:11:30 +00:00
Filip Navara
44a984e920
Temporary disable part of the SEH code in NtReplyWaitReceivePortEx to get trunk working again.
...
svn path=/trunk/; revision=33438
2008-05-11 12:22:51 +00:00
Hervé Poussineau
117852d238
Use LONG BreakPointNr, as in other breakpoint-related functions
...
svn path=/trunk/; revision=33437
2008-05-11 11:44:55 +00:00
Hervé Poussineau
a3417a72ad
Implement SHGetFolderPathAndSubDirA/W, taken from Wine
...
See issue #3238 for more details.
svn path=/trunk/; revision=33436
2008-05-11 11:33:49 +00:00
Magnus Olsen
b4bbd1348b
adding SetLastError(ERROR_INVALID_PARAMETER) when CreateBitmapIndirect fail, sugestion from filip we should do that as well.
...
thx filip.
svn path=/trunk/; revision=33434
2008-05-11 10:41:06 +00:00
Magnus Olsen
4b2acdc21b
Adding simple test for CreateBitmapIndrect and show it care if bmWidthBytes is align or not
...
this test have done on windows xp sp2 and pass it fine.
svn path=/trunk/; revision=33433
2008-05-11 10:35:09 +00:00
Aleksey Bragin
ebdf34b599
Kamil Hornicek <tykef@atlas.cz>
...
- Update PSDK headers.
svn path=/trunk/; revision=33432
2008-05-11 10:16:10 +00:00
Hervé Poussineau
28e9a590db
Fix indentation, to match mouclass one.
...
svn path=/trunk/; revision=33431
2008-05-11 10:03:52 +00:00
Hervé Poussineau
507a803c65
serial: Fix FileStandardInformation and FilePositionInformation classes
...
serial: Add FileNetworkOpenInformation class
serenum: Pass all requests to next driver, even unknown ones
svn path=/trunk/; revision=33430
2008-05-11 09:51:46 +00:00
Filip Navara
a173ef04c2
A driver-supplied Cancel routine is called with the cancel spin lock held, it must be released on IRP completion. Patch by R.T.Sivakumar <rtshiva@gmail.com>.
...
svn path=/trunk/; revision=33429
2008-05-11 09:47:57 +00:00
Filip Navara
a907b85b1a
SEH protect NtReplyWaitReceivePortEx and fix one instance of message type checking to correctly account for kernel LPC messages.
...
svn path=/trunk/; revision=33428
2008-05-11 09:39:26 +00:00
Magnus Olsen
973109beb4
Remove old hack I implmeneted in NtGdiCreateBitmap it is height == 0 or width == 0, it create 1x1 1Bpp we can remove this hack now.
...
BugFix CreateBitmapIndirect, the code have been tested in reactos and windows, include abiword
1. the bmWidthBytes must be align with 2 and it must be 2 or higher like windows xp/2003 and msdn
2. Do not do direcly call to NtGdiCreateBitmap use CreateBitmap so we getting same behoir for 1x1 1Bpp bitmap.
3. This will also take care of handle leaks for bitmap that being create with height = 0, width = 0 and do not delete the object.
4. Windowss does not check if the incoming bitmap is NULL, this behoir to make it more compatible.
svn path=/trunk/; revision=33427
2008-05-11 08:20:18 +00:00