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