inseng.idl: Added new IDL.

This commit is contained in:
Jacek Caban 2015-04-22 15:47:59 +02:00 committed by Alexandre Julliard
parent 6238adc817
commit 4d7b7b71e1
5 changed files with 33 additions and 9 deletions

View File

@ -3,4 +3,4 @@ IMPORTS = uuid ole32 advapi32
C_SRCS = inseng_main.c
IDL_SRCS = inseng.idl
IDL_SRCS = inseng_classes.idl

View File

@ -0,0 +1,23 @@
/*
* COM Classes for inseng
*
* 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
*/
#pragma makedep register
#include "inseng.idl"

View File

@ -110,8 +110,8 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
*/
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
{
if(IsEqualGUID(rclsid, &CLSID_ActiveSetupEng)) {
TRACE("(CLSID_ActiveSetupEng %s %p)\n", debugstr_guid(iid), ppv);
if(IsEqualGUID(rclsid, &CLSID_InstallEngine)) {
TRACE("(CLSID_InstallEngine %s %p)\n", debugstr_guid(iid), ppv);
return IClassFactory_QueryInterface(&ActiveSetupEngCF, iid, ppv);
}

View File

@ -59,6 +59,7 @@ PUBLIC_IDL_H_SRCS = \
imnxport.idl \
indexsrv.idl \
inputscope.idl \
inseng.idl \
mediaobj.idl \
metahost.idl \
mimeinfo.idl \

View File

@ -1,7 +1,5 @@
/*
* COM Classes for inseng
*
* Copyright 2010 Alexandre Julliard
* Copyright 2015 Jacek Caban for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -18,18 +16,20 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#pragma makedep register
#ifndef __WIDL__
#define threading(model)
#endif
[
helpstring("Microsoft Active Setup Engine"),
threading(apartment),
uuid(6e449686-c509-11cf-aafa-00aa00b6015c)
]
coclass ActiveSetupEng { }
coclass InstallEngine { }
[
helpstring("Download Site Manager"),
threading(apartment),
uuid(bfc880f1-7484-11d0-8309-00aa00b6015c)
]
coclass DLManager { }
coclass DownloadSiteMgr { }