Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

235 lines
5.9 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for wiaview.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __wiaview_h__
  27. #define __wiaview_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IVideoPreview_FWD_DEFINED__
  33. #define __IVideoPreview_FWD_DEFINED__
  34. typedef interface IVideoPreview IVideoPreview;
  35. #endif /* __IVideoPreview_FWD_DEFINED__ */
  36. #ifndef __VideoPreview_FWD_DEFINED__
  37. #define __VideoPreview_FWD_DEFINED__
  38. #ifdef __cplusplus
  39. typedef class VideoPreview VideoPreview;
  40. #else
  41. typedef struct VideoPreview VideoPreview;
  42. #endif /* __cplusplus */
  43. #endif /* __VideoPreview_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "oaidl.h"
  46. #include "ocidl.h"
  47. #ifdef __cplusplus
  48. extern "C"{
  49. #endif
  50. void * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void * );
  52. #ifndef __IVideoPreview_INTERFACE_DEFINED__
  53. #define __IVideoPreview_INTERFACE_DEFINED__
  54. /* interface IVideoPreview */
  55. /* [unique][helpstring][dual][uuid][object] */
  56. EXTERN_C const IID IID_IVideoPreview;
  57. #if defined(__cplusplus) && !defined(CINTERFACE)
  58. MIDL_INTERFACE("d82237ec-5be9-4760-b950-b7afa51b0ba9")
  59. IVideoPreview : public IDispatch
  60. {
  61. public:
  62. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Device(
  63. /* [in] */ IUnknown *pDevice) = 0;
  64. };
  65. #else /* C style interface */
  66. typedef struct IVideoPreviewVtbl
  67. {
  68. BEGIN_INTERFACE
  69. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  70. IVideoPreview * This,
  71. /* [in] */ REFIID riid,
  72. /* [iid_is][out] */ void **ppvObject);
  73. ULONG ( STDMETHODCALLTYPE *AddRef )(
  74. IVideoPreview * This);
  75. ULONG ( STDMETHODCALLTYPE *Release )(
  76. IVideoPreview * This);
  77. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  78. IVideoPreview * This,
  79. /* [out] */ UINT *pctinfo);
  80. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  81. IVideoPreview * This,
  82. /* [in] */ UINT iTInfo,
  83. /* [in] */ LCID lcid,
  84. /* [out] */ ITypeInfo **ppTInfo);
  85. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  86. IVideoPreview * This,
  87. /* [in] */ REFIID riid,
  88. /* [size_is][in] */ LPOLESTR *rgszNames,
  89. /* [in] */ UINT cNames,
  90. /* [in] */ LCID lcid,
  91. /* [size_is][out] */ DISPID *rgDispId);
  92. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  93. IVideoPreview * This,
  94. /* [in] */ DISPID dispIdMember,
  95. /* [in] */ REFIID riid,
  96. /* [in] */ LCID lcid,
  97. /* [in] */ WORD wFlags,
  98. /* [out][in] */ DISPPARAMS *pDispParams,
  99. /* [out] */ VARIANT *pVarResult,
  100. /* [out] */ EXCEPINFO *pExcepInfo,
  101. /* [out] */ UINT *puArgErr);
  102. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Device )(
  103. IVideoPreview * This,
  104. /* [in] */ IUnknown *pDevice);
  105. END_INTERFACE
  106. } IVideoPreviewVtbl;
  107. interface IVideoPreview
  108. {
  109. CONST_VTBL struct IVideoPreviewVtbl *lpVtbl;
  110. };
  111. #ifdef COBJMACROS
  112. #define IVideoPreview_QueryInterface(This,riid,ppvObject) \
  113. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  114. #define IVideoPreview_AddRef(This) \
  115. (This)->lpVtbl -> AddRef(This)
  116. #define IVideoPreview_Release(This) \
  117. (This)->lpVtbl -> Release(This)
  118. #define IVideoPreview_GetTypeInfoCount(This,pctinfo) \
  119. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  120. #define IVideoPreview_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  121. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  122. #define IVideoPreview_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  123. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  124. #define IVideoPreview_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  125. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  126. #define IVideoPreview_Device(This,pDevice) \
  127. (This)->lpVtbl -> Device(This,pDevice)
  128. #endif /* COBJMACROS */
  129. #endif /* C style interface */
  130. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IVideoPreview_Device_Proxy(
  131. IVideoPreview * This,
  132. /* [in] */ IUnknown *pDevice);
  133. void __RPC_STUB IVideoPreview_Device_Stub(
  134. IRpcStubBuffer *This,
  135. IRpcChannelBuffer *_pRpcChannelBuffer,
  136. PRPC_MESSAGE _pRpcMessage,
  137. DWORD *_pdwStubPhase);
  138. #endif /* __IVideoPreview_INTERFACE_DEFINED__ */
  139. #ifndef __WIAVIEWLib_LIBRARY_DEFINED__
  140. #define __WIAVIEWLib_LIBRARY_DEFINED__
  141. /* library WIAVIEWLib */
  142. /* [helpstring][version][uuid] */
  143. EXTERN_C const IID LIBID_WIAVIEWLib;
  144. EXTERN_C const CLSID CLSID_VideoPreview;
  145. #ifdef __cplusplus
  146. class DECLSPEC_UUID("457A23DF-6F2A-4684-91D0-317FB768D87C")
  147. VideoPreview;
  148. #endif
  149. #endif /* __WIAVIEWLib_LIBRARY_DEFINED__ */
  150. /* Additional Prototypes for ALL interfaces */
  151. /* end of Additional Prototypes */
  152. #ifdef __cplusplus
  153. }
  154. #endif
  155. #endif