home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / inole2 / inc / idescrip.h < prev    next >
C/C++ Source or Header  |  1996-05-21  |  3KB  |  140 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 2.00.0102 */
  5. /* at Tue May 21 15:05:31 1996
  6.  */
  7. //@@MIDL_FILE_HEADING(  )
  8. #include "rpc.h"
  9. #include "rpcndr.h"
  10. #ifndef COM_NO_WINDOWS_H
  11. #include "windows.h"
  12. #include "ole2.h"
  13. #endif /*COM_NO_WINDOWS_H*/
  14.  
  15. #ifndef __idescrip_h__
  16. #define __idescrip_h__
  17.  
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif 
  21.  
  22. /* Forward Declarations */ 
  23.  
  24. #ifndef __IDescription_FWD_DEFINED__
  25. #define __IDescription_FWD_DEFINED__
  26. typedef interface IDescription IDescription;
  27. #endif     /* __IDescription_FWD_DEFINED__ */
  28.  
  29.  
  30. /* header files for imported files */
  31. #include "unknwn.h"
  32.  
  33. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  34. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  35.  
  36. #ifndef __IDescription_INTERFACE_DEFINED__
  37. #define __IDescription_INTERFACE_DEFINED__
  38.  
  39. /****************************************
  40.  * Generated header for interface: IDescription
  41.  * at Tue May 21 15:05:31 1996
  42.  * using MIDL 2.00.0102
  43.  ****************************************/
  44. /* [unique][object][uuid] */ 
  45.  
  46.  
  47.  
  48. EXTERN_C const IID IID_IDescription;
  49.  
  50. #if defined(__cplusplus) && !defined(CINTERFACE)
  51.     
  52.     interface IDescription : public IUnknown
  53.     {
  54.     public:
  55.         virtual HRESULT __stdcall GetText( 
  56.             /* [size_is][out][in] */ LPOLESTR pszText,
  57.             /* [in] */ ULONG cch) = 0;
  58.         
  59.     };
  60.     
  61. #else     /* C style interface */
  62.  
  63.     typedef struct IDescriptionVtbl
  64.     {
  65.         
  66.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  67.             IDescription __RPC_FAR * This,
  68.             /* [in] */ REFIID riid,
  69.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  70.         
  71.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  72.             IDescription __RPC_FAR * This);
  73.         
  74.         ULONG ( __stdcall __RPC_FAR *Release )( 
  75.             IDescription __RPC_FAR * This);
  76.         
  77.         HRESULT ( __stdcall __RPC_FAR *GetText )( 
  78.             IDescription __RPC_FAR * This,
  79.             /* [size_is][out][in] */ LPOLESTR pszText,
  80.             /* [in] */ ULONG cch);
  81.         
  82.     } IDescriptionVtbl;
  83.  
  84.     interface IDescription
  85.     {
  86.         CONST_VTBL struct IDescriptionVtbl __RPC_FAR *lpVtbl;
  87.     };
  88.  
  89.     
  90.  
  91. #ifdef COBJMACROS
  92.  
  93.  
  94. #define IDescription_QueryInterface(This,riid,ppvObject)    \
  95.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  96.  
  97. #define IDescription_AddRef(This)    \
  98.     (This)->lpVtbl -> AddRef(This)
  99.  
  100. #define IDescription_Release(This)    \
  101.     (This)->lpVtbl -> Release(This)
  102.  
  103.  
  104. #define IDescription_GetText(This,pszText,cch)    \
  105.     (This)->lpVtbl -> GetText(This,pszText,cch)
  106.  
  107. #endif /* COBJMACROS */
  108.  
  109.  
  110. #endif     /* C style interface */
  111.  
  112.  
  113.  
  114. HRESULT __stdcall IDescription_GetText_Proxy( 
  115.     IDescription __RPC_FAR * This,
  116.     /* [size_is][out][in] */ LPOLESTR pszText,
  117.     /* [in] */ ULONG cch);
  118.  
  119.  
  120. void __RPC_STUB IDescription_GetText_Stub(
  121.     IRpcStubBuffer *This,
  122.     IRpcChannelBuffer *_pRpcChannelBuffer,
  123.     PRPC_MESSAGE _pRpcMessage,
  124.     DWORD *_pdwStubPhase);
  125.  
  126.  
  127.  
  128. #endif     /* __IDescription_INTERFACE_DEFINED__ */
  129.  
  130.  
  131. /* Additional Prototypes for ALL interfaces */
  132.  
  133. /* end of Additional Prototypes */
  134.  
  135. #ifdef __cplusplus
  136. }
  137. #endif
  138.  
  139. #endif
  140.