reactos.git
6 years ago[NETAPI32]
Eric Kohl [Sun, 25 Jun 2017 12:14:35 +0000 (12:14 +0000)]
[NETAPI32]
Implement I_BrowserrDebugTrace and I_BrowserServerEnum. This functions calls their counterpart in the computer browser service.

svn path=/trunk/; revision=75196

6 years ago[RXCE]
Pierre Schweitzer [Sun, 25 Jun 2017 11:55:37 +0000 (11:55 +0000)]
[RXCE]
- Implemented RxCompleteSrvOpenKeyAssociation(), RxInitiateSrvOpenKeyAssociation(), RxProcessChangeBufferingStateRequests()
- Implemented RxFinalizeFcbTable(), RxFinalizeNetFobx(), RxFinalizeNetRoot(), RxFinalizeSrvCall(), RxFinalizeVNetRoot(), RxFreeObject(), RxpDestroySrvCall(), RxRemovePrefixTableEntry(), RxRemoveVirtualNetRootFromNetRoot(), RxScavengeRelatedFobxs(), RxTearDownBufferingManager(), RxUndoScavengerFinalizationMarking()
- Implemented RxPostToWorkerThread()
- Implemented RxFlushFcbInSystemCache(), RxPurgeFcb(), RxPurgeFcbInSystemCache()
- Stubbed RxOrphanSrvOpens(), RxpDiscardChangeBufferingStateRequests(), RxpDispatchChangeBufferingStateRequests(), RxpProcessChangeBufferingStateRequests()
- Continued implementation of RxDereference() so that it supports more objects than just SRV_CALL
- Reworked RxInsertWorkQueueItem() implementation so that it accepts any work item, and not just dispatch work items
- Finished implementation of RxTableLookupName() so that it properly returns a V_NET_ROOT on NET_ROOT match

Notable effects of this commit are:
- RXCE/RDBSS leak less memory; now objects without references are properly deleted from the system
- This means that stale objects are also deleted; this fixes CORE-13483 were same stale SRV_CALL was used again and again
- Because in prefix table NET_ROOT are correctly handled, it's now possible to mount several path from the same prefix; this fixes CORE-13482

CORE-8204
CORE-11327
CORE-13482
CORE-13483

svn path=/trunk/; revision=75195

6 years ago[USBPORT]
Thomas Faber [Sun, 25 Jun 2017 08:17:33 +0000 (08:17 +0000)]
[USBPORT]
- Fix setting the direction in USBPORT_OpenPipe. Patch by Vadim Galyant.

svn path=/trunk/; revision=75194

6 years ago- update EDD_DIRECTDRAW_LOCAL, EDD_SURFACE and EDD_DIRECTDRAW_GLOBAL structures
Sebastian Gasiorek [Sat, 24 Jun 2017 22:24:04 +0000 (22:24 +0000)]
- update EDD_DIRECTDRAW_LOCAL, EDD_SURFACE and EDD_DIRECTDRAW_GLOBAL structures
- initial implementation of DxDdCreateD3DBuffer and DxDdCreateSurfaceObject CORE-4490

svn path=/trunk/; revision=75189

6 years ago[NTOBJSHEX]
David Quintana [Sat, 24 Jun 2017 22:01:46 +0000 (22:01 +0000)]
[NTOBJSHEX]
Fix registration.

svn path=/trunk/; revision=75188

6 years ago[NETAPI32]
Eric Kohl [Sat, 24 Jun 2017 21:47:27 +0000 (21:47 +0000)]
[NETAPI32]
Implement NetBrowserStatisticsGet().

svn path=/trunk/; revision=75187

6 years ago[NETAPI32]
Eric Kohl [Sat, 24 Jun 2017 16:42:21 +0000 (16:42 +0000)]
[NETAPI32]
Move the functions NetGetDCName, NetGetAnyDCName and NetEnumerateTrustedDomains into a separate file for the Netlogon service interface code.

svn path=/trunk/; revision=75186

6 years ago[DXG]
Pierre Schweitzer [Sat, 24 Jun 2017 16:22:24 +0000 (16:22 +0000)]
[DXG]
Fix GCC build

svn path=/trunk/; revision=75185

6 years ago[NETAPI32]
Eric Kohl [Sat, 24 Jun 2017 14:59:14 +0000 (14:59 +0000)]
[NETAPI32]
Implement I_BrowserQueryOtherDomains, I_BrowserQueryStatistics and I_BrowserResetNetlogonState. This functions calls their counterpart in the computer browser service.

svn path=/trunk/; revision=75184

6 years ago[MMIXER] Cleanup mixer notifications opened by an application when it is closed.
Sylvain Deverre [Sat, 24 Jun 2017 13:54:10 +0000 (13:54 +0000)]
[MMIXER] Cleanup mixer notifications opened by an application when it is closed.

CORE-10735 #comment Please retest.

svn path=/trunk/; revision=75183

