Eric Kohl
f8998c9c84
Ooops, forgot to disable these [handle] attributes.
...
svn path=/trunk/; revision=36575
2008-09-28 13:49:47 +00:00
Eric Kohl
527202ad87
Cast returned handle values correctly.
...
svn path=/trunk/; revision=36574
2008-09-28 13:48:31 +00:00
Aleksey Bragin
5ee91c9c36
- Fix uninitialized variable usage. Fixes Coverity CID: 1293.
...
svn path=/trunk/; revision=36573
2008-09-28 11:16:41 +00:00
Aleksey Bragin
24430aea89
- 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
2008-09-28 11:05:18 +00:00
Aleksey Bragin
faf94f044e
- It's meaningless to try to complete the IRP if irp == NULL. Fixes Coverity CID: 398
...
svn path=/trunk/; revision=36571
2008-09-28 10:57:59 +00:00
Aleksey Bragin
6eb2f69158
- Remove redundant NULL-check. Fixes Coverity CID: 761.
...
svn path=/trunk/; revision=36569
2008-09-28 10:54:22 +00:00
Johannes Anderwald
862b1b1c46
- 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
2008-09-28 10:50:10 +00:00
Hervé Poussineau
0970d7b76e
Replace .def file by a .spec file
...
svn path=/trunk/; revision=36563
2008-09-28 09:09:57 +00:00
Dmitry Chapyshev
f610f642b1
- Sync ddstream.idl with wine head
...
- Add qedit.idl from wine
svn path=/trunk/; revision=36560
2008-09-28 06:04:47 +00:00
Cameron Gutman
12604c6f99
- Merge aicom-network-fixes up to r36558
...
svn path=/trunk/; revision=36559
2008-09-27 21:25:27 +00:00
Stefan Ginsberg
b4d8244133
- Fix 2 typos
...
svn path=/trunk/; revision=36554
2008-09-27 18:45:23 +00:00
Eric Kohl
1b0251574d
- 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
2008-09-27 17:37:34 +00:00
Gregor Schneider
a26186ece3
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
2008-09-27 16:56:14 +00:00
Stefan Ginsberg
d9a95f3658
- Add PsGetThreadTeb prototype
...
svn path=/trunk/; revision=36542
2008-09-27 16:24:50 +00:00
Stefan Ginsberg
2e75e632d0
- Fix a couple of bugcodes with incorrect MessageId
...
- Add SYSTEM_THREAD_EXCEPTION_NOT_HANDLED make use of it
svn path=/trunk/; revision=36541
2008-09-26 22:11:10 +00:00
Eric Kohl
e7b8601c22
Fix lock handle typecasts.
...
svn path=/trunk/; revision=36540
2008-09-26 20:25:47 +00:00
Aleksey Bragin
a3767e4fc3
- Remove an excessive ASSERT (there is a real one below in the function).
...
svn path=/trunk/; revision=36534
2008-09-26 11:48:54 +00:00
Aleksey Bragin
c31a4dabe1
- Apply Art's bitmap patch from the branch, and change the other 2 functions similarly (bit set & clear).
...
svn path=/trunk/; revision=36533
2008-09-26 09:42:15 +00:00
Christoph von Wittich
5da1fe223d
set eol-style:native
...
svn path=/trunk/; revision=36532
2008-09-26 05:05:59 +00:00
Christoph von Wittich
463ea79dae
set eol-style:native
...
svn path=/trunk/; revision=36531
2008-09-26 05:03:14 +00:00
Christoph von Wittich
5367db78ec
set eol-style:native
...
svn path=/trunk/; revision=36530
2008-09-26 04:55:25 +00:00
Christoph von Wittich
5e060cca56
set eol-style:native
...
svn path=/trunk/; revision=36529
2008-09-26 04:51:32 +00:00
Timo Kreuzer
7f11e7e296
Simplify and fix InitMetrics. Fixes Coverity error 33.
...
svn path=/trunk/; revision=36523
2008-09-25 22:44:36 +00:00
Timo Kreuzer
7a71237648
Some cleanup
...
svn path=/trunk/; revision=36522
2008-09-25 22:17:51 +00:00
Timo Kreuzer
5148823f59
Update SM_XXX constants
...
svn path=/trunk/; revision=36521
2008-09-25 22:04:20 +00:00
KJK::Hyperion
445a482d8d
Only apply C++ compiler flags to the C++ compiler. Fixes useless build warnings.
...
svn path=/trunk/; revision=36520
2008-09-25 19:44:38 +00:00
Timo Kreuzer
01dd1a7431
Allocate size of structure, not size of pointer to the structure. Fixes Coverity errors 767, 768, 769, 770
...
svn path=/trunk/; revision=36519
2008-09-25 19:26:09 +00:00
Stefan Ginsberg
b1a8e2b3fd
- 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
2008-09-25 18:49:27 +00:00
Christoph von Wittich
ac376c0adb
formatting fix
...
svn path=/trunk/; revision=36514
2008-09-25 18:10:23 +00:00
Christoph von Wittich
7d57e70f0d
set eol-style:native
...
svn path=/trunk/; revision=36513
2008-09-25 17:53:05 +00:00
James Tabor
44b6f107bd
- Add Defer Window Position Handle type for multiple-window ? position structure.
...
svn path=/trunk/; revision=36510
2008-09-25 15:39:33 +00:00
Stefan Ginsberg
ccd25605a6
- Implement and export PsIsSystemProcess and add it to the NDK
...
svn path=/trunk/; revision=36509
2008-09-25 14:39:38 +00:00
Stefan Ginsberg
d2abe18c98
- Implement IoGetPagingIoPriority and fix its export
...
svn path=/trunk/; revision=36508
2008-09-25 14:29:11 +00:00
Stefan Ginsberg
cb267e1fdf
- Add WmiQueryTraceInformation, WmiTraceMessage and WmiTraceMessageVa stubs and exports
...
svn path=/trunk/; revision=36507
2008-09-25 14:25:22 +00:00
Aleksey Bragin
94b893abac
- 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
2008-09-25 11:24:51 +00:00
Cameron Gutman
99d8e4f1b4
- Try again to fix build
...
svn path=/trunk/; revision=36499
2008-09-25 00:01:39 +00:00
Cameron Gutman
8ffee924f5
- Fix build
...
svn path=/trunk/; revision=36498
2008-09-24 23:48:28 +00:00
Cameron Gutman
564e5b5a2c
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
2008-09-24 23:39:17 +00:00
Stefan Ginsberg
ef2bb65235
- 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
2008-09-24 19:13:08 +00:00
Stefan Ginsberg
a9d6e4341e
- Remove deprecated macro
...
svn path=/trunk/; revision=36493
2008-09-24 18:47:24 +00:00
Stefan Ginsberg
c1a36080a7
- Add ObpValidateAccessMask stub (only returns success for now) and call it from ObInsertObject
...
- Fix for Coverity Error CID: 9
svn path=/trunk/; revision=36491
2008-09-24 17:32:14 +00:00
Stefan Ginsberg
c2ca8fb596
- HalpXboxReadSector: Fail if we are out of memory instead of dereferencing null
...
- Fix for Coverity error CID: 464
svn path=/trunk/; revision=36490
2008-09-24 17:16:25 +00:00
Stefan Ginsberg
ba22ca771d
- 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
2008-09-24 17:11:35 +00:00
Christoph von Wittich
e724baacde
more correct fix
...
svn path=/trunk/; revision=36488
2008-09-24 16:57:29 +00:00
Stefan Ginsberg
d91564734d
- 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
2008-09-24 16:37:35 +00:00
Stefan Ginsberg
e57cfa2826
- Only dereference the KCB if we know it exists
...
- Fix for Coverity error CID: 279
svn path=/trunk/; revision=36486
2008-09-24 16:19:52 +00:00
Christoph von Wittich
d82ca9895d
check for value > 0 before using it as array index
...
Fix for Coverity error CID: 438
svn path=/trunk/; revision=36485
2008-09-24 15:42:33 +00:00
Stefan Ginsberg
649b40cd13
- 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
2008-09-24 15:27:54 +00:00
Stefan Ginsberg
9bbb8ab1a3
- FsRtlBalanceReads: Fail if we are out of memory instead of dereferencing null
...
- Fix for Coverity error CID: 465
svn path=/trunk/; revision=36483
2008-09-24 15:04:59 +00:00
Stefan Ginsberg
85033039ab
- RawQueryFsSizeInfo: Fail if we are out of memory instead of dereferencing null
...
svn path=/trunk/; revision=36482
2008-09-24 14:53:28 +00:00