set_source_files_properties(wshom.rc PROPERTIES OBJECT_DEPENDS "${wshom_rc_deps}")
set_module_type(wshom win32ocx)
target_link_libraries(wshom uuid wine)
-add_importlibs(wshom oleaut32 ole32 shell32 advapi32 user32 msvcrt kernel32 ntdll)
+add_importlibs(wshom oleaut32 ole32 shell32 advapi32 advapi32_vista user32 msvcrt kernel32 ntdll)
add_dependencies(wshom stdole2 wshom_idlheader)
add_pch(wshom wshom_private.h SOURCE)
add_cd_file(TARGET wshom DESTINATION reactos/system32 FOR all)
#include <wine/unicode.h>
-/* FIXME: Vista+*/
-LONG WINAPI RegSetKeyValueW( HKEY hkey, LPCWSTR subkey, LPCWSTR name, DWORD type, const void *data, DWORD len )
-{
- HKEY hsubkey = NULL;
- DWORD ret;
-
- TRACE("(%p,%s,%s,%d,%p,%d)\n", hkey, debugstr_w(subkey), debugstr_w(name), type, data, len );
-
- if (subkey && subkey[0]) /* need to create the subkey */
- {
- if ((ret = RegCreateKeyW( hkey, subkey, &hsubkey )) != ERROR_SUCCESS) return ret;
- hkey = hsubkey;
- }
-
- ret = RegSetValueExW( hkey, name, 0, type, (const BYTE*)data, len );
- if (hsubkey) RegCloseKey( hsubkey );
- return ret;
-}
-
static IWshShell3 WshShell3;
typedef struct
reactos/dll/win32/wmi # Synced to WineStaging-1.7.47
reactos/dll/win32/wmiutils # Synced to WineStaging-1.7.47
reactos/dll/win32/wmvcore # Synced to WineStaging-1.7.47
-reactos/dll/win32/wshom.ocx # Synced to WineStaging-1.7.47
+reactos/dll/win32/wshom.ocx # Synced to WineStaging-1.7.55
reactos/dll/win32/wtsapi32 # Synced to WineStaging-1.7.47
reactos/dll/win32/wuapi # Synced to WineStaging-1.7.47
reactos/dll/win32/xinput1_1 # Synced to WineStaging-1.7.47