NT4/private/ole32/stg/props/iprop/unknwn.h
2020-09-30 17:12:29 +02:00

326 lines
8.1 KiB
C++

/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 2.00.0102 */
/* at Fri Apr 28 07:02:30 1995
*/
//@@MIDL_FILE_HEADING( )
#ifndef __RPCBASE_H__
#include "rpcbase.h"
#endif /* ___RPCBASE_H__ */
#ifndef NORPC
#ifndef __RPC_H__
#include "rpc.h"
#endif /* ___RPC_H__ */
#ifndef __RPCNDR_H__
#include "rpcndr.h"
#endif /* __RPCNDR_H_ */
#endif /* NORPC */
#ifndef COM_NO_WINDOWS_H
#ifndef _INC_WINDOWS
#include "windows.h"
#endif /* _INC_WINDOWS */
#ifndef _OLE2_H_
#include "ole2.h"
#endif /* _OLE2_H_ */
#endif /*COM_NO_WINDOWS_H*/
#ifndef __unknwn_h__
#define __unknwn_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __IUnknown_FWD_DEFINED__
#define __IUnknown_FWD_DEFINED__
typedef interface IUnknown IUnknown;
#endif /* __IUnknown_FWD_DEFINED__ */
#ifndef __IClassFactory_FWD_DEFINED__
#define __IClassFactory_FWD_DEFINED__
typedef interface IClassFactory IClassFactory;
#endif /* __IClassFactory_FWD_DEFINED__ */
/* header files for imported files */
#ifndef __wtypes_h__
#include "wtypes.h"
#endif /* __wtypes_h__ */
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
#ifndef __IUnknown_INTERFACE_DEFINED__
#define __IUnknown_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: IUnknown
* at Fri Apr 28 07:02:30 1995
* using MIDL 2.00.0102
****************************************/
/* [unique][uuid][object][local] */
//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1995.
//
//--------------------------------------------------------------------------
/* size is 4 */
typedef /* [unique] */ IUnknown __RPC_FAR *LPUNKNOWN;
//////////////////////////////////////////////////////////////////
// IID_IUnknown and all other system IIDs are provided in UUID.LIB
// Link that library in with your proxies, clients and servers
//////////////////////////////////////////////////////////////////
EXTERN_C const IID IID_IUnknown;
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IUnknown
{
public:
virtual HRESULT __stdcall QueryInterface(
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject) = 0;
virtual ULONG __stdcall AddRef( void) = 0;
virtual ULONG __stdcall Release( void) = 0;
};
#else /* C style interface */
typedef struct IUnknownVtbl
{
HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
IUnknown __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( __stdcall __RPC_FAR *AddRef )(
IUnknown __RPC_FAR * This);
ULONG ( __stdcall __RPC_FAR *Release )(
IUnknown __RPC_FAR * This);
} IUnknownVtbl;
interface IUnknown
{
CONST_VTBL struct IUnknownVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IUnknown_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IUnknown_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IUnknown_Release(This) \
(This)->lpVtbl -> Release(This)
#endif /* COBJMACROS */
#endif /* C style interface */
#ifndef NOPROXYSTUB
HRESULT __stdcall IUnknown_QueryInterface_Proxy(
IUnknown __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
void __RPC_STUB IUnknown_QueryInterface_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
ULONG __stdcall IUnknown_AddRef_Proxy(
IUnknown __RPC_FAR * This);
void __RPC_STUB IUnknown_AddRef_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
ULONG __stdcall IUnknown_Release_Proxy(
IUnknown __RPC_FAR * This);
void __RPC_STUB IUnknown_Release_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif // NOPROXYSTUB
#endif /* __IUnknown_INTERFACE_DEFINED__ */
#ifndef __IClassFactory_INTERFACE_DEFINED__
#define __IClassFactory_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: IClassFactory
* at Fri Apr 28 07:02:30 1995
* using MIDL 2.00.0102
****************************************/
/* [unique][uuid][object] */
/* size is 4 */
typedef /* [unique] */ IClassFactory __RPC_FAR *LPCLASSFACTORY;
EXTERN_C const IID IID_IClassFactory;
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IClassFactory : public IUnknown
{
public:
virtual /* [local] */ HRESULT __stdcall CreateInstance(
/* [unique][in] */ IUnknown __RPC_FAR *pUnkOuter,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject) = 0;
virtual HRESULT __stdcall LockServer(
/* [in] */ BOOL fLock) = 0;
};
#else /* C style interface */
typedef struct IClassFactoryVtbl
{
HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
IClassFactory __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( __stdcall __RPC_FAR *AddRef )(
IClassFactory __RPC_FAR * This);
ULONG ( __stdcall __RPC_FAR *Release )(
IClassFactory __RPC_FAR * This);
/* [local] */ HRESULT ( __stdcall __RPC_FAR *CreateInstance )(
IClassFactory __RPC_FAR * This,
/* [unique][in] */ IUnknown __RPC_FAR *pUnkOuter,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
HRESULT ( __stdcall __RPC_FAR *LockServer )(
IClassFactory __RPC_FAR * This,
/* [in] */ BOOL fLock);
} IClassFactoryVtbl;
interface IClassFactory
{
CONST_VTBL struct IClassFactoryVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IClassFactory_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IClassFactory_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IClassFactory_Release(This) \
(This)->lpVtbl -> Release(This)
#define IClassFactory_CreateInstance(This,pUnkOuter,riid,ppvObject) \
(This)->lpVtbl -> CreateInstance(This,pUnkOuter,riid,ppvObject)
#define IClassFactory_LockServer(This,fLock) \
(This)->lpVtbl -> LockServer(This,fLock)
#endif /* COBJMACROS */
#endif /* C style interface */
#ifndef NOPROXYSTUB
/* [call_as] */ HRESULT __stdcall IClassFactory_RemoteCreateInstance_Proxy(
IClassFactory __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
void __RPC_STUB IClassFactory_RemoteCreateInstance_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IClassFactory_LockServer_Proxy(
IClassFactory __RPC_FAR * This,
/* [in] */ BOOL fLock);
void __RPC_STUB IClassFactory_LockServer_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif //NOPROXYSTUB
#endif /* __IClassFactory_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* [local] */ HRESULT __stdcall IClassFactory_CreateInstance_Proxy(
IClassFactory __RPC_FAR * This,
/* [unique][in] */ IUnknown __RPC_FAR *pUnkOuter,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
/* [call_as] */ HRESULT __stdcall IClassFactory_CreateInstance_Stub(
IClassFactory __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObject);
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif