* Do not rely on RegDeleteTreeW which shouldn't be exported.
* We no longer need to define _WIN32_WINNT as 0x600.
CORE-8174
svn path=/trunk/; revision=63555
-remove_definitions(-D_WIN32_WINNT=0x502)
-add_definitions(-D_WIN32_WINNT=0x600)
-
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(msctf.dll msctf.spec)
set_module_type(msctf win32dll)
target_link_libraries(msctf uuid wine)
-add_importlibs(msctf ole32 oleaut32 user32 advapi32 msvcrt kernel32 ntdll)
+add_importlibs(msctf ole32 oleaut32 user32 advapi32 shlwapi msvcrt kernel32 ntdll)
add_pch(msctf msctf_internal.h SOURCE)
add_cd_file(TARGET msctf DESTINATION reactos/system32 FOR all)
sprintfW(fullkey,fmt2,ctg,ctg,buf,buf2);
sprintfW(fullkey,fmt2,ctg,itm,buf2,buf);
- RegDeleteTreeW(tipkey, fullkey);
+ SHDeleteKeyW(tipkey, fullkey);
sprintfW(fullkey,fmt2,ctg,itm,buf2,buf);
- RegDeleteTreeW(tipkey, fullkey);
+ SHDeleteKeyW(tipkey, fullkey);
RegCloseKey(tipkey);
return S_OK;
StringFromGUID2(rclsid, buf, 39);
sprintfW(fullkey,szwTipfmt,szwSystemTIPKey,buf);
- RegDeleteTreeW(HKEY_LOCAL_MACHINE, fullkey);
- RegDeleteTreeW(HKEY_CURRENT_USER, fullkey);
+ SHDeleteKeyW(HKEY_LOCAL_MACHINE, fullkey);
+ SHDeleteKeyW(HKEY_CURRENT_USER, fullkey);
return S_OK;
}
#include <objbase.h>
#include <olectl.h>
#include <msctf.h>
+#include <shlwapi.h>
#include <wine/list.h>
#include <wine/unicode.h>