Commit graph

52092 commits

Author SHA1 Message Date
Timo Kreuzer
49cb1d4f85 [RTL]
Fix RtlEnumResources prototype

svn path=/trunk/; revision=57549
2012-10-13 13:02:16 +00:00
Timo Kreuzer
915203ec64 [NDK]
Add LdrEnumResources() and _LDR_ENUM_RESOURCE_INFO, fix _LDR_RESOURCE_INFO

svn path=/trunk/; revision=57548
2012-10-13 12:53:09 +00:00
Mike Nordell
5aec772bbd [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
2012-10-12 23:04:58 +00:00
Hermès Bélusca-Maïto
c3e3d4003d [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
2012-10-12 22:12:44 +00:00
Mike Nordell
8c8afce2e4 [ROSTESTS:WINETEST][MSHTML] add missing mshtml_ros.diff
svn path=/trunk/; revision=57545
2012-10-12 22:11:14 +00:00
Mike Nordell
0c051e6759 Disable correct test with ROSTESTS_81_IS_FIXED */
svn path=/trunk/; revision=57544
2012-10-12 22:04:30 +00:00
Hermès Bélusca-Maïto
ddc09319e0 [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
2012-10-12 20:43:48 +00:00
Mike Nordell
9dbea6ef18 Disable test due to crash in XUL during Release call. ROSTESTS-81
svn path=/trunk/; revision=57542
2012-10-12 20:29:50 +00:00
Mike Nordell
b2906fe16e [WINETEST:MSXML3] [domdoc:savexml] Disable test for saving XML data until CORE_6738_IS_FIXED.
svn path=/trunk/; revision=57541
2012-10-12 17:17:33 +00:00
Mike Nordell
336501f3f2 Disable test for saving XML data until '
svn path=/trunk/; revision=57540
2012-10-12 17:06:28 +00:00
Thomas Faber
4ea59af31f [WLANCONF]
- Add localization support. Patch by Lee Schroeder.
CORE-6721

svn path=/trunk/; revision=57539
2012-10-12 11:40:53 +00:00
Thomas Faber
4377ed8869 [WLANCONF]
- Fix a potential buffer overflow, fix a handle leak, fix an MSVC warning

svn path=/trunk/; revision=57538
2012-10-12 10:56:08 +00:00
Jérôme Gardou
9971415df5 [WIN32K]
- Accept to fill a BITMAPCOREINFO structure in NtGdiGetDIBitsInternal

svn path=/trunk/; revision=57537
2012-10-11 13:33:09 +00:00
Hermès Bélusca-Maïto
1c4b5304f6 [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
2012-10-11 00:30:57 +00:00
Jérôme Gardou
79ff1e973a [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
2012-10-10 23:05:38 +00:00
Hermès Bélusca-Maïto
833bace73a [MSVCRT:APITEST]
Modify the test for GetModuleFileName, should work better now.

svn path=/trunk/; revision=57534
2012-10-10 21:56:27 +00:00
Hermès Bélusca-Maïto
a25199df2a [MSVCRT:APITEST]
Update a comment. No code changes.

svn path=/trunk/; revision=57533
2012-10-10 21:23:49 +00:00
Hermès Bélusca-Maïto
19ae6e426e [BOOTDATA]
Remove unneeded %SystemRoot%\bin\data value in PATH environment variable.

svn path=/trunk/; revision=57532
2012-10-10 21:20:25 +00:00
Hermès Bélusca-Maïto
f79835bb73 [MSVCRT:APITEST]
Update CommandLine test.

svn path=/trunk/; revision=57531
2012-10-10 21:19:45 +00:00
Mike Nordell
1e497aedf1 Hopefully fix a MultiByteToWideChar issue with UTF8.
svn path=/trunk/; revision=57530
2012-10-10 20:33:45 +00:00
Mike Nordell
335fb884d4 Test for MultiByteToWideChar added. Still needs alot fleshing out.
svn path=/trunk/; revision=57529
2012-10-10 19:10:49 +00:00
Hermès Bélusca-Maïto
7dd746b9cb [MSVCRT:APITEST]
Update encoding, no code changes.

svn path=/trunk/; revision=57528
2012-10-09 22:08:32 +00:00
Hermès Bélusca-Maïto
4690bf4891 [MSVCRT:APITEST]
Move cmdline_util to CmdLineUtil and locate it in bin/data instead of bin

svn path=/trunk/; revision=57527
2012-10-09 22:03:50 +00:00
Hermès Bélusca-Maïto
2a41d13595 [BOOTDATA-CMAKE]
Add a bin\data directory for holding data files which can be used for tests.

svn path=/trunk/; revision=57526
2012-10-09 22:00:47 +00:00
Amine Khaldi
a0d3578e63 [UNIATA]
* Sync to 0.44b4.
CORE-6563

svn path=/trunk/; revision=57525
2012-10-09 21:02:00 +00:00
Hermès Bélusca-Maïto
6dacc020db [MSVCRT:APITEST]
- Add a test which allows testing the command line argument lpCmdLine in WinMain function (GUI programs).

svn path=/trunk/; revision=57524
2012-10-09 20:56:11 +00:00
Amine Khaldi
bc8c82214e [RASAPI32]
CORE-6731
* Export RasGetLinkStatistics (as a stub).

svn path=/trunk/; revision=57523
2012-10-09 18:58:10 +00:00
Eric Kohl
b482b17177 [SAMSRV]
Make the SamIFree routines clean-up properly.

svn path=/trunk/; revision=57522
2012-10-08 22:48:08 +00:00
Eric Kohl
372bc3ee16 [LSASRV]
Don't stop searching if a name or SID could not be mapped yet.

svn path=/trunk/; revision=57521
2012-10-08 22:45:47 +00:00
Eric Kohl
0c8e74cb1c [LSASRV]
- Add missing SAM domain lookup code.
- Fix a bug in the calls to SamrCloseHandle.

svn path=/trunk/; revision=57520
2012-10-08 19:23:06 +00:00
Thomas Faber
a6127a1deb [CSQ]
- Do not complete IRP while likely holding a spinlock

svn path=/trunk/; revision=57519
2012-10-08 10:11:42 +00:00
Timo Kreuzer
ce4ac4fb98 [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
2012-10-07 21:36:50 +00:00
Eric Kohl
6097ae49f8 [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
2012-10-07 18:33:48 +00:00
Eric Kohl
3c50db37b6 [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
2012-10-07 17:38:16 +00:00
Hermès Bélusca-Maïto
9050f658d1 [APITEST:NTDLL]
Add a parameter for displaying the current test number when something fails.

svn path=/trunk/; revision=57515
2012-10-07 14:17:37 +00:00
Hermès Bélusca-Maïto
ee0de5e843 [NTOSKRNL]
In NtQuerySystemEnvironmentValue :
- Use a fixed-length buffer size for holding a temporary variable.
- Correct the pool TAG.

svn path=/trunk/; revision=57514
2012-10-07 14:16:13 +00:00
Hermès Bélusca-Maïto
02affbb318 [APITEST:NTDLL]
Improve the code.

svn path=/trunk/; revision=57513
2012-10-07 12:46:44 +00:00
Hermès Bélusca-Maïto
f527bc83ef [APITEST:NTDLL]
Add a test for the NtQuerySystemEnvironmentValue API.
Tested successfully under Win2k3 SP1 and Win7.

svn path=/trunk/; revision=57512
2012-10-07 12:31:13 +00:00
Eric Kohl
1c7cd63a6f [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
2012-10-07 12:10:45 +00:00
Timo Kreuzer
4bebb78d5e [WIN32K]
Fix missing colorTriple increment when creating the color table in GreGetDIBitsInternal.

svn path=/trunk/; revision=57510
2012-10-07 10:03:31 +00:00
Timo Kreuzer
35de366b5b [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
2012-10-07 09:35:32 +00:00
Eric Kohl
31f030ee98 [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
2012-10-07 09:18:23 +00:00
Timo Kreuzer
0c4428ca06 [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
2012-10-07 08:43:54 +00:00
Hermès Bélusca-Maïto
9c2bfc5ecd [NTOSKRNL]
Some ExFreePool -> ExFreePoolWithTag

CORE-6725 #resolve #comment Committed in r57506.

svn path=/trunk/; revision=57506
2012-10-06 21:42:19 +00:00
Timo Kreuzer
dfbde4a0d6 [WIN32K]
Use ExAllocatePoolWithTag instead of ExAllocatePool

svn path=/trunk/; revision=57505
2012-10-06 20:15:36 +00:00
Hermès Bélusca-Maïto
83f3d18dee [NTOSKRNL]
Rearrange the NtQuerySystemEnvironmentValue code to have successive logical checks.

svn path=/trunk/; revision=57504
2012-10-06 19:50:17 +00:00
Eric Kohl
d59abae163 [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
2012-10-06 19:37:10 +00:00
Timo Kreuzer
39cb83bab8 [WIN32K]
Use ExFreePoolWithTag instead of ExFreePool in SpiNotifyNCMetricsChanged.
Fixes CID 716644

svn path=/trunk/; revision=57502
2012-10-06 19:24:14 +00:00
Timo Kreuzer
56a85aba5e [WIN32K]
- Keep an additional reference while processing the message list of a message queue
- CID 716808

svn path=/trunk/; revision=57501
2012-10-06 19:04:36 +00:00
Hermès Bélusca-Maïto
5ff7896120 [NTOSKRNL]
Use TAG_FSTUB instead of 'BtsF'

svn path=/trunk/; revision=57500
2012-10-06 18:49:23 +00:00