Initial
This commit is contained in:
201
test/DEMO.H
Normal file
201
test/DEMO.H
Normal file
@@ -0,0 +1,201 @@
|
||||
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
||||
|
||||
|
||||
/* File created by MIDL compiler version 3.01.75 */
|
||||
/* at Fri Sep 24 11:09:58 1999
|
||||
*/
|
||||
/* Compiler settings for demo.idl:
|
||||
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
|
||||
error checks: none
|
||||
*/
|
||||
//@@MIDL_FILE_HEADING( )
|
||||
#include "rpc.h"
|
||||
#include "rpcndr.h"
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include "windows.h"
|
||||
#include "ole2.h"
|
||||
#endif /*COM_NO_WINDOWS_H*/
|
||||
|
||||
#ifndef __demo_h__
|
||||
#define __demo_h__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"{
|
||||
#endif
|
||||
|
||||
/* Forward Declarations */
|
||||
|
||||
#ifndef __IDemo_FWD_DEFINED__
|
||||
#define __IDemo_FWD_DEFINED__
|
||||
typedef interface IDemo IDemo;
|
||||
#endif /* __IDemo_FWD_DEFINED__ */
|
||||
|
||||
|
||||
#ifndef __Demo_FWD_DEFINED__
|
||||
#define __Demo_FWD_DEFINED__
|
||||
|
||||
#ifdef __cplusplus
|
||||
typedef class Demo Demo;
|
||||
#else
|
||||
typedef struct Demo Demo;
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* __Demo_FWD_DEFINED__ */
|
||||
|
||||
|
||||
/* header files for imported files */
|
||||
#include "oaidl.h"
|
||||
#include "ocidl.h"
|
||||
|
||||
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
|
||||
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
|
||||
|
||||
#ifndef __IDemo_INTERFACE_DEFINED__
|
||||
#define __IDemo_INTERFACE_DEFINED__
|
||||
|
||||
/****************************************
|
||||
* Generated header for interface: IDemo
|
||||
* at Fri Sep 24 11:09:58 1999
|
||||
* using MIDL 3.01.75
|
||||
****************************************/
|
||||
/* [object][uuid] */
|
||||
|
||||
|
||||
|
||||
EXTERN_C const IID IID_IDemo;
|
||||
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
|
||||
interface DECLSPEC_UUID("994620E2-724B-11d3-A128-F739CB1AAC6C")
|
||||
IDemo : public IUnknown
|
||||
{
|
||||
public:
|
||||
virtual HRESULT STDMETHODCALLTYPE getValue(
|
||||
/* [retval][out] */ int __RPC_FAR *pout) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE setValue(
|
||||
/* [in] */ int value) = 0;
|
||||
|
||||
};
|
||||
|
||||
#else /* C style interface */
|
||||
|
||||
typedef struct IDemoVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
|
||||
IDemo __RPC_FAR * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
|
||||
IDemo __RPC_FAR * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
|
||||
IDemo __RPC_FAR * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getValue )(
|
||||
IDemo __RPC_FAR * This,
|
||||
/* [retval][out] */ int __RPC_FAR *pout);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setValue )(
|
||||
IDemo __RPC_FAR * This,
|
||||
/* [in] */ int value);
|
||||
|
||||
END_INTERFACE
|
||||
} IDemoVtbl;
|
||||
|
||||
interface IDemo
|
||||
{
|
||||
CONST_VTBL struct IDemoVtbl __RPC_FAR *lpVtbl;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#ifdef COBJMACROS
|
||||
|
||||
|
||||
#define IDemo_QueryInterface(This,riid,ppvObject) \
|
||||
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
||||
|
||||
#define IDemo_AddRef(This) \
|
||||
(This)->lpVtbl -> AddRef(This)
|
||||
|
||||
#define IDemo_Release(This) \
|
||||
(This)->lpVtbl -> Release(This)
|
||||
|
||||
|
||||
#define IDemo_getValue(This,pout) \
|
||||
(This)->lpVtbl -> getValue(This,pout)
|
||||
|
||||
#define IDemo_setValue(This,value) \
|
||||
(This)->lpVtbl -> setValue(This,value)
|
||||
|
||||
#endif /* COBJMACROS */
|
||||
|
||||
|
||||
#endif /* C style interface */
|
||||
|
||||
|
||||
|
||||
HRESULT STDMETHODCALLTYPE IDemo_getValue_Proxy(
|
||||
IDemo __RPC_FAR * This,
|
||||
/* [retval][out] */ int __RPC_FAR *pout);
|
||||
|
||||
|
||||
void __RPC_STUB IDemo_getValue_Stub(
|
||||
IRpcStubBuffer *This,
|
||||
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||||
PRPC_MESSAGE _pRpcMessage,
|
||||
DWORD *_pdwStubPhase);
|
||||
|
||||
|
||||
HRESULT STDMETHODCALLTYPE IDemo_setValue_Proxy(
|
||||
IDemo __RPC_FAR * This,
|
||||
/* [in] */ int value);
|
||||
|
||||
|
||||
void __RPC_STUB IDemo_setValue_Stub(
|
||||
IRpcStubBuffer *This,
|
||||
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||||
PRPC_MESSAGE _pRpcMessage,
|
||||
DWORD *_pdwStubPhase);
|
||||
|
||||
|
||||
|
||||
#endif /* __IDemo_INTERFACE_DEFINED__ */
|
||||
|
||||
|
||||
|
||||
#ifndef __DemoLib_LIBRARY_DEFINED__
|
||||
#define __DemoLib_LIBRARY_DEFINED__
|
||||
|
||||
/****************************************
|
||||
* Generated header for library: DemoLib
|
||||
* at Fri Sep 24 11:09:58 1999
|
||||
* using MIDL 3.01.75
|
||||
****************************************/
|
||||
/* [uuid] */
|
||||
|
||||
|
||||
|
||||
EXTERN_C const IID LIBID_DemoLib;
|
||||
|
||||
#ifdef __cplusplus
|
||||
EXTERN_C const CLSID CLSID_Demo;
|
||||
|
||||
class DECLSPEC_UUID("994620E5-724B-11d3-A128-F739CB1AAC6C")
|
||||
Demo;
|
||||
#endif
|
||||
#endif /* __DemoLib_LIBRARY_DEFINED__ */
|
||||
|
||||
/* Additional Prototypes for ALL interfaces */
|
||||
|
||||
/* end of Additional Prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user