Platform_i.h
上传用户:easylife05
上传日期:2007-02-14
资源大小:393k
文件大小:5k
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0347 */
- /* at Tue Sep 30 22:13:15 2003
- */
- /* Compiler settings for Platform.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 440
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __Platform_i_h__
- #define __Platform_i_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __IServer_FWD_DEFINED__
- #define __IServer_FWD_DEFINED__
- typedef interface IServer IServer;
- #endif /* __IServer_FWD_DEFINED__ */
- #ifndef __Server_FWD_DEFINED__
- #define __Server_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class Server Server;
- #else
- typedef struct Server Server;
- #endif /* __cplusplus */
- #endif /* __Server_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "ocidl.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- /* interface __MIDL_itf_Platform_0000 */
- /* [local] */
- struct _myGraph
- {
- int mWidth;
- unsigned long mRed;
- unsigned long mGreen;
- unsigned long mBlue;
- long x;
- long y;
- int mRate;
- struct _myGraph *next;
- } ;
- typedef struct _myGraph myGraph;
- extern RPC_IF_HANDLE __MIDL_itf_Platform_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_Platform_0000_v0_0_s_ifspec;
- #ifndef __IServer_INTERFACE_DEFINED__
- #define __IServer_INTERFACE_DEFINED__
- /* interface IServer */
- /* [unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IServer;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("AF4258EC-938B-475B-A55F-4167B11F20A7")
- IServer : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDataPoint(
- /* [out] */ myGraph **dPointer) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NewDataCircle(
- /* [in] */ myGraph *pGraph) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IServerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IServer * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IServer * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IServer * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDataPoint )(
- IServer * This,
- /* [out] */ myGraph **dPointer);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NewDataCircle )(
- IServer * This,
- /* [in] */ myGraph *pGraph);
-
- END_INTERFACE
- } IServerVtbl;
- interface IServer
- {
- CONST_VTBL struct IServerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IServer_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IServer_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IServer_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IServer_GetDataPoint(This,dPointer)
- (This)->lpVtbl -> GetDataPoint(This,dPointer)
- #define IServer_NewDataCircle(This,pGraph)
- (This)->lpVtbl -> NewDataCircle(This,pGraph)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IServer_GetDataPoint_Proxy(
- IServer * This,
- /* [out] */ myGraph **dPointer);
- void __RPC_STUB IServer_GetDataPoint_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IServer_NewDataCircle_Proxy(
- IServer * This,
- /* [in] */ myGraph *pGraph);
- void __RPC_STUB IServer_NewDataCircle_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IServer_INTERFACE_DEFINED__ */
- #ifndef __PlatformLib_LIBRARY_DEFINED__
- #define __PlatformLib_LIBRARY_DEFINED__
- /* library PlatformLib */
- /* [helpstring][version][uuid] */
- EXTERN_C const IID LIBID_PlatformLib;
- EXTERN_C const CLSID CLSID_Server;
- #ifdef __cplusplus
- class DECLSPEC_UUID("B0A7E02B-6181-49AF-995F-395948E77CC4")
- Server;
- #endif
- #endif /* __PlatformLib_LIBRARY_DEFINED__ */
- /* Additional Prototypes for ALL interfaces */
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif