reactos.git
11 years ago[CSRSRV]
Hermès Bélusca-Maïto [Sat, 27 Oct 2012 14:30:32 +0000 (14:30 +0000)]
[CSRSRV]
Code formatting only.

svn path=/branches/ros-csrss/; revision=57622

11 years ago[CONSRV/WINSRV]
Hermès Bélusca-Maïto [Thu, 25 Oct 2012 22:14:46 +0000 (22:14 +0000)]
[CONSRV/WINSRV]
- Fix structures usage and headers inclusions.
- Make winsrv compile.
- Deactivate some code related to processes enumeration (for testing purposes).

svn path=/branches/ros-csrss/; revision=57620

11 years ago[CSR/CONSRV/WINSRV]
Hermès Bélusca-Maïto [Thu, 25 Oct 2012 21:37:52 +0000 (21:37 +0000)]
[CSR/CONSRV/WINSRV]
- Move some structures to better place, fix code.

svn path=/branches/ros-csrss/; revision=57619

11 years ago[CSR/BASESRV/CONSRV/WINSRV]
Hermès Bélusca-Maïto [Thu, 25 Oct 2012 20:40:41 +0000 (20:40 +0000)]
[CSR/BASESRV/CONSRV/WINSRV]
- Fix code headers. No code changes.
- Rename csrcl.h to csr.h for readability purposes.
- exitros.c --> shutdown.c

svn path=/branches/ros-csrss/; revision=57618

11 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Wed, 24 Oct 2012 23:35:35 +0000 (23:35 +0000)]
[BOOTDATA]
- Add winsrv and consrv to the Win32 subsystem command line. Keep win32csr but move it to another Server ID (till it disappears).

svn path=/branches/ros-csrss/; revision=57612

11 years ago[WINSRV/WIN32CSR]
Hermès Bélusca-Maïto [Wed, 24 Oct 2012 23:19:54 +0000 (23:19 +0000)]
[WINSRV/WIN32CSR]
- Move the last APIs which should be in winsrv and remove unneeded files and resources from win32csr. Keep only the desktop things.
- I'm waiting for the patch of Giannis which would act on win32csr, then I will transfer the needed changes into winsrv and I will remove definitively win32csr.
At the moment, winsrv doesn't compile, but win32csr does.

svn path=/branches/ros-csrss/; revision=57611

11 years ago[CSRSRV/WINSRV]
Hermès Bélusca-Maïto [Wed, 24 Oct 2012 22:07:46 +0000 (22:07 +0000)]
[CSRSRV/WINSRV]
- Move the last User CSR api which was in csrsrv instead of in winsrv.
- Remove unneeded file.

svn path=/branches/ros-csrss/; revision=57610

11 years ago[WINSRV]
Hermès Bélusca-Maïto [Wed, 24 Oct 2012 21:54:45 +0000 (21:54 +0000)]
[WINSRV]
Add some resources.

[CONSRV/WIN32CSR]
Fix resources ids.

svn path=/branches/ros-csrss/; revision=57608

11 years ago[CSRSRV/BASESRV/CONSRV/WIN32CSR/WINSRV]
Hermès Bélusca-Maïto [Wed, 24 Oct 2012 21:37:22 +0000 (21:37 +0000)]
[CSRSRV/BASESRV/CONSRV/WIN32CSR/WINSRV]
- Fix resource files strings, headers, delete unuseful files... Nothing interesting.
- Add winsrv to build.

svn path=/branches/ros-csrss/; revision=57605

11 years ago[CONSRV]
Hermès Bélusca-Maïto [Tue, 23 Oct 2012 22:31:36 +0000 (22:31 +0000)]
[CONSRV]
- Add consrv to compilation. It compiles now \o/
- Convert the used console-csrss structures to the new ones.

[CSR]
- Continue to move some structures, and temporary activate a symbol.

[WIN32CSR]
- Clean a header.

svn path=/branches/ros-csrss/; revision=57602

