Hermès Bélusca-Maïto [Sun, 7 Oct 2012 12:46:44 +0000 (12:46 +0000)]
[APITEST:NTDLL]
Improve the code.
svn path=/trunk/; revision=57513
Hermès Bélusca-Maïto [Sun, 7 Oct 2012 12:31:13 +0000 (12:31 +0000)]
[APITEST:NTDLL]
Add a test for the NtQuerySystemEnvironmentValue API.
Tested successfully under Win2k3 SP1 and Win7.
svn path=/trunk/; revision=57512
Eric Kohl [Sun, 7 Oct 2012 12:10:45 +0000 (12:10 +0000)]
[LSASRV]
- Store the names and SIDs of the built-in and account domains in global vaiables.
- Move the lookup code for isolated names to a separate function.
svn path=/trunk/; revision=57511
Timo Kreuzer [Sun, 7 Oct 2012 10:03:31 +0000 (10:03 +0000)]
[WIN32K]
Fix missing colorTriple increment when creating the color table in GreGetDIBitsInternal.
svn path=/trunk/; revision=57510
Timo Kreuzer [Sun, 7 Oct 2012 09:35:32 +0000 (09:35 +0000)]
[GDI32]
Use a struct do define the combined DIBSECTION/BITMAPINFO buffer in CreateCompatibleBitmap, to make it more clear how it works. See CID 716216
svn path=/trunk/; revision=57509
Eric Kohl [Sun, 7 Oct 2012 09:18:23 +0000 (09:18 +0000)]
[LSASRV]
Implement LsaIOpenPolicyTrusted as described in http://code.google.com/p/mimikatz/source/browse/trunk/librairies/sekurlsa/secrets.cpp?r=24.
svn path=/trunk/; revision=57508
Timo Kreuzer [Sun, 7 Oct 2012 08:43:54 +0000 (08:43 +0000)]
[WIN32K][USER32]
Chnge return type of ClientLoadLibrary to BOOL. Previously it returned HMODULE in both the load and unload case, being a meaningless value in the latter case. All users of this function were using it as a boolean parameter only.
svn path=/trunk/; revision=57507
Hermès Bélusca-Maïto [Sat, 6 Oct 2012 21:42:19 +0000 (21:42 +0000)]
[NTOSKRNL]
Some ExFreePool -> ExFreePoolWithTag
CORE-6725 #resolve #comment Committed in r57506.
svn path=/trunk/; revision=57506
Timo Kreuzer [Sat, 6 Oct 2012 20:15:36 +0000 (20:15 +0000)]
[WIN32K]
Use ExAllocatePoolWithTag instead of ExAllocatePool
svn path=/trunk/; revision=57505
Hermès Bélusca-Maïto [Sat, 6 Oct 2012 19:50:17 +0000 (19:50 +0000)]
[NTOSKRNL]
Rearrange the NtQuerySystemEnvironmentValue code to have successive logical checks.
svn path=/trunk/; revision=57504
Eric Kohl [Sat, 6 Oct 2012 19:37:10 +0000 (19:37 +0000)]
[LSASRV]
- Make LsarLookupNames, LsarLookupNames2 and LsarLookupNames4 call LsapLookupNames and convert the results where this is needed.
- Split the lookup code in LsapLookupSids into separate functions.
svn path=/trunk/; revision=57503
Timo Kreuzer [Sat, 6 Oct 2012 19:24:14 +0000 (19:24 +0000)]
[WIN32K]
Use ExFreePoolWithTag instead of ExFreePool in SpiNotifyNCMetricsChanged.
Fixes CID 716644
svn path=/trunk/; revision=57502
Timo Kreuzer [Sat, 6 Oct 2012 19:04:36 +0000 (19:04 +0000)]
[WIN32K]
- Keep an additional reference while processing the message list of a message queue
- CID 716808
svn path=/trunk/; revision=57501
Hermès Bélusca-Maïto [Sat, 6 Oct 2012 18:49:23 +0000 (18:49 +0000)]
[NTOSKRNL]
Use TAG_FSTUB instead of 'BtsF'
svn path=/trunk/; revision=57500
Hermès Bélusca-Maïto [Sat, 6 Oct 2012 18:46:13 +0000 (18:46 +0000)]
[NTOSKRNL]
Fix Coverity defects : CID 716579, 716580 and 716582.
svn path=/trunk/; revision=57499
Hermès Bélusca-Maïto [Sat, 6 Oct 2012 14:50:18 +0000 (14:50 +0000)]
[NTDLL_APITEST]
Initialize Length to default value.
svn path=/trunk/; revision=57498
Timo Kreuzer [Sat, 6 Oct 2012 14:35:52 +0000 (14:35 +0000)]
[BMFD]
- Remove a pointless check (CID 731583)
- Add a comment
- Simplify code
svn path=/trunk/; revision=57497
Timo Kreuzer [Sat, 6 Oct 2012 14:23:22 +0000 (14:23 +0000)]
[WIN32K]
- Fix detection of trivial clipping region
- CID 731584
svn path=/trunk/; revision=57496
Timo Kreuzer [Sat, 6 Oct 2012 12:21:41 +0000 (12:21 +0000)]
[WIN32K]
Disable APCs when acquiring the pushlock.
svn path=/trunk/; revision=57495
Timo Kreuzer [Sat, 6 Oct 2012 12:16:06 +0000 (12:16 +0000)]
[WIN23K]
- Make LFONTs (for some incomprehensible reason called TEXTOBJ in ros) shared objects, as they are supposed to be. Since that conflicts with our totally broken font code that happily messes with the LFONT's contents, an additional push lock is aquired to get exclusive ownership.
svn path=/trunk/; revision=57494
Timo Kreuzer [Sat, 6 Oct 2012 09:47:15 +0000 (09:47 +0000)]
[NTOSKRNL]
Add missing break in KdpServiceDispatcher
svn path=/trunk/; revision=57493
Timo Kreuzer [Sat, 6 Oct 2012 08:33:17 +0000 (08:33 +0000)]
[GDI32]
- Use GdiAllocBatchCommand in DeleteObject instead of doing all manually
svn path=/trunk/; revision=57492
James Tabor [Sat, 6 Oct 2012 02:36:46 +0000 (02:36 +0000)]
[NtUser]
- Tested wine win test_scrollwindow, test_scrollvalidate, test_scrolldc, and test_scroll plus ReactOS API tests. Pass all but three region tests in test_scrollvalidate.
- Dedicated to Víctor Martínez Calvo.
svn path=/trunk/; revision=57491
Hermès Bélusca-Maïto [Fri, 5 Oct 2012 20:08:16 +0000 (20:08 +0000)]
[REGEDIT]
- Re-number some resource IDs.
- Add key exportation message-box error (thus removing some fwprintf calls).
- Use IDS_MY_COMPUTER localized string instead of hardcoded one.
svn path=/trunk/; revision=57490
Eric Kohl [Fri, 5 Oct 2012 19:41:14 +0000 (19:41 +0000)]
[LSASRV]
- Change LsapLookupSids to match LsarLookupSids2 and LsarLookupSids3.
- Implement LsarLookupSids2 and LsarLookupSids3.
- Update the call to LsapLookupSids in LsarLookupSids and convert the translated names list after calling LsapLookupSids.
svn path=/trunk/; revision=57489
Eric Kohl [Fri, 5 Oct 2012 17:34:23 +0000 (17:34 +0000)]
[LSASRV]
- Move most of the code from LsarLookupSids into LsapLookupSids.
- Use the code from LsapLookupNames to handle the referenced domains list in LsapLookupSids.
svn path=/trunk/; revision=57488
Alex Ionescu [Fri, 5 Oct 2012 15:20:10 +0000 (15:20 +0000)]
[RTL]: Fix typo in RtlValidAcl.
svn path=/trunk/; revision=57487
Thomas Faber [Fri, 5 Oct 2012 10:51:54 +0000 (10:51 +0000)]
[SHELL32]
- Fix yet another missing "this->", spotted by Igor Sudarikov
CORE-6722 #resolve #comment Good catch, thanks.
svn path=/trunk/; revision=57486
Thomas Faber [Thu, 4 Oct 2012 23:46:59 +0000 (23:46 +0000)]
[SHELL32]
- Fix what might finally be the last missing "this->" instances left over from the C++ conversion (used a regex this time)
svn path=/trunk/; revision=57485
Eric Kohl [Thu, 4 Oct 2012 21:59:23 +0000 (21:59 +0000)]
[LSASRV]
Implement LsarEnumerateAccountRights. It is still WIP (Work In Progress).
svn path=/trunk/; revision=57484
James Tabor [Thu, 4 Oct 2012 20:00:28 +0000 (20:00 +0000)]
[NtUser]
- Fix all but one DCE scroll test.
- Old patch at least two year old or more.
svn path=/trunk/; revision=57483
Alex Ionescu [Thu, 4 Oct 2012 19:32:18 +0000 (19:32 +0000)]
[RTL]: Implement and half-plement the Object Security APIs. In most cases, ultimately forward to an internal (unimplemented) worker function, but some APIs were implemented fully. Also add missing RtlCreateAndSetSD and export it (unimplemented).
svn path=/trunk/; revision=57482
Alex Ionescu [Thu, 4 Oct 2012 18:48:15 +0000 (18:48 +0000)]
[RTL]: Add all the missing Rtl*Security*Object APIs and put them all in security.c. Move privilege functions into a new file, priv.c. No functional/code changes, just more stubs/exports and moving things around.
svn path=/trunk/; revision=57481
Eric Kohl [Thu, 4 Oct 2012 18:22:55 +0000 (18:22 +0000)]
[LSASRV]
LsapLookupNames: If a name was found, add its domain SID to the domains list and set the domain index accordingly.
svn path=/trunk/; revision=57480
Alex Ionescu [Thu, 4 Oct 2012 17:08:51 +0000 (17:08 +0000)]
[NDK]: forgot this ,sorry.
svn path=/trunk/; revision=57479
Alex Ionescu [Thu, 4 Oct 2012 16:55:53 +0000 (16:55 +0000)]
[RTL]: Cleanup, comment, and fix SID functions. For example, RtlEqualPrefixSid actually checks only the prefix, not the entire SID.
svn path=/trunk/; revision=57478
Jérôme Gardou [Thu, 4 Oct 2012 13:38:26 +0000 (13:38 +0000)]
[APITESTS/USER32]
Improve GetIconInfo tests:
-Stop leaking each handle we create
-Show Icons sensitivity to screen bit depth
svn path=/trunk/; revision=57477
Alex Ionescu [Thu, 4 Oct 2012 06:28:58 +0000 (06:28 +0000)]
[RTL]: CORE-6713 #resolve #time 10m #comment Use explicit checks when checking for present and default flags, just like Windows. Fixes winetest regressions.
svn path=/trunk/; revision=57476
Alex Ionescu [Thu, 4 Oct 2012 06:19:42 +0000 (06:19 +0000)]
[NTOSKRNL]: CORE-6698 #resolve #time 5m #comment Add correct error handling during session space view mapping.
svn path=/trunk/; revision=57475
Alex Ionescu [Thu, 4 Oct 2012 06:16:53 +0000 (06:16 +0000)]
[NTOS]: CORE-6204 #resolve #time 10m #comment Do not touch NextEntry after removing it, instead restart the scan at the head of the list (checked against w2k3sp1).
svn path=/trunk/; revision=57474
Hermès Bélusca-Maïto [Wed, 3 Oct 2012 22:51:53 +0000 (22:51 +0000)]
[REGEDIT]
... and this line of code (I'm sorry for the generated noise :-( )
svn path=/trunk/; revision=57473
Hermès Bélusca-Maïto [Wed, 3 Oct 2012 22:50:06 +0000 (22:50 +0000)]
[REGEDIT]
- Forgot to remove a comment
svn path=/trunk/; revision=57472
Hermès Bélusca-Maïto [Wed, 3 Oct 2012 22:42:34 +0000 (22:42 +0000)]
[REGEDIT]
- Convert the application's code to UNICODE
- But the regproc.c's code is untouched (apart from the pseudo-error messages issued with fprintf)
svn path=/trunk/; revision=57471
Hermès Bélusca-Maïto [Wed, 3 Oct 2012 21:58:28 +0000 (21:58 +0000)]
[CLB]
- Code cleaning
svn path=/trunk/; revision=57470
Thomas Faber [Wed, 3 Oct 2012 20:52:33 +0000 (20:52 +0000)]
[KMTEST:KE]
- Show that Mutexes disable APCs when acquired, while Mutants don't
svn path=/trunk/; revision=57469
Mike Nordell [Wed, 3 Oct 2012 19:51:22 +0000 (19:51 +0000)]
[NTOSKERNEL] Stop KeRundownThread from bugchecking on at least CTRL_C for console app.
svn path=/trunk/; revision=57468
Timo Kreuzer [Wed, 3 Oct 2012 19:39:11 +0000 (19:39 +0000)]
[WIN32K]
Reduce size of desktop heap from 4MB to 400KB (Windows uses 200KB)
[NTOSKRNL]
Go back to 20 MB session space.
svn path=/trunk/; revision=57467
Thomas Faber [Wed, 3 Oct 2012 19:01:47 +0000 (19:01 +0000)]
[NTOSKRNL]
- Add an ASSERT in KeRundownThread
svn path=/trunk/; revision=57466
Mike Nordell [Wed, 3 Oct 2012 17:57:14 +0000 (17:57 +0000)]
[NTOSKERNEL] Refactoring KiSatisfyObjectWait macro to prevent code duplication.
svn path=/trunk/; revision=57465
Eric Kohl [Wed, 3 Oct 2012 13:05:06 +0000 (13:05 +0000)]
[LSASRV]
Fixes several bugs in the current implementation of LsapSplitNames and LsapLookupNames. This fixes the crashing lsa advapi32 wintest. LsapLookupNames is still WIP.
svn path=/trunk/; revision=57464
Hermès Bélusca-Maïto [Tue, 2 Oct 2012 23:43:55 +0000 (23:43 +0000)]
[REGEDIT]
- Don't forget to close the file handle.
svn path=/trunk/; revision=57463
Hermès Bélusca-Maïto [Tue, 2 Oct 2012 23:29:22 +0000 (23:29 +0000)]
[REGEDIT]
- WCHAR ==> TCHAR in (before a REALLY conversion of regedit into UNICODE)
- Correct some mistakes in displayed strings
- Improve informative / warning / error messages when importing registry files
- Now, try to import each registry file specified in the command line and don't fail miserably when one of them is missing, but continue with the next one (as Windows' regedit does).
Patch by Edijs Kolesnikovičs (2/2) adapted by me.
CORE-6239 #comment Fixed in r57462 with some adaptations. Thanks ;) #resolve
svn path=/trunk/; revision=57462
Eric Kohl [Tue, 2 Oct 2012 23:14:38 +0000 (23:14 +0000)]
[LSASRV]
LsarLookupNames3: Use the existing list of well known SIDs to look-up well known account names.
svn path=/trunk/; revision=57461
Timo Kreuzer [Tue, 2 Oct 2012 21:43:47 +0000 (21:43 +0000)]
[LIBCNTPR] Add atan2
[WIN32K] Remove duplicated floating point math functions
[CPORTLIB] Fix an MSVC warning
svn path=/trunk/; revision=57460
Timo Kreuzer [Tue, 2 Oct 2012 21:20:28 +0000 (21:20 +0000)]
[WIN32K]
Move gdi kdbg extension into a separate file, prefix names with ! to match WinDbg extensions more closely (e.g. "!gdi.help"), imlement help, dumpht, handle, entry and eventlist commands.
svn path=/trunk/; revision=57459
Alex Ionescu [Tue, 2 Oct 2012 16:05:26 +0000 (16:05 +0000)]
[RTL]: Fix bugs in SD rewrite, bringing tests back to 73 failures instead of 117 (back to their normal).
svn path=/trunk/; revision=57458
Eric Kohl [Tue, 2 Oct 2012 11:43:50 +0000 (11:43 +0000)]
[ADVAPI32]
- Implement LsaQueryForestTrustInformation and LsaSetForestTrustInformation.
svn path=/trunk/; revision=57457
Hermès Bélusca-Maïto [Mon, 1 Oct 2012 23:16:43 +0000 (23:16 +0000)]
[REGEDIT
- Fix comment headers.
- Improve error-displaying function and add another one (to be used later on).
- Clear a part of code.
svn path=/trunk/; revision=57456
Timo Kreuzer [Mon, 1 Oct 2012 23:10:10 +0000 (23:10 +0000)]
[WIN32K]
Sorry forgot to commit this file
svn path=/trunk/; revision=57455
Timo Kreuzer [Mon, 1 Oct 2012 23:06:32 +0000 (23:06 +0000)]
[NTOSKRNL]
Implement Kdbg CLI callbacks. These callbacks can be registered from external modules and allow to process kdbg commands.
[WIN32K]
Implement kdbg callbacks for gdi: "gdi!dumpht <type>" dumps the handle table, "gdi!handle <x>" dumps information about a handle.
CORE-6650 #resolve
svn path=/trunk/; revision=57454
Hermès Bélusca-Maïto [Mon, 1 Oct 2012 22:00:38 +0000 (22:00 +0000)]
[REGEDIT]
- Update informative messages
CORE-6239 Patch by Edijs Kolesnikovičs (1/2)
svn path=/trunk/; revision=57453
Hervé Poussineau [Mon, 1 Oct 2012 19:24:07 +0000 (19:24 +0000)]
[LSASRV] Add missing breaks (addendum to r57391)
svn path=/trunk/; revision=57452
Eric Kohl [Mon, 1 Oct 2012 10:24:19 +0000 (10:24 +0000)]
[LSASRV]
LsarOpenSecret: Do not check the granted access of the policy handle and return the proper status code.
svn path=/trunk/; revision=57451
Alex Ionescu [Mon, 1 Oct 2012 03:02:12 +0000 (03:02 +0000)]
[RTL]: Reformat, rewrite, comment, and fix when relevant the Rtl*SecurityDescriptor* APIs, as well as fix one wrong prototype and implement some unimplemented ones.
svn path=/trunk/; revision=57450
Eric Kohl [Sun, 30 Sep 2012 23:50:30 +0000 (23:50 +0000)]
[LSASRV]
Get rid of the ugly container object code. Let LsapCreateDbObject and LsapOpenDbObject handle container objects instead.
svn path=/trunk/; revision=57449
Eric Kohl [Sun, 30 Sep 2012 22:41:34 +0000 (22:41 +0000)]
[LSASRV]
- Validate Account SIDs in LsarCreateAccount and LsarOpenAccount.
- LsarOpenAccount: Do not check the granted access of the policy handle.
- LsarOpenAccount: Return the proper status code.
svn path=/trunk/; revision=57448
Roel Messiant [Sun, 30 Sep 2012 22:25:26 +0000 (22:25 +0000)]
[DISKPART]
- Correct command processing following the first command in interactive mode.
- Correct invocation of command-specific help functions.
svn path=/trunk/; revision=57447
Timo Kreuzer [Sun, 30 Sep 2012 22:02:02 +0000 (22:02 +0000)]
[WIN32K]
Fix the hack, so it doesn't cause overwriting of usermode memory.
svn path=/trunk/; revision=57445
Timo Kreuzer [Sun, 30 Sep 2012 21:21:03 +0000 (21:21 +0000)]
[WIN32K]
Hack around completely broken GreGetDIBitsInternal. Fixes bugcheck caused by gdi32_winetest bitmap.
svn path=/trunk/; revision=57444
Timo Kreuzer [Sun, 30 Sep 2012 20:30:23 +0000 (20:30 +0000)]
[WIN32K]
- Seperate GreGetDIBitsInternal from NtGdiGetDIBitsInternal
- Rewrite IntSynthesizeDib
- Fixes heap corruption when doing screen shots or copying from paint
CORE-6674 CORE-6093 #resolve
svn path=/trunk/; revision=57443
Roel Messiant [Sun, 30 Sep 2012 19:47:28 +0000 (19:47 +0000)]
[NET]
- Correct copying of arguments into temporary buffer.
- Remove some debug prints.
svn path=/trunk/; revision=57442
Eric Kohl [Sun, 30 Sep 2012 17:15:37 +0000 (17:15 +0000)]
[INCLUDE]
Add missing account right strings and system account flags.
svn path=/trunk/; revision=57441
Timo Kreuzer [Sun, 30 Sep 2012 14:53:46 +0000 (14:53 +0000)]
[GDI32]
- Some fixes for CreateDIBitmap (Patch by Victor Martinez, modified by me) CORE-6420 #resolve
- Fix warning on MSVC
svn path=/trunk/; revision=57440
Timo Kreuzer [Sat, 29 Sep 2012 22:58:06 +0000 (22:58 +0000)]
[SPEC2DEF]
Implement support for int128.
CORE-6630 #resolve
svn path=/trunk/; revision=57439
Eric Kohl [Sat, 29 Sep 2012 22:52:30 +0000 (22:52 +0000)]
[LSASRV]
- Fix a typo: LsarEnmuerateAccountRights --> LsarEnumerateAccountRights.
- Implement LsarEnumeratePrivileges.
svn path=/trunk/; revision=57438
Timo Kreuzer [Sat, 29 Sep 2012 22:44:48 +0000 (22:44 +0000)]
[CLASSPNP]
- Make srb volatile, since it's assigned inside SEH and referenced in finally
[NTOSKRNL]
- FsRtlTeardownPerStreamContexts: make IsMutexLocked volatile (SEH)
- IoCreateFile: Make SystemEaBuffer volatile (SEH), save status and information in the caller's IoStatusBlock, cleanup and fail when IoCheckEaBufferValidity failed with PreviousMode == KernelMode, too.
- NtLockFile: Move ExAllocatePoolWithTag out of the SEH block. ExAllocatePoolWithTag does not raise an exception by default (unlike ExAllocatePoolWithQuotaTag). Get rid of this SEH block completely and check the return value instead.
- NtQueryDirectoryFile: make AuxBuffer volatile (SEH), again move ExAllocatePoolWithTag out of the SEH block and check return value instead.
IopCaptureUnicodeString: Make Name volatile (SEH)
svn path=/trunk/; revision=57437
Amine Khaldi [Sat, 29 Sep 2012 17:50:50 +0000 (17:50 +0000)]
[BROWSEUI_WINETEST]: Sync to Wine 1.5.13.
CORE-6415
svn path=/trunk/; revision=57436
Timo Kreuzer [Sat, 29 Sep 2012 16:41:34 +0000 (16:41 +0000)]
[LAN]
Add a "comment" that will notify whoever wants to compile this poc, to move the IoCompleteRequest out of the SEH block.
svn path=/trunk/; revision=57435
Timo Kreuzer [Sat, 29 Sep 2012 16:19:30 +0000 (16:19 +0000)]
[LAN]
Improve formatting, move function comments out of the function body and convert them to javadoc / doxygen style
svn path=/trunk/; revision=57434
Timo Kreuzer [Sat, 29 Sep 2012 15:28:46 +0000 (15:28 +0000)]
[RSYM_CMAKE]
Improve the code a bit. No functional change.
svn path=/trunk/; revision=57433
Amine Khaldi [Sat, 29 Sep 2012 14:28:48 +0000 (14:28 +0000)]
[MSVCRT_WINETEST]: Sync to Wine 1.5.13.
CORE-6415
svn path=/trunk/; revision=57432
Timo Kreuzer [Sat, 29 Sep 2012 14:13:16 +0000 (14:13 +0000)]
[RSYM_CMAKE]
Improve formatting, no code change
svn path=/trunk/; revision=57431
Amine Khaldi [Sat, 29 Sep 2012 13:27:13 +0000 (13:27 +0000)]
* Shell32 (a forked module) was jealous because of shlwapi getting synced.
svn path=/trunk/; revision=57430
Timo Kreuzer [Sat, 29 Sep 2012 13:22:31 +0000 (13:22 +0000)]
[NTOSKRNL]
- Allocate a capture buffer outside of SEH in NtAddAtom and NtRaiseHardError
- Call ExpGetCurrentUserUILanguage outside of SEH in NtQueryDefaultUILanguage and return the actual result instead of returning PsInstallUILanguageId in case of success.
- Don't allocate a unicode string inside SEH in NtQuerySystemEnvironmentValue, instead use RtlAnsiStringToUnicodeString directly on the callers buffer.
CORE-6624
svn path=/trunk/; revision=57429
Amine Khaldi [Sat, 29 Sep 2012 13:14:50 +0000 (13:14 +0000)]
[SHLWAPI_WINETEST]: Sync to Wine 1.5.13.
CORE-6415
svn path=/trunk/; revision=57428
Amine Khaldi [Sat, 29 Sep 2012 13:14:20 +0000 (13:14 +0000)]
[SHLWAPI]: Sync to Wine 1.5.13.
CORE-6415
CORE-5759 #resolve #comment Fixed in r57427.
svn path=/trunk/; revision=57427
Amine Khaldi [Sat, 29 Sep 2012 11:27:12 +0000 (11:27 +0000)]
[PSDK]: Sync wintrust.h with Wine 1.5.14
CORE-6365 #resolve #comment Committed in r57425. Thanks Carlo ;)
svn path=/trunk/; revision=57425
Thomas Faber [Sat, 29 Sep 2012 11:20:25 +0000 (11:20 +0000)]
[NPFS]
- Reset read and write events directly before waiting. Fixes an issue where a read could return 0 bytes if the previous read had read all available data without waiting (thus leaving the event set).
svn path=/trunk/; revision=57424
Timo Kreuzer [Sat, 29 Sep 2012 09:26:34 +0000 (09:26 +0000)]
[DESK]
Enhance 8-bit spectrum bitmap. Patch by Lee Schroeder.
CORE-6069 #resolve
svn path=/trunk/; revision=57423
Eric Kohl [Sat, 29 Sep 2012 09:06:42 +0000 (09:06 +0000)]
[FORMATTING]
- Fix indentation.
- Remove dead code.
No code changes!
svn path=/trunk/; revision=57422
Thomas Faber [Sat, 29 Sep 2012 09:05:18 +0000 (09:05 +0000)]
[NPFS]
- Do not access ThreadContext after freeing it in NpfsWaiterThread
- Correctly update Vcb->EmptyWaiterCount when terminating in NpfsWaiterThread
- Fix more MSVC warnings, lots of DPRINTs
svn path=/trunk/; revision=57421
Eric Kohl [Sat, 29 Sep 2012 08:39:40 +0000 (08:39 +0000)]
[INCLUDE]
Fix the declarations of LsarQueryTrustedDomainInfoByName and LsarSetTrustedDomainInfoByName.
svn path=/trunk/; revision=57420
Thomas Faber [Sat, 29 Sep 2012 08:19:24 +0000 (08:19 +0000)]
[NPFS]
- Fix return status if no listening server found in NpfsCreate
- Do not use obsolete function MmGetSystemAddressForMdl
- Fix a few MSVC/GCC 4.7 warnings
- Correctly handle device/root FCB allocation failure
- Fix type of NPFS_CCB::RefCount
svn path=/trunk/; revision=57419
Timo Kreuzer [Fri, 28 Sep 2012 23:32:59 +0000 (23:32 +0000)]
[NTOSKRNL]
Fix file header. Patch by Lee Schoeder.
WDA-6701 #resolve
svn path=/trunk/; revision=57418
Eric Kohl [Fri, 28 Sep 2012 22:18:59 +0000 (22:18 +0000)]
[LSASRV]
Update LsarQueryDomainInformationPolicy and LsarSetDomainInformationPolicy according to the changes in the IDL file.
svn path=/trunk/; revision=57417
Eric Kohl [Fri, 28 Sep 2012 22:11:18 +0000 (22:11 +0000)]
[ADVAPI32]
Implement LsaGetRemoteUserName, LsaQueryDomainInformationPolicy and LsaSetDomainInformationPolicy.
svn path=/trunk/; revision=57416
Hermès Bélusca-Maïto [Fri, 28 Sep 2012 19:36:49 +0000 (19:36 +0000)]
[CMD]
- Clarify the code, no functional changes.
svn path=/trunk/; revision=57415
Hermès Bélusca-Maïto [Fri, 28 Sep 2012 19:04:37 +0000 (19:04 +0000)]
[BOOTDATA]
- Revert rev.57413. Indeed, when one boots ReactOS without debugging (selecting the first entry in the boot menu), the COM1 symbolic link (corresponding to \Device\Serial0) is created automatically by the serial driver. However, when one boots in debugging mode (selecting the second entry -- ReactOS (Debug) --), then for some reason the COM1 link isn't created (albeit \Device\Serial0 is). Therefore the real problem is elsewhere. Seems that it has something to share with http://jira.reactos.org/browse/CORE-4263
svn path=/trunk/; revision=57414
Hermès Bélusca-Maïto [Fri, 28 Sep 2012 18:46:46 +0000 (18:46 +0000)]
[BOOTDATA]
- HACK: Add artificially a symbolic link to the first COM port, because it happens for
whatever reason that the serial.sys driver doesn't create it when it creates the Serial0
device. When this functionality is repaired, the HACK shall disappear.
svn path=/trunk/; revision=57413
Hermès Bélusca-Maïto [Fri, 28 Sep 2012 12:17:23 +0000 (12:17 +0000)]
[NTOSKRNL]
- ExFreePool --> ExFreePoolWithTag in some places.
- Remove dead code (section.c)
- Free resource (sysldr.c)
svn path=/trunk/; revision=57412