[WMI]: Gather all the user-mode components of WMI inside base/wmi/, as part of the ReactOS source code tree restructure. This gives an idea how this can be done for other ReactOS components.

CORE-9111

svn path=/trunk/; revision=73869
This commit is contained in:
Hermès Bélusca-Maïto 2017-02-20 23:28:09 +00:00
parent 5ccb049790
commit 9f59e28a23
78 changed files with 41 additions and 32 deletions

View file

@ -4,3 +4,4 @@ add_subdirectory(services)
add_subdirectory(setup)
add_subdirectory(shell)
add_subdirectory(system)
add_subdirectory(wmi)

View file

@ -9,7 +9,6 @@ add_subdirectory(help)
add_subdirectory(hostname)
add_subdirectory(lodctr)
add_subdirectory(mode)
add_subdirectory(mofcomp)
add_subdirectory(more)
add_subdirectory(reg)
add_subdirectory(schtasks)
@ -17,6 +16,5 @@ add_subdirectory(sort)
add_subdirectory(taskkill)
add_subdirectory(tree)
add_subdirectory(whoami)
add_subdirectory(wmic)
add_subdirectory(wscript)
add_subdirectory(xcopy)

View file

@ -13,4 +13,3 @@ add_subdirectory(thmsvc)
add_subdirectory(umpnpmgr)
add_subdirectory(wkssvc)
add_subdirectory(wlansvc)
add_subdirectory(wmisvc)

View file

@ -0,0 +1,11 @@
add_subdirectory(framedyn)
add_subdirectory(mofcomp)
add_subdirectory(wbemdisp)
add_subdirectory(wbemprox)
add_subdirectory(wmi)
add_subdirectory(wmic)
add_subdirectory(wmisvc)
add_subdirectory(wmiutils)
add_registry_inf(wbem_reg.inf)

View file

@ -0,0 +1,7 @@
; WBem
[AddReg]
HKLM,"SOFTWARE\Microsoft\wbem\ess",,0x00000012
HKLM,"SOFTWARE\Microsoft\wbem\Transports",,0x00000012
HKLM,"SOFTWARE\Microsoft\wbem\Scripting",,0x00000012
HKLM,"SOFTWARE\Microsoft\wbem","Installation Directory",0x00020000,"%SystemRoot%\system32\wbem"
HKLM,"SOFTWARE\Microsoft\wbem","MOF Self-Install Directory",0x00020000,"%SystemRoot%\system32\wbem\mof"

View file

