PSPERF.H
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:5k
源码类别:

Windows编程

开发平台:

Visual C++

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.03.0110 */
  3. /* at Mon Mar 30 02:34:57 1998
  4.  */
  5. /* Compiler settings for psperf.idl:
  6.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7.     error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING(  )
  10. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  11. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  12. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  13. #endif
  14. #include "rpc.h"
  15. #include "rpcndr.h"
  16. #ifndef __RPCNDR_H_VERSION__
  17. #error this stub requires an updated version of <rpcndr.h>
  18. #endif // __RPCNDR_H_VERSION__
  19. #ifndef COM_NO_WINDOWS_H
  20. #include "windows.h"
  21. #include "ole2.h"
  22. #endif /*COM_NO_WINDOWS_H*/
  23. #ifndef __psperf_h__
  24. #define __psperf_h__
  25. #ifdef __cplusplus
  26. extern "C"{
  27. #endif 
  28. /* Forward Declarations */ 
  29. #ifndef __ICOMPerformance_FWD_DEFINED__
  30. #define __ICOMPerformance_FWD_DEFINED__
  31. typedef interface ICOMPerformance ICOMPerformance;
  32. #endif  /* __ICOMPerformance_FWD_DEFINED__ */
  33. #ifndef __TestCOMPerformance_FWD_DEFINED__
  34. #define __TestCOMPerformance_FWD_DEFINED__
  35. #ifdef __cplusplus
  36. typedef class TestCOMPerformance TestCOMPerformance;
  37. #else
  38. typedef struct TestCOMPerformance TestCOMPerformance;
  39. #endif /* __cplusplus */
  40. #endif  /* __TestCOMPerformance_FWD_DEFINED__ */
  41. /* header files for imported files */
  42. #include "oaidl.h"
  43. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  44. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  45. #ifndef __ICOMPerformance_INTERFACE_DEFINED__
  46. #define __ICOMPerformance_INTERFACE_DEFINED__
  47. /****************************************
  48.  * Generated header for interface: ICOMPerformance
  49.  * at Mon Mar 30 02:34:57 1998
  50.  * using MIDL 3.03.0110
  51.  ****************************************/
  52. /* [object][oleautomation][dual][uuid] */ 
  53. EXTERN_C const IID IID_ICOMPerformance;
  54. #if defined(__cplusplus) && !defined(CINTERFACE)
  55.     
  56.     MIDL_INTERFACE("DDC68871-E08E-11cf-A535-00AA00615B03")
  57.     ICOMPerformance : public IUnknown
  58.     {
  59.     public:
  60.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE Test1( 
  61.             /* [in] */ int l) = 0;
  62.         
  63.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE Test23( 
  64.             /* [in] */ BSTR szDesc) = 0;
  65.         
  66.     };
  67.     
  68. #else  /* C style interface */
  69.     typedef struct ICOMPerformanceVtbl
  70.     {
  71.         BEGIN_INTERFACE
  72.         
  73.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  74.             ICOMPerformance __RPC_FAR * This,
  75.             /* [in] */ REFIID riid,
  76.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  77.         
  78.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  79.             ICOMPerformance __RPC_FAR * This);
  80.         
  81.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  82.             ICOMPerformance __RPC_FAR * This);
  83.         
  84.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Test1 )( 
  85.             ICOMPerformance __RPC_FAR * This,
  86.             /* [in] */ int l);
  87.         
  88.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Test23 )( 
  89.             ICOMPerformance __RPC_FAR * This,
  90.             /* [in] */ BSTR szDesc);
  91.         
  92.         END_INTERFACE
  93.     } ICOMPerformanceVtbl;
  94.     interface ICOMPerformance
  95.     {
  96.         CONST_VTBL struct ICOMPerformanceVtbl __RPC_FAR *lpVtbl;
  97.     };
  98.     
  99. #ifdef COBJMACROS
  100. #define ICOMPerformance_QueryInterface(This,riid,ppvObject)
  101.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  102. #define ICOMPerformance_AddRef(This)
  103.     (This)->lpVtbl -> AddRef(This)
  104. #define ICOMPerformance_Release(This)
  105.     (This)->lpVtbl -> Release(This)
  106. #define ICOMPerformance_Test1(This,l)
  107.     (This)->lpVtbl -> Test1(This,l)
  108. #define ICOMPerformance_Test23(This,szDesc)
  109.     (This)->lpVtbl -> Test23(This,szDesc)
  110. #endif /* COBJMACROS */
  111. #endif  /* C style interface */
  112. /* [id] */ HRESULT STDMETHODCALLTYPE ICOMPerformance_Test1_Proxy( 
  113.     ICOMPerformance __RPC_FAR * This,
  114.     /* [in] */ int l);
  115. void __RPC_STUB ICOMPerformance_Test1_Stub(
  116.     IRpcStubBuffer *This,
  117.     IRpcChannelBuffer *_pRpcChannelBuffer,
  118.     PRPC_MESSAGE _pRpcMessage,
  119.     DWORD *_pdwStubPhase);
  120. /* [id] */ HRESULT STDMETHODCALLTYPE ICOMPerformance_Test23_Proxy( 
  121.     ICOMPerformance __RPC_FAR * This,
  122.     /* [in] */ BSTR szDesc);
  123. void __RPC_STUB ICOMPerformance_Test23_Stub(
  124.     IRpcStubBuffer *This,
  125.     IRpcChannelBuffer *_pRpcChannelBuffer,
  126.     PRPC_MESSAGE _pRpcMessage,
  127.     DWORD *_pdwStubPhase);
  128. #endif  /* __ICOMPerformance_INTERFACE_DEFINED__ */
  129. /* Additional Prototypes for ALL interfaces */
  130. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  131. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  132. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  133. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  134. /* end of Additional Prototypes */
  135. #ifdef __cplusplus
  136. }
  137. #endif
  138. #endif