|
| 1 | + |
| 2 | + |
| 3 | +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
| 4 | + |
| 5 | + |
| 6 | + /* File created by MIDL compiler version 8.01.0622 */ |
| 7 | +/* @@MIDL_FILE_HEADING( ) */ |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | +/* verify that the <rpcndr.h> version is high enough to compile this file*/ |
| 12 | +#ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| 13 | +#define __REQUIRED_RPCNDR_H_VERSION__ 500 |
| 14 | +#endif |
| 15 | + |
| 16 | +/* verify that the <rpcsal.h> version is high enough to compile this file*/ |
| 17 | +#ifndef __REQUIRED_RPCSAL_H_VERSION__ |
| 18 | +#define __REQUIRED_RPCSAL_H_VERSION__ 100 |
| 19 | +#endif |
| 20 | + |
| 21 | +#include "rpc.h" |
| 22 | +#include "rpcndr.h" |
| 23 | + |
| 24 | +#ifndef __RPCNDR_H_VERSION__ |
| 25 | +#error this stub requires an updated version of <rpcndr.h> |
| 26 | +#endif /* __RPCNDR_H_VERSION__ */ |
| 27 | + |
| 28 | +#ifndef COM_NO_WINDOWS_H |
| 29 | +#include "windows.h" |
| 30 | +#include "ole2.h" |
| 31 | +#endif /*COM_NO_WINDOWS_H*/ |
| 32 | + |
| 33 | +#ifndef __audioclientrestricted_h__ |
| 34 | +#define __audioclientrestricted_h__ |
| 35 | + |
| 36 | +#if defined(_MSC_VER) && (_MSC_VER >= 1020) |
| 37 | +#pragma once |
| 38 | +#endif |
| 39 | + |
| 40 | +/* Forward Declarations */ |
| 41 | + |
| 42 | +#ifndef __IMMRestrictedActivator_FWD_DEFINED__ |
| 43 | +#define __IMMRestrictedActivator_FWD_DEFINED__ |
| 44 | +typedef interface IMMRestrictedActivator IMMRestrictedActivator; |
| 45 | + |
| 46 | +#endif /* __IMMRestrictedActivator_FWD_DEFINED__ */ |
| 47 | + |
| 48 | + |
| 49 | +/* header files for imported files */ |
| 50 | +#include "unknwn.h" |
| 51 | +#include "objidl.h" |
| 52 | +#include "mmdeviceapi.h" |
| 53 | +#include "audioclient.h" |
| 54 | + |
| 55 | +#ifdef __cplusplus |
| 56 | +extern "C"{ |
| 57 | +#endif |
| 58 | + |
| 59 | + |
| 60 | +/* interface __MIDL_itf_audioclientrestricted_0000_0000 */ |
| 61 | +/* [local] */ |
| 62 | + |
| 63 | +typedef /* [public][public] */ |
| 64 | +enum __MIDL___MIDL_itf_audioclientrestricted_0000_0000_0001 |
| 65 | + { |
| 66 | + RestrictedAudioCategory_Speech = 0, |
| 67 | + RestrictedAudioCategory_AudioCapture = ( RestrictedAudioCategory_Speech + 1 ) , |
| 68 | + RestrictedAudioCategory_AudioCaptureMovie = ( RestrictedAudioCategory_AudioCapture + 1 ) , |
| 69 | + RestrictedAudioCategory_PushToTalk = ( RestrictedAudioCategory_AudioCaptureMovie + 1 ) , |
| 70 | + RestrictedAudioCategory_enum_count = ( RestrictedAudioCategory_PushToTalk + 1 ) |
| 71 | + } RESTRICTED_AUDIO_STREAM_CATEGORY; |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | +extern RPC_IF_HANDLE __MIDL_itf_audioclientrestricted_0000_0000_v0_0_c_ifspec; |
| 76 | +extern RPC_IF_HANDLE __MIDL_itf_audioclientrestricted_0000_0000_v0_0_s_ifspec; |
| 77 | + |
| 78 | +#ifndef __IMMRestrictedActivator_INTERFACE_DEFINED__ |
| 79 | +#define __IMMRestrictedActivator_INTERFACE_DEFINED__ |
| 80 | + |
| 81 | +/* interface IMMRestrictedActivator */ |
| 82 | +/* [unique][uuid][local][object] */ |
| 83 | + |
| 84 | + |
| 85 | +EXTERN_C const IID IID_IMMRestrictedActivator; |
| 86 | + |
| 87 | +#if defined(__cplusplus) && !defined(CINTERFACE) |
| 88 | + |
| 89 | + MIDL_INTERFACE("E566E98C-A0F6-4f9f-A723-939A13ECF133") |
| 90 | + IMMRestrictedActivator : public IUnknown |
| 91 | + { |
| 92 | + public: |
| 93 | + virtual HRESULT STDMETHODCALLTYPE ActivateAudioClient( |
| 94 | + /* [annotation][in] */ |
| 95 | + __in EDataFlow dataFlow, |
| 96 | + /* [annotation][in] */ |
| 97 | + __in RESTRICTED_AUDIO_STREAM_CATEGORY category, |
| 98 | + /* [annotation][out] */ |
| 99 | + __out IAudioClient2 **ppClient) = 0; |
| 100 | + |
| 101 | + }; |
| 102 | + |
| 103 | + |
| 104 | +#else /* C style interface */ |
| 105 | + |
| 106 | + typedef struct IMMRestrictedActivatorVtbl |
| 107 | + { |
| 108 | + BEGIN_INTERFACE |
| 109 | + |
| 110 | + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| 111 | + IMMRestrictedActivator * This, |
| 112 | + /* [in] */ REFIID riid, |
| 113 | + /* [annotation][iid_is][out] */ |
| 114 | + _COM_Outptr_ void **ppvObject); |
| 115 | + |
| 116 | + ULONG ( STDMETHODCALLTYPE *AddRef )( |
| 117 | + IMMRestrictedActivator * This); |
| 118 | + |
| 119 | + ULONG ( STDMETHODCALLTYPE *Release )( |
| 120 | + IMMRestrictedActivator * This); |
| 121 | + |
| 122 | + HRESULT ( STDMETHODCALLTYPE *ActivateAudioClient )( |
| 123 | + IMMRestrictedActivator * This, |
| 124 | + /* [annotation][in] */ |
| 125 | + __in EDataFlow dataFlow, |
| 126 | + /* [annotation][in] */ |
| 127 | + __in RESTRICTED_AUDIO_STREAM_CATEGORY category, |
| 128 | + /* [annotation][out] */ |
| 129 | + __out IAudioClient2 **ppClient); |
| 130 | + |
| 131 | + END_INTERFACE |
| 132 | + } IMMRestrictedActivatorVtbl; |
| 133 | + |
| 134 | + interface IMMRestrictedActivator |
| 135 | + { |
| 136 | + CONST_VTBL struct IMMRestrictedActivatorVtbl *lpVtbl; |
| 137 | + }; |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | +#ifdef COBJMACROS |
| 142 | + |
| 143 | + |
| 144 | +#define IMMRestrictedActivator_QueryInterface(This,riid,ppvObject) \ |
| 145 | + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
| 146 | + |
| 147 | +#define IMMRestrictedActivator_AddRef(This) \ |
| 148 | + ( (This)->lpVtbl -> AddRef(This) ) |
| 149 | + |
| 150 | +#define IMMRestrictedActivator_Release(This) \ |
| 151 | + ( (This)->lpVtbl -> Release(This) ) |
| 152 | + |
| 153 | + |
| 154 | +#define IMMRestrictedActivator_ActivateAudioClient(This,dataFlow,category,ppClient) \ |
| 155 | + ( (This)->lpVtbl -> ActivateAudioClient(This,dataFlow,category,ppClient) ) |
| 156 | + |
| 157 | +#endif /* COBJMACROS */ |
| 158 | + |
| 159 | + |
| 160 | +#endif /* C style interface */ |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
| 165 | +#endif /* __IMMRestrictedActivator_INTERFACE_DEFINED__ */ |
| 166 | + |
| 167 | + |
| 168 | +/* Additional Prototypes for ALL interfaces */ |
| 169 | + |
| 170 | +/* end of Additional Prototypes */ |
| 171 | + |
| 172 | +#ifdef __cplusplus |
| 173 | +} |
| 174 | +#endif |
| 175 | + |
| 176 | +#endif |
| 177 | + |
| 178 | + |
0 commit comments