reactos.git
8 years ago[SAMSRV]
Eric Kohl [Sun, 28 Oct 2012 13:53:39 +0000 (13:53 +0000)]
[SAMSRV]
Implement SamrRemoveMemberFromAlias and SamrRemoveMultipleMembersFromAlias.

svn path=/trunk/; revision=57639

8 years ago[FREELDR]
Hermès Bélusca-Maïto [Sun, 28 Oct 2012 12:32:31 +0000 (12:32 +0000)]
[FREELDR]
Really use the 'status' variable.

svn path=/trunk/; revision=57636

8 years ago- Fix build
Giannis Adamopoulos [Sun, 28 Oct 2012 10:43:48 +0000 (10:43 +0000)]
- Fix build

I wonder how ninja managed to compile this locally

svn path=/trunk/; revision=57633

8 years ago- Rewrite NtUserCreateDesktop and move the desktop thread completely in win32k like...
Giannis Adamopoulos [Sun, 28 Oct 2012 10:34:41 +0000 (10:34 +0000)]
- Rewrite NtUserCreateDesktop and move the desktop thread completely in win32k like in windows in order to let desktop objects to be destroyed
- Disable deleting the desktop heap until CORE-6729 is fixed
- See CORE-6723 for more details

svn path=/trunk/; revision=57632

8 years ago[FREELDR]
Jérôme Gardou [Sun, 28 Oct 2012 01:58:36 +0000 (01:58 +0000)]
[FREELDR]
- Use a better workaround for the objcopy bug

svn path=/trunk/; revision=57629

8 years ago[SAMSRV]
Eric Kohl [Sat, 27 Oct 2012 19:38:12 +0000 (19:38 +0000)]
[SAMSRV]
- Fix MSVC build warnings.
- Implement SamrAddMultipeMembersToAlias.
- Add missing user attributes to the user setup code.

svn path=/trunk/; revision=57626

8 years ago[win32k]
Giannis Adamopoulos [Sat, 27 Oct 2012 18:06:10 +0000 (18:06 +0000)]
[win32k]
- Double the size of the user handle table in order to allow the test suite to complete despite the horrible object leaks

svn path=/trunk/; revision=57624

8 years ago[win32k]
Giannis Adamopoulos [Sat, 27 Oct 2012 16:39:18 +0000 (16:39 +0000)]
[win32k]
- Fix WARN macros
- Keep a list of the PROCESSINFO of all the running processes
- Count how many handles a process owns per type in PROCESSINFO
- Improve the debug output when we run out of user handles to show all handle counts per process

svn path=/trunk/; revision=57623

8 years ago[GLU32]
Jérôme Gardou [Sat, 27 Oct 2012 13:44:35 +0000 (13:44 +0000)]
[GLU32]
 - From version 9.0, mesa doesn't ship the glu library anymore. It is maintained in another tree.
 - Introduce glu 9.0 to ReactOS code base.

svn path=/trunk/; revision=57621

8 years ago[USBSTOR]
Johannes Anderwald [Thu, 25 Oct 2012 17:17:25 +0000 (17:17 +0000)]
[USBSTOR]
- Don't flush srb queue because the storage stack is not ready for it yet
- Fixes crash during shutdown

svn path=/trunk/; revision=57617

8 years ago[USBHUB]
Johannes Anderwald [Thu, 25 Oct 2012 15:36:09 +0000 (15:36 +0000)]
[USBHUB]
- Partly implement IOCTL_USB_GET_NODE_CONNECTION_NAME
- Complete power irps

svn path=/trunk/; revision=57616

8 years ago[NTOSKRNL]
Johannes Anderwald [Thu, 25 Oct 2012 14:27:02 +0000 (14:27 +0000)]
[NTOSKRNL]
- Dereference the correct device object in the power completion routine
- Fixes crash with ftdibus.sys

svn path=/trunk/; revision=57615

8 years ago[CONFIGURE_SH]
Jérôme Gardou [Thu, 25 Oct 2012 13:05:30 +0000 (13:05 +0000)]
[CONFIGURE_SH]
- Add the ability to use the ninja generator with unix configure script

