2002-12-17 00:49:30 +01:00
|
|
|
/*** Autogenerated by WIDL 0.1 from unknwn.idl - Do not edit ***/
|
2000-11-15 23:12:48 +01: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
|
|
|
|
#include "wtypes.h"
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
#ifdef ICOM_USE_COM_INTERFACE_ATTRIBUTE
|
|
|
|
#define ICOM_COM_INTERFACE_ATTRIBUTE __attribute__((com_interface))
|
|
|
|
#else
|
|
|
|
#define ICOM_COM_INTERFACE_ATTRIBUTE
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#ifdef ICOM_MSVTABLE_COMPAT
|
|
|
|
#define ICOM_MSVTABLE_COMPAT_FIELDS \
|
|
|
|
long dummyRTTI1; \
|
|
|
|
long dummyRTTI2;
|
|
|
|
#define ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE 0,0,
|
|
|
|
#else
|
|
|
|
#define ICOM_MSVTABLE_COMPAT_FIELDS
|
|
|
|
#define ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
typedef struct IUnknown IUnknown;
|
|
|
|
typedef IUnknown *LPUNKNOWN;
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IUnknown interface
|
|
|
|
*/
|
|
|
|
DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
struct IUnknown {
|
|
|
|
|
|
|
|
virtual HRESULT CALLBACK QueryInterface(
|
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject) = 0;
|
|
|
|
|
|
|
|
virtual ULONG CALLBACK AddRef(
|
|
|
|
) = 0;
|
|
|
|
|
|
|
|
virtual ULONG CALLBACK Release(
|
|
|
|
) = 0;
|
|
|
|
|
|
|
|
} ICOM_COM_INTERFACE_ATTRIBUTE;
|
|
|
|
#else
|
|
|
|
typedef struct IUnknownVtbl IUnknownVtbl;
|
|
|
|
struct IUnknown {
|
|
|
|
const IUnknownVtbl* lpVtbl;
|
|
|
|
};
|
|
|
|
struct IUnknownVtbl {
|
|
|
|
ICOM_MSVTABLE_COMPAT_FIELDS
|
|
|
|
|
|
|
|
/*** IUnknown methods ***/
|
|
|
|
HRESULT (CALLBACK *QueryInterface)(
|
|
|
|
IUnknown* This,
|
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject);
|
|
|
|
|
|
|
|
ULONG (CALLBACK *AddRef)(
|
|
|
|
IUnknown* This);
|
|
|
|
|
|
|
|
ULONG (CALLBACK *Release)(
|
|
|
|
IUnknown* This);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#define IUnknown_IMETHODS \
|
|
|
|
ICOM_METHOD2 (HRESULT,QueryInterface,REFIID,riid,void**,ppvObject) \
|
|
|
|
ICOM_METHOD (ULONG,AddRef) \
|
|
|
|
ICOM_METHOD (ULONG,Release)
|
|
|
|
|
|
|
|
/*** 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)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
typedef struct IClassFactory IClassFactory;
|
|
|
|
typedef IClassFactory *LPCLASSFACTORY;
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IClassFactory interface
|
|
|
|
*/
|
|
|
|
DEFINE_GUID(IID_IClassFactory, 0x00000001, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
struct IClassFactory: IUnknown {
|
|
|
|
|
|
|
|
virtual HRESULT CALLBACK CreateInstance(
|
|
|
|
IUnknown* pUnkOuter,
|
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject) = 0;
|
|
|
|
|
|
|
|
virtual HRESULT CALLBACK LockServer(
|
|
|
|
BOOL fLock) = 0;
|
|
|
|
|
|
|
|
} ICOM_COM_INTERFACE_ATTRIBUTE;
|
|
|
|
#else
|
|
|
|
typedef struct IClassFactoryVtbl IClassFactoryVtbl;
|
|
|
|
struct IClassFactory {
|
|
|
|
const IClassFactoryVtbl* lpVtbl;
|
|
|
|
};
|
|
|
|
struct IClassFactoryVtbl {
|
|
|
|
ICOM_MSVTABLE_COMPAT_FIELDS
|
|
|
|
|
|
|
|
/*** IUnknown methods ***/
|
|
|
|
HRESULT (CALLBACK *QueryInterface)(
|
2002-12-17 22:05:16 +01:00
|
|
|
IClassFactory* This,
|
2002-12-17 00:49:30 +01:00
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject);
|
|
|
|
|
|
|
|
ULONG (CALLBACK *AddRef)(
|
2002-12-17 22:05:16 +01:00
|
|
|
IClassFactory* This);
|
2000-11-30 02:31:28 +01:00
|
|
|
|
2002-12-17 00:49:30 +01:00
|
|
|
ULONG (CALLBACK *Release)(
|
2002-12-17 22:05:16 +01:00
|
|
|
IClassFactory* This);
|
2002-12-17 00:49:30 +01:00
|
|
|
|
|
|
|
/*** IClassFactory methods ***/
|
|
|
|
HRESULT (CALLBACK *CreateInstance)(
|
|
|
|
IClassFactory* This,
|
|
|
|
IUnknown* pUnkOuter,
|
|
|
|
REFIID riid,
|
|
|
|
void** ppvObject);
|
|
|
|
|
|
|
|
HRESULT (CALLBACK *LockServer)(
|
|
|
|
IClassFactory* This,
|
|
|
|
BOOL fLock);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#define IClassFactory_IMETHODS \
|
|
|
|
IUnknown_IMETHODS \
|
|
|
|
ICOM_METHOD3 (HRESULT,CreateInstance,IUnknown*,pUnkOuter,REFIID,riid,void**,ppvObject) \
|
|
|
|
ICOM_METHOD1 (HRESULT,LockServer,BOOL,fLock)
|
|
|
|
|
|
|
|
/*** 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)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* __WIDL_UNKNWN_H */
|