${CMAKE_CURRENT_BINARY_DIR}/shell32_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/shell32.def)
+
+add_typelib(shell32_shldisp.idl)
+set_source_files_properties(shell32.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/shell32_shldisp.tlb)
+
set_module_type(shell32 win32dll UNICODE)
target_link_libraries(shell32 shellmenu shelldesktop atlnew wine uuid recyclebin)
add_delay_importlibs(shell32 uxtheme ole32 oleaut32 userenv version fmifs)
{
HRESULT hr;
- hr = gModule.DllRegisterServer(FALSE);
+ hr = gModule.DllRegisterServer(TRUE);
if (FAILED(hr))
return hr;
{
HRESULT hr;
- hr = gModule.DllUnregisterServer(FALSE);
+ hr = gModule.DllUnregisterServer(TRUE);
if (FAILED(hr))
return hr;
--- /dev/null
+/*\r
+ * Copyright 2011 Alexandre Julliard\r
+ *\r
+ * This library is free software; you can redistribute it and/or\r
+ * modify it under the terms of the GNU Lesser General Public\r
+ * License as published by the Free Software Foundation; either\r
+ * version 2.1 of the License, or (at your option) any later version.\r
+ *\r
+ * This library is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
+ * Lesser General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU Lesser General Public\r
+ * License along with this library; if not, write to the Free Software\r
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA\r
+ */\r
+\r
+/* just a wrapper for shldisp.idl */\r
+\r
+#pragma makedep proxy\r
+#pragma makedep register\r
+\r
+#include "shldisp.idl"\r
+\r