Commit 62c37253 authored by Alexandre Julliard's avatar Alexandre Julliard

msxml6: Add a typelib resource.

parent d344e9a2
...@@ -95,6 +95,7 @@ dlls/msxml3/msxml3_v1.tlb ...@@ -95,6 +95,7 @@ dlls/msxml3/msxml3_v1.tlb
dlls/msxml3/xslpattern.tab.c dlls/msxml3/xslpattern.tab.c
dlls/msxml3/xslpattern.tab.h dlls/msxml3/xslpattern.tab.h
dlls/msxml3/xslpattern.yy.c dlls/msxml3/xslpattern.yy.c
dlls/msxml6/msxml6_tlb.tlb
dlls/ole32/dcom.h dlls/ole32/dcom.h
dlls/ole32/dcom_p.c dlls/ole32/dcom_p.c
dlls/ole32/irot.h dlls/ole32/irot.h
......
EXTRADEFS = -DCOM_NO_WINDOWS_H EXTRADEFS = -DCOM_NO_WINDOWS_H
MODULE = msxml6.dll MODULE = msxml6.dll
IMPORTS = ole32 advapi32 IMPORTS = oleaut32 ole32 advapi32
C_SRCS = \ C_SRCS = \
main.c \ main.c \
...@@ -8,4 +8,6 @@ C_SRCS = \ ...@@ -8,4 +8,6 @@ C_SRCS = \
RC_SRCS = rsrc.rc RC_SRCS = rsrc.rc
IDL_TLB_SRCS = msxml6_tlb.idl
@MAKE_DLL_RULES@ @MAKE_DLL_RULES@
/*
* Copyright 2010 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "msxml6.idl"
...@@ -438,6 +438,7 @@ static struct progid const progid_list[] = { ...@@ -438,6 +438,7 @@ static struct progid const progid_list[] = {
*/ */
HRESULT WINAPI DllRegisterServer(void) HRESULT WINAPI DllRegisterServer(void)
{ {
static const WCHAR msxml6W[] = {'m','s','x','m','l','6','.','d','l','l',0};
HRESULT hr; HRESULT hr;
TRACE("\n"); TRACE("\n");
...@@ -446,6 +447,13 @@ HRESULT WINAPI DllRegisterServer(void) ...@@ -446,6 +447,13 @@ HRESULT WINAPI DllRegisterServer(void)
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
hr = register_progids(progid_list); hr = register_progids(progid_list);
if (SUCCEEDED(hr))
{
ITypeLib *tl;
hr = LoadTypeLibEx( msxml6W, REGKIND_REGISTER, &tl );
if (SUCCEEDED(hr)) ITypeLib_Release( tl );
}
return hr; return hr;
} }
...@@ -461,6 +469,8 @@ HRESULT WINAPI DllUnregisterServer(void) ...@@ -461,6 +469,8 @@ HRESULT WINAPI DllUnregisterServer(void)
hr = unregister_coclasses(coclass_list); hr = unregister_coclasses(coclass_list);
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
hr = unregister_progids(progid_list); hr = unregister_progids(progid_list);
if (SUCCEEDED(hr))
hr = UnRegisterTypeLib( &LIBID_MSXML2, 6, 0, LOCALE_SYSTEM_DEFAULT, SYS_WIN32 );
return hr; return hr;
} }
...@@ -16,6 +16,9 @@ ...@@ -16,6 +16,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
/* @makedep: msxml6_tlb.tlb */
1 TYPELIB msxml6_tlb.tlb
#define WINE_OLESELFREGISTER #define WINE_OLESELFREGISTER
#define WINE_FILEDESCRIPTION_STR "Wine MSXML 6.0" #define WINE_FILEDESCRIPTION_STR "Wine MSXML 6.0"
#define WINE_FILENAME_STR "msxml6.dll" #define WINE_FILENAME_STR "msxml6.dll"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment