2002-12-17 00:49:30 +01:00
|
|
|
/*** Autogenerated by WIDL 0.1 from unknwn.idl - Do not edit ***/
|
2003-08-28 23:43:34 +02:00
|
|
|
#include <rpc.h>
|
|
|
|
#include <rpcndr.h>
|
1999-01-17 17:32:32 +01:00
|
|
|
|
2002-12-17 00:49:30 +01:00
|
|
|
#ifndef __WIDL_UNKNWN_H
|
|
|
|
#define __WIDL_UNKNWN_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2003-08-28 23:43:34 +02:00
|
|
|
#include <wtypes.h>
|
2003-07-01 05:43:09 +02:00
|
|
|
#ifndef __IUnknown_FWD_DEFINED__
|
|
|
|
#define __IUnknown_FWD_DEFINED__
|
2002-12-17 00:49:30 +01:00
|
|
|
typedef struct IUnknown IUnknown;
|
2003-07-01 05:43:09 +02:00
|
|
|
#endif
|
|
|
|
|
2002-12-17 00:49:30 +01:00
|
|
|
typedef IUnknown *LPUNKNOWN;
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IUnknown interface
|
|
|
|
*/
|
2003-07-01 05:43:09 +02:00
|
|
|
#ifndef __IUnknown_INTERFACE_DEFINED__
|
|
|
|
#define __IUnknown_INTERFACE_DEFINED__
|
|
|
|
|
2002-12-17 00:49:30 +01:00
|
|
|
DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
2003-04-12 02:09:14 +02:00
|
|
|
struct IUnknown
|
|
|
|
{
|
2004-08-23 00:31:52 +02:00
|
|
|
BEGIN_INTERFACE
|
|
|
|
|
2003-04-10 02:19:24 +02:00
|
|
|
virtual HRESULT STDMETHODCALLTYPE QueryInterface(
|
2002-12-17 00:49:30 +01:00
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject) = 0;
|
|
|
|
|
2003-04-10 02:19:24 +02:00
|
|
|
virtual ULONG STDMETHODCALLTYPE AddRef(
|
2002-12-17 00:49:30 +01:00
|
|
|
) = 0;
|
|
|
|
|
2003-04-10 02:19:24 +02:00
|
|
|
virtual ULONG STDMETHODCALLTYPE Release(
|
2002-12-17 00:49:30 +01:00
|
|
|
) = 0;
|
|
|
|
|
2004-08-23 00:31:52 +02:00
|
|
|
END_INTERFACE
|
2003-04-12 02:09:14 +02:00
|
|
|
};
|
2002-12-17 00:49:30 +01:00
|
|
|
#else
|
|
|
|
typedef struct IUnknownVtbl IUnknownVtbl;
|
|
|
|
struct IUnknown {
|
|
|
|
const IUnknownVtbl* lpVtbl;
|
|
|
|
};
|
|
|
|
struct IUnknownVtbl {
|
2004-08-22 04:25:05 +02:00
|
|
|
BEGIN_INTERFACE
|
2002-12-17 00:49:30 +01:00
|
|
|
|
|
|
|
/*** IUnknown methods ***/
|
2003-04-10 02:19:24 +02:00
|
|
|
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
2002-12-17 00:49:30 +01:00
|
|
|
IUnknown* This,
|
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject);
|
|
|
|
|
2003-04-10 02:19:24 +02:00
|
|
|
ULONG (STDMETHODCALLTYPE *AddRef)(
|
2002-12-17 00:49:30 +01:00
|
|
|
IUnknown* This);
|
|
|
|
|
2003-04-10 02:19:24 +02:00
|
|
|
ULONG (STDMETHODCALLTYPE *Release)(
|
2002-12-17 00:49:30 +01:00
|
|
|
IUnknown* This);
|
|
|
|
|
2004-08-22 04:25:05 +02:00
|
|
|
END_INTERFACE
|
2002-12-17 00:49:30 +01:00
|
|
|
};
|
|
|
|
|
2004-08-11 21:43:45 +02:00
|
|
|
#ifdef COBJMACROS
|
2002-12-17 00:49:30 +01:00
|
|
|
/*** IUnknown methods ***/
|
|
|
|
#define IUnknown_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
|
|
|
#define IUnknown_AddRef(p) (p)->lpVtbl->AddRef(p)
|
|
|
|
#define IUnknown_Release(p) (p)->lpVtbl->Release(p)
|
2004-08-11 21:43:45 +02:00
|
|
|
#endif
|
2002-12-17 00:49:30 +01:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2003-04-11 02:31:02 +02:00
|
|
|
#define IUnknown_METHODS \
|
|
|
|
/*** IUnknown methods ***/ \
|
|
|
|
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
|
|
|
|
2002-12-17 00:49:30 +01:00
|
|
|
HRESULT CALLBACK IUnknown_QueryInterface_Proxy(
|
|
|
|
IUnknown* This,
|
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject);
|
|
|
|
void __RPC_STUB IUnknown_QueryInterface_Stub(
|
|
|
|
struct IRpcStubBuffer* This,
|
|
|
|
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE pRpcMessage,
|
|
|
|
DWORD* pdwStubPhase);
|
|
|
|
ULONG CALLBACK IUnknown_AddRef_Proxy(
|
|
|
|
IUnknown* This);
|
|
|
|
void __RPC_STUB IUnknown_AddRef_Stub(
|
|
|
|
struct IRpcStubBuffer* This,
|
|
|
|
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE pRpcMessage,
|
|
|
|
DWORD* pdwStubPhase);
|
|
|
|
ULONG CALLBACK IUnknown_Release_Proxy(
|
|
|
|
IUnknown* This);
|
|
|
|
void __RPC_STUB IUnknown_Release_Stub(
|
|
|
|
struct IRpcStubBuffer* This,
|
|
|
|
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE pRpcMessage,
|
|
|
|
DWORD* pdwStubPhase);
|
|
|
|
|
2003-07-01 05:43:09 +02:00
|
|
|
#endif /* __IUnknown_INTERFACE_DEFINED__ */
|
|
|
|
|
|
|
|
#ifndef __IClassFactory_FWD_DEFINED__
|
|
|
|
#define __IClassFactory_FWD_DEFINED__
|
2002-12-17 00:49:30 +01:00
|
|
|
typedef struct IClassFactory IClassFactory;
|
2003-07-01 05:43:09 +02:00
|
|
|
#endif
|
|
|
|
|
2002-12-17 00:49:30 +01:00
|
|
|
typedef IClassFactory *LPCLASSFACTORY;
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IClassFactory interface
|
|
|
|
*/
|
2003-07-01 05:43:09 +02:00
|
|
|
#ifndef __IClassFactory_INTERFACE_DEFINED__
|
|
|
|
#define __IClassFactory_INTERFACE_DEFINED__
|
|
|
|
|
2002-12-17 00:49:30 +01:00
|
|
|
DEFINE_GUID(IID_IClassFactory, 0x00000001, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
2003-04-12 02:09:14 +02:00
|
|
|
struct IClassFactory : public IUnknown
|
|
|
|
{
|
2003-04-10 02:19:24 +02:00
|
|
|
virtual HRESULT STDMETHODCALLTYPE CreateInstance(
|
2002-12-17 00:49:30 +01:00
|
|
|
IUnknown* pUnkOuter,
|
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject) = 0;
|
|
|
|
|
2003-04-10 02:19:24 +02:00
|
|
|
virtual HRESULT STDMETHODCALLTYPE LockServer(
|
2002-12-17 00:49:30 +01:00
|
|
|
BOOL fLock) = 0;
|
|
|
|
|
2003-04-12 02:09:14 +02:00
|
|
|
};
|
2002-12-17 00:49:30 +01:00
|
|
|
#else
|
|
|
|
typedef struct IClassFactoryVtbl IClassFactoryVtbl;
|
|
|
|
struct IClassFactory {
|
|
|
|
const IClassFactoryVtbl* lpVtbl;
|
|
|
|
};
|
|
|
|
struct IClassFactoryVtbl {
|
2004-08-22 04:25:05 +02:00
|
|
|
BEGIN_INTERFACE
|
2002-12-17 00:49:30 +01:00
|
|
|
|
|
|
|
/*** IUnknown methods ***/
|
2003-04-10 02:19:24 +02:00
|
|
|
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
2002-12-17 22:05:16 +01:00
|
|
|
IClassFactory* This,
|
2002-12-17 00:49:30 +01:00
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject);
|
|
|
|
|
2003-04-10 02:19:24 +02:00
|
|
|
ULONG (STDMETHODCALLTYPE *AddRef)(
|
2002-12-17 22:05:16 +01:00
|
|
|
IClassFactory* This);
|
2000-11-30 02:31:28 +01:00
|
|
|
|
2003-04-10 02:19:24 +02:00
|
|
|
ULONG (STDMETHODCALLTYPE *Release)(
|
2002-12-17 22:05:16 +01:00
|
|
|
IClassFactory* This);
|
2002-12-17 00:49:30 +01:00
|
|
|
|
|
|
|
/*** IClassFactory methods ***/
|
2003-04-10 02:19:24 +02:00
|
|
|
HRESULT (STDMETHODCALLTYPE *CreateInstance)(
|
2002-12-17 00:49:30 +01:00
|
|
|
IClassFactory* This,
|
|
|
|
IUnknown* pUnkOuter,
|
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject);
|
|
|
|
|
2003-04-10 02:19:24 +02:00
|
|
|
HRESULT (STDMETHODCALLTYPE *LockServer)(
|
2002-12-17 00:49:30 +01:00
|
|
|
IClassFactory* This,
|
|
|
|
BOOL fLock);
|
|
|
|
|
2004-08-22 04:25:05 +02:00
|
|
|
END_INTERFACE
|
2002-12-17 00:49:30 +01:00
|
|
|
};
|
|
|
|
|
2004-08-11 21:43:45 +02:00
|
|
|
#ifdef COBJMACROS
|
2002-12-17 00:49:30 +01:00
|
|
|
/*** IUnknown methods ***/
|
|
|
|
#define IClassFactory_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
|
|
|
#define IClassFactory_AddRef(p) (p)->lpVtbl->AddRef(p)
|
|
|
|
#define IClassFactory_Release(p) (p)->lpVtbl->Release(p)
|
|
|
|
/*** IClassFactory methods ***/
|
|
|
|
#define IClassFactory_CreateInstance(p,a,b,c) (p)->lpVtbl->CreateInstance(p,a,b,c)
|
|
|
|
#define IClassFactory_LockServer(p,a) (p)->lpVtbl->LockServer(p,a)
|
2004-08-11 21:43:45 +02:00
|
|
|
#endif
|
2002-12-17 00:49:30 +01:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2003-04-11 02:31:02 +02:00
|
|
|
#define IClassFactory_METHODS \
|
|
|
|
/*** IUnknown methods ***/ \
|
|
|
|
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
|
|
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
|
|
|
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
|
|
|
/*** IClassFactory methods ***/ \
|
|
|
|
STDMETHOD_(HRESULT,CreateInstance)(THIS_ IUnknown* pUnkOuter, REFIID riid, void** ppvObject) PURE; \
|
|
|
|
STDMETHOD_(HRESULT,LockServer)(THIS_ BOOL fLock) PURE;
|
|
|
|
|
2002-12-17 00:49:30 +01:00
|
|
|
HRESULT CALLBACK IClassFactory_RemoteCreateInstance_Proxy(
|
|
|
|
IClassFactory* This,
|
|
|
|
REFIID riid,
|
|
|
|
IUnknown** ppvObject);
|
|
|
|
void __RPC_STUB IClassFactory_RemoteCreateInstance_Stub(
|
|
|
|
struct IRpcStubBuffer* This,
|
|
|
|
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE pRpcMessage,
|
|
|
|
DWORD* pdwStubPhase);
|
|
|
|
HRESULT CALLBACK IClassFactory_CreateInstance_Proxy(
|
|
|
|
IClassFactory* This,
|
|
|
|
IUnknown* pUnkOuter,
|
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject);
|
|
|
|
HRESULT __RPC_STUB IClassFactory_CreateInstance_Stub(
|
|
|
|
IClassFactory* This,
|
|
|
|
REFIID riid,
|
|
|
|
IUnknown** ppvObject);
|
|
|
|
HRESULT CALLBACK IClassFactory_RemoteLockServer_Proxy(
|
|
|
|
IClassFactory* This,
|
|
|
|
BOOL fLock);
|
|
|
|
void __RPC_STUB IClassFactory_RemoteLockServer_Stub(
|
|
|
|
struct IRpcStubBuffer* This,
|
|
|
|
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
|
|
|
PRPC_MESSAGE pRpcMessage,
|
|
|
|
DWORD* pdwStubPhase);
|
|
|
|
HRESULT CALLBACK IClassFactory_LockServer_Proxy(
|
|
|
|
IClassFactory* This,
|
|
|
|
BOOL fLock);
|
|
|
|
HRESULT __RPC_STUB IClassFactory_LockServer_Stub(
|
|
|
|
IClassFactory* This,
|
|
|
|
BOOL fLock);
|
|
|
|
|
2003-07-01 05:43:09 +02:00
|
|
|
#endif /* __IClassFactory_INTERFACE_DEFINED__ */
|
|
|
|
|
2002-12-17 00:49:30 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* __WIDL_UNKNWN_H */
|