wuapi: Add a typelib resource.

This commit is contained in:
Alexandre Julliard 2010-12-09 10:33:25 +01:00
parent 500c47ccab
commit 2f0371e84d
5 changed files with 59 additions and 0 deletions

1
.gitignore vendored
View File

@ -145,6 +145,7 @@ dlls/urlmon/urlmon_urlmon.h
dlls/urlmon/urlmon_urlmon_p.c
dlls/windowscodecs/windowscodecs_wincodec.h
dlls/windowscodecs/windowscodecs_wincodec_p.c
dlls/wuapi/wuapi_tlb.tlb
include/activaut.h
include/activdbg.h
include/activscp.h

View File

@ -11,4 +11,8 @@ C_SRCS = \
session.c \
updates.c
IDL_TLB_SRCS = wuapi_tlb.idl
RC_SRCS = rsrc.rc
@MAKE_DLL_RULES@

22
dlls/wuapi/rsrc.rc Normal file
View File

@ -0,0 +1,22 @@
/*
* Resources for wuapi
*
* 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
*/
/* @makedep: wuapi_tlb.tlb */
1 TYPELIB wuapi_tlb.tlb

21
dlls/wuapi/wuapi_tlb.idl Normal file
View File

@ -0,0 +1,21 @@
/*
* Typelib for wuapi
*
* 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 "wuapi.idl"

View File

@ -21,6 +21,15 @@ cpp_quote("DEFINE_GUID(CLSID_UpdateSession, 0x4cb43d7f,0x7eee,0x4906,0x86,0x98,0
import "oaidl.idl";
[
helpstring("WUAPI 2.0 Type Library"),
uuid(b596cc9f-56e5-419e-a622-e01bb457431e),
version(2.0)
]
library WUApiLib {
importlib("stdole2.tlb");
interface ICategoryCollection;
interface IStringCollection;
interface IUpdateCollection;
@ -1287,3 +1296,5 @@ interface IUpdateInstaller : IDispatch
HRESULT RebootRequiredBeforeInstallation(
[out, retval] VARIANT_BOOL *retval);
}
} /* WUApiLib */