audioendpoints.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /*** Autogenerated by WIDL 7.7 from include/audioendpoints.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __audioendpoints_h__
  14. #define __audioendpoints_h__
  15. /* Forward declarations */
  16. #ifndef __IAudioEndpointFormatControl_FWD_DEFINED__
  17. #define __IAudioEndpointFormatControl_FWD_DEFINED__
  18. typedef interface IAudioEndpointFormatControl IAudioEndpointFormatControl;
  19. #ifdef __cplusplus
  20. interface IAudioEndpointFormatControl;
  21. #endif /* __cplusplus */
  22. #endif
  23. /* Headers for imported files */
  24. #include <unknwn.h>
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28. /**
  29. * This file is part of the mingw-w64 runtime package.
  30. * No warranty is given; refer to the file DISCLAIMER within this package.
  31. */
  32. #include <winapifamily.h>
  33. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  34. /*****************************************************************************
  35. * IAudioEndpointFormatControl interface
  36. */
  37. #ifndef __IAudioEndpointFormatControl_INTERFACE_DEFINED__
  38. #define __IAudioEndpointFormatControl_INTERFACE_DEFINED__
  39. DEFINE_GUID(IID_IAudioEndpointFormatControl, 0x784cfd40, 0x9f89, 0x456e, 0xa1,0xa6, 0x87,0x3b,0x00,0x6a,0x66,0x4e);
  40. #if defined(__cplusplus) && !defined(CINTERFACE)
  41. MIDL_INTERFACE("784cfd40-9f89-456e-a1a6-873b006a664e")
  42. IAudioEndpointFormatControl : public IUnknown
  43. {
  44. virtual HRESULT STDMETHODCALLTYPE ResetToDefault(
  45. DWORD ResetFlags) = 0;
  46. };
  47. #ifdef __CRT_UUID_DECL
  48. __CRT_UUID_DECL(IAudioEndpointFormatControl, 0x784cfd40, 0x9f89, 0x456e, 0xa1,0xa6, 0x87,0x3b,0x00,0x6a,0x66,0x4e)
  49. #endif
  50. #else
  51. typedef struct IAudioEndpointFormatControlVtbl {
  52. BEGIN_INTERFACE
  53. /*** IUnknown methods ***/
  54. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  55. IAudioEndpointFormatControl *This,
  56. REFIID riid,
  57. void **ppvObject);
  58. ULONG (STDMETHODCALLTYPE *AddRef)(
  59. IAudioEndpointFormatControl *This);
  60. ULONG (STDMETHODCALLTYPE *Release)(
  61. IAudioEndpointFormatControl *This);
  62. /*** IAudioEndpointFormatControl methods ***/
  63. HRESULT (STDMETHODCALLTYPE *ResetToDefault)(
  64. IAudioEndpointFormatControl *This,
  65. DWORD ResetFlags);
  66. END_INTERFACE
  67. } IAudioEndpointFormatControlVtbl;
  68. interface IAudioEndpointFormatControl {
  69. CONST_VTBL IAudioEndpointFormatControlVtbl* lpVtbl;
  70. };
  71. #ifdef COBJMACROS
  72. #ifndef WIDL_C_INLINE_WRAPPERS
  73. /*** IUnknown methods ***/
  74. #define IAudioEndpointFormatControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  75. #define IAudioEndpointFormatControl_AddRef(This) (This)->lpVtbl->AddRef(This)
  76. #define IAudioEndpointFormatControl_Release(This) (This)->lpVtbl->Release(This)
  77. /*** IAudioEndpointFormatControl methods ***/
  78. #define IAudioEndpointFormatControl_ResetToDefault(This,ResetFlags) (This)->lpVtbl->ResetToDefault(This,ResetFlags)
  79. #else
  80. /*** IUnknown methods ***/
  81. static FORCEINLINE HRESULT IAudioEndpointFormatControl_QueryInterface(IAudioEndpointFormatControl* This,REFIID riid,void **ppvObject) {
  82. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  83. }
  84. static FORCEINLINE ULONG IAudioEndpointFormatControl_AddRef(IAudioEndpointFormatControl* This) {
  85. return This->lpVtbl->AddRef(This);
  86. }
  87. static FORCEINLINE ULONG IAudioEndpointFormatControl_Release(IAudioEndpointFormatControl* This) {
  88. return This->lpVtbl->Release(This);
  89. }
  90. /*** IAudioEndpointFormatControl methods ***/
  91. static FORCEINLINE HRESULT IAudioEndpointFormatControl_ResetToDefault(IAudioEndpointFormatControl* This,DWORD ResetFlags) {
  92. return This->lpVtbl->ResetToDefault(This,ResetFlags);
  93. }
  94. #endif
  95. #endif
  96. #endif
  97. #endif /* __IAudioEndpointFormatControl_INTERFACE_DEFINED__ */
  98. #define ENDPOINT_FORMAT_RESET_MIX_ONLY 0x1
  99. #endif
  100. /* Begin additional prototypes for all interfaces */
  101. /* End additional prototypes */
  102. #ifdef __cplusplus
  103. }
  104. #endif
  105. #endif /* __audioendpoints_h__ */