#include "localspl_private.h"
+#include <shlwapi.h>
#include <ddk/winddiui.h>
/* ############################### */
return FALSE;
}
- if(RegDeleteTreeW(hroot, pMonitorName) == ERROR_SUCCESS) {
+ if(SHDeleteKeyW(hroot, pMonitorName) == ERROR_SUCCESS) {
TRACE("%s deleted\n", debugstr_w(pMonitorName));
RegCloseKey(hroot);
return TRUE;