svn path=/trunk/; revision=57614

8 years ago[SHELL32]
Jérôme Gardou [Thu, 25 Oct 2012 00:10:20 +0000 (00:10 +0000)]
[SHELL32]
- remove invalid pointer from list in case of failure to add the icon to the image list

svn path=/trunk/; revision=57613

8 years ago[DLLS]
Jérôme Gardou [Wed, 24 Oct 2012 22:03:25 +0000 (22:03 +0000)]
[DLLS]
- Those libraries are actual DLLs

svn path=/trunk/; revision=57609

8 years ago[libjpeg]
Jérôme Gardou [Wed, 24 Oct 2012 21:49:09 +0000 (21:49 +0000)]
[libjpeg]
 - fix build

svn path=/trunk/; revision=57607

8 years ago[DLLs]
Jérôme Gardou [Wed, 24 Oct 2012 21:44:47 +0000 (21:44 +0000)]
[DLLs]
 - Don't set entrypoint to 0 for those which don't provide DllMain

svn path=/trunk/; revision=57606

8 years ago[USBHUB]
Johannes Anderwald [Wed, 24 Oct 2012 15:40:46 +0000 (15:40 +0000)]
[USBHUB]
- Implement IOCTL_USB_GET_NODE_INFORMATION, IOCTL_USB_GET_NODE_CONNECTION_INFORMATION, IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME

svn path=/trunk/; revision=57604

8 years ago[MOUHID]
Johannes Anderwald [Wed, 24 Oct 2012 09:37:08 +0000 (09:37 +0000)]
[MOUHID]
- Report absolute mouse in Flags MOUSE_INPUT_DATA member
[HIDPARSER]
- Fix data conversion when extracting unscaled data from reports
- Fixes VBOX absolute pointing device
- Tested with VBOX 4.1.22
- #Core-6553 #resolve

svn path=/trunk/; revision=57603

8 years ago[ADVAPI32]
Eric Kohl [Tue, 23 Oct 2012 21:59:43 +0000 (21:59 +0000)]
[ADVAPI32]
- Use LookupAccountNameW to retrieve the account SID when a user tries to log-on to a computer.
- Little clean-up of LogonUserW.
This is the first step to get rid of hard-coded logon stuff.

svn path=/trunk/; revision=57601

8 years ago[NTOSKRNL]
Johannes Anderwald [Tue, 23 Oct 2012 05:42:17 +0000 (05:42 +0000)]
[NTOSKRNL]
- Unregister dope (device object power extension) from volume list when device object is deleted
- Core-6691 #resolve

svn path=/trunk/; revision=57599

8 years ago[USBD]
Johannes Anderwald [Tue, 23 Oct 2012 04:54:37 +0000 (04:54 +0000)]
[USBD]
- Don't assert on invalid usb descriptor
- Core-6574

svn path=/trunk/; revision=57598

8 years ago[HIDPARSE][HIDPARSER]
Johannes Anderwald [Mon, 22 Oct 2012 21:18:30 +0000 (21:18 +0000)]
[HIDPARSE][HIDPARSER]
- Implement HidP_GetUsageValue
- Add hack to HidParser_GetScaledUsageValueWithReport
[MOUHID]
- Add partial support for absolute pointing devices
- Tested in VBOX 4.1.22 with absolute pointing devices
- Needs more work in win32k
- Core 6553

svn path=/trunk/; revision=57595

8 years ago[SAMLIB]
Eric Kohl [Mon, 22 Oct 2012 20:43:04 +0000 (20:43 +0000)]
[SAMLIB]
Implement SamRemoveMemberFromAlias, SamRemoveMemberFromForeignDomain, SamRemoveMemberFromGroup and
SamRemoveMultipleMembersFromAlias.

svn path=/trunk/; revision=57594

8 years ago[SHELL32]
Jérôme Gardou [Mon, 22 Oct 2012 13:43:03 +0000 (13:43 +0000)]
[SHELL32]
 - Add error handling when adding icons to the cache.
 - Plug more icon leaks.

svn path=/trunk/; revision=57593

8 years ago[USBSTOR][USBHUB]
Johannes Anderwald [Mon, 22 Oct 2012 11:33:26 +0000 (11:33 +0000)]
[USBSTOR][USBHUB]
- Append devobj number to device id
- Delete device objects
- Core-6598

svn path=/trunk/; revision=57592

8 years ago[SAMLIB]
Eric Kohl [Sun, 21 Oct 2012 17:51:36 +0000 (17:51 +0000)]
[SAMLIB]
- Implement SamDeleteAlias, SamDeleteGroup, SamGetGroupsForUser, SamGetMembersInGroup, SamQuerySecurityObject, SamSetMemberAttributesOfGroup and SamSetSecurityObject.
- Add stub for SamRidToSid.

svn path=/trunk/; revision=57590

8 years ago[SAMLIB]
Eric Kohl [Sat, 20 Oct 2012 15:37:42 +0000 (15:37 +0000)]
[SAMLIB]
Implement SamAddMemberToGroup, SamAddMultipleMembersToAlias and SamDeleteUser.

svn path=/trunk/; revision=57586

8 years ago[LSASRV]
Eric Kohl [Sat, 20 Oct 2012 14:21:32 +0000 (14:21 +0000)]
[LSASRV]
Rename sids.c to lookup.c because the new name fits much better.

svn path=/trunk/; revision=57585

8 years ago[LSASRV]
Eric Kohl [Sat, 20 Oct 2012 13:21:48 +0000 (13:21 +0000)]
[LSASRV]
- Change the account and domain names in the WELL_KNOWN_SID type to AccountName and DomainName.
- Implement a function to look-up fully qualified well-known names (for example "NT AUTHORITY\LOCAL SERVICE"). This kind of look-up was still missing from LsapLookupNames.
- Ensure that all well-known SIDs returned by look-up functions are copied from the list of well-known SIDs, because RPCRT4.DLL frees the SID buffers after copying the SIDs to the caller. This will corrupt the well-known SID list if pointers to the original SIDs are passed.
- Check all memory allocations.

svn path=/trunk/; revision=57581

8 years ago[WIN32K]
Jérôme Gardou [Fri, 19 Oct 2012 09:00:45 +0000 (09:00 +0000)]
[WIN32K]
 - Use GdiBlt channel for relevant functions

svn path=/trunk/; revision=57578

8 years ago[WINE]
Thomas Faber [Fri, 19 Oct 2012 05:55:45 +0000 (05:55 +0000)]
[WINE]
- Remove useless casts from unicode.h
CORE-6418 #resolve

svn path=/trunk/; revision=57577

8 years ago[BOOTDATA]
Sylvain Petreolle [Thu, 18 Oct 2012 21:51:42 +0000 (21:51 +0000)]
[BOOTDATA]
Add setupapi.dll to the KnownDlls list.
CORE-6732 #comment Quake II setup fixed in rev 57576. Patch by Lee Schroeder. #resolve

svn path=/trunk/; revision=57576

8 years ago[WIN32K]
Jérôme Gardou [Thu, 18 Oct 2012 19:33:46 +0000 (19:33 +0000)]
[WIN32K]
 - Try to fix MSVC build

svn path=/trunk/; revision=57575

8 years ago[SHELL32]
Jérôme Gardou [Thu, 18 Oct 2012 18:37:37 +0000 (18:37 +0000)]
[SHELL32]
 - cope with alpha channel when shortcut-overlaying an icon.
CORE-6099 #comment Fixed by rev 57574 #resolve

svn path=/trunk/; revision=57574

8 years ago[WIN32K]
Jérôme Gardou [Thu, 18 Oct 2012 18:27:44 +0000 (18:27 +0000)]
[WIN32K]
 - Use low level functions (IntEng*) to draw an icon.
Now mode settings change (eg. 16->32bpp) is not so ugly.

svn path=/trunk/; revision=57573

8 years ago[WIN32K]
Jérôme Gardou [Thu, 18 Oct 2012 18:26:08 +0000 (18:26 +0000)]
[WIN32K]
 - Implement EXLATEOBJ_vInitSrcMonoXlate

svn path=/trunk/; revision=57572

8 years ago[WIN32K]
Jérôme Gardou [Thu, 18 Oct 2012 18:23:47 +0000 (18:23 +0000)]
[WIN32K]
 - Add the ability to initialize an EBRUSHOBJ object without a device context

svn path=/trunk/; revision=57571

8 years ago[LSASRV]
Eric Kohl [Wed, 17 Oct 2012 20:16:06 +0000 (20:16 +0000)]
[LSASRV]
- Add well-known account names "LOCALSERVICE" and "NETWORKSERVICE" as aliases of "LOCAL SERVICE" and "NETWORKSERVICE". They can be found on a german Windows XP.
- Remove a part LsaLookupSids that returned "UNKNOWN\Test" for unknown SIDs. Was used for tests only.

svn path=/trunk/; revision=57568

8 years ago[SHELL32]
Jérôme Gardou [Tue, 16 Oct 2012 14:28:08 +0000 (14:28 +0000)]
[SHELL32]
 - Beautify some code, plug icons leak and improve error handling

svn path=/trunk/; revision=57567

8 years ago[WIDL]
Thomas Faber [Tue, 16 Oct 2012 06:43:32 +0000 (06:43 +0000)]
[WIDL]
- Forward-declare coclasses as 'class' in C++ to fix MSVC warnings. Already applied upstream.
CORE-6587 #resolve

svn path=/trunk/; revision=57566

8 years ago[CSRSS] backups/ros-csrss@57560
Hermès Bélusca-Maïto [Sun, 14 Oct 2012 11:46:22 +0000 (11:46 +0000)]
[CSRSS]
Code formatting only.

svn path=/trunk/; revision=57558

8 years ago[LSASRV]
Eric Kohl [Sun, 14 Oct 2012 10:20:59 +0000 (10:20 +0000)]
[LSASRV]
LsapLookupIsolatedNames: Add a domain entry to the referenced domain list for an unknown/unidentified domain. Its SID is the SID of the account minus the last sub-authority and its name is an empty string.

svn path=/trunk/; revision=57557

8 years ago[CSRSRV]
Hermès Bélusca-Maïto [Sat, 13 Oct 2012 20:32:44 +0000 (20:32 +0000)]
[CSRSRV]
- Remove $Id$ property.
- Correct misspellings : "othwerwise" --> "otherwise" and "(de)refence" --> "(de)reference".
- Add missing functions' documentation (from the old CSRSRV).
- Add some useful comments.

svn path=/trunk/; revision=57556

8 years ago[USER32]
Hermès Bélusca-Maïto [Sat, 13 Oct 2012 18:19:31 +0000 (18:19 +0000)]
[USER32]
- Change the French keyboard accelerators of the windows' system menu to match those of Win2k3.

svn path=/trunk/; revision=57555

8 years ago[BOOTDATA]
Sylvain Petreolle [Sat, 13 Oct 2012 16:22:48 +0000 (16:22 +0000)]
[BOOTDATA]
Clean up svn properties.

svn path=/trunk/; revision=57554

8 years ago[RAPPS]
Hermès Bélusca-Maïto [Sat, 13 Oct 2012 13:35:55 +0000 (13:35 +0000)]
[RAPPS]
- Use COM for calling SHBrowseForFolder.
- Allow choosing a directory for downloading.
- Correct a typo in the name of a function.

svn path=/trunk/; revision=57553

8 years ago[RTL]
Timo Kreuzer [Sat, 13 Oct 2012 13:32:49 +0000 (13:32 +0000)]
[RTL]
Implement LdrEnumResources

svn path=/trunk/; revision=57552

8 years ago[[NTDLL_APITEST}
Timo Kreuzer [Sat, 13 Oct 2012 13:09:15 +0000 (13:09 +0000)]
[[NTDLL_APITEST}
Fix a bug

svn path=/trunk/; revision=57551

8 years ago[NTDLL_APITEST}
Timo Kreuzer [Sat, 13 Oct 2012 13:07:17 +0000 (13:07 +0000)]
[NTDLL_APITEST}
Add tests for LdrEnumResources

svn path=/trunk/; revision=57550

8 years ago[RTL]
Timo Kreuzer [Sat, 13 Oct 2012 13:02:16 +0000 (13:02 +0000)]
[RTL]
Fix RtlEnumResources prototype

svn path=/trunk/; revision=57549

8 years ago[NDK]
Timo Kreuzer [Sat, 13 Oct 2012 12:53:09 +0000 (12:53 +0000)]
[NDK]
Add LdrEnumResources() and _LDR_ENUM_RESOURCE_INFO, fix _LDR_RESOURCE_INFO

svn path=/trunk/; revision=57548

8 years ago[WINETEST:MSVCRT][LOCALE] Locale inherently broken. Not even worth to test currently...
Mike Nordell [Fri, 12 Oct 2012 23:04:58 +0000 (23:04 +0000)]
[WINETEST:MSVCRT][LOCALE] Locale inherently broken. Not even worth to test currently (source: Amine). Disabled by ROSTESTS_91_IS_FIXED

svn path=/trunk/; revision=57547

8 years ago[ADVAPI32]
Hermès Bélusca-Maïto [Fri, 12 Oct 2012 22:12:44 +0000 (22:12 +0000)]
[ADVAPI32]
- Pre-implement InitiateSystemShutdownExW.
- Cosmetic formatting code (by me).
Patch by Lee Schroeder. See CORE-6613 for more details.

CORE-6613 #comment Committed shutdown.c.

svn path=/trunk/; revision=57546

8 years ago[ROSTESTS:WINETEST][MSHTML] add missing mshtml_ros.diff
Mike Nordell [Fri, 12 Oct 2012 22:11:14 +0000 (22:11 +0000)]
[ROSTESTS:WINETEST][MSHTML] add missing mshtml_ros.diff

svn path=/trunk/; revision=57545

8 years agoDisable correct test with ROSTESTS_81_IS_FIXED */
Mike Nordell [Fri, 12 Oct 2012 22:04:30 +0000 (22:04 +0000)]
Disable correct test with ROSTESTS_81_IS_FIXED */

svn path=/trunk/; revision=57544

8 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Fri, 12 Oct 2012 20:43:48 +0000 (20:43 +0000)]
[BOOTDATA]
Correct the SP number (==> SP1) we are reporting (currently SP1 of Windows Server 2003). The SP6 thingie was a remainder from our previous target, Windows NT 4 SP6.

svn path=/trunk/; revision=57543

8 years agoDisable test due to crash in XUL during Release call. ROSTESTS-81
Mike Nordell [Fri, 12 Oct 2012 20:29:50 +0000 (20:29 +0000)]
Disable test due to crash in XUL during Release call. ROSTESTS-81

svn path=/trunk/; revision=57542

8 years ago[WINETEST:MSXML3] [domdoc:savexml] Disable test for saving XML data until CORE_6738_I...
Mike Nordell [Fri, 12 Oct 2012 17:17:33 +0000 (17:17 +0000)]
[WINETEST:MSXML3] [domdoc:savexml] Disable test for saving XML data until CORE_6738_IS_FIXED.

svn path=/trunk/; revision=57541

8 years agoDisable test for saving XML data until '
Mike Nordell [Fri, 12 Oct 2012 17:06:28 +0000 (17:06 +0000)]
Disable test for saving XML data until '

svn path=/trunk/; revision=57540

8 years ago[WLANCONF]
Thomas Faber [Fri, 12 Oct 2012 11:40:53 +0000 (11:40 +0000)]
[WLANCONF]
- Add localization support. Patch by Lee Schroeder.
CORE-6721

svn path=/trunk/; revision=57539

8 years ago[WLANCONF]
Thomas Faber [Fri, 12 Oct 2012 10:56:08 +0000 (10:56 +0000)]
[WLANCONF]
- Fix a potential buffer overflow, fix a handle leak, fix an MSVC warning

svn path=/trunk/; revision=57538

8 years ago[WIN32K]
Jérôme Gardou [Thu, 11 Oct 2012 13:33:09 +0000 (13:33 +0000)]
[WIN32K]
 - Accept to fill a BITMAPCOREINFO structure in NtGdiGetDIBitsInternal

svn path=/trunk/; revision=57537

8 years ago[CRT]
Hermès Bélusca-Maïto [Thu, 11 Oct 2012 00:30:57 +0000 (00:30 +0000)]
[CRT]
Use a temporary buffer to parse the program's arguments, instead of using (and thus overwriting) the _a/wcmdln variable.
Fix msvcrt_apitest:CommandLine test.

CORE-6717 #comment Fixed in revision r57536. #resolve

svn path=/trunk/; revision=57536

8 years ago[GDI32]
Jérôme Gardou [Wed, 10 Oct 2012 23:05:38 +0000 (23:05 +0000)]
[GDI32]
 - Assume that the provided buffer size is maximal in GetDIBits
[WIN32K]
 - Probe buffer before writing to it
 - Fail DIB Section creation if palette creation failed

svn path=/trunk/; revision=57535

8 years ago[MSVCRT:APITEST]
Hermès Bélusca-Maïto [Wed, 10 Oct 2012 21:56:27 +0000 (21:56 +0000)]
[MSVCRT:APITEST]
Modify the test for GetModuleFileName, should work better now.

svn path=/trunk/; revision=57534

8 years ago[MSVCRT:APITEST]
Hermès Bélusca-Maïto [Wed, 10 Oct 2012 21:23:49 +0000 (21:23 +0000)]
[MSVCRT:APITEST]
Update a comment. No code changes.

svn path=/trunk/; revision=57533

8 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Wed, 10 Oct 2012 21:20:25 +0000 (21:20 +0000)]
[BOOTDATA]
Remove unneeded %SystemRoot%\bin\data value in PATH environment variable.