@ -8,3 +8,4 @@ add_library(wmisvc SHARED
set_module_type(wmisvc win32dll UNICODE)
add_importlibs(wmisvc advapi32 msvcrt kernel32 ntdll)
add_cd_file(TARGET wmisvc DESTINATION reactos/system32/wbem FOR all)
add_registry_inf(wmisvc_reg.inf)

View file

@ -0,0 +1,12 @@
; WMI Service
[AddReg]
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","DependOnService",0x00010000,"RPCSS"
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","DisplayName",0x00000000,"ReactOS Management Infrastructure"
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","Description",0x00000000,"Provides interface to system management information"
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","ErrorControl",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","Group",0x00000000,"WMI"
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","ImagePath",0x00020000,"%SystemRoot%\system32\svchost.exe -k netsvcs"
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","ObjectName",0x00000000,"LocalSystem"
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","Start",0x00010001,0x00000002
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","Type",0x00010001,0x00000020
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt\Parameters","ServiceDll",0x00020000,"%SystemRoot%\system32\wbem\wmisvc.dll"

View file

@ -92,13 +92,6 @@ HKLM,"SOFTWARE\Microsoft\Rpc\SecurityService","9",2,"secur32.dll"
HKLM,"SOFTWARE\Microsoft\Secure",,0x00000012
; WBem
HKLM,"SOFTWARE\Microsoft\wbem\ess",,0x00000012
HKLM,"SOFTWARE\Microsoft\wbem\Transports",,0x00000012
HKLM,"SOFTWARE\Microsoft\wbem\Scripting",,0x00000012
HKLM,"SOFTWARE\Microsoft\wbem","Installation Directory",0x00020000,"%SystemRoot%\system32\wbem"
HKLM,"SOFTWARE\Microsoft\wbem","MOF Self-Install Directory",0x00020000,"%SystemRoot%\system32\wbem\mof"
; HTML Help
HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\{de5aed00-a4bf-11d1-9948-00c04f98bbc9}",,2,"HTML Help"
HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\{de5aed00-a4bf-11d1-9948-00c04f98bbc9}","ComponentID",2,"HTMLHelp"

View file

@ -1997,18 +1997,6 @@ HKLM,"SYSTEM\CurrentControlSet\Services\MSIServer","ObjectName",0x00000000,"Loca
HKLM,"SYSTEM\CurrentControlSet\Services\MSIServer","Start",0x00010001,0x00000003
HKLM,"SYSTEM\CurrentControlSet\Services\MSIServer","Type",0x00010001,0x00000020
; WMI Service
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","DependOnService",0x00010000,"RPCSS"
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","DisplayName",0x00000000,"ReactOS Management Infrastructure"
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","Description",0x00000000,"Provides interface to system management information"
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","ErrorControl",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","Group",0x00000000,"WMI"
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","ImagePath",0x00020000,"%SystemRoot%\system32\svchost.exe -k netsvcs"
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","ObjectName",0x00000000,"LocalSystem"
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","Start",0x00010001,0x00000002
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt","Type",0x00010001,0x00000020
HKLM,"SYSTEM\CurrentControlSet\Services\winmgmt\Parameters","ServiceDll",0x00020000,"%SystemRoot%\system32\wbem\wmisvc.dll"
; Sound Blaster (NT4)
;HKLM,"SYSTEM\CurrentControlSet\Services\sndblst","Description",0x00000000,"Sound Blaster (NT4)"
;HKLM,"SYSTEM\CurrentControlSet\Services\sndblst","ErrorControl",0x00010001,0x00000001

View file

@ -42,7 +42,6 @@ add_subdirectory(faultrep)
add_subdirectory(fltlib)
add_subdirectory(fmifs)
add_subdirectory(fontsub)
add_subdirectory(framedyn)
add_subdirectory(fusion)
add_subdirectory(gdiplus)
add_subdirectory(getuname)
@ -220,8 +219,6 @@ add_subdirectory(uxtheme)
add_subdirectory(vbscript)
add_subdirectory(version)
add_subdirectory(vssapi)
add_subdirectory(wbemdisp)
add_subdirectory(wbemprox)
if(ARCH STREQUAL "i386")
add_subdirectory(wdmaud.drv)
endif()
@ -238,8 +235,6 @@ add_subdirectory(winsta)
add_subdirectory(wintrust)
add_subdirectory(wlanapi)
add_subdirectory(wldap32)
add_subdirectory(wmi)
add_subdirectory(wmiutils)
add_subdirectory(wmvcore)
add_subdirectory(ws2_32)
add_subdirectory(ws2help)

View file

@ -21,6 +21,11 @@ reactos/sdk/tools/wpp # Synced to WineStaging-1.9.11
The following libraries are shared with Wine.
reactos/base/wmi/wbemdisp # Synced to WineStaging-1.9.16
reactos/base/wmi/wbemprox # Synced to WineStaging-1.9.23
reactos/base/wmi/wmi # Synced to WineStaging-1.9.11
reactos/base/wmi/wmiutils # Synced to WineStaging-1.9.11
reactos/dll/directx/wine/amstream # Synced to WineStaging-1.9.23
reactos/dll/directx/wine/d3d8 # Synced to WineStaging-1.9.4
reactos/dll/directx/wine/d3d9 # Synced to WineStaging-1.9.4
@ -194,8 +199,6 @@ reactos/dll/win32/uxtheme # Forked
reactos/dll/win32/vbscript # Synced to WineStaging-1.9.23
reactos/dll/win32/version # Synced to WineStaging-1.9.11
reactos/dll/win32/vssapi # Synced to WineStaging-1.9.11
reactos/dll/win32/wbemdisp # Synced to WineStaging-1.9.16
reactos/dll/win32/wbemprox # Synced to WineStaging-1.9.23
reactos/dll/win32/windowscodecs # Synced to WineStaging-1.9.23
reactos/dll/win32/windowscodecsext # Synced to WineStaging-1.9.11
reactos/dll/win32/winemp3.acm # Synced to WineStaging-1.9.23
@ -208,8 +211,6 @@ reactos/dll/win32/winmm/wavemap # Forked at Wine-20050628
reactos/dll/win32/winscard # Synced to WineStaging-1.9.11
reactos/dll/win32/wintrust # Synced to WineStaging-1.9.23
reactos/dll/win32/wldap32 # Synced to WineStaging-1.9.11
reactos/dll/win32/wmi # Synced to WineStaging-1.9.11
reactos/dll/win32/wmiutils # Synced to WineStaging-1.9.11
reactos/dll/win32/wmvcore # Synced to WineStaging-1.9.11
reactos/dll/win32/wshom.ocx # Synced to WineStaging-1.9.11
reactos/dll/win32/wtsapi32 # Synced to WineStaging-1.9.11
@ -230,7 +231,6 @@ reactos/base/applications/cmdutils/cscript # Synced to WineStaging-1.9.11
reactos/base/applications/cmdutils/reg # Synced to WineStaging-1.9.16
reactos/base/applications/cmdutils/schtasks # Synced to WineStaging-1.9.14
reactos/base/applications/cmdutils/taskkill # Synced to WineStaging-1.9.11
reactos/base/applications/cmdutils/wmic # Synced to WineStaging-1.9.11
reactos/base/applications/cmdutils/wscript # Synced to WineStaging-1.9.16
reactos/base/applications/cmdutils/xcopy # Synced to WineStaging-1.9.11
reactos/base/applications/games/winmine # Synced to WineStaging-1.9.16 with our own resources.
@ -244,6 +244,10 @@ reactos/base/applications/write # Synced to WineStaging-1.9.16
reactos/base/services/rpcss # Synced to WineStaging-1.9.16
reactos/base/system/expand # Synced to WineStaging-1.9.11
reactos/base/system/msiexec # Synced to WineStaging-1.9.11
reactos/base/wmi/mofcomp # Synced to Wine-2.2
reactos/base/wmi/wmic # Synced to WineStaging-1.9.11
reactos/modules/rosapps/winfile # Autosync
In addition the following libs, dlls and source files are mostly based on code ported