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
Magnus Olsen
0dfbae2961
adding test to NtGdiCreateBitmap show it does not accpect height = 0 and widith = 0
...
svn path=/trunk/; revision=33426
2008-05-11 08:09:02 +00:00
James Tabor
3369214f4f
Implement some stubs.
...
svn path=/trunk/; revision=33425
2008-05-11 06:35:26 +00:00
James Tabor
63466eec38
Fix brush attribute structure and add flags. Add gdi handle cache structures.
...
svn path=/trunk/; revision=33424
2008-05-11 05:32:50 +00:00
James Tabor
b8f704d4aa
Point out ParentWindowHandle for HWND_MESSAGE.
...
svn path=/trunk/; revision=33423
2008-05-11 04:29:24 +00:00
Daniel Reimer
7a36161dd1
Bug 3229: spanish files by remialdo@gmail.com
...
Bug 3231: Italian resource update by Paolo Devoti (devotip@tiscali.it )
svn path=/trunk/; revision=33422
2008-05-10 22:00:47 +00:00
Daniel Reimer
9b2aa002a1
Bug 3229: spanish files by Javier Remacha (remialdo@gmail.com)
...
svn path=/trunk/; revision=33421
2008-05-10 21:51:59 +00:00
Pierre Schweitzer
851c81eee6
"Implemented" FsRtlNotifyChangeDirectory
...
It just redirects to FsRtlNotifyFullChangeDirectory (which is *NOT* implemented)
svn path=/trunk/; revision=33420
2008-05-10 20:05:57 +00:00
Colin Finck
32a2579694
Sync riched20 to Wine 1.0-rc1
...
Samuel Serapión got some apps like 7-Zip and PowerISO installed with the new version.
svn path=/trunk/; revision=33419
2008-05-10 19:50:28 +00:00
Aleksey Bragin
620f89d44b
- Get rid of duplicated (and different) NB_LAST_STOCK definitions in gdi32 and win32k, now it's defined to 22 (19 being a last public stock object, other 2 are internal).
...
- Move a DEFAULT_BITMAP definiton from gdi32 into ntgdityp.h (not the best place, but could be moved to a better one later), and assign it a number 21, which it is on Windows XP (tested with a win32kntest framework, tests are committed).
- Fix CreateBitmap to return a 1x1 stock bitmap object if the requested Width and Height are 0.
- All of this work is based on Magnus Olsen's patches and Wine.
svn path=/trunk/; revision=33418
2008-05-10 19:03:58 +00:00
Colin Finck
b1c2a48e3b
Samuel Serapión (samdwise51 AT gmail DOT com):
...
- Winesync of crypt32
The function import_certs_from_dir had to be killed, because it uses UNIX-only functions. (see "crypt32_ros.diff")
- This gets MSN Messenger a bit more to work
svn path=/trunk/; revision=33417
2008-05-10 18:43:43 +00:00
Magnus Olsen
7e4da4bd18
move the undoc DC_BITMAP to ntgdityp.h header after advice from fireball and kjk
...
svn path=/trunk/; revision=33416
2008-05-10 18:10:36 +00:00
Magnus Olsen
c6d6043053
fixing a memory overwrite bug I miskate intrudes
...
the private size of stackobject list contain 22 object, and we do not want mix up the private size and the user mode size for different version.
svn path=/trunk/; revision=33415
2008-05-10 18:07:41 +00:00
Dmitry Chapyshev
4ec8e30269
- Add new layouts to bootcd
...
svn path=/trunk/; revision=33414
2008-05-10 18:01:32 +00:00
Dmitry Chapyshev
cb65a82319
Add keyboard layouts:
...
- Arabic (101) (by Alexey Komarov)
- Arabic (102) (by Alexey Komarov)
- Arabic (102) AZERTY (by Alexey Komarov)
- Armenian Western (by Alexey Komarov)
- Assamese (Inscript)
- Bengali
- Croatian
- Devanagari - INSCRIPT
- Gujarati
- Malayalam
svn path=/trunk/; revision=33413
2008-05-10 17:58:45 +00:00
Magnus Olsen
25fb37a67f
implement DC_BITMAP for GetStockObject.
...
it works for any apps want it. and using this undoc value
testcase exists in w32knapi have been run in windows and reactos.
svn path=/trunk/; revision=33412
2008-05-10 17:39:38 +00:00
Magnus Olsen
ea9d73b0f2
adding a new define DC_BITMAP for GetStockObject
...
svn path=/trunk/; revision=33411
2008-05-10 17:37:43 +00:00
Magnus Olsen
1bc8ff3d85
adding a testcase for GetStockObject(21);
...
it is 1x1 1Bpp Bitmap.
svn path=/trunk/; revision=33410
2008-05-10 16:12:35 +00:00
Magnus Olsen
04df00182d
adding more testcase for NtGdiGetStockObject it testing what type for gdi object the handle return now and we manger figout what type of handle the value 20 and value 21
...
NtGdiGetStockObject(20) == GDI_OBJECT_TYPE_COLORSPACE
NtGdiGetStockObject(21) == GDI_OBJECT_TYPE_BITMAP
svn path=/trunk/; revision=33409
2008-05-10 15:21:49 +00:00
Colin Finck
96f6e0a854
Attempt to fix build
...
svn path=/trunk/; revision=33408
2008-05-10 15:08:45 +00:00
Magnus Olsen
c958c7e3b0
adding a simple NtGdiGetStockObject
...
it show undocumented stockobject exists in windows xp/2003
value 20 and 21
svn path=/trunk/; revision=33407
2008-05-10 14:01:40 +00:00