svn path=/trunk/; revision=57532

8 years ago[MSVCRT:APITEST]
Hermès Bélusca-Maïto [Wed, 10 Oct 2012 21:19:45 +0000 (21:19 +0000)]
[MSVCRT:APITEST]
Update CommandLine test.

svn path=/trunk/; revision=57531

8 years agoHopefully fix a MultiByteToWideChar issue with UTF8.
Mike Nordell [Wed, 10 Oct 2012 20:33:45 +0000 (20:33 +0000)]
Hopefully fix a MultiByteToWideChar issue with UTF8.

svn path=/trunk/; revision=57530

8 years agoTest for MultiByteToWideChar added. Still needs alot fleshing out.
Mike Nordell [Wed, 10 Oct 2012 19:10:49 +0000 (19:10 +0000)]
Test for MultiByteToWideChar added. Still needs alot fleshing out.

svn path=/trunk/; revision=57529

8 years ago[MSVCRT:APITEST]
Hermès Bélusca-Maïto [Tue, 9 Oct 2012 22:08:32 +0000 (22:08 +0000)]
[MSVCRT:APITEST]
Update encoding, no code changes.

svn path=/trunk/; revision=57528

8 years ago[MSVCRT:APITEST]
Hermès Bélusca-Maïto [Tue, 9 Oct 2012 22:03:50 +0000 (22:03 +0000)]
[MSVCRT:APITEST]
Move cmdline_util to CmdLineUtil and locate it in bin/data instead of bin

svn path=/trunk/; revision=57527

8 years ago[BOOTDATA-CMAKE]
Hermès Bélusca-Maïto [Tue, 9 Oct 2012 22:00:47 +0000 (22:00 +0000)]
[BOOTDATA-CMAKE]
Add a bin\data directory for holding data files which can be used for tests.

svn path=/trunk/; revision=57526

8 years ago[UNIATA]
Amine Khaldi [Tue, 9 Oct 2012 21:02:00 +0000 (21:02 +0000)]
[UNIATA]
* Sync to 0.44b4.
CORE-6563

svn path=/trunk/; revision=57525

8 years ago[MSVCRT:APITEST]
Hermès Bélusca-Maïto [Tue, 9 Oct 2012 20:56:11 +0000 (20:56 +0000)]
[MSVCRT:APITEST]
- Add a test which allows testing the command line argument lpCmdLine in WinMain function (GUI programs).

svn path=/trunk/; revision=57524

