home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectShow_WinXP / VideoControl / CPP / CPPVideoControl.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-08  |  5.7 KB  |  203 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 5.01.0164 */
  5. /* at Mon Jul 23 18:31:14 2001
  6.  */
  7. /* Compiler settings for D:\DXSDK\samples\Multimedia\DirectShowXP\VideoControl\CPPVideoControl\CPPVideoControl.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: allocation ref bounds_check enum stub_data 
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12.  
  13.  
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18.  
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21.  
  22. #ifndef __RPCNDR_H_VERSION__
  23. #error this stub requires an updated version of <rpcndr.h>
  24. #endif // __RPCNDR_H_VERSION__
  25.  
  26. #ifndef COM_NO_WINDOWS_H
  27. #include "windows.h"
  28. #include "ole2.h"
  29. #endif /*COM_NO_WINDOWS_H*/
  30.  
  31. #ifndef __CPPVideoControl_h__
  32. #define __CPPVideoControl_h__
  33.  
  34. #ifdef __cplusplus
  35. extern "C"{
  36. #endif 
  37.  
  38. /* Forward Declarations */ 
  39.  
  40. #ifndef __ICompositeControl_FWD_DEFINED__
  41. #define __ICompositeControl_FWD_DEFINED__
  42. typedef interface ICompositeControl ICompositeControl;
  43. #endif     /* __ICompositeControl_FWD_DEFINED__ */
  44.  
  45.  
  46. #ifndef __CompositeControl_FWD_DEFINED__
  47. #define __CompositeControl_FWD_DEFINED__
  48.  
  49. #ifdef __cplusplus
  50. typedef class CompositeControl CompositeControl;
  51. #else
  52. typedef struct CompositeControl CompositeControl;
  53. #endif /* __cplusplus */
  54.  
  55. #endif     /* __CompositeControl_FWD_DEFINED__ */
  56.  
  57.  
  58. /* header files for imported files */
  59. #include "oaidl.h"
  60. #include "ocidl.h"
  61.  
  62. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  63. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  64.  
  65. #ifndef __ICompositeControl_INTERFACE_DEFINED__
  66. #define __ICompositeControl_INTERFACE_DEFINED__
  67.  
  68. /* interface ICompositeControl */
  69. /* [unique][helpstring][dual][uuid][object] */ 
  70.  
  71.  
  72. EXTERN_C const IID IID_ICompositeControl;
  73.  
  74. #if defined(__cplusplus) && !defined(CINTERFACE)
  75.     
  76.     MIDL_INTERFACE("3E119535-D5AB-4520-B0E1-495B322E2A1A")
  77.     ICompositeControl : public IDispatch
  78.     {
  79.     public:
  80.     };
  81.     
  82. #else     /* C style interface */
  83.  
  84.     typedef struct ICompositeControlVtbl
  85.     {
  86.         BEGIN_INTERFACE
  87.         
  88.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  89.             ICompositeControl __RPC_FAR * This,
  90.             /* [in] */ REFIID riid,
  91.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  92.         
  93.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  94.             ICompositeControl __RPC_FAR * This);
  95.         
  96.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  97.             ICompositeControl __RPC_FAR * This);
  98.         
  99.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  100.             ICompositeControl __RPC_FAR * This,
  101.             /* [out] */ UINT __RPC_FAR *pctinfo);
  102.         
  103.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  104.             ICompositeControl __RPC_FAR * This,
  105.             /* [in] */ UINT iTInfo,
  106.             /* [in] */ LCID lcid,
  107.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  108.         
  109.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  110.             ICompositeControl __RPC_FAR * This,
  111.             /* [in] */ REFIID riid,
  112.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  113.             /* [in] */ UINT cNames,
  114.             /* [in] */ LCID lcid,
  115.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  116.         
  117.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  118.             ICompositeControl __RPC_FAR * This,
  119.             /* [in] */ DISPID dispIdMember,
  120.             /* [in] */ REFIID riid,
  121.             /* [in] */ LCID lcid,
  122.             /* [in] */ WORD wFlags,
  123.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  124.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  125.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  126.             /* [out] */ UINT __RPC_FAR *puArgErr);
  127.         
  128.         END_INTERFACE
  129.     } ICompositeControlVtbl;
  130.  
  131.     interface ICompositeControl
  132.     {
  133.         CONST_VTBL struct ICompositeControlVtbl __RPC_FAR *lpVtbl;
  134.     };
  135.  
  136.     
  137.  
  138. #ifdef COBJMACROS
  139.  
  140.  
  141. #define ICompositeControl_QueryInterface(This,riid,ppvObject)    \
  142.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  143.  
  144. #define ICompositeControl_AddRef(This)    \
  145.     (This)->lpVtbl -> AddRef(This)
  146.  
  147. #define ICompositeControl_Release(This)    \
  148.     (This)->lpVtbl -> Release(This)
  149.  
  150.  
  151. #define ICompositeControl_GetTypeInfoCount(This,pctinfo)    \
  152.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  153.  
  154. #define ICompositeControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  155.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  156.  
  157. #define ICompositeControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  158.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  159.  
  160. #define ICompositeControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  161.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  162.  
  163.  
  164. #endif /* COBJMACROS */
  165.  
  166.  
  167. #endif     /* C style interface */
  168.  
  169.  
  170.  
  171.  
  172. #endif     /* __ICompositeControl_INTERFACE_DEFINED__ */
  173.  
  174.  
  175.  
  176. #ifndef __CPPVIDEOCONTROLLib_LIBRARY_DEFINED__
  177. #define __CPPVIDEOCONTROLLib_LIBRARY_DEFINED__
  178.  
  179. /* library CPPVIDEOCONTROLLib */
  180. /* [helpstring][version][uuid] */ 
  181.  
  182.  
  183. EXTERN_C const IID LIBID_CPPVIDEOCONTROLLib;
  184.  
  185. EXTERN_C const CLSID CLSID_CompositeControl;
  186.  
  187. #ifdef __cplusplus
  188.  
  189. class DECLSPEC_UUID("CDDFD429-EDFD-4C72-AE9C-B70FE6955051")
  190. CompositeControl;
  191. #endif
  192. #endif /* __CPPVIDEOCONTROLLib_LIBRARY_DEFINED__ */
  193.  
  194. /* Additional Prototypes for ALL interfaces */
  195.  
  196. /* end of Additional Prototypes */
  197.  
  198. #ifdef __cplusplus
  199. }
  200. #endif
  201.  
  202. #endif
  203.