6 years ago[DXG] Initial implementation of DxDdLock and better stub for DxDdUnlock
Sebastian Gasiorek [Sat, 24 Jun 2017 13:53:22 +0000 (13:53 +0000)]
[DXG] Initial implementation of DxDdLock and better stub for DxDdUnlock

svn path=/trunk/; revision=75182

6 years ago[WIN32SS][NTDDRAW] Remove debug dump. Forgot about this.
Sebastian Gasiorek [Sat, 24 Jun 2017 13:21:24 +0000 (13:21 +0000)]
[WIN32SS][NTDDRAW] Remove debug dump. Forgot about this.

svn path=/trunk/; revision=75181

6 years ago[WIN32SS][NTDDRAW] Remove debug dump of structures during ReactX initialisation....
Sebastian Gasiorek [Sat, 24 Jun 2017 12:36:19 +0000 (12:36 +0000)]
[WIN32SS][NTDDRAW] Remove debug dump of structures during ReactX initialisation. It's not needed and shouldn't be commited.

svn path=/trunk/; revision=75180

6 years ago[DXG] Replace wrong PLONG with PBYTE as it was in original development. CORE-13392
Sebastian Gasiorek [Sat, 24 Jun 2017 12:14:01 +0000 (12:14 +0000)]
[DXG] Replace wrong PLONG with PBYTE as it was in original development. CORE-13392

svn path=/trunk/; revision=75179

6 years ago[NTOBJSHEX]
David Quintana [Fri, 23 Jun 2017 23:23:17 +0000 (23:23 +0000)]
[NTOBJSHEX]
Make nt object symlinks work more like shortcuts. Fixes the addressbar not quite knowing what to show when you click on a symlink.

svn path=/trunk/; revision=75177

6 years ago[NTOBJSHEX]
David Quintana [Fri, 23 Jun 2017 21:40:19 +0000 (21:40 +0000)]
[NTOBJSHEX]
Make GCC happy.

svn path=/trunk/; revision=75176

6 years ago[NTOBJSHEX]
David Quintana [Fri, 23 Jun 2017 21:28:36 +0000 (21:28 +0000)]
[NTOBJSHEX]
* Added a common superclass for the ntobj and registry folders.
* Refactored the ntobj and registry folders to make use of this superclass.
* Removed the concept of a "pidl helper", since it works best to just have the methods be part of the folders.
* Cleaned up the ItemID comparison logic.

svn path=/trunk/; revision=75175

6 years ago[MPR]
Pierre Schweitzer [Fri, 23 Jun 2017 19:29:31 +0000 (19:29 +0000)]
[MPR]
Import Wine commit:
8d461c1f42b0b667b2aa6a235d007eea1dd6f561, Don't stop enumeration on the first failing network provider.

This fixes 'net use' stoping connections enumeration when a network returns an error or no connection.

CORE-13475

svn path=/trunk/; revision=75173

6 years ago[MPR]
Pierre Schweitzer [Fri, 23 Jun 2017 19:21:29 +0000 (19:21 +0000)]
[MPR]
Import Wine commit:
51b4a42969366cc409808aded23d3602a34206e2, Properly handle the count set to -1 when enumerating connections.

This fixes 'net use' not being able to enumerate multiple connections served by multiple network providers.

CORE-13475

svn path=/trunk/; revision=75172

6 years ago[NTOS]: Improve a bit CmpDeepCopyKeyInternal():
Hermès Bélusca-Maïto [Fri, 23 Jun 2017 17:33:44 +0000 (17:33 +0000)]
[NTOS]: Improve a bit CmpDeepCopyKeyInternal():
- Normally getting the SrcNode and DestNode must succeed (checked with assert);
- Set the DestNode Flags member, in particular when this is the new root node of the saved registry hive;
- Copy the key class cell (OK), and the key security cell (currently done in a hackish way; proper way: call the CmpAssignSecurity* function);
- Add more clean-up on failure;
- Warn in code about the fact that CmpDeepCopyKeyInternal is recursive, and will easily exhaust kernel stack. This function will need to be reworked later...
CORE-10793 CORE-10796

svn path=/trunk/; revision=75171

6 years ago[NTOBJSHEX]
David Quintana [Thu, 22 Jun 2017 18:00:57 +0000 (18:00 +0000)]
[NTOBJSHEX]
* Fix gcc build.
* Remove magic.
* Address nitpicks.

svn path=/trunk/; revision=75167

6 years ago[NTOBJSHEX]
David Quintana [Thu, 22 Jun 2017 17:49:42 +0000 (17:49 +0000)]
[NTOBJSHEX]
Fixed registry value display for values that are too long to fit inside the shitemid.
Set the maximum for shitemid embedding back to a smaller number.

svn path=/trunk/; revision=75166

