2003-09-03 22:20:49 +02:00
|
|
|
/*** Autogenerated by WIDL 0.1 from servprov.idl - Do not edit ***/
|
2003-08-28 23:43:34 +02:00
|
|
|
#include <rpc.h>
|
|
|
|
#include <rpcndr.h>
|
2003-09-03 22:20:49 +02:00
|
|
|
|
|
|
|
#ifndef __WIDL_SERVPROV_H
|
|
|
|
#define __WIDL_SERVPROV_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
#include <objidl.h>
|
|
|
|
#ifndef __IServiceProvider_FWD_DEFINED__
|
|
|
|
#define __IServiceProvider_FWD_DEFINED__
|
|
|
|
typedef struct IServiceProvider IServiceProvider;
|
2001-07-18 22:04:08 +02:00
|
|
|
#endif
|
|
|
|
|
2003-09-03 22:20:49 +02:00
|
|
|
typedef IServiceProvider *LPSERVICEPROVIDER;
|
1999-01-17 17:32:32 +01:00
|
|
|
|
2003-09-03 22:20:49 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* IServiceProvider interface
|
|
|
|
*/
|
|
|
|
#ifndef __IServiceProvider_INTERFACE_DEFINED__
|
|
|
|
#define __IServiceProvider_INTERFACE_DEFINED__
|
1999-01-17 17:32:32 +01:00
|
|
|
|
2003-09-03 22:20:49 +02:00
|
|
|
DEFINE_GUID(IID_IServiceProvider, 0x6d5140c1, 0x7436, 0x11ce, 0x80,0x34, 0x00,0xaa,0x00,0x60,0x09,0xfa);
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
struct IServiceProvider : public IUnknown
|
|
|
|
{
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE QueryService(
|
|
|
|
REFGUID guidService,
|
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject) = 0;
|
1999-01-17 17:32:32 +01:00
|
|
|
|
2003-09-03 22:20:49 +02:00
|
|
|
};
|
|
|
|
#else
|
|
|
|
typedef struct IServiceProviderVtbl IServiceProviderVtbl;
|
|
|
|
struct IServiceProvider {
|
|
|
|
const IServiceProviderVtbl* lpVtbl;
|
|
|
|
};
|
|
|
|
struct IServiceProviderVtbl {
|
2004-08-22 04:25:05 +02:00
|
|
|
BEGIN_INTERFACE
|
1999-01-17 17:32:32 +01:00
|
|
|
|
2003-09-03 22:20:49 +02:00
|
|
|
/*** IUnknown methods ***/
|
|
|
|
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
|
|
|
IServiceProvider* This,
|
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject);
|
1999-01-17 17:32:32 +01:00
|
|
|
|
2003-09-03 22:20:49 +02:00
|
|
|
ULONG (STDMETHODCALLTYPE *AddRef)(
|
|
|
|
IServiceProvider* This);
|
1999-01-17 17:32:32 +01:00
|
|
|
|
2003-09-03 22:20:49 +02:00
|
|
|
ULONG (STDMETHODCALLTYPE *Release)(
|
|
|
|
IServiceProvider* This);
|
|
|
|
|
|
|
|
/*** IServiceProvider methods ***/
|
|
|
|
HRESULT (STDMETHODCALLTYPE *QueryService)(
|
|
|
|
IServiceProvider* This,
|
|
|
|
REFGUID guidService,
|
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject);
|
|
|
|
|
2004-08-22 04:25:05 +02:00
|
|
|
END_INTERFACE
|
2003-09-03 22:20:49 +02:00
|
|
|
};
|
1999-01-17 17:32:32 +01:00
|
|
|
|
2004-08-11 21:43:45 +02:00
|
|
|
#ifdef COBJMACROS
|
1999-01-17 17:32:32 +01:00
|
|
|
/*** IUnknown methods ***/
|
2003-04-10 23:13:58 +02:00
|
|
|
#define IServiceProvider_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
2003-09-03 22:20:49 +02:00
|
|
|
#define IServiceProvider_AddRef(p) (p)->lpVtbl->AddRef(p)
|
|
|
|
#define IServiceProvider_Release(p) (p)->lpVtbl->Release(p)
|
1999-01-17 17:32:32 +01:00
|
|
|
/*** IServiceProvider methods ***/
|
2003-04-10 23:13:58 +02:00
|
|
|
#define IServiceProvider_QueryService(p,a,b,c) (p)->lpVtbl->QueryService(p,a,b,c)
|
2004-08-11 21:43:45 +02:00
|
|
|
#endif
|
2003-09-03 22:20:49 +02:00
|
|
|
|
2003-04-10 23:13:58 +02:00
|
|
|
#endif
|
1999-01-17 17:32:32 +01:00
|
|
|
|
2003-09-03 22:20:49 +02:00
|
|
|
#define IServiceProvider_METHODS \
|
|
|
|
/*** IUnknown methods ***/ \
|
|
|
|
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
|
|
|
/*** IServiceProvider methods ***/ \
|
|
|
|
STDMETHOD_(HRESULT,QueryService)(THIS_ REFGUID guidService, REFIID riid, void** ppvObject) PURE;
|
|
|
|
|
|
|
|
HRESULT CALLBACK IServiceProvider_RemoteQueryService_Proxy(
|
|
|
|
IServiceProvider* This,
|
|
|
|
REFGUID guidService,
|
|
|
|
REFIID riid,
|
|
|
|
IUnknown** ppvObject);
|
|
|
|
void __RPC_STUB IServiceProvider_RemoteQueryService_Stub(
|
|
|
|
struct IRpcStubBuffer* This,
|
|
|
|
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE pRpcMessage,
|
|
|
|
DWORD* pdwStubPhase);
|
|
|
|
HRESULT CALLBACK IServiceProvider_QueryService_Proxy(
|
|
|
|
IServiceProvider* This,
|
|
|
|
REFGUID guidService,
|
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject);
|
|
|
|
HRESULT __RPC_STUB IServiceProvider_QueryService_Stub(
|
|
|
|
IServiceProvider* This,
|
|
|
|
REFGUID guidService,
|
|
|
|
REFIID riid,
|
|
|
|
IUnknown** ppvObject);
|
1999-01-17 17:32:32 +01:00
|
|
|
|
2003-09-03 22:20:49 +02:00
|
|
|
#endif /* __IServiceProvider_INTERFACE_DEFINED__ */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* __WIDL_SERVPROV_H */
|