msxml6: Add a typelib resource.
This commit is contained in:
parent
d344e9a261
commit
62c37253e6
|
@ -95,6 +95,7 @@ dlls/msxml3/msxml3_v1.tlb
|
|||
dlls/msxml3/xslpattern.tab.c
|
||||
dlls/msxml3/xslpattern.tab.h
|
||||
dlls/msxml3/xslpattern.yy.c
|
||||
dlls/msxml6/msxml6_tlb.tlb
|
||||
dlls/ole32/dcom.h
|
||||
dlls/ole32/dcom_p.c
|
||||
dlls/ole32/irot.h
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
EXTRADEFS = -DCOM_NO_WINDOWS_H
|
||||
MODULE = msxml6.dll
|
||||
IMPORTS = ole32 advapi32
|
||||
IMPORTS = oleaut32 ole32 advapi32
|
||||
|
||||
C_SRCS = \
|
||||
main.c \
|
||||
|
@ -8,4 +8,6 @@ C_SRCS = \
|
|||
|
||||
RC_SRCS = rsrc.rc
|
||||
|
||||
IDL_TLB_SRCS = msxml6_tlb.idl
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* 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[] = {
|
|||
*/
|
||||
HRESULT WINAPI DllRegisterServer(void)
|
||||
{
|
||||
static const WCHAR msxml6W[] = {'m','s','x','m','l','6','.','d','l','l',0};
|
||||
HRESULT hr;
|
||||
|
||||
TRACE("\n");
|
||||
|
@ -446,6 +447,13 @@ HRESULT WINAPI DllRegisterServer(void)
|
|||
if (SUCCEEDED(hr))
|
||||
hr = register_progids(progid_list);
|
||||
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
ITypeLib *tl;
|
||||
hr = LoadTypeLibEx( msxml6W, REGKIND_REGISTER, &tl );
|
||||
if (SUCCEEDED(hr)) ITypeLib_Release( tl );
|
||||
}
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
||||
|
@ -461,6 +469,8 @@ HRESULT WINAPI DllUnregisterServer(void)
|
|||
hr = unregister_coclasses(coclass_list);
|
||||
if (SUCCEEDED(hr))
|
||||
hr = unregister_progids(progid_list);
|
||||
if (SUCCEEDED(hr))
|
||||
hr = UnRegisterTypeLib( &LIBID_MSXML2, 6, 0, LOCALE_SYSTEM_DEFAULT, SYS_WIN32 );
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
* 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_FILEDESCRIPTION_STR "Wine MSXML 6.0"
|
||||
#define WINE_FILENAME_STR "msxml6.dll"
|
||||
|
|
Loading…
Reference in New Issue