6 years ago[WINTERNL.H]: Fix the value of OBJ_VALID_ATTRIBUTES, and add the definition for OBJ_F...
Hermès Bélusca-Maïto [Thu, 22 Jun 2017 15:41:44 +0000 (15:41 +0000)]
[WINTERNL.H]: Fix the value of OBJ_VALID_ATTRIBUTES, and add the definition for OBJ_FORCE_ACCESS_CHECK.

svn path=/trunk/; revision=75165

6 years ago[NTOBJSHEX]
David Quintana [Wed, 21 Jun 2017 22:32:34 +0000 (22:32 +0000)]
[NTOBJSHEX]
* Fixed NT object symbolic link target retrieval.
* Fixed NT path parsing (didn't consider paths sub sub-folders in them).
* Fixed BindToObject to properly resolve the target path for symlinks.
* Made the maximum embedded content length for registry keys a bit bigger.

svn path=/trunk/; revision=75160

6 years ago[CMLIB]: Use the generic allocator functions, and fix build.
Hermès Bélusca-Maïto [Tue, 20 Jun 2017 23:29:54 +0000 (23:29 +0000)]
[CMLIB]: Use the generic allocator functions, and fix build.

svn path=/trunk/; revision=75159

6 years ago[CMLIB]: Implement the dynamic array of the hive cell reference tracker.
Hermès Bélusca-Maïto [Tue, 20 Jun 2017 23:11:53 +0000 (23:11 +0000)]
[CMLIB]: Implement the dynamic array of the hive cell reference tracker.

svn path=/trunk/; revision=75158

6 years ago[NTOBJSHEX]
David Quintana [Tue, 20 Jun 2017 23:03:24 +0000 (23:03 +0000)]
[NTOBJSHEX]
Improve the GetDisplayNameOf logic from "badly broken" to "seems to work". I'm not convinced it's perfect, but it's better than before.

svn path=/trunk/; revision=75157

6 years ago[NTOBJSHEX]
David Quintana [Tue, 20 Jun 2017 21:32:42 +0000 (21:32 +0000)]
[NTOBJSHEX]
Fix crash showing registry keys that have values.
CORE-13456 #resolve

svn path=/trunk/; revision=75156

6 years ago[WIN32K:NTUSER] -IntSetThreadDesktop: Don't close the previous desktop handle. Fixes...
Giannis Adamopoulos [Tue, 20 Jun 2017 19:26:37 +0000 (19:26 +0000)]
[WIN32K:NTUSER] -IntSetThreadDesktop: Don't close the previous desktop handle. Fixes a lot of tests. Based on a patch by Sebastian Gasiorek. CORE-13463

svn path=/trunk/; revision=75154

6 years ago[USER32_APITEST] -Initial tests for desktop reference numbers.
Giannis Adamopoulos [Tue, 20 Jun 2017 19:25:10 +0000 (19:25 +0000)]
[USER32_APITEST] -Initial tests for desktop reference numbers.

svn path=/trunk/; revision=75153

6 years ago[RTL]
Thomas Faber [Tue, 20 Jun 2017 17:15:43 +0000 (17:15 +0000)]
[RTL]
- Correctly use the page heap's lock in RtlLockHeap/RtlUnlockHeap when appropriate. Fixes assertion failure when Global/Local memory allocations are performed concurrently with DPH enabled.

svn path=/trunk/; revision=75152

6 years ago[USER.EXE]: Addendum to r75126: add a (dummy) version resource to USER.EXE so as...
Hermès Bélusca-Maïto [Tue, 20 Jun 2017 16:44:40 +0000 (16:44 +0000)]
[USER.EXE]: Addendum to r75126: add a (dummy) version resource to USER.EXE so as to fix error 1812 "ERROR_RESOURCE_DATA_NOT_FOUND" encountered when starting the DirectX 9.0 installer. From patch by Stas'M, thanks!
CORE-13462

svn path=/trunk/; revision=75151

6 years ago[NTOS:MM]
Thomas Faber [Tue, 20 Jun 2017 15:51:47 +0000 (15:51 +0000)]
[NTOS:MM]
- In MiDeletePte, check the ReferenceCount of transition PTEs, not the ShareCount (which is actually u2.Blink, since the page is in a modified/standby list). Also don't reset the PageLocation, since MiDecrementReferenceCount expects it to be anything but ActiveAndValid.
Fixes physical page leaks when using DPH, or other code that sets PAGE_NOACCESS.
CORE-13311 #resolve

svn path=/trunk/; revision=75150

6 years agoThat shouldn't have been committed in r75125. Thanks Thomas!
Colin Finck [Tue, 20 Jun 2017 14:48:26 +0000 (14:48 +0000)]
That shouldn't have been committed in r75125. Thanks Thomas!

svn path=/trunk/; revision=75149

6 years ago[LOCALSPL]
Colin Finck [Tue, 20 Jun 2017 06:08:30 +0000 (06:08 +0000)]
[LOCALSPL]
Add the missing root backslash to the symbolic link path. Fixes CORE-13457

svn path=/trunk/; revision=75148

6 years ago[FILESYSTEMS]: Fix printf-like counted string specifiers.
Hermès Bélusca-Maïto [Tue, 20 Jun 2017 00:45:07 +0000 (00:45 +0000)]
[FILESYSTEMS]: Fix printf-like counted string specifiers.

svn path=/trunk/; revision=75147

6 years ago[NTOS:CM]: Simplify code by using suitable assertion macro.
Hermès Bélusca-Maïto [Mon, 19 Jun 2017 23:18:42 +0000 (23:18 +0000)]
[NTOS:CM]: Simplify code by using suitable assertion macro.

svn path=/trunk/; revision=75146

6 years ago[DDK]
Jérôme Gardou [Mon, 19 Jun 2017 21:17:17 +0000 (21:17 +0000)]
[DDK]
 - Use FORCEINLINE where appropriate

svn path=/trunk/; revision=75145

6 years ago[NTOS]: Addendum to r75142: Use strsafe printf functions (suggested by Thomas).
Hermès Bélusca-Maïto [Mon, 19 Jun 2017 20:37:36 +0000 (20:37 +0000)]
[NTOS]: Addendum to r75142: Use strsafe printf functions (suggested by Thomas).

svn path=/trunk/; revision=75144

6 years ago[CMLIB][NTOS]: Use correct parameter type for the 4th parameter of CmpGetValueData().
Hermès Bélusca-Maïto [Mon, 19 Jun 2017 20:14:09 +0000 (20:14 +0000)]
[CMLIB][NTOS]: Use correct parameter type for the 4th parameter of CmpGetValueData().
[CMLIB]: Fix debug.h inclusion.
[NTOS]: Use RtlCopyUnicodeString() to initialize the contents of FullName.

svn path=/trunk/; revision=75143

6 years ago[NTOS]: Fixes & improvements:
Hermès Bélusca-Maïto [Mon, 19 Jun 2017 20:07:15 +0000 (20:07 +0000)]
[NTOS]: Fixes & improvements:
- Fix a bug in CmpInitHiveFromFile(): correctly set the MaximumLength value of NewHive->FileFullPath;
- Code simplification: no need to use temporary ANSI string operations followed by UNICODE conversion, when one can do the same thing directly in UNICODE.
- Use NULL for NULL handles.

svn path=/trunk/; revision=75142

6 years ago[NTOS]: Improve parameter namings in CmpLinkKeyToHive() and some of its DPRINTs;...
Hermès Bélusca-Maïto [Mon, 19 Jun 2017 20:04:25 +0000 (20:04 +0000)]
[NTOS]: Improve parameter namings in CmpLinkKeyToHive() and some of its DPRINTs; use UNICODE_NULL where needed.

svn path=/trunk/; revision=75141

6 years ago[WIN32SS] Rewrite GetFontFamilyInfoForSubstitutes to use the subsitute list loaded...
Mark Jansen [Mon, 19 Jun 2017 20:00:36 +0000 (20:00 +0000)]
[WIN32SS] Rewrite GetFontFamilyInfoForSubstitutes to use the subsitute list loaded at boot. Patch by Katayama Hirofumi MZ. CORE-13064

svn path=/trunk/; revision=75140

6 years ago[NTOS]: Improve some DPRINTs, and variables naming + buffer data type in CmpAddToHive...
Hermès Bélusca-Maïto [Mon, 19 Jun 2017 19:55:14 +0000 (19:55 +0000)]
[NTOS]: Improve some DPRINTs, and variables naming + buffer data type in CmpAddToHiveFileList().

svn path=/trunk/; revision=75139

6 years ago[NTDLL_APITEST]: Temporarily disable part of the NtLoad/UnloadKey test (related to...
Hermès Bélusca-Maïto [Mon, 19 Jun 2017 19:50:49 +0000 (19:50 +0000)]
[NTDLL_APITEST]: Temporarily disable part of the NtLoad/UnloadKey test (related to force-unload a hive while some handles to subkeys are still opened), because this creates memory corruptions, due to the fact we currently don't perform force-unloads correctly.
CORE-13448

svn path=/trunk/; revision=75138

6 years ago[NTOS]: Fix the ObpLookupObjectName() prototype in regard to r75133.
Hermès Bélusca-Maïto [Mon, 19 Jun 2017 16:47:45 +0000 (16:47 +0000)]
[NTOS]: Fix the ObpLookupObjectName() prototype in regard to r75133.

svn path=/trunk/; revision=75136

6 years ago[APPHELP] Implement Sdb[Un]packAppCompatData and SdbGetAppCompatDataSize. CORE-13284
Mark Jansen [Mon, 19 Jun 2017 16:37:47 +0000 (16:37 +0000)]
[APPHELP] Implement Sdb[Un]packAppCompatData and SdbGetAppCompatDataSize. CORE-13284

svn path=/trunk/; revision=75135

6 years ago[NTOS]: Avoid initializing variables within if-conditions.
Hermès Bélusca-Maïto [Mon, 19 Jun 2017 16:30:17 +0000 (16:30 +0000)]
[NTOS]: Avoid initializing variables within if-conditions.

svn path=/trunk/; revision=75134

6 years ago[NTOS]: Revert the pool tag change from r75128, and explain in comment why we cannot...
Hermès Bélusca-Maïto [Mon, 19 Jun 2017 16:29:44 +0000 (16:29 +0000)]
[NTOS]: Revert the pool tag change from r75128, and explain in comment why we cannot actually use it.

svn path=/trunk/; revision=75133

6 years ago[NTOS]: Fix typos.
Hermès Bélusca-Maïto [Mon, 19 Jun 2017 15:26:08 +0000 (15:26 +0000)]
[NTOS]: Fix typos.

svn path=/trunk/; revision=75132

6 years ago[APPSHIM_APITEST] Addendum to r75041, add a missed line.
Mark Jansen [Mon, 19 Jun 2017 15:24:05 +0000 (15:24 +0000)]
[APPSHIM_APITEST] Addendum to r75041, add a missed line.

svn path=/trunk/; revision=75131

6 years ago[SHELL32] Partially sync shlexec with wine staging 2.9 CORE-13362 CORE-13407
Mark Jansen [Mon, 19 Jun 2017 15:04:20 +0000 (15:04 +0000)]
[SHELL32] Partially sync shlexec with wine staging 2.9 CORE-13362 CORE-13407

svn path=/trunk/; revision=75130

6 years ago[ATL]
Giannis Adamopoulos [Mon, 19 Jun 2017 14:52:51 +0000 (14:52 +0000)]
[ATL]
-Add a new template called CComQIIDPtr and its partner I_ID macro. Its purpose is to be a gcc compatible version of CComQIPtr.
-CComQIIDPtr<I_ID(Itype)> is the gcc compatible version of CComQIPtr<Itype>
- WARNING: this is not tested yet.

svn path=/trunk/; revision=75129

6 years ago[NTOS]: Minor fixes:
Hermès Bélusca-Maïto [Mon, 19 Jun 2017 14:48:59 +0000 (14:48 +0000)]
[NTOS]: Minor fixes:
- Use NULL instead of 'zero' for setting a handle / pointer to NULL;
- Don't hardcode an array size; fix a comment;
- Use ExFreePoolWithTag();
- Whitespace fix.

svn path=/trunk/; revision=75128

6 years ago[SHELL32]
Giannis Adamopoulos [Mon, 19 Jun 2017 14:27:51 +0000 (14:27 +0000)]
[SHELL32]
-Rename constructors from Class_Creator to Class_CreateInstance. Prepend the ones that are exported from rshell with RSHELL_. The reasoning is that rshell will always use our code but whether or not internal classes will be used in shellmenu lib will be controlled by preprocessor definitions in shellmenu.h

[BROWSEUI]
-Rename more constructors to use the _CreateInstance suffix.

[RSHELL]
- The functions that let rshell export some objects have the RSHELL_ postfix but they are not exported as such.

[EXPLORER]
- Rename _CStartMenu_Constructor to _CStartMenu_CreateInstance.

svn path=/trunk/; revision=75127

6 years ago[USER.EXE]: Add a *stub* user.exe to make the DirectX 9.0 installer happy (it searche...
Hermès Bélusca-Maïto [Mon, 19 Jun 2017 14:24:48 +0000 (14:24 +0000)]
[USER.EXE]: Add a *stub* user.exe to make the DirectX 9.0 installer happy (it searches user.exe for existence for no reason, and if it cannot find it, the installer bails out). (WARNING: This is in NO WAY our implementation of WoW16!!)
Reported on https://www.reactos.org/forum/viewtopic.php?f=4&t=15576 , http://reactos.org/forum/viewtopic.php?f=4&t=16498 .
This is not a ReactOS problem per se, because it also happens on Windows, as reported here:
https://xpetips.wordpress.com/2009/09/18/installing-directx-9-0c-on-xpe/ and http://www.xpembedded.info/DirectX_v9_0c_and_finding_missing_components_.html .

svn path=/trunk/; revision=75126

6 years ago[PRINTING]
Colin Finck [Mon, 19 Jun 2017 14:18:19 +0000 (14:18 +0000)]
[PRINTING]
- Implement GetPrinterDataA, GetPrinterDataExA, GetPrinterDataExW, GetPrinterDataW, SetPrinterDataA, SetPrinterDataExA, SetPrinterDataExW, SetPrinterDataW.
  They support all features for Print Server and Printer Handles (minus security checks!)
  I've also added tests for them.
- Store Printer data in SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers instead of SYSTEM\CurrentControlSet\Control\Print\Printers and create a registry symlink from the former path to the new one just like Windows does.
  According to https://social.technet.microsoft.com/Forums/windowsserver/en-US/a683ab54-c43c-4ebe-af8f-1f7a65af2a51, this is needed when having >900 printers to work around a size limit of the SYSTEM registry hive. And if Windows has both locations, we need both for compatibility anyway.
- Add several settings which are queried by the new Printer Data APIs when working with Print Server Handles.
- Store the job directory in the Windows-compatible "DefaultSpoolDirectory" setting and make use of it.
- Revert the ASSERTs in LocalEnumPrinters again to let us verify the NULL pointer exceptions in localspl_apitest (thanks Serge! CORE-13433)
- Translate ERROR_INVALID_NAME to ERROR_INVALID_PRINTER_NAME in all cases in OpenPrinterW (thanks Victor! CORE-13412)
- Make EnumMonitorsW and EnumPortsW in spoolss more robust against failing Print Monitors.
- Remove the wrong !phPrinter check in OpenPrinterW to make Print Server Handles work for real.
- Fix error handling when memory allocation fails: HeapAlloc doesn't set last error, so it's just wrong to query or return it.

One more item done from https://reactos.org/wiki/Printing !
This is all still a big Work-in-Progress, with many subtle bugs deep down in ReactOS, for which I need to open additional tickets. But I didn't want to make this commit even bigger..

svn path=/trunk/; revision=75125

6 years ago[NETAPI32]
Eric Kohl [Mon, 19 Jun 2017 14:06:04 +0000 (14:06 +0000)]
[NETAPI32]
Implement I_BrowserQueryEmulatedDomains, I_BrowserResetStatistics and I_BrowserSetNetlogonState. This functions calls their counterpart in the computer browser service.

svn path=/trunk/; revision=75124

6 years ago[INCLUDE]
Eric Kohl [Mon, 19 Jun 2017 13:48:40 +0000 (13:48 +0000)]
[INCLUDE]
Replace the lmbrowsr.h form wine by a more complete psdk version.
Lmbrowsr.h was a part of Visual Studio 6 but Microsoft removed it from the PSDK later.

svn path=/trunk/; revision=75123

6 years ago[MSPAINT]
Benedikt Freisen [Mon, 19 Jun 2017 13:02:09 +0000 (13:02 +0000)]
[MSPAINT]
- clicking the blank dark gray area will now reset the selection -- patch by Katayama Hirofumi MZ

CORE-13452 #resolve

svn path=/trunk/; revision=75122

6 years ago[NFSD]
Pierre Schweitzer [Mon, 19 Jun 2017 11:51:48 +0000 (11:51 +0000)]
[NFSD]
Misc. fixes by Thomas

svn path=/trunk/; revision=75121

6 years ago[NFS]
Pierre Schweitzer [Mon, 19 Jun 2017 11:36:17 +0000 (11:36 +0000)]
[NFS]
Add the missing pieces for the NFS filesystem: registry information.
Register the pnfs service (nfsd) as manual, so that it only gets started when user wants/needs it.
Same goes to the nfs41_driver service (driver). nfsd as a code modification specific to ReactOS so that it loads the driver
as soon as it gets started.

That means, in order to use NFS in ReactOS, you need to start the nfsd service: net start nfsd
Then, you can mount your remote share: net use * \\IP\path (you can replace * by a letter, e.g. z:)
There's no GUI stuff implemented yet for this in MPR.

If you want to access the share without mounting it in ReactOS (like, in Explorer), you've to be aware of a small detail:
after you start pnfs service, in explorer bar, type \\IP\nfs4\path. This is required so that NFS driver can claim the path
without troubles.

Something else you've to know: so far, tests where conducted with a remote share being 777, read-only and anonymously mounted.
Other scenarii are likely to fail (auth, rw, server?!, etc.).

Also note that if you attempt to mount a share on which you don't have traverse right, mounting will succeed but any later
operation will fail, refused by the remote NFS server. This is a bit different than the behavior on Linux where mount is denied
if traverse is not granted.

Final thing: this is highly experimental and not fully implemented yet: expect not working stuff, broken asserts, deadlocks, etc.

CORE-8204

svn path=/trunk/; revision=75120

6 years ago[NFSD]
Pierre Schweitzer [Mon, 19 Jun 2017 09:40:12 +0000 (09:40 +0000)]
[NFSD]
Fix build?

svn path=/trunk/; revision=75119

6 years ago[LIBTIRPC]
Pierre Schweitzer [Mon, 19 Jun 2017 09:09:22 +0000 (09:09 +0000)]
[LIBTIRPC]
Add a spec file

svn path=/trunk/; revision=75118

6 years ago[NFS]
Pierre Schweitzer [Mon, 19 Jun 2017 08:20:13 +0000 (08:20 +0000)]
[NFS]
More properly fix build for GCC/MSVC. By Thomas.

svn path=/trunk/; revision=75117

6 years ago[NFSD]
Pierre Schweitzer [Mon, 19 Jun 2017 08:17:45 +0000 (08:17 +0000)]
[NFSD]
Fix MSVC build by Thomas.

svn path=/trunk/; revision=75116

6 years ago[PDSK]
Pierre Schweitzer [Mon, 19 Jun 2017 08:02:19 +0000 (08:02 +0000)]
[PDSK]
Complete iptypes.h

svn path=/trunk/; revision=75115

6 years ago[NFSD]
Pierre Schweitzer [Mon, 19 Jun 2017 07:57:04 +0000 (07:57 +0000)]
[NFSD]
Import the nfsd deamon from the nfs41 project.

CORE-8204

svn path=/trunk/; revision=75114

6 years ago[LIBTIRPC]
Pierre Schweitzer [Mon, 19 Jun 2017 07:45:14 +0000 (07:45 +0000)]
[LIBTIRPC]
As suggested, move to 3rdparty

svn path=/trunk/; revision=75113

6 years ago[NETAPI32]
Eric Kohl [Sun, 18 Jun 2017 22:52:05 +0000 (22:52 +0000)]
[NETAPI32]
NetEnumerateComputerNames: Convert the returned array of strings.

svn path=/trunk/; revision=75112

6 years ago[NETAPI32]
Eric Kohl [Sun, 18 Jun 2017 22:43:24 +0000 (22:43 +0000)]
[NETAPI32]
Implement NetConnectionEnum(). This function calls its counterpart in the server service.

svn path=/trunk/; revision=75111

6 years ago[RXCE]
Pierre Schweitzer [Sun, 18 Jun 2017 22:15:34 +0000 (22:15 +0000)]
[RXCE]
lolfix build

svn path=/trunk/; revision=75110

6 years ago[NFS][RXCE]: Fix MSVC build (definitively?)
Hermès Bélusca-Maïto [Sun, 18 Jun 2017 21:47:52 +0000 (21:47 +0000)]
[NFS][RXCE]: Fix MSVC build (definitively?)

svn path=/trunk/; revision=75109

6 years ago[NTOS:SE]
Eric Kohl [Sun, 18 Jun 2017 21:43:09 +0000 (21:43 +0000)]
[NTOS:SE]
Add the CmpAssignSecurityDescriptor() stub and improve some comments.

svn path=/trunk/; revision=75108

6 years ago[NFS]
Pierre Schweitzer [Sun, 18 Jun 2017 21:40:52 +0000 (21:40 +0000)]
[NFS]
Remove dependency already brought in by rxce

svn path=/trunk/; revision=75107

6 years ago[RDBSS]
Pierre Schweitzer [Sun, 18 Jun 2017 21:27:56 +0000 (21:27 +0000)]
[RDBSS]
Clean up CMake files, based on suggestions by Hermès.
Might fix MSVC build.

svn path=/trunk/; revision=75106

6 years ago[NFS]
Pierre Schweitzer [Sun, 18 Jun 2017 20:49:46 +0000 (20:49 +0000)]
[NFS]
Import the NFS file system mini-redirector and the associated network provider.
Not all the pieces are in place to make it working.

CORE-8204

svn path=/trunk/; revision=75105

6 years ago[NTOS:MM]
Thomas Faber [Sun, 18 Jun 2017 20:10:44 +0000 (20:10 +0000)]
[NTOS:MM]
- Directly pass the file object to MmCreateDataFileSection

svn path=/trunk/; revision=75104

6 years ago[NTOS:PNP]
Thomas Faber [Sun, 18 Jun 2017 19:48:45 +0000 (19:48 +0000)]
[NTOS:PNP]
- If PFN tracing is enabled, create a device object that allows the user to trigger a PFN dump (e.g. via "type \\.\Global\GLOBALROOT\Device\PfnDump")

svn path=/trunk/; revision=75103

6 years ago[NPFS]
Thomas Faber [Sun, 18 Jun 2017 18:08:52 +0000 (18:08 +0000)]
[NPFS]
- Misc changes to improve code clarity

svn path=/trunk/; revision=75102

6 years ago[LIBTIFF]
Thomas Faber [Sun, 18 Jun 2017 17:50:12 +0000 (17:50 +0000)]
[LIBTIFF]
- Update to version 4.0.8
CORE-13451

svn path=/trunk/; revision=75101

6 years ago[MBEDTLS]
Thomas Faber [Sun, 18 Jun 2017 17:25:30 +0000 (17:25 +0000)]
[MBEDTLS]
- Update to version 2.4.2
CORE-13451

svn path=/trunk/; revision=75100

6 years ago[LIBTIRPC]
Thomas Faber [Sun, 18 Jun 2017 17:01:14 +0000 (17:01 +0000)]
[LIBTIRPC]
- Try to fix VC2010 build as well
CORE-8204

svn path=/trunk/; revision=75099

6 years ago[LIBTIRPC]
Thomas Faber [Sun, 18 Jun 2017 16:41:23 +0000 (16:41 +0000)]
[LIBTIRPC]
- Fix MSVC build
CORE-8204

svn path=/trunk/; revision=75098

6 years ago[LIBTIRPC]
Pierre Schweitzer [Sun, 18 Jun 2017 15:41:54 +0000 (15:41 +0000)]
[LIBTIRPC]
Fix MSVC build?

svn path=/trunk/; revision=75097

6 years ago[LIBTIRPC]
Pierre Schweitzer [Sun, 18 Jun 2017 15:31:06 +0000 (15:31 +0000)]
[LIBTIRPC]
Import the libtirpc from the nfs41 project.

CORE-8204

svn path=/trunk/; revision=75096

6 years ago[LIBMPG123]
Thomas Faber [Sun, 18 Jun 2017 14:08:53 +0000 (14:08 +0000)]
[LIBMPG123]
- Add missing files
CORE-13451

svn path=/trunk/; revision=75094

6 years ago[LIBMPG123]
Thomas Faber [Sun, 18 Jun 2017 14:03:50 +0000 (14:03 +0000)]
[LIBMPG123]
- Update to version 1.25.0
CORE-13451

svn path=/trunk/; revision=75093

6 years ago[LIBMPG123]
Thomas Faber [Sun, 18 Jun 2017 13:35:40 +0000 (13:35 +0000)]
[LIBMPG123]
- Fix ssize_t
CORE-13451

svn path=/trunk/; revision=75092

6 years ago[LIBMPG123]
Thomas Faber [Sun, 18 Jun 2017 13:21:16 +0000 (13:21 +0000)]
[LIBMPG123]
- Update to version 1.23.0
CORE-13451

svn path=/trunk/; revision=75091

6 years ago[SHELL32] -CMenuBand::SetSite: Don't fail if the site doesn't support the SID_STopLev...
Giannis Adamopoulos [Sun, 18 Jun 2017 12:34:30 +0000 (12:34 +0000)]
[SHELL32] -CMenuBand::SetSite: Don't fail if the site doesn't support the SID_STopLevelBrowser service.

svn path=/trunk/; revision=75090

6 years ago[LIBPNG]
Thomas Faber [Sun, 18 Jun 2017 12:19:52 +0000 (12:19 +0000)]
[LIBPNG]
- Update to version 1.6.29
CORE-13451

svn path=/trunk/; revision=75089

6 years ago[LIBSAMPLERATE]
Thomas Faber [Sun, 18 Jun 2017 11:41:14 +0000 (11:41 +0000)]
[LIBSAMPLERATE]
- Update to version 1.0.9
CORE-13451

svn path=/trunk/; revision=75088

6 years ago[NTOS:MM]
Thomas Faber [Sun, 18 Jun 2017 11:18:41 +0000 (11:18 +0000)]
[NTOS:MM]
- Implement MiMapLockedPagesInUserSpace and MiUnmapLockedPagesInUserSpace.
CORE-13444 #resolve

svn path=/trunk/; revision=75087

6 years ago[DESK]
Pierre Schweitzer [Sun, 18 Jun 2017 08:48:12 +0000 (08:48 +0000)]
[DESK]
French translation for Eric's work on r75085.

CORE-8352

svn path=/trunk/; revision=75086

6 years ago[DESK]
Eric Kohl [Sun, 18 Jun 2017 08:31:20 +0000 (08:31 +0000)]
[DESK]
Replace the screen resolution change confirmation message box by a proper dialog box with timeout.
CORE-8352

svn path=/trunk/; revision=75085

6 years ago[KMTESTS:MM]
Thomas Faber [Sun, 18 Jun 2017 08:00:29 +0000 (08:00 +0000)]
[KMTESTS:MM]
- Test unaligned address and addresses close to MmHighestUserAddress in MmMapLockedPagesSpecifyCache test
CORE-13444

svn path=/trunk/; revision=75084

6 years ago[NTOS]: Use SEH inside CmQueryKey(), as it can be called with user-mode parameter...
Hermès Bélusca-Maïto [Sat, 17 Jun 2017 23:34:32 +0000 (23:34 +0000)]
[NTOS]: Use SEH inside CmQueryKey(), as it can be called with user-mode parameter KeyInformation. Remove unused code in CmLoadKey().
I've noticed that in cmapi.c / ntapi.c we do not correctly check the validity of some OBJECT_ATTRIBUTES variables and user-mode vs. kernel-mode registry handles.

svn path=/trunk/; revision=75083

6 years ago[DESK]
Eric Kohl [Sat, 17 Jun 2017 23:21:16 +0000 (23:21 +0000)]
[DESK]
- Add a message box to ask the user to confirm the screen resolution change.
- The resolution change will be reverted if the user clicks 'No'.
A separate dialog box with a timer will be added next.

svn path=/trunk/; revision=75082

6 years ago[PSDK]
Thomas Faber [Sat, 17 Jun 2017 20:26:53 +0000 (20:26 +0000)]
[PSDK]
- Properly add NTSTATUS code

svn path=/trunk/; revision=75081