11 years agoSynchronize with trunk's revision r57599.
Hermès Bélusca-Maïto [Tue, 23 Oct 2012 19:54:03 +0000 (19:54 +0000)]
Synchronize with trunk's revision r57599.

svn path=/branches/ros-csrss/; revision=57600

11 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

11 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

11 years ago[CONSRV/WIN32CSR]
Hermès Bélusca-Maïto [Mon, 22 Oct 2012 23:55:51 +0000 (23:55 +0000)]
[CONSRV/WIN32CSR]
- Move all the console subsystem from win32csr to a new server dll called consrv.dll (instead of putting it directly to winsrv.dll). It's because I want to rework on this later on.
Many things must be done in order to achieve the moving (renaming functions, etc...). Tables & symbol names come from http://j00ru.vexillium.org/csrss_list/api_list.html as usual,
but here I took the Win 2k3 ones and I added few Win 7 functions which already existed in our codebase. The other table names are guessed based on what originally existed in csrsrv
and so on. Many stubs are also missing.
Cultural remark: consrv.dll originally existed in Beta releases of Windows NT 3.1 (e.g. the October 1991 one), but was soon merged with winsrv.dll and thus, in subsequent versions of
Windows, the console subsystem is also found in winsrv.dll. See http://www.logotypes.se/NT310CSRSS.txt and http://j00ru.vexillium.org/?p=349#comment-1883. One has to wait until
Windows 7 to see it moving again to conhost.exe.

[CSRSRV]
- Add an explanation comment on what the ValidTable member in the CSR_SERVER_DLL structure is for.

svn path=/branches/ros-csrss/; revision=57597

11 years ago[BASESRV]
Hermès Bélusca-Maïto [Mon, 22 Oct 2012 23:37:07 +0000 (23:37 +0000)]
[BASESRV]
- Remove an unneeded cmake comment.

[CSRSRV]
- Compile the resource file.

svn path=/branches/ros-csrss/; revision=57596

11 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

11 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

11 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

11 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

11 years ago[NTDLL]
Hermès Bélusca-Maïto [Mon, 22 Oct 2012 00:09:51 +0000 (00:09 +0000)]
[NTDLL]
- Fix a variable and a header names.

[CSR]
- Move all the interesting code from the "old" csrsrv (see r57579) to the new one. TODO: finish to reorganize the code.
- Rename the headers to a standard naming I will use for the other server dlls.
- Remove now unneeded files.
(one can sometimes find commented names next to declaration of variables: it is when a variable name doesn't satisfy me because it isn't enough self-explaining for my taste).

[CONSOLE]
- Add a new header for console working (win32csr --> consrv.dll == the console part of winsrv.dll I separate from it, because I plan a profound reworking on the console after all that).

svn path=/branches/ros-csrss/; revision=57591

11 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

11 years ago[BASESRV]
Hermès Bélusca-Maïto [Sun, 21 Oct 2012 17:18:33 +0000 (17:18 +0000)]
[BASESRV]
- Compile basesrv and add headers.
Some other things are missing yet.

svn path=/branches/ros-csrss/; revision=57589

11 years ago[BASESRV]
Hermès Bélusca-Maïto [Sat, 20 Oct 2012 21:04:51 +0000 (21:04 +0000)]
[BASESRV]
Forget two files.

svn path=/branches/ros-csrss/; revision=57588

11 years ago[NTDLL/KERNEL32]
Hermès Bélusca-Maïto [Sat, 20 Oct 2012 21:03:32 +0000 (21:03 +0000)]
[NTDLL/KERNEL32]
- Use new naming scheme.

[CSRSRV]
- Continuing headers reorganization.
- Activate new code.

[CSRSRV/WIN32CSR]
- Move some code into basesrv.

[BASESRV]
- Add basesrv.dll
The names of the APIs tables come from http://j00ru.vexillium.org/csrss_list/api_list.html as usual,
however I used the NT 4 ones for testing purposes only. After that I will update them to 2k3 version
and add function stubs. Also some variable names are deduced from the subsystems/win32/csrss/csrsrv/server.c ones.

svn path=/branches/ros-csrss/; revision=57587

11 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

11 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

11 years ago[NTDLL]
Hermès Bélusca-Maïto [Sat, 20 Oct 2012 14:10:50 +0000 (14:10 +0000)]
[NTDLL]
- Activate new code (but keep the old one for the moment).

svn path=/branches/ros-csrss/; revision=57584

11 years ago[CSRSRV]
Hermès Bélusca-Maïto [Sat, 20 Oct 2012 14:07:04 +0000 (14:07 +0000)]
[CSRSRV]
- Start renaming some APIs which should not be present there, but in basesrv instead.
Names come from http://j00ru.vexillium.org/csrss_list/api_list.html#Windows_2k3

svn path=/branches/ros-csrss/; revision=57583

11 years ago[CSRSS/CSRSRV]
Hermès Bélusca-Maïto [Sat, 20 Oct 2012 13:28:09 +0000 (13:28 +0000)]
[CSRSS/CSRSRV]
- Reorganize the source code tree.

(Branch build still broken)

svn path=/branches/ros-csrss/; revision=57582

11 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

11 years ago[CSRSS/CSRSRV]
Hermès Bélusca-Maïto [Sat, 20 Oct 2012 13:00:41 +0000 (13:00 +0000)]
[CSRSS/CSRSRV]
- Rename ProcessDataLock to CsrProcessLock (as it was in the "old" csrsrv, see r57579).
- Merge the APIs from the "old" csrsrv (subsystems/csr , see r57579) with the other ones (subsystems/win32/csrss/csrsrv).
- Reorganize the functions into Private & Public functions.
- Add temporary comments.
- Start removing things which should be present in basesrv instead of in csrsrv.

This breaks build of this branch at the moment...

svn path=/branches/ros-csrss/; revision=57580

11 years ago[CSR]
Hermès Bélusca-Maïto [Fri, 19 Oct 2012 20:14:47 +0000 (20:14 +0000)]
[CSR]
Remove old csrss.

svn path=/branches/ros-csrss/; revision=57579

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years ago[NTDLL/KERNEL32/CSRSRV/WIN32K/USER32/WIN32CSR]
Hermès Bélusca-Maïto [Wed, 17 Oct 2012 23:10:40 +0000 (23:10 +0000)]
[NTDLL/KERNEL32/CSRSRV/WIN32K/USER32/WIN32CSR]
- Use the new messaging structures and the new macros, plus the new CSR_API function's signature (--> and rename some variables).
- Code cleaning & formatting.

[CSRSS/NDK]
- Reorganize all the header files in logical units (server.h for server-side of CSR, client.h for client-side, and msg.h for messaging), removing duplicated definitions.
- Code cleaning & formatting.

The next step would be to activate the code of server-dll loading inside csrsrv, then moving all the console-related APIs from win32csr to winsrv, the latter built with the same structure as csrsrv's.

svn path=/branches/ros-csrss/; revision=57570

11 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Wed, 17 Oct 2012 22:19:29 +0000 (22:19 +0000)]
[BOOTDATA]
Revert r57562; it is better to perform tests...

svn path=/branches/ros-csrss/; revision=57569

11 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

11 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

11 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

11 years ago- Use only the cmd.exe as a shell.
Hermès Bélusca-Maïto [Sun, 14 Oct 2012 13:53:59 +0000 (13:53 +0000)]
- Use only the cmd.exe as a shell.
- Deactivate compilation of the (optional) applications and of explorer(_new).exe

svn path=/branches/ros-csrss/; revision=57562

11 years agoCreate a branch for working on csrss and co.
Hermès Bélusca-Maïto [Sun, 14 Oct 2012 13:04:31 +0000 (13:04 +0000)]
Create a branch for working on csrss and co.

svn path=/branches/ros-csrss/; revision=57561

11 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

11 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

11 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

11 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

11 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

11 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

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

svn path=/trunk/; revision=57552

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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