8 years ago[RASAPI32]
Amine Khaldi [Tue, 9 Oct 2012 18:58:10 +0000 (18:58 +0000)]
[RASAPI32]
CORE-6731
* Export RasGetLinkStatistics (as a stub).

svn path=/trunk/; revision=57523

8 years ago[SAMSRV]
Eric Kohl [Mon, 8 Oct 2012 22:48:08 +0000 (22:48 +0000)]
[SAMSRV]
Make the SamIFree routines clean-up properly.

svn path=/trunk/; revision=57522

8 years ago[LSASRV]
Eric Kohl [Mon, 8 Oct 2012 22:45:47 +0000 (22:45 +0000)]
[LSASRV]
Don't stop searching if a name or SID could not be mapped yet.

svn path=/trunk/; revision=57521

8 years ago[LSASRV]
Eric Kohl [Mon, 8 Oct 2012 19:23:06 +0000 (19:23 +0000)]
[LSASRV]
- Add missing SAM domain lookup code.
- Fix a bug in the calls to SamrCloseHandle.

svn path=/trunk/; revision=57520

8 years ago[CSQ]
Thomas Faber [Mon, 8 Oct 2012 10:11:42 +0000 (10:11 +0000)]
[CSQ]
- Do not complete IRP while likely holding a spinlock

svn path=/trunk/; revision=57519

8 years ago[RTL]
Timo Kreuzer [Sun, 7 Oct 2012 21:36:50 +0000 (21:36 +0000)]
[RTL]
- Fix a bug in RtlAreAnyAccessesGranted
- Fix an MSVC warning in RtlEqualPrefixSid

[CRT]
- Fix an MSVC warning in _ui64tow_s

[NTOSKRNL]
- DPRINT the filename when MmLoadSystemImage fails
- Fix a few MSVC warnings

svn path=/trunk/; revision=57518

8 years ago[LSASRV]
Eric Kohl [Sun, 7 Oct 2012 18:33:48 +0000 (18:33 +0000)]
[LSASRV]
Implement lookup of accounts in the account domain of the SAM database. The advapi32 security winetest shows proper domain and account names for the administrator and guest SIDs.

svn path=/trunk/; revision=57517

8 years ago[SAMSRV]
Eric Kohl [Sun, 7 Oct 2012 17:38:16 +0000 (17:38 +0000)]
[SAMSRV]
Implement SamIFree_SAMPR_RETURNED_USTRING_ARRAY and SamIFree_SAMPR_ULONG_ARRAY.
These functions are used to free structures that were allocated by calls to Samr-functions.

svn path=/trunk/; revision=57516

8 years ago[APITEST:NTDLL]
Hermès Bélusca-Maïto [Sun, 7 Oct 2012 14:17:37 +0000 (14:17 +0000)]
[APITEST:NTDLL]
Add a parameter for displaying the current test number when something fails.

svn path=/trunk/; revision=57515

8 years ago[NTOSKRNL]
Hermès Bélusca-Maïto [Sun, 7 Oct 2012 14:16:13 +0000 (14:16 +0000)]
[NTOSKRNL]
In NtQuerySystemEnvironmentValue :
- Use a fixed-length buffer size for holding a temporary variable.
- Correct the pool TAG.

svn path=/trunk/; revision=57514

8 years ago[APITEST:NTDLL]
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

8 years ago[APITEST:NTDLL]
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

8 years ago[LSASRV]
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

8 years ago[WIN32K]
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

8 years ago[GDI32]
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

8 years ago[LSASRV]
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

8 years ago[WIN32K][USER32]
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

8 years ago[NTOSKRNL]
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

8 years ago[WIN32K]
Timo Kreuzer [Sat, 6 Oct 2012 20:15:36 +0000 (20:15 +0000)]
[WIN32K]
Use ExAllocatePoolWithTag instead of ExAllocatePool

svn path=/trunk/; revision=57505

8 years ago[NTOSKRNL]
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

8 years ago[LSASRV]
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

8 years ago[WIN32K]
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

8 years ago[WIN32K]
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

8 years ago[NTOSKRNL]
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