mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 04:10:04 +00:00
wuapi: Add a typelib resource.
This commit is contained in:
parent
500c47ccab
commit
2f0371e84d
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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
22
dlls/wuapi/rsrc.rc
Normal 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
21
dlls/wuapi/wuapi_tlb.idl
Normal 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"
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user