James Tabor [Sat, 4 Oct 2008 11:18:30 +0000 (11:18 +0000)]
- Update DEVCAPS to W2k/XP.
svn path=/trunk/; revision=36641
Cameron Gutman [Fri, 3 Oct 2008 18:51:33 +0000 (18:51 +0000)]
- Merge aicom-network-fixes up to r36633
- tcpip's ProtocolStatus routine now gets called if a media status change occurs
- This would fix a problem in which tcpip doesn't recognize the disconnect of an adapter but the ProtocolStatus handler in tcpip isn't implemented yet so the bug remains
svn path=/trunk/; revision=36634
Colin Finck [Thu, 2 Oct 2008 21:57:36 +0000 (21:57 +0000)]
- Add the other CPU_* codes (got them from a PDB)
- Restructure the CPU vendor check in KiGetFeatureBits with a switch statement
- Enable experimental support for Cyrix, Transmeta, Centaur and Rise CPUs (experimental = mostly untested)
- Just add CMPXCHG8B support to the feature bits for Centaur CPUs like it's already done for Rise CPUs without touching any MSRs.
The instruction already works properly by default according to two official Centaur datasheets. Also Geoz on IRC already reported that his C3 Nehemiah works with ReactOS after this patch.
- Enable the 3DNow detection code through extended CPUID also for Centaur CPUs (all CPUs from IDT WinChip C6 to VIA C3 Ezra-T supported it)
- Report the presence of AMD K6 MTRRs also for mobile AMD K6-2+/K6-III+ CPUs (model D)
svn path=/trunk/; revision=36630
Johannes Anderwald [Thu, 2 Oct 2008 17:32:51 +0000 (17:32 +0000)]
- Fix a bug in _ILCreateNetConnect
- Add IQueryInfo interface
svn path=/trunk/; revision=36627
Aleksey Bragin [Thu, 2 Oct 2008 11:30:44 +0000 (11:30 +0000)]
- Sync RegGetValueA/W implementation (no functional changes though, mostly comments).
- Port RegQueryValueExW from Wine (but leaving RegQueryValueExA as a wrapper, with a fix).
- Implement RegSetValueA/W based on Wine's implementation, and removing old, different (A and W) versions of RegSetValue.
svn path=/trunk/; revision=36623
Cameron Gutman [Thu, 2 Oct 2008 09:42:08 +0000 (09:42 +0000)]
- Merge aicom-network-fixes up to r36621
svn path=/trunk/; revision=36622
Gregor Schneider [Wed, 1 Oct 2008 20:08:50 +0000 (20:08 +0000)]
Initialize iCodePage to 0, because if might be used uninitialized.
svn path=/trunk/; revision=36618
Gregor Schneider [Wed, 1 Oct 2008 19:56:51 +0000 (19:56 +0000)]
After entering a case on iEncoding for ANSI/UTF, iEncoding can only have those two values. Fixes Coverity CIDS 19, 20.
svn path=/trunk/; revision=36617
Christoph von Wittich [Wed, 1 Oct 2008 18:19:42 +0000 (18:19 +0000)]
fix formatting
svn path=/trunk/; revision=36616
Daniel Reimer [Wed, 1 Oct 2008 14:17:09 +0000 (14:17 +0000)]
sync winhlp32 and wordpad with wine
svn path=/trunk/; revision=36613
Daniel Reimer [Wed, 1 Oct 2008 14:14:39 +0000 (14:14 +0000)]
Sync winfile and write with wine
svn path=/trunk/; revision=36612
KJK::Hyperion [Wed, 1 Oct 2008 11:54:29 +0000 (11:54 +0000)]
modified ke/i386/cpu.c
Added CMPXCHG8B enabling/detection code for TransMeta, Centaur and Rise (source: <URL: http://www.geoffchappell.com/notes/windows/kernel/cpu/cx8.htm>). Code dead until each vendor will be officially supported
Alex and others: please review
svn path=/trunk/; revision=36610
Gregor Schneider [Wed, 1 Oct 2008 11:48:12 +0000 (11:48 +0000)]
Check DC for NULL before accessing it, fixes Coverity CID 661.
svn path=/trunk/; revision=36609
Gregor Schneider [Wed, 1 Oct 2008 10:49:10 +0000 (10:49 +0000)]
GetDIBits: destination height may be smaller than the source height, so the image size should always be calculated. Removed the hack in the bit copy phase that addressed the wrong bits buffer size.
This allows CopyImage to work, this can be seen in taskbar icons 1-4 for example.
Fixes two gdi32 winetests. Bugs #2225 and #3082 for more info.
Tested: QEMU VGA/8/16/24bpp, VMWare Server VMWare Driver 8/16/32bpp, VMWare Server ReactOS VBE Driver 8/16/32bpp
svn path=/trunk/; revision=36608
Gregor Schneider [Wed, 1 Oct 2008 10:05:02 +0000 (10:05 +0000)]
[FORMATTING], spelling, misc cleanup. No functional changes.
svn path=/trunk/; revision=36607
Gregor Schneider [Wed, 1 Oct 2008 09:57:51 +0000 (09:57 +0000)]
hColor is not needed in IntSetCursor, fixes Coverity CID 40.
svn path=/trunk/; revision=36606
Johannes Anderwald [Tue, 30 Sep 2008 20:16:00 +0000 (20:16 +0000)]
- Add resources for advanced tcp/ip configuration dialog
svn path=/trunk/; revision=36604
Johannes Anderwald [Tue, 30 Sep 2008 19:09:31 +0000 (19:09 +0000)]
- Ttttypo
svn path=/trunk/; revision=36603
Aleksey Bragin [Tue, 30 Sep 2008 18:44:22 +0000 (18:44 +0000)]
- Don't leak registry lock in failure branches of CmpParseKey. Spotted by Timo.
svn path=/trunk/; revision=36602
Johannes Anderwald [Tue, 30 Sep 2008 15:33:01 +0000 (15:33 +0000)]
- Add resources for TCP/IP alternate configuration dialog
svn path=/trunk/; revision=36601
Daniel Reimer [Tue, 30 Sep 2008 12:03:48 +0000 (12:03 +0000)]
Sync Wined3d to Wine 1.1.5 (great work done by: Kamil Hornicek)
svn path=/trunk/; revision=36600
James Tabor [Tue, 30 Sep 2008 02:11:08 +0000 (02:11 +0000)]
- Move undocumented WM_x messages to internal header. Find one, just move it in there.
svn path=/trunk/; revision=36597
James Tabor [Tue, 30 Sep 2008 00:27:00 +0000 (00:27 +0000)]
- Patch by Vincent Povirk, Handle undocumented WM_POPUPSYSTENNEBU message.
svn path=/trunk/; revision=36596
Cameron Gutman [Tue, 30 Sep 2008 00:17:48 +0000 (00:17 +0000)]
- Merge aicom-network-fixes up to r36594
svn path=/trunk/; revision=36595
Aleksey Bragin [Mon, 29 Sep 2008 09:11:55 +0000 (09:11 +0000)]
- Commit the whole mapped BIOS/device registers block, not only the first 2 pages (why so, David?).
- Use Zw instead of Nt.
svn path=/trunk/; revision=36587
KJK::Hyperion [Sun, 28 Sep 2008 22:39:45 +0000 (22:39 +0000)]
modified dll/win32/kernel32/kernel32.def
modified dll/win32/kernel32/kernel32.rbuild
added dll/win32/kernel32/misc/icustubs.cpp
Export NormalizeString and IsStringNormalized from kernel32.dll. This (finally) makes normaliz.dll (50%) functional.
Link kernel32.dll to ICU. Finally. Binary size increased by about 300 KB on a debug build (this is only the beginning).
Umpteenth copy of C++ and Win32 stubs required to get ICU to link properly added to kernel32.dll.
This commit dedicated to Timo Kreuzer. <3.
svn path=/trunk/; revision=36586
Timo Kreuzer [Sun, 28 Sep 2008 21:50:05 +0000 (21:50 +0000)]
Improve memcpy. It was working correctly, but it wasted a cycle. ;-)
svn path=/trunk/; revision=36585
Timo Kreuzer [Sun, 28 Sep 2008 21:25:24 +0000 (21:25 +0000)]
Extend ObjTypeInfo array to 32 entries.
Fixes Coverity CID 538
svn path=/trunk/; revision=36584
Stefan Ginsberg [Sun, 28 Sep 2008 20:53:51 +0000 (20:53 +0000)]
- Fix comments (no code change)
svn path=/trunk/; revision=36583
Cameron Gutman [Sun, 28 Sep 2008 20:19:27 +0000 (20:19 +0000)]
- Merge aicom-network-fixes up to r36581
svn path=/trunk/; revision=36582
Gregor Schneider [Sun, 28 Sep 2008 19:44:58 +0000 (19:44 +0000)]
Check for NULL before using the DC.
Fixes Coverity CID 680.
svn path=/trunk/; revision=36579
Gregor Schneider [Sun, 28 Sep 2008 19:42:03 +0000 (19:42 +0000)]
Handle PALETTE_LockPalette returning NULL.
Fixes Coverity CIDs 486 and 487.
svn path=/trunk/; revision=36578
Gregor Schneider [Sun, 28 Sep 2008 18:40:38 +0000 (18:40 +0000)]
A msvcrt test shouldn't test ntdll functions for correctness. Now people don't need to fix nonexistant "hidden" msvcrt bugs anymore.
svn path=/trunk/; revision=36577
Hervé Poussineau [Sun, 28 Sep 2008 14:17:45 +0000 (14:17 +0000)]
Remove a hack, and link with C++ libraries only when required
Patch by Cecill Etheredge ( ijsf at gmx dot net )
svn path=/trunk/; revision=36576
Eric Kohl [Sun, 28 Sep 2008 13:49:47 +0000 (13:49 +0000)]
Ooops, forgot to disable these [handle] attributes.
svn path=/trunk/; revision=36575
Eric Kohl [Sun, 28 Sep 2008 13:48:31 +0000 (13:48 +0000)]
Cast returned handle values correctly.
svn path=/trunk/; revision=36574
Aleksey Bragin [Sun, 28 Sep 2008 11:16:41 +0000 (11:16 +0000)]
- Fix uninitialized variable usage. Fixes Coverity CID: 1293.
svn path=/trunk/; revision=36573
Aleksey Bragin [Sun, 28 Sep 2008 11:05:18 +0000 (11:05 +0000)]
- Ports are counted starting from 1, with 0 being an invalid port index. Remove memory corruption by actually allocating MAX_ROOT_PORTS + 1 sized array. Fixes Coverity CID: 601.
svn path=/trunk/; revision=36572
Aleksey Bragin [Sun, 28 Sep 2008 10:57:59 +0000 (10:57 +0000)]
- It's meaningless to try to complete the IRP if irp == NULL. Fixes Coverity CID: 398
svn path=/trunk/; revision=36571
Aleksey Bragin [Sun, 28 Sep 2008 10:54:22 +0000 (10:54 +0000)]
- Remove redundant NULL-check. Fixes Coverity CID: 761.
svn path=/trunk/; revision=36569
Johannes Anderwald [Sun, 28 Sep 2008 10:50:10 +0000 (10:50 +0000)]
- Query Name, Icon Attributes for each call of INetConnection_GetProperties
- Update Taskbar Notifications Icons on a network adapter change
- Sync remaining resources
svn path=/trunk/; revision=36568
Hervé Poussineau [Sun, 28 Sep 2008 09:09:57 +0000 (09:09 +0000)]
Replace .def file by a .spec file
svn path=/trunk/; revision=36563
Dmitry Chapyshev [Sun, 28 Sep 2008 06:04:47 +0000 (06:04 +0000)]
- Sync ddstream.idl with wine head
- Add qedit.idl from wine
svn path=/trunk/; revision=36560
Cameron Gutman [Sat, 27 Sep 2008 21:25:27 +0000 (21:25 +0000)]
- Merge aicom-network-fixes up to r36558
svn path=/trunk/; revision=36559
Stefan Ginsberg [Sat, 27 Sep 2008 18:45:23 +0000 (18:45 +0000)]
- Fix 2 typos
svn path=/trunk/; revision=36554
Eric Kohl [Sat, 27 Sep 2008 17:37:34 +0000 (17:37 +0000)]
- Disable [handle] and [context_handle] attributes in order not to break ReactOS when WIDL is updated to Wine-0.9.59.
- Fix typos in svcctl.idl.
svn path=/trunk/; revision=36550
Gregor Schneider [Sat, 27 Sep 2008 16:56:14 +0000 (16:56 +0000)]
Don't read and copy 32 Bit blocks, but only 24 Bit according to
24BPP_Put_/Get_Pixel.
Fixes NtGdiAlphaBlend in 24 Bit mode, see bug #3708.
svn path=/trunk/; revision=36548
Stefan Ginsberg [Sat, 27 Sep 2008 16:24:50 +0000 (16:24 +0000)]
- Add PsGetThreadTeb prototype
svn path=/trunk/; revision=36542
Stefan Ginsberg [Fri, 26 Sep 2008 22:11:10 +0000 (22:11 +0000)]
- Fix a couple of bugcodes with incorrect MessageId
- Add SYSTEM_THREAD_EXCEPTION_NOT_HANDLED make use of it
svn path=/trunk/; revision=36541
Eric Kohl [Fri, 26 Sep 2008 20:25:47 +0000 (20:25 +0000)]
Fix lock handle typecasts.
svn path=/trunk/; revision=36540
Aleksey Bragin [Fri, 26 Sep 2008 11:48:54 +0000 (11:48 +0000)]
- Remove an excessive ASSERT (there is a real one below in the function).
svn path=/trunk/; revision=36534
Aleksey Bragin [Fri, 26 Sep 2008 09:42:15 +0000 (09:42 +0000)]
- Apply Art's bitmap patch from the branch, and change the other 2 functions similarly (bit set & clear).
svn path=/trunk/; revision=36533
Christoph von Wittich [Fri, 26 Sep 2008 05:05:59 +0000 (05:05 +0000)]
set eol-style:native
svn path=/trunk/; revision=36532
Christoph von Wittich [Fri, 26 Sep 2008 05:03:14 +0000 (05:03 +0000)]
set eol-style:native
svn path=/trunk/; revision=36531
Christoph von Wittich [Fri, 26 Sep 2008 04:55:25 +0000 (04:55 +0000)]
set eol-style:native
svn path=/trunk/; revision=36530
Christoph von Wittich [Fri, 26 Sep 2008 04:51:32 +0000 (04:51 +0000)]
set eol-style:native
svn path=/trunk/; revision=36529
Timo Kreuzer [Thu, 25 Sep 2008 22:44:36 +0000 (22:44 +0000)]
Simplify and fix InitMetrics. Fixes Coverity error 33.
svn path=/trunk/; revision=36523
Timo Kreuzer [Thu, 25 Sep 2008 22:17:51 +0000 (22:17 +0000)]
Some cleanup
svn path=/trunk/; revision=36522
Timo Kreuzer [Thu, 25 Sep 2008 22:04:20 +0000 (22:04 +0000)]
Update SM_XXX constants
svn path=/trunk/; revision=36521
KJK::Hyperion [Thu, 25 Sep 2008 19:44:38 +0000 (19:44 +0000)]
Only apply C++ compiler flags to the C++ compiler. Fixes useless build warnings.
svn path=/trunk/; revision=36520
Timo Kreuzer [Thu, 25 Sep 2008 19:26:09 +0000 (19:26 +0000)]
Allocate size of structure, not size of pointer to the structure. Fixes Coverity errors 767, 768, 769, 770
svn path=/trunk/; revision=36519
Stefan Ginsberg [Thu, 25 Sep 2008 18:49:27 +0000 (18:49 +0000)]
- CmpOpenHiveFiles: If "Extension" is false then we won't have allocated any buffer, so there will never be a buffer to free
- Fix for Coverity Error CID: 29
svn path=/trunk/; revision=36518
Christoph von Wittich [Thu, 25 Sep 2008 18:10:23 +0000 (18:10 +0000)]
formatting fix
svn path=/trunk/; revision=36514
Christoph von Wittich [Thu, 25 Sep 2008 17:53:05 +0000 (17:53 +0000)]
set eol-style:native
svn path=/trunk/; revision=36513
James Tabor [Thu, 25 Sep 2008 15:39:33 +0000 (15:39 +0000)]
- Add Defer Window Position Handle type for multiple-window ? position structure.
svn path=/trunk/; revision=36510
Stefan Ginsberg [Thu, 25 Sep 2008 14:39:38 +0000 (14:39 +0000)]
- Implement and export PsIsSystemProcess and add it to the NDK
svn path=/trunk/; revision=36509
Stefan Ginsberg [Thu, 25 Sep 2008 14:29:11 +0000 (14:29 +0000)]
- Implement IoGetPagingIoPriority and fix its export
svn path=/trunk/; revision=36508
Stefan Ginsberg [Thu, 25 Sep 2008 14:25:22 +0000 (14:25 +0000)]
- Add WmiQueryTraceInformation, WmiTraceMessage and WmiTraceMessageVa stubs and exports
svn path=/trunk/; revision=36507
Aleksey Bragin [Thu, 25 Sep 2008 11:24:51 +0000 (11:24 +0000)]
- Fix one more totally "out of ideas how to create sections" MmCreateSection usage. Not only the MaximumSize is mandatory for file-backed sections, but an allocation type must be specified (SEC_COMMIT, and it's not the same as some humble "0" passed there as a value).
- Fix ReactOS's MmCreateDataFileSection to ignore 0 value in the MaximumSize (it has an additional check for MaximumSize being non-NULL, but this should be removed in future).
svn path=/trunk/; revision=36506
Cameron Gutman [Thu, 25 Sep 2008 00:01:39 +0000 (00:01 +0000)]
- Try again to fix build
svn path=/trunk/; revision=36499
Cameron Gutman [Wed, 24 Sep 2008 23:48:28 +0000 (23:48 +0000)]
- Fix build
svn path=/trunk/; revision=36498
Cameron Gutman [Wed, 24 Sep 2008 23:39:17 +0000 (23:39 +0000)]
Merge aicom-network-fixes up to r36496
- We now call the MiniportCheckForHang handler every two seconds
- We reset the miniport if it has detected a hang
- Added some IRQL checks
svn path=/trunk/; revision=36497
Stefan Ginsberg [Wed, 24 Sep 2008 19:13:08 +0000 (19:13 +0000)]
- MiQueryVirtualMemory shouldn't be called for kernel memory, so remove the special case code for a kernel address space. Also fixes a case where we would dereference an uninitialized pointer.
- Fix for Coverity Error CID: 773
svn path=/trunk/; revision=36494
Stefan Ginsberg [Wed, 24 Sep 2008 18:47:24 +0000 (18:47 +0000)]
- Remove deprecated macro
svn path=/trunk/; revision=36493
Stefan Ginsberg [Wed, 24 Sep 2008 17:32:14 +0000 (17:32 +0000)]
- Add ObpValidateAccessMask stub (only returns success for now) and call it from ObInsertObject
- Fix for Coverity Error CID: 9
svn path=/trunk/; revision=36491
Stefan Ginsberg [Wed, 24 Sep 2008 17:16:25 +0000 (17:16 +0000)]
- HalpXboxReadSector: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 464
svn path=/trunk/; revision=36490
Stefan Ginsberg [Wed, 24 Sep 2008 17:11:35 +0000 (17:11 +0000)]
- IoFlushAdapterBuffers: "AdapterObject" is not an optional parameter, it is vital to identify the DMA adapter. Remove the check which confused Coverity and ASSERTify this instead.
- Fix for Coverity error CID: 155
svn path=/trunk/; revision=36489
Christoph von Wittich [Wed, 24 Sep 2008 16:57:29 +0000 (16:57 +0000)]
more correct fix
svn path=/trunk/; revision=36488
Stefan Ginsberg [Wed, 24 Sep 2008 16:37:35 +0000 (16:37 +0000)]
- IopGetDiskInformation: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 469
- Also fix a (potential) memory leak
svn path=/trunk/; revision=36487
Stefan Ginsberg [Wed, 24 Sep 2008 16:19:52 +0000 (16:19 +0000)]
- Only dereference the KCB if we know it exists
- Fix for Coverity error CID: 279
svn path=/trunk/; revision=36486
Christoph von Wittich [Wed, 24 Sep 2008 15:42:33 +0000 (15:42 +0000)]
check for value > 0 before using it as array index
Fix for Coverity error CID: 438
svn path=/trunk/; revision=36485
Stefan Ginsberg [Wed, 24 Sep 2008 15:27:54 +0000 (15:27 +0000)]
- 64 bit fixes for Mm routines: Use SIZE_T and ULONG_PTR where appropriate
- Note: MSDN is wrong about Nt/ZwAllocateVirtualMemory's ZeroBits. It really is a ULONG_PTR.
svn path=/trunk/; revision=36484
Stefan Ginsberg [Wed, 24 Sep 2008 15:04:59 +0000 (15:04 +0000)]
- FsRtlBalanceReads: Fail if we are out of memory instead of dereferencing null
- Fix for Coverity error CID: 465
svn path=/trunk/; revision=36483
Stefan Ginsberg [Wed, 24 Sep 2008 14:53:28 +0000 (14:53 +0000)]
- RawQueryFsSizeInfo: Fail if we are out of memory instead of dereferencing null
svn path=/trunk/; revision=36482
Stefan Ginsberg [Wed, 24 Sep 2008 14:01:43 +0000 (14:01 +0000)]
- Fix some non-x86 FLOATOBJ_*
svn path=/trunk/; revision=36481
Art Yerkes [Wed, 24 Sep 2008 13:35:37 +0000 (13:35 +0000)]
Fix leaks reported by coverity 612-615. In each case, it'd be safe to free
NULL, and failure to allocate isn't the only dropthrough case, leading to
conversion buffer leaks.
svn path=/trunk/; revision=36480
Art Yerkes [Wed, 24 Sep 2008 12:56:30 +0000 (12:56 +0000)]
Fix my copypasta spotted by (coverity 1294)
svn path=/trunk/; revision=36479
Daniel Reimer [Wed, 24 Sep 2008 11:22:08 +0000 (11:22 +0000)]
Bug 3726: Translate file: netshell by Lars Martin Hambro
Bug 3729: Italian translation update by Paolo Devoti
Bug 3738: slovak translations and fixes by Mario Kacmar
Bug 3741: Korean translation of Taskmgr by Sengyu Kim
svn path=/trunk/; revision=36472
Timo Kreuzer [Wed, 24 Sep 2008 11:17:33 +0000 (11:17 +0000)]
- remove old test code
svn path=/trunk/; revision=36471
Aleksey Bragin [Wed, 24 Sep 2008 10:06:08 +0000 (10:06 +0000)]
- Create a VdmpInitialize function for NtVdmControl's initialize command.
- Remove NtEarlyVdmInitialize hack and csrss IVT/BDA copying hack, instead, copy the first page of physical memory to the beginning of process's virtual address space like NT does.
svn path=/trunk/; revision=36459
Aleksey Bragin [Wed, 24 Sep 2008 08:17:15 +0000 (08:17 +0000)]
Juriy Sidorov <jura@cp-lab.com>
- Fix existing font substitutions.
- Add FreeMono as substitution for Courier and Courier New.
- Optimize font substitution tables and make them easy to maintain.
See issue #3483 for more details.
svn path=/trunk/; revision=36451
Aleksey Bragin [Wed, 24 Sep 2008 08:12:41 +0000 (08:12 +0000)]
- Make SmCreateUserProcess accept two flags: the old "wait for" one, and a new "reserve 1Mb" one. NT reserves lower 1MB of address space when starting a subsystem process. ReactOS should too, however right now this change is disabled (leads to boot problems).
svn path=/trunk/; revision=36450
Andrew Munger [Wed, 24 Sep 2008 07:52:19 +0000 (07:52 +0000)]
Remove a overzealous check. MSDN says to avoid calling with NumberOfBytes == 0, but it is valid.
Addresses bug 3715.
svn path=/trunk/; revision=36449
Aleksey Bragin [Tue, 23 Sep 2008 20:44:31 +0000 (20:44 +0000)]
- Fix ~4.4 million handle limit bug due to memory corruption. ReactOS can now create 16 million handles as expected (thanks Alex).
svn path=/trunk/; revision=36439
Stefan Ginsberg [Tue, 23 Sep 2008 19:54:13 +0000 (19:54 +0000)]
- Attempt satisfy Alex
svn path=/trunk/; revision=36436
Ged Murphy [Tue, 23 Sep 2008 19:02:32 +0000 (19:02 +0000)]
Don't risk a negative array subscript. Fixes our one and only REVERSE_NEGATIVE error
Fix for Coverity error CID: 766
svn path=/trunk/; revision=36435
Christoph von Wittich [Tue, 23 Sep 2008 18:44:58 +0000 (18:44 +0000)]
return correct value in SETUPAPI_GetCurrentHwProfile
Fix for Coverity error CID: 782
svn path=/trunk/; revision=36434
Gregor Brunmar [Tue, 23 Sep 2008 17:01:40 +0000 (17:01 +0000)]
D3D9:
* More init values when creating a texture
svn path=/trunk/; revision=36429
Stefan Ginsberg [Tue, 23 Sep 2008 14:15:56 +0000 (14:15 +0000)]
- Add basic tracing to CmpReferenceKeyControlBlock, CmpDereferenceKeyControlBlock and CmpDereferenceKeyControlBlockWithLock
svn path=/trunk/; revision=36428
Aleksey Bragin [Tue, 23 Sep 2008 12:41:02 +0000 (12:41 +0000)]
- In success cases of NtAllocateVirtualMemory, return the real (page rounded!) base address and region size, not the possibly unaligned pointer and length which were passed to the function. These cases were hit when a region of memory was previously reserved, then a commit request came with unaligned base address and length, which match that previously reserved region after aligning.
svn path=/trunk/; revision=36427