Johannes Anderwald [Wed, 28 Sep 2016 20:31:32 +0000 (20:31 +0000)]
[USBAUDIO]
- implement USBAudioSelectAudioStreamingInterface
svn path=/trunk/; revision=72843
Hermès Bélusca-Maïto [Wed, 28 Sep 2016 20:22:33 +0000 (20:22 +0000)]
Addendum to r72841.
svn path=/trunk/; revision=72842
Hermès Bélusca-Maïto [Wed, 28 Sep 2016 20:21:31 +0000 (20:21 +0000)]
Use set_module_type() with module type == "module" instead of specifying that the entrypoint is 0, for resource-only dlls.
svn path=/trunk/; revision=72841
Dmitry Chapyshev [Wed, 28 Sep 2016 19:53:43 +0000 (19:53 +0000)]
[KERNEL32] Add check for Flags parameter.
* Fixes 124 tests for kernel32:WideCharToMultiByte
svn path=/trunk/; revision=72840
Dmitry Chapyshev [Wed, 28 Sep 2016 19:01:10 +0000 (19:01 +0000)]
[NTOS:FSRTL] Rework FsRtlIsDbcsInExpression for correct parsing some expressions
* Fixes 1 test for kmtest:FsRtlExpression
svn path=/trunk/; revision=72839
Mark Jansen [Wed, 28 Sep 2016 17:33:36 +0000 (17:33 +0000)]
[KERNEL32] Mute WC_COMPOSITECHECK DPRINT1. CORE-12058 #resolve
svn path=/trunk/; revision=72838
James Tabor [Wed, 28 Sep 2016 16:51:53 +0000 (16:51 +0000)]
[Win32SS]
- Fix menu crash, marking the menu object destroyed if the access count is more than one. Must remember these are not GDI objects. Expect a retooling of user objects soon. Set CORE-11892.
svn path=/trunk/; revision=72837
Amine Khaldi [Wed, 28 Sep 2016 14:27:48 +0000 (14:27 +0000)]
[IPHLPAPI_APITEST] Add some tests for GetNetworkParams. By Peter Hater. ROSTESTS-244
svn path=/trunk/; revision=72836
Dmitry Chapyshev [Tue, 27 Sep 2016 23:00:20 +0000 (23:00 +0000)]
[NTOS:FSRTL] Rework FsRtlIsNameInExpressionPrivate for correct parsing some expressions
* Fixes 1 test for kmtest:FsRtlExpression and 15 tests for kernel32:file
svn path=/trunk/; revision=72835
Giannis Adamopoulos [Tue, 27 Sep 2016 22:53:39 +0000 (22:53 +0000)]
[SHELL32]
- CDesktopBrowser: Implement support for multiple monitors. This needs to be disabled since we don't support LVM_SETWORKAREAS in comctl32 yet. Till then confine the desktop window in the default monitor.
svn path=/trunk/; revision=72834
Johannes Anderwald [Tue, 27 Sep 2016 19:56:54 +0000 (19:56 +0000)]
[USBAUDIO]
- improve guid mess a bit
- thanks amine
svn path=/trunk/; revision=72833
Johannes Anderwald [Tue, 27 Sep 2016 19:20:00 +0000 (19:20 +0000)]
[USBAUDIO]
- implement USBAudioFilterCreate
- partly implement USBAudioPinCreate, USBAudioPinSetDataFormat
svn path=/trunk/; revision=72832
Amine Khaldi [Tue, 27 Sep 2016 18:37:45 +0000 (18:37 +0000)]
[PING] Minor fixes by Tim Crawford. Please see CORE-12022 for the list of changes.
svn path=/trunk/; revision=72831
Mark Jansen [Tue, 27 Sep 2016 18:20:20 +0000 (18:20 +0000)]
[ATL_APITEST] Remove dependency on rpcrt4. CORE-10029
svn path=/trunk/; revision=72830
Amine Khaldi [Tue, 27 Sep 2016 18:00:03 +0000 (18:00 +0000)]
[DNSAPI_APITEST] Add some tests for DnsQuery_A/W. By Peter Hater. ROSTESTS-242
svn path=/trunk/; revision=72829
Thomas Faber [Tue, 27 Sep 2016 17:14:39 +0000 (17:14 +0000)]
[SHELL32]
- Work around what appears to be a bug in the VS 2010 resource compiler (it failed without an error message when processing this file)
svn path=/trunk/; revision=72828
Thomas Faber [Tue, 27 Sep 2016 16:51:39 +0000 (16:51 +0000)]
[ATL_APITEST]
- Fix MSVC build
svn path=/trunk/; revision=72827
Daniel Reimer [Tue, 27 Sep 2016 05:46:09 +0000 (05:46 +0000)]
[RAPPS]
ooops
svn path=/trunk/; revision=72826
James Tabor [Tue, 27 Sep 2016 01:14:49 +0000 (01:14 +0000)]
[NtUser]
- Need more information from callbacks.
svn path=/trunk/; revision=72825
Hermès Bélusca-Maïto [Mon, 26 Sep 2016 22:52:04 +0000 (22:52 +0000)]
[USERINIT]: Addendum to r72823 (sorry for the redundant commits): Fix a use without initialization warning for the 'Success' variable: initialize it to TRUE so that we by default do not perform the main menu loop (in livecd mode).
svn path=/trunk/; revision=72824
Hermès Bélusca-Maïto [Mon, 26 Sep 2016 22:49:13 +0000 (22:49 +0000)]
[USERINIT]: Usability commit: when in LiveCD mode, if we cannot start the shell or the installer, display again the main menu.
svn path=/trunk/; revision=72823
Hermès Bélusca-Maïto [Mon, 26 Sep 2016 22:47:25 +0000 (22:47 +0000)]
[USERINIT]: Addendum to r72821 + demote to WARNing the displayed message if the installer could not be started.
svn path=/trunk/; revision=72822
Hermès Bélusca-Maïto [Mon, 26 Sep 2016 22:42:56 +0000 (22:42 +0000)]
[USERINIT]
- Use explicit unicode functions where possible.
- Use ARRAYSIZE(foo) instead of sizeof(foo)/sizeof(foo[0]).
- Don't hardcode some buffer sizes.
- Try reducing level of code indentation in some functions.
- Make StartShell and StartInstaller return a boolean (TRUE: success; FALSE: failure). Will be needed in the next commit.
- Remove a useless "#pragma warning".
svn path=/trunk/; revision=72821
Mark Jansen [Mon, 26 Sep 2016 20:50:36 +0000 (20:50 +0000)]
[ATL][ATL_APITEST] Implement some basic functionality for CComVariant + tests. CORE-12041
Also adds Detach() to CComBSTR.
svn path=/trunk/; revision=72820
Benedikt Freisen [Mon, 26 Sep 2016 19:53:42 +0000 (19:53 +0000)]
[MSPAINT]
- port load and save to ATL::CImage
- let CImage generate the filter lists for the dialogs
- add menu entries "From Scanner or Camera..." and "Send..." (no functionality)
- add menu entries for most recently used files using ATL::CPath and ATL::CString
- manage list of most recently used files in registry using ATL::CRegKey
- use CString in some places instead of TCHAR arrays
Use of CImage for load/save adds support for all GDI+ formats but breaks import/export of dots per meter/inch values.
svn path=/trunk/; revision=72819
Benedikt Freisen [Mon, 26 Sep 2016 19:15:40 +0000 (19:15 +0000)]
[ATL][ROSTESTS] Tests for: CImage: Add GetImporterFilterString and GetExporterFilterString. Patch by Katayama Hirofumi MZ, CORE-10029
svn path=/trunk/; revision=72818
Benedikt Freisen [Mon, 26 Sep 2016 19:08:20 +0000 (19:08 +0000)]
[ATL] CImage: Add GetImporterFilterString and GetExporterFilterString. Patch by Katayama Hirofumi MZ, CORE-10029
svn path=/trunk/; revision=72817
Daniel Reimer [Mon, 26 Sep 2016 18:42:16 +0000 (18:42 +0000)]
[RAPPS]
Bugfix to correctly identify the size of the programs in RAPPS for the Russian language by amber
CORE-11847 #resolve #comment Committed, thx.
App Manager - NirLauncher has a broken link by Ken Rochard
CORE-11718 #resolve #comment Committed, thx.
App Manager - Audacity has a broken link by Ken Rochard
CORE-11719 #resolve #comment Committed, thx.
Downgrade Python 3.5 to Python 3.4 (if it works) in Rapps by David Kleuker
CORE-11342 #resolve #comment Committed, thx.
App Manager - Libre Office 5.1.3 has a broken link by Ken Rochard
CORE-11670 #resolve #comment Committed, thx.
[RAPPS-DB] Click-N-Type Virtual Keyboard version is wrong by reactosfanboy
CORE-11243 #resolve #comment Committed, thx.
svn path=/trunk/; revision=72816
Benedikt Freisen [Mon, 26 Sep 2016 17:50:07 +0000 (17:50 +0000)]
[ATL]
- implement CStringT::LoadString(UINT nID) via LoadString(_AtlBaseModule.GetResourceInstance(), nID)
[FLTMC]
- add target_link_libraries(fltmc atlnew) so that the linker finds _AtlBaseModule
svn path=/trunk/; revision=72815
Eric Kohl [Mon, 26 Sep 2016 16:28:10 +0000 (16:28 +0000)]
[LSASRV]
Store the domain name and user SID in the session too.
svn path=/trunk/; revision=72814
Benedikt Freisen [Mon, 26 Sep 2016 14:11:50 +0000 (14:11 +0000)]
[ATL] cstringt.h: Uncomment and complete Format(UINT nFormatID, ...). It still uses a LoadString-stub, though.
svn path=/trunk/; revision=72813
Dmitry Chapyshev [Mon, 26 Sep 2016 12:31:26 +0000 (12:31 +0000)]
[NTOS:KE] Use variable instead function calling
svn path=/trunk/; revision=72812
Dmitry Chapyshev [Mon, 26 Sep 2016 12:03:57 +0000 (12:03 +0000)]
[NTOS:KE] Added *Thread versions of macros with ASSERT(_Thread == KeGetCurrentThread()). Use new macros in _KeAcquireGuardedMutex, _KeReleaseGuardedMutex, _KeTryToAcquireGuardedMutex. Thanks Alex!
svn path=/trunk/; revision=72811
Thomas Faber [Mon, 26 Sep 2016 10:12:58 +0000 (10:12 +0000)]
[KERNEL32]
- Handle UTF-16 surrogate pairs in IntWideCharToMultiByteUTF8.
CORE-12042 #resolve
svn path=/trunk/; revision=72810
Thomas Faber [Mon, 26 Sep 2016 10:06:55 +0000 (10:06 +0000)]
[KERNEL32_APITEST]
- Add a test for WideCharToMultiByte with CP_UTF8
CORE-12042
svn path=/trunk/; revision=72809
Giannis Adamopoulos [Mon, 26 Sep 2016 00:43:21 +0000 (00:43 +0000)]
[SHELL32]
- CDefView: Overhaul the code that filled the menu bar of explorer. Fill the arrange as menu with the column names from the shell folders instead of hardcoding them. Check the selected arrange mode and view mode in the menu bar and in the context menu. Make the items in the file menu to actually work. It is possible to arrange the icons from the context menu now.
- Note to translators: Please check that the changes that I did in the 31 resource files make sense. Also note that the "Arrange Icons" menu now is called "Arrange Icons As".
svn path=/trunk/; revision=72808
Robert Naumann [Sun, 25 Sep 2016 22:53:05 +0000 (22:53 +0000)]
[SHELL32]Swedish translation by Andreas Bjerkeholt CORE-12040
svn path=/trunk/; revision=72807
Jérôme Gardou [Sun, 25 Sep 2016 22:33:48 +0000 (22:33 +0000)]
[KDGDB]
- Fix a stupid typo, causing all threads to have the same backtrace.
svn path=/trunk/; revision=72806
Benedikt Freisen [Sun, 25 Sep 2016 21:14:23 +0000 (21:14 +0000)]
[ATL] atlpath.h: This looked like a bug.
svn path=/trunk/; revision=72805
Benedikt Freisen [Sun, 25 Sep 2016 19:58:22 +0000 (19:58 +0000)]
[ATL] Add atlpath.h, which provides the CPathT class template and the classes CPath, CPathA and CPathW. CORE-12034
svn path=/trunk/; revision=72804
Jérôme Gardou [Sun, 25 Sep 2016 18:35:52 +0000 (18:35 +0000)]
[SDK/GCC_INTRIN]
- Update __invlpg instrinsic for x86_64 compatibility
svn path=/trunk/; revision=72803
Dmitry Chapyshev [Sun, 25 Sep 2016 17:05:52 +0000 (17:05 +0000)]
[RTL] Capture parameters with using SEH. Fixes new test for ntdll:RtlAllocateHeap
svn path=/trunk/; revision=72802
Dmitry Chapyshev [Sun, 25 Sep 2016 16:57:55 +0000 (16:57 +0000)]
[NTDLL_APITEST] Add test for invalid pointer
svn path=/trunk/; revision=72801
Thomas Faber [Sun, 25 Sep 2016 13:46:18 +0000 (13:46 +0000)]
[NTOS:PO]
- Protect against invalid user mode pointers in NtPowerInformation
svn path=/trunk/; revision=72800
Dmitry Chapyshev [Sun, 25 Sep 2016 13:03:06 +0000 (13:03 +0000)]
[NTOS:PO] Stubpliment ProcessorInformation case in NtPowerInformation. Fixes 1 test for ntdll:info
svn path=/trunk/; revision=72799
Benedikt Freisen [Sun, 25 Sep 2016 09:33:56 +0000 (09:33 +0000)]
[ATL] atltime.h: fix assertion: hours of a day are in the range 0-23, not 0-59
svn path=/trunk/; revision=72798
Thomas Faber [Sun, 25 Sep 2016 08:25:45 +0000 (08:25 +0000)]
[RTL]
- Avoid dereferencing a NULL pointer in RtlIsTextUnicode
CORE-12027 #resolve
svn path=/trunk/; revision=72797
Hermès Bélusca-Maïto [Sat, 24 Sep 2016 23:21:05 +0000 (23:21 +0000)]
[EVENTVWR]: Turkish translation update by Erdem Ersoy.
CORE-12031 #resolve #comment Committed, thanks!
svn path=/trunk/; revision=72796
Benedikt Freisen [Sat, 24 Sep 2016 18:01:49 +0000 (18:01 +0000)]
[SDK][ATL] Add header atltime.h and prerequisites in atlsimpstr.h and atlstr.h. CORE-12023
svn path=/trunk/; revision=72795
Mark Jansen [Sat, 24 Sep 2016 14:15:23 +0000 (14:15 +0000)]
[MSGINA] Prevent an infinite loop in ShellDimScreen. CORE-12028
svn path=/trunk/; revision=72794
Christoph von Wittich [Sat, 24 Sep 2016 12:19:35 +0000 (12:19 +0000)]
[CRYPTNET] don't try to prepend a drive letter when there is one already
svn path=/trunk/; revision=72793
Christoph von Wittich [Sat, 24 Sep 2016 11:39:17 +0000 (11:39 +0000)]
[CRYPTNET] disable broken code
svn path=/trunk/; revision=72792
Johannes Anderwald [Sat, 24 Sep 2016 11:24:07 +0000 (11:24 +0000)]
[LIBUSBAUDIO]
- delete unused code
svn path=/trunk/; revision=72791
Johannes Anderwald [Sat, 24 Sep 2016 11:17:32 +0000 (11:17 +0000)]
[USBAUDIO]
- allocate filter descriptor
- fixes hang in win2k3
svn path=/trunk/; revision=72790
Eric Kohl [Sat, 24 Sep 2016 09:38:17 +0000 (09:38 +0000)]
[LSASRV]
LsapSetLogonSessionData: Set the logon type and the user name of the selected session.
LsapGetLogonSessionData: Fix the session data marshalling code.
Now we can retrieve the logon type and user name of the logon sessions.
svn path=/trunk/; revision=72789
Dmitry Chapyshev [Sat, 24 Sep 2016 09:34:09 +0000 (09:34 +0000)]
[NTOSKRNL] Add missed _SEH2_YIELD's
svn path=/trunk/; revision=72788
Dmitry Chapyshev [Sat, 24 Sep 2016 09:30:06 +0000 (09:30 +0000)]
[NTOSKRNL] Remove unneeded sanity checks
svn path=/trunk/; revision=72787
Dmitry Chapyshev [Sat, 24 Sep 2016 09:25:13 +0000 (09:25 +0000)]
[ACPPAGE] Update Russian translation
svn path=/trunk/; revision=72786
Johannes Anderwald [Sat, 24 Sep 2016 08:35:25 +0000 (08:35 +0000)]
[USBAUDIO]
- add pin dispatch routines
svn path=/trunk/; revision=72785
Christoph von Wittich [Sat, 24 Sep 2016 07:32:25 +0000 (07:32 +0000)]
[DNSAPI] sync record.c with wine 1.9.19
svn path=/trunk/; revision=72784
Johannes Anderwald [Fri, 23 Sep 2016 22:14:21 +0000 (22:14 +0000)]
[USBAUDIO]
- fix build with gcc
svn path=/trunk/; revision=72783
Johannes Anderwald [Fri, 23 Sep 2016 22:07:24 +0000 (22:07 +0000)]
[USBAUDIO]
- fix warnings
- implement UsbAudioGetDataRanges for filter descriptor
svn path=/trunk/; revision=72782
Johannes Anderwald [Fri, 23 Sep 2016 19:53:19 +0000 (19:53 +0000)]
[USBAUDIO]
- start implementing USBAudioPinBuildDescriptors
svn path=/trunk/; revision=72781
Johannes Anderwald [Fri, 23 Sep 2016 19:10:44 +0000 (19:10 +0000)]
[KS]
- fix gcc build
svn path=/trunk/; revision=72780
Johannes Anderwald [Fri, 23 Sep 2016 18:35:15 +0000 (18:35 +0000)]
[KS]
- make a copy of KSFILTER_DESCRIPTOR as it might have been allocated from the stack
- always initialize object bag in filter factory
svn path=/trunk/; revision=72779
Giannis Adamopoulos [Fri, 23 Sep 2016 15:51:53 +0000 (15:51 +0000)]
[SHELL32]
- CPrinterFolder: Use the printer icon for printers not the icon for printers folder.
svn path=/trunk/; revision=72778
Dmitry Chapyshev [Thu, 22 Sep 2016 21:39:25 +0000 (21:39 +0000)]
[SETUPAPI] Implement freeing memory in SetupDiDestroyClassImageList function. Based on patch from CircularTriangle06. Thanks! See CORE-11668
svn path=/trunk/; revision=72777
Giannis Adamopoulos [Thu, 22 Sep 2016 21:34:14 +0000 (21:34 +0000)]
[SHELL32]
- SHCreateDefaultContextMenu: Since our shell folders don't pass the array of class keys needed, populate this array right in SHCreateDefaultContextMenu. This code should later be moved to the shell folders so as to make CDefaultContextMenu.cpp agnostic to the kind of items it handles.
- CDefaultContextMenu: Simplify filling the menu by making use of the array of keys passed in the DEFCONTEXTMENU struct.
svn path=/trunk/; revision=72776
Giannis Adamopoulos [Thu, 22 Sep 2016 19:54:15 +0000 (19:54 +0000)]
[SHELL32]
- CDefaultContextMenu: Simplify some really superfluous code and add more checks for bogus parameters. Create the data object using GetUIObjectOf instead of SHCreateDataObject. Each sell folder should be able to use its own special data object.
svn path=/trunk/; revision=72775
Dmitry Chapyshev [Thu, 22 Sep 2016 18:16:30 +0000 (18:16 +0000)]
[NLS] Add 1146 and 21025 code pages
svn path=/trunk/; revision=72774
Dmitry Chapyshev [Thu, 22 Sep 2016 18:14:07 +0000 (18:14 +0000)]
[NLS] Add missed code pages
svn path=/trunk/; revision=72773
Giannis Adamopoulos [Thu, 22 Sep 2016 16:48:12 +0000 (16:48 +0000)]
[HIVECLS.INF]
- Drive property page is registered by sehll32.
svn path=/trunk/; revision=72772
Giannis Adamopoulos [Thu, 22 Sep 2016 16:22:44 +0000 (16:22 +0000)]
[SHELL32]
- Handle failure in SHELL32_CompareDetails.
svn path=/trunk/; revision=72771
Giannis Adamopoulos [Thu, 22 Sep 2016 16:14:07 +0000 (16:14 +0000)]
[SHELL32]
- COpenWithMenu: Don't try to close the same registry key twice.
svn path=/trunk/; revision=72770
Giannis Adamopoulos [Thu, 22 Sep 2016 16:09:28 +0000 (16:09 +0000)]
[SHELL32]
- HCR_GetFolderAttributes already calls GetAttributesOf when needed, calling it when it is not needed can lead to crashes.
svn path=/trunk/; revision=72769
Christoph von Wittich [Thu, 22 Sep 2016 14:28:44 +0000 (14:28 +0000)]
[SHELL32] implement CreateViewWindow3 and fix CreateViewWindow2
svn path=/trunk/; revision=72768
Eric Kohl [Thu, 22 Sep 2016 11:27:05 +0000 (11:27 +0000)]
[LSASRV]
LsapGetLogonSessionData: Marshall the session data before sending them to the client.
[SECUR32]
LsaConnectUntrusted: Wait for the authentication thread.
LsaGetLogonSessionData: Unmarshall the session data after receiving them from the server.
svn path=/trunk/; revision=72767
Benedikt Freisen [Thu, 22 Sep 2016 10:03:32 +0000 (10:03 +0000)]
[MSPAINT] Lets
svn path=/trunk/; revision=72766
Amine Khaldi [Thu, 22 Sep 2016 08:10:47 +0000 (08:10 +0000)]
[PING] Rewrite ping. It now uses the Icmp* functions in iphlpapi, supports IPv4 and IPv6, and adds more options than available in the current ReactOS ping. Brought to you by Tim Crawford. CORE-10573
svn path=/trunk/; revision=72765
Christoph von Wittich [Wed, 21 Sep 2016 19:51:35 +0000 (19:51 +0000)]
[SHELL32] revert 72685 the testman hang wasn't related
svn path=/trunk/; revision=72764
Mark Jansen [Wed, 21 Sep 2016 19:34:42 +0000 (19:34 +0000)]
[CRT] Fix __getmainargs parsing for a commandline ending with spaces. Patch by Yaroslav Veremenko CORE-9199 #comment Thanks, please re-test!
svn path=/trunk/; revision=72763
Mark Jansen [Wed, 21 Sep 2016 19:26:47 +0000 (19:26 +0000)]
[CRT_APITEST] Add tests for __getmainargs, testing a commandline ending with spaces. Patch by Yaroslav Veremenko CORE-9199
svn path=/trunk/; revision=72762
Mark Jansen [Wed, 21 Sep 2016 19:04:07 +0000 (19:04 +0000)]
[NETSHELL] Register some COM interfaces to fix a few tests. Patch by Jared Smudde. CORE-12016 #resolve #comment Thanks!
svn path=/trunk/; revision=72761
Mark Jansen [Wed, 21 Sep 2016 17:55:35 +0000 (17:55 +0000)]
[NETSHELL.RGS] set eol-style so that hopefully the patchbot will eat a patch without choking on it.
svn path=/trunk/; revision=72760
Amine Khaldi [Wed, 21 Sep 2016 15:53:17 +0000 (15:53 +0000)]
[IPHLPAPI] Fix all testIcmpSendEcho tests. By Peter Hater. Please see CORE-11993 for the list of changes.
svn path=/trunk/; revision=72759
Hermès Bélusca-Maïto [Wed, 21 Sep 2016 14:02:54 +0000 (14:02 +0000)]
[LSALIB]: Fix build (and 2 dprints in the process).
svn path=/trunk/; revision=72758
Eric Kohl [Wed, 21 Sep 2016 10:49:40 +0000 (10:49 +0000)]
[LSASRV]
Revert all pointless changes from r72751.
svn path=/trunk/; revision=72757
Eric Kohl [Wed, 21 Sep 2016 10:27:06 +0000 (10:27 +0000)]
[LSALIB]
- LsaRegisterLogonProcess: Wait for the LSA_AUTHENTICATION_INITIALIZED event.
- LsaDeregisterLogonProcess: Use ZwClose to close the port handle.
svn path=/trunk/; revision=72756
Eric Kohl [Wed, 21 Sep 2016 07:27:18 +0000 (07:27 +0000)]
[LSASRV]
Open/Create and set the \\SECURITY\\LSA_AUTHENTICATION_INITIALIZED event after the LsaAuthenticationPort has been created.
svn path=/trunk/; revision=72755
Eric Kohl [Wed, 21 Sep 2016 06:19:22 +0000 (06:19 +0000)]
[LSALIB][SECUR32]
- Move LsaConnectUntrusted() from sdk/lib/lsalib/lsa.c to dll/win32/secur32/lsalpc.c as it is not exported from ntoskrnl.
- Remove obsolete code from lsalib.
svn path=/trunk/; revision=72754
Eric Kohl [Wed, 21 Sep 2016 06:11:02 +0000 (06:11 +0000)]
[LSALIB]
LsaRegisterLogonProcess: Do not wait for \\SECURITY\\LSA_AUTHENTICATION_INITIALIZED to get signaled as it breaks the boot.
svn path=/trunk/; revision=72753
Eric Kohl [Wed, 21 Sep 2016 04:57:25 +0000 (04:57 +0000)]
[NTOSKRNL]
- Move the session notification routines from se/lsa.c to se/srm.c.
- Get rid of se/lsa.c.
svn path=/trunk/; revision=72752
Hermès Bélusca-Maïto [Tue, 20 Sep 2016 23:43:16 +0000 (23:43 +0000)]
[SECUR32][NTOS]: Update the LSA export signatures for the functions that are implemented in the "lsalib" library.
[LSALIB]
- Add old-school annotations (as we currently do in our main .c code of our stuff).
- Mention that LsaConnectUntrusted is not an API that is exported (& implemented) by ntoskrnl.
- For LsaRegisterLogonProcess, we first wait for the LSA server to be ready (by waiting on its initialization event). This is TODO for LsaConnectUntrusted on the contrary.
[LSALIB][NTOS]
Usa the lsalib as the implementation of the LSA functions exported by ntoskrnl. But for that we need to recompile the lsalib as a library that can be used from inside ntoskrnl, because it needs some functions that are normally exported by ntos. For this purpose I add the library target "ntlsalib" (which also specify different #defines), to differentiate it from the (user-mode) "lsalib" one that is used by secur32.dll (Amine, if you have a better idea on how to do that, please let me know!).
svn path=/trunk/; revision=72751
Amine Khaldi [Tue, 20 Sep 2016 16:51:28 +0000 (16:51 +0000)]
[WS2_32] The current ws2_32 served us well, but it's time for ws2_32_new to shine. It took slightly more than 7 years since Ged brought-in Alex' impressive work on this module, and thanks to the great follow-up work by Peter Hater, Andreas Maier, Thomas Faber and everyone else involved in the effort, we now have a chance to retire ws2_32 in favor of ws2_32_new. The test results speak for the excellent achievements, and this serves as a platform to continue inspecting and fixing the remaining test failures. Thank you all for a job well done! Please see CORE-10440 for a summary of the changes performed in this commit.
svn path=/trunk/; revision=72750
Amine Khaldi [Tue, 20 Sep 2016 16:31:53 +0000 (16:31 +0000)]
[MSAFD] Don't assume SOL_SOCKET is the only socket level. By Peter Hater. CORE-10440 CORE-12008
svn path=/trunk/; revision=72749
Amine Khaldi [Tue, 20 Sep 2016 09:45:02 +0000 (09:45 +0000)]
[ETC/SERVICES] Update services file as expected by the tests. By Peter Hater. CORE-10440
svn path=/trunk/; revision=72748
Amine Khaldi [Tue, 20 Sep 2016 09:42:51 +0000 (09:42 +0000)]
[IPHLPAPI] Don't (de)initialize ws2 on dll process (attach/detach), do it on IcmpCreateFile/IcmpCloseHandle instead, due to the circular dependency ws2_32 -> mswsock -> dnsapi(adns lib) -> iphlpapi -> ws2_32. This creates 2 references to ws2_32 and ws2_32 can't cleanup on WSACleanup. By Peter Hater. CORE-10440
svn path=/trunk/; revision=72747
Amine Khaldi [Tue, 20 Sep 2016 08:12:44 +0000 (08:12 +0000)]
[MSAFD] Move WSAAddressToStringA/W and WSAStringToAddressA/W in msafd protocol provider from ws2_32. Other small fixes for return codes. By Peter Hater. CORE-10440
svn path=/trunk/; revision=72746
James Tabor [Tue, 20 Sep 2016 02:00:18 +0000 (02:00 +0000)]
[NtUser]
- Use send message only and fix return for WM_NC/ACTIVATE. See CORE-11979 and CORE-11324.
svn path=/trunk/; revision=72745
Johannes Anderwald [Mon, 19 Sep 2016 18:40:44 +0000 (18:40 +0000)]
[USBAUDIO]
- fix minor bugs
- start implementing filter context
svn path=/trunk/; revision=72744