source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/audioendpoints.h@ 1175

Last change on this file since 1175 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

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