1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 #ifndef __INC_TUNER__ 7 #define __INC_TUNER__ 8 #include <objbase.h> 9 #include <comcat.h> 10 #include <dshow.h> 11 #include <bdatypes.h> 12 #include <bdaiface.h> 13 14 #ifndef __IBDACreateTuneRequestEx_FWD_DEFINED__ 15 #define __IBDACreateTuneRequestEx_FWD_DEFINED__ 16 typedef struct IBDACreateTuneRequestEx IBDACreateTuneRequestEx; 17 #endif 18 19 #ifndef __ITuneRequest_FWD_DEFINED__ 20 #define __ITuneRequest_FWD_DEFINED__ 21 typedef struct ITuneRequest ITuneRequest; 22 #endif 23 24 #ifndef __IChannelIDTuneRequest_FWD_DEFINED__ 25 #define __IChannelIDTuneRequest_FWD_DEFINED__ 26 typedef struct IChannelIDTuneRequest IChannelIDTuneRequest; 27 #endif 28 29 #ifndef __ILocator_FWD_DEFINED__ 30 #define __ILocator_FWD_DEFINED__ 31 typedef struct ILocator ILocator; 32 #endif 33 34 #ifndef __IDigitalLocator_FWD_DEFINED__ 35 #define __IDigitalLocator_FWD_DEFINED__ 36 typedef struct IDigitalLocator IDigitalLocator; 37 #endif 38 39 #ifndef __IDVBSLocator_FWD_DEFINED__ 40 #define __IDVBSLocator_FWD_DEFINED__ 41 typedef struct IDVBSLocator IDVBSLocator; 42 #endif 43 44 #ifndef __IDVBSLocator2_FWD_DEFINED__ 45 #define __IDVBSLocator2_FWD_DEFINED__ 46 typedef struct IDVBSLocator2 IDVBSLocator2; 47 #endif 48 49 #ifndef __IDVBTLocator_FWD_DEFINED__ 50 #define __IDVBTLocator_FWD_DEFINED__ 51 typedef struct IDVBTLocator IDVBTLocator; 52 #endif 53 54 #ifndef __IDVBTLocator_FWD_DEFINED__ 55 #define __IDVBTLocator_FWD_DEFINED__ 56 typedef struct IDVBTLocator2 IDVBTLocator2; 57 #endif 58 59 #ifndef __IComponents_FWD_DEFINED__ 60 #define __IComponents_FWD_DEFINED__ 61 typedef struct IComponents IComponents; 62 #endif 63 64 #ifndef __IEnumComponents_FWD_DEFINED__ 65 #define __IEnumComponents_FWD_DEFINED__ 66 typedef struct IEnumComponents IEnumComponents; 67 #endif 68 69 #ifndef __IComponent_FWD_DEFINED__ 70 #define __IComponent_FWD_DEFINED__ 71 typedef struct IComponent IComponent; 72 #endif 73 74 #ifndef __IMPEG2Component_FWD_DEFINED__ 75 #define __IMPEG2Component_FWD_DEFINED__ 76 typedef struct IMPEG2Component IMPEG2Component; 77 #endif 78 79 #ifndef __ITuningSpace_FWD_DEFINED__ 80 #define __ITuningSpace_FWD_DEFINED__ 81 typedef struct ITuningSpace ITuningSpace; 82 #endif 83 84 #ifndef __IComponentTypes_FWD_DEFINED__ 85 #define __IComponentTypes_FWD_DEFINED__ 86 typedef struct IComponentTypes IComponentTypes; 87 #endif 88 89 #ifndef __IComponentType_FWD_DEFINED__ 90 #define __IComponentType_FWD_DEFINED__ 91 typedef struct IComponentType IComponentType; 92 #endif 93 94 #ifndef __IEnumComponentTypes_FWD_DEFINED__ 95 #define __IEnumComponentTypes_FWD_DEFINED__ 96 typedef struct IEnumComponentTypes IEnumComponentTypes; 97 #endif 98 99 #undef INTERFACE 100 #define INTERFACE IBDACreateTuneRequestEx 101 DECLARE_INTERFACE_(IBDACreateTuneRequestEx,IUnknown) 102 { 103 BEGIN_INTERFACE 104 105 /* IUnknown methods */ 106 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 107 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 108 STDMETHOD_(ULONG, Release)(THIS) PURE; 109 110 /* IBDACreateTuneRequestEx methods */ 111 STDMETHOD_(HRESULT,CreateTuneRequestEx)(THIS_ REFCLSID TuneRequestIID,ITuneRequest **ppTuneRequest) PURE; 112 113 END_INTERFACE 114 }; 115 #ifdef COBJMACROS 116 #define IBDACreateTuneRequestEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 117 #define IBDACreateTuneRequestEx_AddRef(This) (This)->lpVtbl->AddRef(This) 118 #define IBDACreateTuneRequestEx_Release(This) (This)->lpVtbl->Release(This) 119 #define IBDACreateTuneRequestEx_CreateTuneRequestEx(This,TuneRequestIID,ppTuneRequest) (This)->lpVtbl->CreateTuneRequestEx(This,TuneRequestIID,ppTuneRequest) 120 #endif /*COBJMACROS*/ 121 122 #undef INTERFACE 123 #define INTERFACE ITuneRequest 124 #ifdef __GNUC__ 125 #warning COM interfaces layout in this header has not been verified. 126 #warning COM interfaces with incorrect layout may not work at all. 127 __MINGW_BROKEN_INTERFACE(INTERFACE) 128 #endif 129 DECLARE_INTERFACE_(ITuneRequest,IDispatch) 130 { 131 BEGIN_INTERFACE 132 133 /* IUnknown methods */ 134 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 135 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 136 STDMETHOD_(ULONG, Release)(THIS) PURE; 137 138 /* IDispatch methods */ 139 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT *pctinfo) PURE; 140 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) PURE; 141 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) PURE; 142 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) PURE; 143 144 /* ITuneRequest methods */ 145 STDMETHOD_(HRESULT,Clone)(THIS_ ITuneRequest **ppNewTuneRequest) PURE; 146 STDMETHOD_(HRESULT,get_Components)(THIS_ IComponents **ppComponents) PURE; 147 STDMETHOD_(HRESULT,get_Locator)(THIS_ ILocator **ppLocator) PURE; 148 STDMETHOD_(HRESULT,get_TuningSpace)(THIS_ ITuningSpace **ppTuningSpace) PURE; 149 STDMETHOD_(HRESULT,put_Locator)(THIS_ ILocator *pLocator) PURE; 150 151 END_INTERFACE 152 }; 153 #ifdef COBJMACROS 154 #define ITuneRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 155 #define ITuneRequest_AddRef(This) (This)->lpVtbl->AddRef(This) 156 #define ITuneRequest_Release(This) (This)->lpVtbl->Release(This) 157 #define ITuneRequest_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 158 #define ITuneRequest_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 159 #define ITuneRequest_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 160 #define ITuneRequest_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 161 #define ITuneRequest_Clone(This,ppNewTuneRequest) (This)->lpVtbl->Clone(This,ppNewTuneRequest) 162 #define ITuneRequest_get_Components(This,ppComponents) (This)->lpVtbl->get_Components(This,ppComponents) 163 #define ITuneRequest_get_Locator(This,ppLocator) (This)->lpVtbl->get_Locator(This,ppLocator) 164 #define ITuneRequest_get_TuningSpace(This,ppTuningSpace) (This)->lpVtbl->get_TuningSpace(This,ppTuningSpace) 165 #define ITuneRequest_put_Locator(This,pLocator) (This)->lpVtbl->put_Locator(This,pLocator) 166 #endif /*COBJMACROS*/ 167 168 #undef INTERFACE 169 #define INTERFACE IChannelIDTuneRequest 170 #ifdef __GNUC__ 171 #warning COM interfaces layout in this header has not been verified. 172 #warning COM interfaces with incorrect layout may not work at all. 173 __MINGW_BROKEN_INTERFACE(INTERFACE) 174 #endif 175 DECLARE_INTERFACE_(IChannelIDTuneRequest,ITuneRequest) 176 { 177 BEGIN_INTERFACE 178 179 /* IUnknown methods */ 180 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 181 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 182 STDMETHOD_(ULONG, Release)(THIS) PURE; 183 184 /* IChannelIDTuneRequest methods */ 185 STDMETHOD_(HRESULT,put_ChannelID)(THIS_ BSTR ChannelID) PURE; 186 STDMETHOD_(HRESULT,get_ChannelID)(THIS_ BSTR *ChannelID) PURE; 187 188 END_INTERFACE 189 }; 190 #ifdef COBJMACROS 191 #define IChannelIDTuneRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 192 #define IChannelIDTuneRequest_AddRef(This) (This)->lpVtbl->AddRef(This) 193 #define IChannelIDTuneRequest_Release(This) (This)->lpVtbl->Release(This) 194 #define IChannelIDTuneRequest_put_ChannelID(This,ChannelID) (This)->lpVtbl->put_ChannelID(This,ChannelID) 195 #define IChannelIDTuneRequest_get_ChannelID(This,ChannelID) (This)->lpVtbl->get_ChannelID(This,ChannelID) 196 #endif /*COBJMACROS*/ 197 198 #undef INTERFACE 199 #define INTERFACE ILocator 200 #ifdef __GNUC__ 201 #warning COM interfaces layout in this header has not been verified. 202 #warning COM interfaces with incorrect layout may not work at all. 203 __MINGW_BROKEN_INTERFACE(INTERFACE) 204 #endif 205 DECLARE_INTERFACE_(ILocator,IDispatch) 206 { 207 BEGIN_INTERFACE 208 209 /* IUnknown methods */ 210 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 211 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 212 STDMETHOD_(ULONG, Release)(THIS) PURE; 213 214 /* IDispatch methods */ 215 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT *pctinfo) PURE; 216 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) PURE; 217 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) PURE; 218 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) PURE; 219 220 /* ILocator methods */ 221 STDMETHOD_(HRESULT,Clone)(THIS_ ILocator **ppNewLocator) PURE; 222 STDMETHOD_(HRESULT,get_CarrierFrequency)(THIS_ __LONG32 *pFrequency) PURE; 223 STDMETHOD_(HRESULT,get_InnerFEC)(THIS_ FECMethod *FEC) PURE; 224 STDMETHOD_(HRESULT,get_InnerFECRate)(THIS_ BinaryConvolutionCodeRate *FEC) PURE; 225 STDMETHOD_(HRESULT,get_Modulation)(THIS_ ModulationType *pModulation) PURE; 226 STDMETHOD_(HRESULT,get_OuterFEC)(THIS_ FECMethod *FEC) PURE; 227 STDMETHOD_(HRESULT,get_OuterFECRate)(THIS_ BinaryConvolutionCodeRate *FEC) PURE; 228 STDMETHOD_(HRESULT,get_SymbolRate)(THIS_ __LONG32 *Rate) PURE; 229 STDMETHOD_(HRESULT,put_CarrierFrequency)(THIS_ __LONG32 Frequency) PURE; 230 STDMETHOD_(HRESULT,put_InnerFEC)(THIS_ FECMethod FEC) PURE; 231 STDMETHOD_(HRESULT,put_InnerFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 232 STDMETHOD_(HRESULT,put_Modulation)(THIS_ ModulationType Modulation) PURE; 233 STDMETHOD_(HRESULT,put_OuterFEC)(THIS_ FECMethod FEC) PURE; 234 STDMETHOD_(HRESULT,put_OuterFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 235 STDMETHOD_(HRESULT,put_SymbolRate)(THIS_ __LONG32 Rate) PURE; 236 237 END_INTERFACE 238 }; 239 #ifdef COBJMACROS 240 #define ILocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 241 #define ILocator_AddRef(This) (This)->lpVtbl->AddRef(This) 242 #define ILocator_Release(This) (This)->lpVtbl->Release(This) 243 #define ILocator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 244 #define ILocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 245 #define ILocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 246 #define ILocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 247 #define ILocator_Clone(This,ppNewLocator) (This)->lpVtbl->Clone(This,ppNewLocator) 248 #define ILocator_get_CarrierFrequency(This,pFrequency) (This)->lpVtbl->get_CarrierFrequency(This,pFrequency) 249 #define ILocator_get_InnerFEC(This,FEC) (This)->lpVtbl->get_InnerFEC(This,FEC) 250 #define ILocator_get_InnerFECRate(This,FEC) (This)->lpVtbl->get_InnerFECRate(This,FEC) 251 #define ILocator_get_Modulation(This,pModulation) (This)->lpVtbl->get_Modulation(This,pModulation) 252 #define ILocator_get_OuterFEC(This,FEC) (This)->lpVtbl->get_OuterFEC(This,FEC) 253 #define ILocator_get_OuterFECRate(This,FEC) (This)->lpVtbl->get_OuterFECRate(This,FEC) 254 #define ILocator_get_SymbolRate(This,Rate) (This)->lpVtbl->get_SymbolRate(This,Rate) 255 #define ILocator_put_CarrierFrequency(This,Frequency) (This)->lpVtbl->put_CarrierFrequency(This,Frequency) 256 #define ILocator_put_InnerFEC(This,FEC) (This)->lpVtbl->put_InnerFEC(This,FEC) 257 #define ILocator_put_InnerFECRate(This,FEC) (This)->lpVtbl->put_InnerFECRate(This,FEC) 258 #define ILocator_put_Modulation(This,Modulation) (This)->lpVtbl->put_Modulation(This,Modulation) 259 #define ILocator_put_OuterFEC(This,FEC) (This)->lpVtbl->put_OuterFEC(This,FEC) 260 #define ILocator_put_OuterFECRate(This,FEC) (This)->lpVtbl->put_OuterFECRate(This,FEC) 261 #define ILocator_put_SymbolRate(This,Rate) (This)->lpVtbl->put_SymbolRate(This,Rate) 262 #endif /*COBJMACROS*/ 263 264 #undef INTERFACE 265 #define INTERFACE IDigitalLocator 266 #ifdef __GNUC__ 267 #warning COM interfaces layout in this header has not been verified. 268 #warning COM interfaces with incorrect layout may not work at all. 269 __MINGW_BROKEN_INTERFACE(INTERFACE) 270 #endif 271 DECLARE_INTERFACE_(IDigitalLocator,ILocator) 272 { 273 BEGIN_INTERFACE 274 275 /* IUnknown methods */ 276 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 277 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 278 STDMETHOD_(ULONG, Release)(THIS) PURE; 279 280 /* IDispatch methods */ 281 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT *pctinfo) PURE; 282 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) PURE; 283 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) PURE; 284 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) PURE; 285 286 /* ILocator methods */ 287 STDMETHOD_(HRESULT,Clone)(THIS_ ILocator **ppNewLocator) PURE; 288 STDMETHOD_(HRESULT,get_CarrierFrequency)(THIS_ __LONG32 *pFrequency) PURE; 289 STDMETHOD_(HRESULT,get_InnerFEC)(THIS_ FECMethod *FEC) PURE; 290 STDMETHOD_(HRESULT,get_InnerFECRate)(THIS_ BinaryConvolutionCodeRate *FEC) PURE; 291 STDMETHOD_(HRESULT,get_Modulation)(THIS_ ModulationType *pModulation) PURE; 292 STDMETHOD_(HRESULT,get_OuterFEC)(THIS_ FECMethod *FEC) PURE; 293 STDMETHOD_(HRESULT,get_OuterFECRate)(THIS_ BinaryConvolutionCodeRate *FEC) PURE; 294 STDMETHOD_(HRESULT,get_SymbolRate)(THIS_ __LONG32 *Rate) PURE; 295 STDMETHOD_(HRESULT,put_CarrierFrequency)(THIS_ __LONG32 Frequency) PURE; 296 STDMETHOD_(HRESULT,put_InnerFEC)(THIS_ FECMethod FEC) PURE; 297 STDMETHOD_(HRESULT,put_InnerFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 298 STDMETHOD_(HRESULT,put_Modulation)(THIS_ ModulationType Modulation) PURE; 299 STDMETHOD_(HRESULT,put_OuterFEC)(THIS_ FECMethod FEC) PURE; 300 STDMETHOD_(HRESULT,put_OuterFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 301 STDMETHOD_(HRESULT,put_SymbolRate)(THIS_ __LONG32 Rate) PURE; 302 303 /* IDigitalLocator methods */ 304 305 END_INTERFACE 306 }; 307 #ifdef COBJMACROS 308 #define IDigitalLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 309 #define IDigitalLocator_AddRef(This) (This)->lpVtbl->AddRef(This) 310 #define IDigitalLocator_Release(This) (This)->lpVtbl->Release(This) 311 #define IDigitalLocator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 312 #define IDigitalLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 313 #define IDigitalLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 314 #define IDigitalLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 315 #define IDigitalLocator_Clone(This,ppNewLocator) (This)->lpVtbl->Clone(This,ppNewLocator) 316 #define IDigitalLocator_get_CarrierFrequency(This,pFrequency) (This)->lpVtbl->get_CarrierFrequency(This,pFrequency) 317 #define IDigitalLocator_get_InnerFEC(This,FEC) (This)->lpVtbl->get_InnerFEC(This,FEC) 318 #define IDigitalLocator_get_InnerFECRate(This,FEC) (This)->lpVtbl->get_InnerFECRate(This,FEC) 319 #define IDigitalLocator_get_Modulation(This,pModulation) (This)->lpVtbl->get_Modulation(This,pModulation) 320 #define IDigitalLocator_get_OuterFEC(This,FEC) (This)->lpVtbl->get_OuterFEC(This,FEC) 321 #define IDigitalLocator_get_OuterFECRate(This,FEC) (This)->lpVtbl->get_OuterFECRate(This,FEC) 322 #define IDigitalLocator_get_SymbolRate(This,Rate) (This)->lpVtbl->get_SymbolRate(This,Rate) 323 #define IDigitalLocator_put_CarrierFrequency(This,Frequency) (This)->lpVtbl->put_CarrierFrequency(This,Frequency) 324 #define IDigitalLocator_put_InnerFEC(This,FEC) (This)->lpVtbl->put_InnerFEC(This,FEC) 325 #define IDigitalLocator_put_InnerFECRate(This,FEC) (This)->lpVtbl->put_InnerFECRate(This,FEC) 326 #define IDigitalLocator_put_Modulation(This,Modulation) (This)->lpVtbl->put_Modulation(This,Modulation) 327 #define IDigitalLocator_put_OuterFEC(This,FEC) (This)->lpVtbl->put_OuterFEC(This,FEC) 328 #define IDigitalLocator_put_OuterFECRate(This,FEC) (This)->lpVtbl->put_OuterFECRate(This,FEC) 329 #define IDigitalLocator_put_SymbolRate(This,Rate) (This)->lpVtbl->put_SymbolRate(This,Rate) 330 #endif /*COBJMACROS*/ 331 332 #undef INTERFACE 333 #define INTERFACE IDVBSLocator 334 #ifdef __GNUC__ 335 #warning COM interfaces layout in this header has not been verified. 336 #warning COM interfaces with incorrect layout may not work at all. 337 __MINGW_BROKEN_INTERFACE(INTERFACE) 338 #endif 339 DECLARE_INTERFACE_(IDVBSLocator,IDigitalLocator) 340 { 341 BEGIN_INTERFACE 342 343 /* IUnknown methods */ 344 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 345 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 346 STDMETHOD_(ULONG, Release)(THIS) PURE; 347 348 /* IDispatch methods */ 349 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT *pctinfo) PURE; 350 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) PURE; 351 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) PURE; 352 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) PURE; 353 354 /* ILocator methods */ 355 STDMETHOD_(HRESULT,Clone)(THIS_ ILocator **ppNewLocator) PURE; 356 STDMETHOD_(HRESULT,get_CarrierFrequency)(THIS_ __LONG32 *pFrequency) PURE; 357 STDMETHOD_(HRESULT,get_InnerFEC)(THIS_ FECMethod *FEC) PURE; 358 STDMETHOD_(HRESULT,get_InnerFECRate)(THIS_ BinaryConvolutionCodeRate *FEC) PURE; 359 STDMETHOD_(HRESULT,get_Modulation)(THIS_ ModulationType *pModulation) PURE; 360 STDMETHOD_(HRESULT,get_OuterFEC)(THIS_ FECMethod *FEC) PURE; 361 STDMETHOD_(HRESULT,get_OuterFECRate)(THIS_ BinaryConvolutionCodeRate *FEC) PURE; 362 STDMETHOD_(HRESULT,get_SymbolRate)(THIS_ __LONG32 *Rate) PURE; 363 STDMETHOD_(HRESULT,put_CarrierFrequency)(THIS_ __LONG32 Frequency) PURE; 364 STDMETHOD_(HRESULT,put_InnerFEC)(THIS_ FECMethod FEC) PURE; 365 STDMETHOD_(HRESULT,put_InnerFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 366 STDMETHOD_(HRESULT,put_Modulation)(THIS_ ModulationType Modulation) PURE; 367 STDMETHOD_(HRESULT,put_OuterFEC)(THIS_ FECMethod FEC) PURE; 368 STDMETHOD_(HRESULT,put_OuterFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 369 STDMETHOD_(HRESULT,put_SymbolRate)(THIS_ __LONG32 Rate) PURE; 370 371 /* IDigitalLocator methods */ 372 373 /* IDVBSLocator methods */ 374 STDMETHOD_(HRESULT,get_Azimuth)(THIS_ __LONG32 *pAzimuth) PURE; 375 STDMETHOD_(HRESULT,get_Elevation)(THIS_ __LONG32 *pElevation) PURE; 376 STDMETHOD_(HRESULT,get_OrbitalPosition)(THIS_ __LONG32 *plongitude) PURE; 377 STDMETHOD_(HRESULT,get_SignalPolarisation)(THIS_ Polarisation *pPolarisationVal) PURE; 378 STDMETHOD_(HRESULT,get_WestPosition)(THIS_ VARIANT_BOOL *pWestLongitude) PURE; 379 STDMETHOD_(HRESULT,put_Azimuth)(THIS_ __LONG32 Azimuth) PURE; 380 STDMETHOD_(HRESULT,put_Elevation)(THIS_ __LONG32 Elevation) PURE; 381 STDMETHOD_(HRESULT,put_OrbitalPosition)(THIS_ __LONG32 longitude) PURE; 382 STDMETHOD_(HRESULT,put_SignalPolarisation)(THIS_ Polarisation PolarisationVal) PURE; 383 STDMETHOD_(HRESULT,put_WestPosition)(THIS_ VARIANT_BOOL WestLongitude) PURE; 384 385 END_INTERFACE 386 }; 387 #ifdef COBJMACROS 388 #define IDVBSLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 389 #define IDVBSLocator_AddRef(This) (This)->lpVtbl->AddRef(This) 390 #define IDVBSLocator_Release(This) (This)->lpVtbl->Release(This) 391 #define IDVBSLocator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 392 #define IDVBSLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 393 #define IDVBSLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 394 #define IDVBSLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 395 #define IDVBSLocator_Clone(This,ppNewLocator) (This)->lpVtbl->Clone(This,ppNewLocator) 396 #define IDVBSLocator_get_CarrierFrequency(This,pFrequency) (This)->lpVtbl->get_CarrierFrequency(This,pFrequency) 397 #define IDVBSLocator_get_InnerFEC(This,FEC) (This)->lpVtbl->get_InnerFEC(This,FEC) 398 #define IDVBSLocator_get_InnerFECRate(This,FEC) (This)->lpVtbl->get_InnerFECRate(This,FEC) 399 #define IDVBSLocator_get_Modulation(This,pModulation) (This)->lpVtbl->get_Modulation(This,pModulation) 400 #define IDVBSLocator_get_OuterFEC(This,FEC) (This)->lpVtbl->get_OuterFEC(This,FEC) 401 #define IDVBSLocator_get_OuterFECRate(This,FEC) (This)->lpVtbl->get_OuterFECRate(This,FEC) 402 #define IDVBSLocator_get_SymbolRate(This,Rate) (This)->lpVtbl->get_SymbolRate(This,Rate) 403 #define IDVBSLocator_put_CarrierFrequency(This,Frequency) (This)->lpVtbl->put_CarrierFrequency(This,Frequency) 404 #define IDVBSLocator_put_InnerFEC(This,FEC) (This)->lpVtbl->put_InnerFEC(This,FEC) 405 #define IDVBSLocator_put_InnerFECRate(This,FEC) (This)->lpVtbl->put_InnerFECRate(This,FEC) 406 #define IDVBSLocator_put_Modulation(This,Modulation) (This)->lpVtbl->put_Modulation(This,Modulation) 407 #define IDVBSLocator_put_OuterFEC(This,FEC) (This)->lpVtbl->put_OuterFEC(This,FEC) 408 #define IDVBSLocator_put_OuterFECRate(This,FEC) (This)->lpVtbl->put_OuterFECRate(This,FEC) 409 #define IDVBSLocator_put_SymbolRate(This,Rate) (This)->lpVtbl->put_SymbolRate(This,Rate) 410 #define IDVBSLocator_get_Azimuth(This,pAzimuth) (This)->lpVtbl->get_Azimuth(This,pAzimuth) 411 #define IDVBSLocator_get_Elevation(This,pElevation) (This)->lpVtbl->get_Elevation(This,pElevation) 412 #define IDVBSLocator_get_OrbitalPosition(This,plongitude) (This)->lpVtbl->get_OrbitalPosition(This,plongitude) 413 #define IDVBSLocator_get_SignalPolarisation(This,pPolarisationVal) (This)->lpVtbl->get_SignalPolarisation(This,pPolarisationVal) 414 #define IDVBSLocator_get_WestPosition(This,pWestLongitude) (This)->lpVtbl->get_WestPosition(This,pWestLongitude) 415 #define IDVBSLocator_put_Azimuth(This,Azimuth) (This)->lpVtbl->put_Azimuth(This,Azimuth) 416 #define IDVBSLocator_put_Elevation(This,Elevation) (This)->lpVtbl->put_Elevation(This,Elevation) 417 #define IDVBSLocator_put_OrbitalPosition(This,longitude) (This)->lpVtbl->put_OrbitalPosition(This,longitude) 418 #define IDVBSLocator_put_SignalPolarisation(This,PolarisationVal) (This)->lpVtbl->put_SignalPolarisation(This,PolarisationVal) 419 #define IDVBSLocator_put_WestPosition(This,WestLongitude) (This)->lpVtbl->put_WestPosition(This,WestLongitude) 420 #endif /*COBJMACROS*/ 421 422 #if (_WIN32_WINNT >= 0x0601) 423 424 #undef INTERFACE 425 #define INTERFACE IDVBSLocator2 426 #ifdef __GNUC__ 427 #warning COM interfaces layout in this header has not been verified. 428 #warning COM interfaces with incorrect layout may not work at all. 429 __MINGW_BROKEN_INTERFACE(INTERFACE) 430 #endif 431 DECLARE_INTERFACE_(IDVBSLocator2,IDVBSLocator) 432 { 433 BEGIN_INTERFACE 434 435 /* IUnknown methods */ 436 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 437 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 438 STDMETHOD_(ULONG, Release)(THIS) PURE; 439 440 /* IDispatch methods */ 441 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT *pctinfo) PURE; 442 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) PURE; 443 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) PURE; 444 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) PURE; 445 446 /* ILocator methods */ 447 STDMETHOD_(HRESULT,Clone)(THIS_ ILocator **ppNewLocator) PURE; 448 STDMETHOD_(HRESULT,get_CarrierFrequency)(THIS_ __LONG32 *pFrequency) PURE; 449 STDMETHOD_(HRESULT,get_InnerFEC)(THIS_ FECMethod *FEC) PURE; 450 STDMETHOD_(HRESULT,get_InnerFECRate)(THIS_ BinaryConvolutionCodeRate *FEC) PURE; 451 STDMETHOD_(HRESULT,get_Modulation)(THIS_ ModulationType *pModulation) PURE; 452 STDMETHOD_(HRESULT,get_OuterFEC)(THIS_ FECMethod *FEC) PURE; 453 STDMETHOD_(HRESULT,get_OuterFECRate)(THIS_ BinaryConvolutionCodeRate *FEC) PURE; 454 STDMETHOD_(HRESULT,get_SymbolRate)(THIS_ __LONG32 *Rate) PURE; 455 STDMETHOD_(HRESULT,put_CarrierFrequency)(THIS_ __LONG32 Frequency) PURE; 456 STDMETHOD_(HRESULT,put_InnerFEC)(THIS_ FECMethod FEC) PURE; 457 STDMETHOD_(HRESULT,put_InnerFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 458 STDMETHOD_(HRESULT,put_Modulation)(THIS_ ModulationType Modulation) PURE; 459 STDMETHOD_(HRESULT,put_OuterFEC)(THIS_ FECMethod FEC) PURE; 460 STDMETHOD_(HRESULT,put_OuterFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 461 STDMETHOD_(HRESULT,put_SymbolRate)(THIS_ __LONG32 Rate) PURE; 462 463 /* IDigitalLocator methods */ 464 465 /* IDVBSLocator methods */ 466 STDMETHOD_(HRESULT,get_Azimuth)(THIS_ __LONG32 *pAzimuth) PURE; 467 STDMETHOD_(HRESULT,get_Elevation)(THIS_ __LONG32 *pElevation) PURE; 468 STDMETHOD_(HRESULT,get_OrbitalPosition)(THIS_ __LONG32 *plongitude) PURE; 469 STDMETHOD_(HRESULT,get_SignalPolarisation)(THIS_ Polarisation *pPolarisationVal) PURE; 470 STDMETHOD_(HRESULT,get_WestPosition)(THIS_ VARIANT_BOOL *pWestLongitude) PURE; 471 STDMETHOD_(HRESULT,put_Azimuth)(THIS_ __LONG32 Azimuth) PURE; 472 STDMETHOD_(HRESULT,put_Elevation)(THIS_ __LONG32 Elevation) PURE; 473 STDMETHOD_(HRESULT,put_OrbitalPosition)(THIS_ __LONG32 longitude) PURE; 474 STDMETHOD_(HRESULT,put_SignalPolarisation)(THIS_ Polarisation PolarisationVal) PURE; 475 STDMETHOD_(HRESULT,put_WestPosition)(THIS_ VARIANT_BOOL WestLongitude) PURE; 476 477 /* IDVBSLocator2 methods */ 478 STDMETHOD_(HRESULT,put_DiseqLNBSource)(THIS_ LNB_Source DiseqLNBSourceVal) PURE; 479 STDMETHOD_(HRESULT,get_DiseqLNBSource)(THIS_ LNB_Source *DiseqLNBSourceVal) PURE; 480 STDMETHOD_(HRESULT,put_LocalLNBSwitchOverride)(THIS_ __LONG32 LocalLNBSwitchOverrideVal) PURE; 481 STDMETHOD_(HRESULT,get_LocalLNBSwitchOverride)(THIS_ __LONG32 *LocalLNBSwitchOverrideVal) PURE; 482 STDMETHOD_(HRESULT,put_LocalOscillatorOverrideHigh)(THIS_ __LONG32 LocalOscillatorOverrideHighVal) PURE; 483 STDMETHOD_(HRESULT,get_LocalOscillatorOverrideHigh)(THIS_ __LONG32 *LocalOscillatorOverrideHighVal) PURE; 484 STDMETHOD_(HRESULT,put_LocalOscillatorOverrideLow)(THIS_ __LONG32 LocalOscillatorOverrideLowVal) PURE; 485 STDMETHOD_(HRESULT,get_LocalOscillatorOverrideLow)(THIS_ __LONG32 *LocalOscillatorOverrideLowVal) PURE; 486 STDMETHOD_(HRESULT,put_LocalSpectralInversionOverride)(THIS_ SpectralInversion LocalSpectralInversionOverrideVal) PURE; 487 STDMETHOD_(HRESULT,get_LocalSpectralInversionOverride)(THIS_ SpectralInversion *LocalSpectralInversionOverrideVal) PURE; 488 STDMETHOD_(HRESULT,put_SignalPilot)(THIS_ Pilot PilotVal) PURE; 489 STDMETHOD_(HRESULT,get_SignalPilot)(THIS_ Pilot *PilotVal) PURE; 490 STDMETHOD_(HRESULT,put_SignalRollOff)(THIS_ RollOff RollOffVal) PURE; 491 STDMETHOD_(HRESULT,get_SignalRollOff)(THIS_ RollOff *RollOffVal) PURE; 492 493 END_INTERFACE 494 }; 495 #ifdef COBJMACROS 496 #define IDVBSLocator2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 497 #define IDVBSLocator2_AddRef(This) (This)->lpVtbl->AddRef(This) 498 #define IDVBSLocator2_Release(This) (This)->lpVtbl->Release(This) 499 #define IDVBSLocator2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 500 #define IDVBSLocator2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 501 #define IDVBSLocator2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 502 #define IDVBSLocator2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 503 #define IDVBSLocator2_Clone(This,ppNewLocator) (This)->lpVtbl->Clone(This,ppNewLocator) 504 #define IDVBSLocator2_get_CarrierFrequency(This,pFrequency) (This)->lpVtbl->get_CarrierFrequency(This,pFrequency) 505 #define IDVBSLocator2_get_InnerFEC(This,FEC) (This)->lpVtbl->get_InnerFEC(This,FEC) 506 #define IDVBSLocator2_get_InnerFECRate(This,FEC) (This)->lpVtbl->get_InnerFECRate(This,FEC) 507 #define IDVBSLocator2_get_Modulation(This,pModulation) (This)->lpVtbl->get_Modulation(This,pModulation) 508 #define IDVBSLocator2_get_OuterFEC(This,FEC) (This)->lpVtbl->get_OuterFEC(This,FEC) 509 #define IDVBSLocator2_get_OuterFECRate(This,FEC) (This)->lpVtbl->get_OuterFECRate(This,FEC) 510 #define IDVBSLocator2_get_SymbolRate(This,Rate) (This)->lpVtbl->get_SymbolRate(This,Rate) 511 #define IDVBSLocator2_put_CarrierFrequency(This,Frequency) (This)->lpVtbl->put_CarrierFrequency(This,Frequency) 512 #define IDVBSLocator2_put_InnerFEC(This,FEC) (This)->lpVtbl->put_InnerFEC(This,FEC) 513 #define IDVBSLocator2_put_InnerFECRate(This,FEC) (This)->lpVtbl->put_InnerFECRate(This,FEC) 514 #define IDVBSLocator2_put_Modulation(This,Modulation) (This)->lpVtbl->put_Modulation(This,Modulation) 515 #define IDVBSLocator2_put_OuterFEC(This,FEC) (This)->lpVtbl->put_OuterFEC(This,FEC) 516 #define IDVBSLocator2_put_OuterFECRate(This,FEC) (This)->lpVtbl->put_OuterFECRate(This,FEC) 517 #define IDVBSLocator2_put_SymbolRate(This,Rate) (This)->lpVtbl->put_SymbolRate(This,Rate) 518 #define IDVBSLocator2_get_Azimuth(This,pAzimuth) (This)->lpVtbl->get_Azimuth(This,pAzimuth) 519 #define IDVBSLocator2_get_Elevation(This,pElevation) (This)->lpVtbl->get_Elevation(This,pElevation) 520 #define IDVBSLocator2_get_OrbitalPosition(This,plongitude) (This)->lpVtbl->get_OrbitalPosition(This,plongitude) 521 #define IDVBSLocator2_get_SignalPolarisation(This,pPolarisationVal) (This)->lpVtbl->get_SignalPolarisation(This,pPolarisationVal) 522 #define IDVBSLocator2_get_WestPosition(This,pWestLongitude) (This)->lpVtbl->get_WestPosition(This,pWestLongitude) 523 #define IDVBSLocator2_put_Azimuth(This,Azimuth) (This)->lpVtbl->put_Azimuth(This,Azimuth) 524 #define IDVBSLocator2_put_Elevation(This,Elevation) (This)->lpVtbl->put_Elevation(This,Elevation) 525 #define IDVBSLocator2_put_OrbitalPosition(This,longitude) (This)->lpVtbl->put_OrbitalPosition(This,longitude) 526 #define IDVBSLocator2_put_SignalPolarisation(This,PolarisationVal) (This)->lpVtbl->put_SignalPolarisation(This,PolarisationVal) 527 #define IDVBSLocator2_put_WestPosition(This,WestLongitude) (This)->lpVtbl->put_WestPosition(This,WestLongitude) 528 #define IDVBSLocator2_put_DiseqLNBSource(This,DiseqLNBSourceVal) (This)->lpVtbl->put_DiseqLNBSource(This,DiseqLNBSourceVal) 529 #define IDVBSLocator2_get_DiseqLNBSource(This,DiseqLNBSourceVal) (This)->lpVtbl->get_DiseqLNBSource(This,DiseqLNBSourceVal) 530 #define IDVBSLocator2_put_LocalLNBSwitchOverride(This,LocalLNBSwitchOverrideVal) (This)->lpVtbl->put_LocalLNBSwitchOverride(This,LocalLNBSwitchOverrideVal) 531 #define IDVBSLocator2_get_LocalLNBSwitchOverride(This,LocalLNBSwitchOverrideVal) (This)->lpVtbl->get_LocalLNBSwitchOverride(This,LocalLNBSwitchOverrideVal) 532 #define IDVBSLocator2_put_LocalOscillatorOverrideHigh(This,LocalOscillatorOverrideHighVal) (This)->lpVtbl->put_LocalOscillatorOverrideHigh(This,LocalOscillatorOverrideHighVal) 533 #define IDVBSLocator2_get_LocalOscillatorOverrideHigh(This,LocalOscillatorOverrideHighVal) (This)->lpVtbl->get_LocalOscillatorOverrideHigh(This,LocalOscillatorOverrideHighVal) 534 #define IDVBSLocator2_put_LocalOscillatorOverrideLow(This,LocalOscillatorOverrideLowVal) (This)->lpVtbl->put_LocalOscillatorOverrideLow(This,LocalOscillatorOverrideLowVal) 535 #define IDVBSLocator2_get_LocalOscillatorOverrideLow(This,LocalOscillatorOverrideLowVal) (This)->lpVtbl->get_LocalOscillatorOverrideLow(This,LocalOscillatorOverrideLowVal) 536 #define IDVBSLocator2_put_LocalSpectralInversionOverride(This,LocalSpectralInversionOverrideVal) (This)->lpVtbl->put_LocalSpectralInversionOverride(This,LocalSpectralInversionOverrideVal) 537 #define IDVBSLocator2_get_LocalSpectralInversionOverride(This,LocalSpectralInversionOverrideVal) (This)->lpVtbl->get_LocalSpectralInversionOverride(This,LocalSpectralInversionOverrideVal) 538 #define IDVBSLocator2_put_SignalPilot(This,PilotVal) (This)->lpVtbl->put_SignalPilot(This,PilotVal) 539 #define IDVBSLocator2_get_SignalPilot(This,PilotVal) (This)->lpVtbl->get_SignalPilot(This,PilotVal) 540 #define IDVBSLocator2_put_SignalRollOff(This,RollOffVal) (This)->lpVtbl->put_SignalRollOff(This,RollOffVal) 541 #define IDVBSLocator2_get_SignalRollOff(This,RollOffVal) (This)->lpVtbl->get_SignalRollOff(This,RollOffVal) 542 #endif /*COBJMACROS*/ 543 544 #endif /*(_WIN32_WINNT >= 0x0601)*/ 545 546 #undef INTERFACE 547 #define INTERFACE IDVBTLocator 548 #ifdef __GNUC__ 549 #warning COM interfaces layout in this header has not been verified. 550 #warning COM interfaces with incorrect layout may not work at all. 551 __MINGW_BROKEN_INTERFACE(INTERFACE) 552 #endif 553 DECLARE_INTERFACE_(IDVBTLocator,IDigitalLocator) 554 { 555 BEGIN_INTERFACE 556 557 /* IUnknown methods */ 558 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 559 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 560 STDMETHOD_(ULONG, Release)(THIS) PURE; 561 562 /* IDispatch methods */ 563 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT *pctinfo) PURE; 564 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) PURE; 565 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) PURE; 566 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) PURE; 567 568 /* ILocator methods */ 569 STDMETHOD_(HRESULT,Clone)(THIS_ ILocator **ppNewLocator) PURE; 570 STDMETHOD_(HRESULT,get_CarrierFrequency)(THIS_ __LONG32 *pFrequency) PURE; 571 STDMETHOD_(HRESULT,get_InnerFEC)(THIS_ FECMethod *FEC) PURE; 572 STDMETHOD_(HRESULT,get_InnerFECRate)(THIS_ BinaryConvolutionCodeRate *FEC) PURE; 573 STDMETHOD_(HRESULT,get_Modulation)(THIS_ ModulationType *pModulation) PURE; 574 STDMETHOD_(HRESULT,get_OuterFEC)(THIS_ FECMethod *FEC) PURE; 575 STDMETHOD_(HRESULT,get_OuterFECRate)(THIS_ BinaryConvolutionCodeRate *FEC) PURE; 576 STDMETHOD_(HRESULT,get_SymbolRate)(THIS_ __LONG32 *Rate) PURE; 577 STDMETHOD_(HRESULT,put_CarrierFrequency)(THIS_ __LONG32 Frequency) PURE; 578 STDMETHOD_(HRESULT,put_InnerFEC)(THIS_ FECMethod FEC) PURE; 579 STDMETHOD_(HRESULT,put_InnerFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 580 STDMETHOD_(HRESULT,put_Modulation)(THIS_ ModulationType Modulation) PURE; 581 STDMETHOD_(HRESULT,put_OuterFEC)(THIS_ FECMethod FEC) PURE; 582 STDMETHOD_(HRESULT,put_OuterFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 583 STDMETHOD_(HRESULT,put_SymbolRate)(THIS_ __LONG32 Rate) PURE; 584 585 /* IDigitalLocator methods */ 586 587 /* IDVBTLocator methods */ 588 STDMETHOD_(HRESULT,get_Bandwidth)(THIS_ __LONG32 *pBandWidthVal) PURE; 589 STDMETHOD_(HRESULT,get_Guard)(THIS_ GuardInterval *pGI) PURE; 590 STDMETHOD_(HRESULT,get_HAlpha)(THIS_ HierarchyAlpha *pAlpha) PURE; 591 STDMETHOD_(HRESULT,get_LPInnerFEC)(THIS_ FECMethod *pFEC) PURE; 592 STDMETHOD_(HRESULT,get_LPInnerFECRate)(THIS_ BinaryConvolutionCodeRate *pFEC) PURE; 593 STDMETHOD_(HRESULT,get_Mode)(THIS_ TransmissionMode *pmode) PURE; 594 STDMETHOD_(HRESULT,get_OtherFrequencyInUse)(THIS_ VARIANT_BOOL *pOtherFrequencyInUseVal) PURE; 595 STDMETHOD_(HRESULT,put_Bandwidth)(THIS_ __LONG32 BandwidthVal) PURE; 596 STDMETHOD_(HRESULT,put_Guard)(THIS_ GuardInterval GI) PURE; 597 STDMETHOD_(HRESULT,put_HAlpha)(THIS_ HierarchyAlpha Alpha) PURE; 598 STDMETHOD_(HRESULT,put_LPInnerFEC)(THIS_ FECMethod FEC) PURE; 599 STDMETHOD_(HRESULT,put_LPInnerFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 600 STDMETHOD_(HRESULT,put_Mode)(THIS_ TransmissionMode mode) PURE; 601 STDMETHOD_(HRESULT,put_OtherFrequencyInUse)(THIS_ VARIANT_BOOL OtherFrequencyInUseVal) PURE; 602 603 END_INTERFACE 604 }; 605 #ifdef COBJMACROS 606 #define IDVBTLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 607 #define IDVBTLocator_AddRef(This) (This)->lpVtbl->AddRef(This) 608 #define IDVBTLocator_Release(This) (This)->lpVtbl->Release(This) 609 #define IDVBTLocator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 610 #define IDVBTLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 611 #define IDVBTLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 612 #define IDVBTLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 613 #define IDVBTLocator_Clone(This,ppNewLocator) (This)->lpVtbl->Clone(This,ppNewLocator) 614 #define IDVBTLocator_get_CarrierFrequency(This,pFrequency) (This)->lpVtbl->get_CarrierFrequency(This,pFrequency) 615 #define IDVBTLocator_get_InnerFEC(This,FEC) (This)->lpVtbl->get_InnerFEC(This,FEC) 616 #define IDVBTLocator_get_InnerFECRate(This,FEC) (This)->lpVtbl->get_InnerFECRate(This,FEC) 617 #define IDVBTLocator_get_Modulation(This,pModulation) (This)->lpVtbl->get_Modulation(This,pModulation) 618 #define IDVBTLocator_get_OuterFEC(This,FEC) (This)->lpVtbl->get_OuterFEC(This,FEC) 619 #define IDVBTLocator_get_OuterFECRate(This,FEC) (This)->lpVtbl->get_OuterFECRate(This,FEC) 620 #define IDVBTLocator_get_SymbolRate(This,Rate) (This)->lpVtbl->get_SymbolRate(This,Rate) 621 #define IDVBTLocator_put_CarrierFrequency(This,Frequency) (This)->lpVtbl->put_CarrierFrequency(This,Frequency) 622 #define IDVBTLocator_put_InnerFEC(This,FEC) (This)->lpVtbl->put_InnerFEC(This,FEC) 623 #define IDVBTLocator_put_InnerFECRate(This,FEC) (This)->lpVtbl->put_InnerFECRate(This,FEC) 624 #define IDVBTLocator_put_Modulation(This,Modulation) (This)->lpVtbl->put_Modulation(This,Modulation) 625 #define IDVBTLocator_put_OuterFEC(This,FEC) (This)->lpVtbl->put_OuterFEC(This,FEC) 626 #define IDVBTLocator_put_OuterFECRate(This,FEC) (This)->lpVtbl->put_OuterFECRate(This,FEC) 627 #define IDVBTLocator_put_SymbolRate(This,Rate) (This)->lpVtbl->put_SymbolRate(This,Rate) 628 #define IDVBTLocator_get_Bandwidth(This,pBandWidthVal) (This)->lpVtbl->get_Bandwidth(This,pBandWidthVal) 629 #define IDVBTLocator_get_Guard(This,pGI) (This)->lpVtbl->get_Guard(This,pGI) 630 #define IDVBTLocator_get_HAlpha(This,pAlpha) (This)->lpVtbl->get_HAlpha(This,pAlpha) 631 #define IDVBTLocator_get_LPInnerFEC(This,pFEC) (This)->lpVtbl->get_LPInnerFEC(This,pFEC) 632 #define IDVBTLocator_get_LPInnerFECRate(This,pFEC) (This)->lpVtbl->get_LPInnerFECRate(This,pFEC) 633 #define IDVBTLocator_get_Mode(This,pmode) (This)->lpVtbl->get_Mode(This,pmode) 634 #define IDVBTLocator_get_OtherFrequencyInUse(This,pOtherFrequencyInUseVal) (This)->lpVtbl->get_OtherFrequencyInUse(This,pOtherFrequencyInUseVal) 635 #define IDVBTLocator_put_Bandwidth(This,BandwidthVal) (This)->lpVtbl->put_Bandwidth(This,BandwidthVal) 636 #define IDVBTLocator_put_Guard(This,GI) (This)->lpVtbl->put_Guard(This,GI) 637 #define IDVBTLocator_put_HAlpha(This,Alpha) (This)->lpVtbl->put_HAlpha(This,Alpha) 638 #define IDVBTLocator_put_LPInnerFEC(This,FEC) (This)->lpVtbl->put_LPInnerFEC(This,FEC) 639 #define IDVBTLocator_put_LPInnerFECRate(This,FEC) (This)->lpVtbl->put_LPInnerFECRate(This,FEC) 640 #define IDVBTLocator_put_Mode(This,mode) (This)->lpVtbl->put_Mode(This,mode) 641 #define IDVBTLocator_put_OtherFrequencyInUse(This,OtherFrequencyInUseVal) (This)->lpVtbl->put_OtherFrequencyInUse(This,OtherFrequencyInUseVal) 642 #endif /*COBJMACROS*/ 643 644 #undef INTERFACE 645 #define INTERFACE IDVBTLocator2 646 #ifdef __GNUC__ 647 #warning COM interfaces layout in this header has not been verified. 648 #warning COM interfaces with incorrect layout may not work at all. 649 __MINGW_BROKEN_INTERFACE(INTERFACE) 650 #endif 651 DECLARE_INTERFACE_(IDVBTLocator2,IDVBTLocator) 652 { 653 BEGIN_INTERFACE 654 655 /* IUnknown methods */ 656 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 657 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 658 STDMETHOD_(ULONG, Release)(THIS) PURE; 659 660 /* IDispatch methods */ 661 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT *pctinfo) PURE; 662 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) PURE; 663 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) PURE; 664 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) PURE; 665 666 /* ILocator methods */ 667 STDMETHOD_(HRESULT,Clone)(THIS_ ILocator **ppNewLocator) PURE; 668 STDMETHOD_(HRESULT,get_CarrierFrequency)(THIS_ __LONG32 *pFrequency) PURE; 669 STDMETHOD_(HRESULT,get_InnerFEC)(THIS_ FECMethod *FEC) PURE; 670 STDMETHOD_(HRESULT,get_InnerFECRate)(THIS_ BinaryConvolutionCodeRate *FEC) PURE; 671 STDMETHOD_(HRESULT,get_Modulation)(THIS_ ModulationType *pModulation) PURE; 672 STDMETHOD_(HRESULT,get_OuterFEC)(THIS_ FECMethod *FEC) PURE; 673 STDMETHOD_(HRESULT,get_OuterFECRate)(THIS_ BinaryConvolutionCodeRate *FEC) PURE; 674 STDMETHOD_(HRESULT,get_SymbolRate)(THIS_ __LONG32 *Rate) PURE; 675 STDMETHOD_(HRESULT,put_CarrierFrequency)(THIS_ __LONG32 Frequency) PURE; 676 STDMETHOD_(HRESULT,put_InnerFEC)(THIS_ FECMethod FEC) PURE; 677 STDMETHOD_(HRESULT,put_InnerFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 678 STDMETHOD_(HRESULT,put_Modulation)(THIS_ ModulationType Modulation) PURE; 679 STDMETHOD_(HRESULT,put_OuterFEC)(THIS_ FECMethod FEC) PURE; 680 STDMETHOD_(HRESULT,put_OuterFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 681 STDMETHOD_(HRESULT,put_SymbolRate)(THIS_ __LONG32 Rate) PURE; 682 683 /* IDigitalLocator methods */ 684 685 /* IDVBTLocator methods */ 686 STDMETHOD_(HRESULT,get_Bandwidth)(THIS_ __LONG32 *pBandWidthVal) PURE; 687 STDMETHOD_(HRESULT,get_Guard)(THIS_ GuardInterval *pGI) PURE; 688 STDMETHOD_(HRESULT,get_HAlpha)(THIS_ HierarchyAlpha *pAlpha) PURE; 689 STDMETHOD_(HRESULT,get_LPInnerFEC)(THIS_ FECMethod *pFEC) PURE; 690 STDMETHOD_(HRESULT,get_LPInnerFECRate)(THIS_ BinaryConvolutionCodeRate *pFEC) PURE; 691 STDMETHOD_(HRESULT,get_Mode)(THIS_ TransmissionMode *pmode) PURE; 692 STDMETHOD_(HRESULT,get_OtherFrequencyInUse)(THIS_ VARIANT_BOOL *pOtherFrequencyInUseVal) PURE; 693 STDMETHOD_(HRESULT,put_Bandwidth)(THIS_ __LONG32 BandwidthVal) PURE; 694 STDMETHOD_(HRESULT,put_Guard)(THIS_ GuardInterval GI) PURE; 695 STDMETHOD_(HRESULT,put_HAlpha)(THIS_ HierarchyAlpha Alpha) PURE; 696 STDMETHOD_(HRESULT,put_LPInnerFEC)(THIS_ FECMethod FEC) PURE; 697 STDMETHOD_(HRESULT,put_LPInnerFECRate)(THIS_ BinaryConvolutionCodeRate FEC) PURE; 698 STDMETHOD_(HRESULT,put_Mode)(THIS_ TransmissionMode mode) PURE; 699 STDMETHOD_(HRESULT,put_OtherFrequencyInUse)(THIS_ VARIANT_BOOL OtherFrequencyInUseVal) PURE; 700 701 /* IDVBTLocator2 methods */ 702 STDMETHOD_(HRESULT,put_PhysicalLayerPipeId)(THIS_ __LONG32 PhysicalLayerPipeIdVal) PURE; 703 STDMETHOD_(HRESULT,get_PhysicalLayerPipeId)(THIS_ __LONG32 *PhysicalLayerPipeIdVal) PURE; 704 705 END_INTERFACE 706 }; 707 #ifdef COBJMACROS 708 #define IDVBTLocator2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 709 #define IDVBTLocator2_AddRef(This) (This)->lpVtbl->AddRef(This) 710 #define IDVBTLocator2_Release(This) (This)->lpVtbl->Release(This) 711 #define IDVBTLocator2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 712 #define IDVBTLocator2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 713 #define IDVBTLocator2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 714 #define IDVBTLocator2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 715 #define IDVBTLocator2_Clone(This,ppNewLocator) (This)->lpVtbl->Clone(This,ppNewLocator) 716 #define IDVBTLocator2_get_CarrierFrequency(This,pFrequency) (This)->lpVtbl->get_CarrierFrequency(This,pFrequency) 717 #define IDVBTLocator2_get_InnerFEC(This,FEC) (This)->lpVtbl->get_InnerFEC(This,FEC) 718 #define IDVBTLocator2_get_InnerFECRate(This,FEC) (This)->lpVtbl->get_InnerFECRate(This,FEC) 719 #define IDVBTLocator2_get_Modulation(This,pModulation) (This)->lpVtbl->get_Modulation(This,pModulation) 720 #define IDVBTLocator2_get_OuterFEC(This,FEC) (This)->lpVtbl->get_OuterFEC(This,FEC) 721 #define IDVBTLocator2_get_OuterFECRate(This,FEC) (This)->lpVtbl->get_OuterFECRate(This,FEC) 722 #define IDVBTLocator2_get_SymbolRate(This,Rate) (This)->lpVtbl->get_SymbolRate(This,Rate) 723 #define IDVBTLocator2_put_CarrierFrequency(This,Frequency) (This)->lpVtbl->put_CarrierFrequency(This,Frequency) 724 #define IDVBTLocator2_put_InnerFEC(This,FEC) (This)->lpVtbl->put_InnerFEC(This,FEC) 725 #define IDVBTLocator2_put_InnerFECRate(This,FEC) (This)->lpVtbl->put_InnerFECRate(This,FEC) 726 #define IDVBTLocator2_put_Modulation(This,Modulation) (This)->lpVtbl->put_Modulation(This,Modulation) 727 #define IDVBTLocator2_put_OuterFEC(This,FEC) (This)->lpVtbl->put_OuterFEC(This,FEC) 728 #define IDVBTLocator2_put_OuterFECRate(This,FEC) (This)->lpVtbl->put_OuterFECRate(This,FEC) 729 #define IDVBTLocator2_put_SymbolRate(This,Rate) (This)->lpVtbl->put_SymbolRate(This,Rate) 730 #define IDVBTLocator2_get_Bandwidth(This,pBandWidthVal) (This)->lpVtbl->get_Bandwidth(This,pBandWidthVal) 731 #define IDVBTLocator2_get_Guard(This,pGI) (This)->lpVtbl->get_Guard(This,pGI) 732 #define IDVBTLocator2_get_HAlpha(This,pAlpha) (This)->lpVtbl->get_HAlpha(This,pAlpha) 733 #define IDVBTLocator2_get_LPInnerFEC(This,pFEC) (This)->lpVtbl->get_LPInnerFEC(This,pFEC) 734 #define IDVBTLocator2_get_LPInnerFECRate(This,pFEC) (This)->lpVtbl->get_LPInnerFECRate(This,pFEC) 735 #define IDVBTLocator2_get_Mode(This,pmode) (This)->lpVtbl->get_Mode(This,pmode) 736 #define IDVBTLocator2_get_OtherFrequencyInUse(This,pOtherFrequencyInUseVal) (This)->lpVtbl->get_OtherFrequencyInUse(This,pOtherFrequencyInUseVal) 737 #define IDVBTLocator2_put_Bandwidth(This,BandwidthVal) (This)->lpVtbl->put_Bandwidth(This,BandwidthVal) 738 #define IDVBTLocator2_put_Guard(This,GI) (This)->lpVtbl->put_Guard(This,GI) 739 #define IDVBTLocator2_put_HAlpha(This,Alpha) (This)->lpVtbl->put_HAlpha(This,Alpha) 740 #define IDVBTLocator2_put_LPInnerFEC(This,FEC) (This)->lpVtbl->put_LPInnerFEC(This,FEC) 741 #define IDVBTLocator2_put_LPInnerFECRate(This,FEC) (This)->lpVtbl->put_LPInnerFECRate(This,FEC) 742 #define IDVBTLocator2_put_Mode(This,mode) (This)->lpVtbl->put_Mode(This,mode) 743 #define IDVBTLocator2_put_OtherFrequencyInUse(This,OtherFrequencyInUseVal) (This)->lpVtbl->put_OtherFrequencyInUse(This,OtherFrequencyInUseVal) 744 #define IDVBTLocator2_put_PhysicalLayerPipeId(This,PhysicalLayerPipeIdVal) (This)->lpVtbl->put_PhysicalLayerPipeId(This,PhysicalLayerPipeIdVal) 745 #define IDVBTLocator2_get_PhysicalLayerPipeId(This,PhysicalLayerPipeIdVal) (This)->lpVtbl->get_PhysicalLayerPipeId(This,PhysicalLayerPipeIdVal) 746 #endif /*COBJMACROS*/ 747 748 #undef INTERFACE 749 #define INTERFACE IComponents 750 #ifdef __GNUC__ 751 #warning COM interfaces layout in this header has not been verified. 752 #warning COM interfaces with incorrect layout may not work at all. 753 __MINGW_BROKEN_INTERFACE(INTERFACE) 754 #endif 755 DECLARE_INTERFACE_(IComponents,IDispatch) 756 { 757 BEGIN_INTERFACE 758 759 /* IUnknown methods */ 760 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 761 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 762 STDMETHOD_(ULONG, Release)(THIS) PURE; 763 764 /* IDispatch methods */ 765 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT *pctinfo) PURE; 766 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) PURE; 767 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) PURE; 768 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) PURE; 769 770 /* IComponents methods */ 771 STDMETHOD_(HRESULT,Add)(THIS_ IComponent *pComponent,VARIANT *pNewIndex) PURE; 772 STDMETHOD_(HRESULT,Clone)(THIS_ IComponents **ppNewList) PURE; 773 STDMETHOD_(HRESULT,EnumComponents)(THIS_ IEnumComponents **ppNewEnum) PURE; 774 STDMETHOD_(HRESULT,get__NewEnum)(THIS_ IEnumVARIANT **ppNewEnum) PURE; 775 STDMETHOD_(HRESULT,get_Count)(THIS_ __LONG32 *pCount) PURE; 776 STDMETHOD_(HRESULT,get_Item)(THIS_ VARIANT Index,IComponent **ppComponent) PURE; 777 STDMETHOD_(HRESULT,put_Item)(THIS_ VARIANT Index,IComponentType *pComponentType) PURE; 778 STDMETHOD_(HRESULT,Remove)(THIS_ VARIANT Index) PURE; 779 780 END_INTERFACE 781 }; 782 #ifdef COBJMACROS 783 #define IComponents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 784 #define IComponents_AddRef(This) (This)->lpVtbl->AddRef(This) 785 #define IComponents_Release(This) (This)->lpVtbl->Release(This) 786 #define IComponents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 787 #define IComponents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 788 #define IComponents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 789 #define IComponents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 790 #define IComponents_Clone(This,ppNewList) (This)->lpVtbl->Clone(This,ppNewList) 791 #define IComponents_EnumComponents(This,ppNewEnum) (This)->lpVtbl->EnumComponents(This,ppNewEnum) 792 #define IComponents_get__NewEnum(This,ppNewEnum) (This)->lpVtbl->get__NewEnum(This,ppNewEnum) 793 #define IComponents_get_Count(This,pCount) (This)->lpVtbl->get_Count(This,pCount) 794 #define IComponents_get_Item(This,Index,ppComponent) (This)->lpVtbl->get_Item(This,Index,ppComponent) 795 #define IComponents_put_Item(This,Index,pComponentType) (This)->lpVtbl->put_Item(This,Index,pComponentType) 796 #define IComponents_Remove(This,Index) (This)->lpVtbl->Remove(This,Index) 797 #endif /*COBJMACROS*/ 798 799 #undef INTERFACE 800 #define INTERFACE IEnumComponents 801 #ifdef __GNUC__ 802 #warning COM interfaces layout in this header has not been verified. 803 #warning COM interfaces with incorrect layout may not work at all. 804 __MINGW_BROKEN_INTERFACE(INTERFACE) 805 #endif 806 DECLARE_INTERFACE_(IEnumComponents,IUnknown) 807 { 808 BEGIN_INTERFACE 809 810 /* IUnknown methods */ 811 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 812 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 813 STDMETHOD_(ULONG, Release)(THIS) PURE; 814 815 /* IEnumComponents methods */ 816 STDMETHOD_(HRESULT,Clone)(THIS_ IEnumComponents **ppEnum) PURE; 817 STDMETHOD_(HRESULT,Next)(THIS_ ULONG celt,IComponent **pprgelt,ULONG *pceltFetched) PURE; 818 STDMETHOD_(HRESULT,Reset)(THIS) PURE; 819 STDMETHOD_(HRESULT,Skip)(THIS_ ULONG celt) PURE; 820 821 END_INTERFACE 822 }; 823 #ifdef COBJMACROS 824 #define IEnumComponents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 825 #define IEnumComponents_AddRef(This) (This)->lpVtbl->AddRef(This) 826 #define IEnumComponents_Release(This) (This)->lpVtbl->Release(This) 827 #define IEnumComponents_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) 828 #define IEnumComponents_Next(This,celt,pprgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,pprgelt,pceltFetched) 829 #define IEnumComponents_Reset() (This)->lpVtbl->Reset(This) 830 #define IEnumComponents_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) 831 #endif /*COBJMACROS*/ 832 833 #undef INTERFACE 834 #define INTERFACE IComponent 835 #ifdef __GNUC__ 836 #warning COM interfaces layout in this header has not been verified. 837 #warning COM interfaces with incorrect layout may not work at all. 838 __MINGW_BROKEN_INTERFACE(INTERFACE) 839 #endif 840 DECLARE_INTERFACE_(IComponent,IDispatch) 841 { 842 BEGIN_INTERFACE 843 844 /* IUnknown methods */ 845 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 846 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 847 STDMETHOD_(ULONG, Release)(THIS) PURE; 848 849 /* IDispatch methods */ 850 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT *pctinfo) PURE; 851 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) PURE; 852 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) PURE; 853 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) PURE; 854 855 /* IComponent methods */ 856 STDMETHOD_(HRESULT,Clone)(THIS_ IComponent **ppNewComponent) PURE; 857 STDMETHOD_(HRESULT,get_DescLangID)(THIS_ __LONG32 *pLangID) PURE; 858 STDMETHOD_(HRESULT,get_Description)(THIS_ BSTR *pDescription) PURE; 859 STDMETHOD_(HRESULT,get_Status)(THIS_ ComponentStatus *pStatus) PURE; 860 STDMETHOD_(HRESULT,get_Type)(THIS_ IComponentType **ppCT) PURE; 861 STDMETHOD_(HRESULT,put_DescLangID)(THIS_ __LONG32 LangID) PURE; 862 STDMETHOD_(HRESULT,put_Description)(THIS_ BSTR Description) PURE; 863 STDMETHOD_(HRESULT,put_Status)(THIS_ ComponentStatus Status) PURE; 864 STDMETHOD_(HRESULT,put_Type)(THIS_ IComponentType *pCT) PURE; 865 866 END_INTERFACE 867 }; 868 #ifdef COBJMACROS 869 #define IComponent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 870 #define IComponent_AddRef(This) (This)->lpVtbl->AddRef(This) 871 #define IComponent_Release(This) (This)->lpVtbl->Release(This) 872 #define IComponent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 873 #define IComponent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 874 #define IComponent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 875 #define IComponent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 876 #define IComponent_Clone(This,ppNewComponent) (This)->lpVtbl->Clone(This,ppNewComponent) 877 #define IComponent_get_DescLangID(This,pLangID) (This)->lpVtbl->get_DescLangID(This,pLangID) 878 #define IComponent_get_Description(This,pDescription) (This)->lpVtbl->get_Description(This,pDescription) 879 #define IComponent_get_Status(This,pStatus) (This)->lpVtbl->get_Status(This,pStatus) 880 #define IComponent_get_Type(This,ppCT) (This)->lpVtbl->get_Type(This,ppCT) 881 #define IComponent_put_DescLangID(This,LangID) (This)->lpVtbl->put_DescLangID(This,LangID) 882 #define IComponent_put_Description(This,Description) (This)->lpVtbl->put_Description(This,Description) 883 #define IComponent_put_Status(This,Status) (This)->lpVtbl->put_Status(This,Status) 884 #define IComponent_put_Type(This,pCT) (This)->lpVtbl->put_Type(This,pCT) 885 #endif /*COBJMACROS*/ 886 887 #undef INTERFACE 888 #define INTERFACE IMPEG2Component 889 #ifdef __GNUC__ 890 #warning COM interfaces layout in this header has not been verified. 891 #warning COM interfaces with incorrect layout may not work at all. 892 __MINGW_BROKEN_INTERFACE(INTERFACE) 893 #endif 894 DECLARE_INTERFACE_(IMPEG2Component,IComponent) 895 { 896 BEGIN_INTERFACE 897 898 /* IUnknown methods */ 899 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 900 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 901 STDMETHOD_(ULONG, Release)(THIS) PURE; 902 903 /* IDispatch methods */ 904 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT *pctinfo) PURE; 905 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) PURE; 906 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) PURE; 907 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) PURE; 908 909 /* IComponent methods */ 910 STDMETHOD_(HRESULT,Clone)(THIS_ IComponent **ppNewComponent) PURE; 911 STDMETHOD_(HRESULT,get_DescLangID)(THIS_ __LONG32 *pLangID) PURE; 912 STDMETHOD_(HRESULT,get_Description)(THIS_ BSTR *pDescription) PURE; 913 STDMETHOD_(HRESULT,get_Status)(THIS_ ComponentStatus *pStatus) PURE; 914 STDMETHOD_(HRESULT,get_Type)(THIS_ IComponentType **ppCT) PURE; 915 STDMETHOD_(HRESULT,put_DescLangID)(THIS_ __LONG32 LangID) PURE; 916 STDMETHOD_(HRESULT,put_Description)(THIS_ BSTR Description) PURE; 917 STDMETHOD_(HRESULT,put_Status)(THIS_ ComponentStatus Status) PURE; 918 STDMETHOD_(HRESULT,put_Type)(THIS_ IComponentType *pCT) PURE; 919 920 /* IMPEG2Component methods */ 921 STDMETHOD_(HRESULT,get_PID)(THIS_ __LONG32 *pPID) PURE; 922 STDMETHOD_(HRESULT,get_ProgramNumber)(THIS_ __LONG32 *pProgramNumber) PURE; 923 STDMETHOD_(HRESULT,put_PCRPID)(THIS_ __LONG32 PCRPID) PURE; 924 STDMETHOD_(HRESULT,put_PID)(THIS_ __LONG32 PID) PURE; 925 STDMETHOD_(HRESULT,put_ProgramNumber)(THIS_ __LONG32 ProgramNumber) PURE; 926 STDMETHOD_(HRESULT,get_PCRPID)(THIS_ __LONG32 *pPCRPID) PURE; 927 928 END_INTERFACE 929 }; 930 #ifdef COBJMACROS 931 #define IMPEG2Component_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 932 #define IMPEG2Component_AddRef(This) (This)->lpVtbl->AddRef(This) 933 #define IMPEG2Component_Release(This) (This)->lpVtbl->Release(This) 934 #define IMPEG2Component_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 935 #define IMPEG2Component_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 936 #define IMPEG2Component_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 937 #define IMPEG2Component_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 938 #define IMPEG2Component_Clone(This,ppNewComponent) (This)->lpVtbl->Clone(This,ppNewComponent) 939 #define IMPEG2Component_get_DescLangID(This,pLangID) (This)->lpVtbl->get_DescLangID(This,pLangID) 940 #define IMPEG2Component_get_Description(This,pDescription) (This)->lpVtbl->get_Description(This,pDescription) 941 #define IMPEG2Component_get_Status(This,pStatus) (This)->lpVtbl->get_Status(This,pStatus) 942 #define IMPEG2Component_get_Type(This,ppCT) (This)->lpVtbl->get_Type(This,ppCT) 943 #define IMPEG2Component_put_DescLangID(This,LangID) (This)->lpVtbl->put_DescLangID(This,LangID) 944 #define IMPEG2Component_put_Description(This,Description) (This)->lpVtbl->put_Description(This,Description) 945 #define IMPEG2Component_put_Status(This,Status) (This)->lpVtbl->put_Status(This,Status) 946 #define IMPEG2Component_put_Type(This,pCT) (This)->lpVtbl->put_Type(This,pCT) 947 #define IMPEG2Component_get_PID(This,pPID) (This)->lpVtbl->get_PID(This,pPID) 948 #define IMPEG2Component_get_ProgramNumber(This,pProgramNumber) (This)->lpVtbl->get_ProgramNumber(This,pProgramNumber) 949 #define IMPEG2Component_put_PCRPID(This,PCRPID) (This)->lpVtbl->put_PCRPID(This,PCRPID) 950 #define IMPEG2Component_put_PID(This,PID) (This)->lpVtbl->put_PID(This,PID) 951 #define IMPEG2Component_put_ProgramNumber(This,ProgramNumber) (This)->lpVtbl->put_ProgramNumber(This,ProgramNumber) 952 #define IMPEG2Component_get_PCRPID(This,pPCRPID) (This)->lpVtbl->get_PCRPID(This,pPCRPID) 953 #endif /*COBJMACROS*/ 954 955 #undef INTERFACE 956 #define INTERFACE ITuningSpace 957 #ifdef __GNUC__ 958 #warning COM interfaces layout in this header has not been verified. 959 #warning COM interfaces with incorrect layout may not work at all. 960 __MINGW_BROKEN_INTERFACE(INTERFACE) 961 #endif 962 DECLARE_INTERFACE_(ITuningSpace,IDispatch) 963 { 964 BEGIN_INTERFACE 965 966 /* IUnknown methods */ 967 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 968 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 969 STDMETHOD_(ULONG, Release)(THIS) PURE; 970 971 /* IDispatch methods */ 972 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT *pctinfo) PURE; 973 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) PURE; 974 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) PURE; 975 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) PURE; 976 977 /* ITuningSpace methods */ 978 STDMETHOD_(HRESULT,Clone)(THIS_ ITuningSpace **ppNewTS) PURE; 979 STDMETHOD_(HRESULT,CreateTuneRequest)(THIS_ ITuneRequest **ppTuneRequest) PURE; 980 STDMETHOD_(HRESULT,EnumCategoryGUIDs)(THIS_ IEnumGUID **ppEnum) PURE; 981 STDMETHOD_(HRESULT,EnumDeviceMonikers)(THIS_ IEnumMoniker **ppEnum) PURE; 982 STDMETHOD_(HRESULT,get__NetworkType)(THIS_ GUID *pNetworkTypeGuid) PURE; 983 STDMETHOD_(HRESULT,get_CLSID)(THIS_ BSTR *pSpaceCLSID) PURE; 984 STDMETHOD_(HRESULT,get_DefaultLocator)(THIS_ ILocator **ppLocatorVal) PURE; 985 STDMETHOD_(HRESULT,get_DefaultPreferredComponentTypes)(THIS_ IComponentTypes **ppComponentTypes) PURE; 986 STDMETHOD_(HRESULT,get_FrequencyMapping)(THIS_ BSTR *pMapping) PURE; 987 STDMETHOD_(HRESULT,get_FriendlyName)(THIS_ BSTR *pName) PURE; 988 STDMETHOD_(HRESULT,get_NetworkType)(THIS_ BSTR *pNetworkTypeGuid) PURE; 989 STDMETHOD_(HRESULT,get_UniqueName)(THIS_ BSTR *pName) PURE; 990 STDMETHOD_(HRESULT,put__NetworkType)(THIS_ REFCLSID NetworkTypeGuid) PURE; 991 STDMETHOD_(HRESULT,put_DefaultLocator)(THIS_ ILocator *pLocatorVal) PURE; 992 STDMETHOD_(HRESULT,put_DefaultPreferredComponentTypes)(THIS_ IComponentTypes *pNewComponentTypes) PURE; 993 STDMETHOD_(HRESULT,put_FrequencyMapping)(THIS_ BSTR Mapping) PURE; 994 STDMETHOD_(HRESULT,put_FriendlyName)(THIS_ BSTR Name) PURE; 995 STDMETHOD_(HRESULT,put_NetworkType)(THIS_ BSTR NetworkTypeGuid) PURE; 996 STDMETHOD_(HRESULT,put_UniqueName)(THIS_ BSTR Name) PURE; 997 998 END_INTERFACE 999 }; 1000 #ifdef COBJMACROS 1001 #define ITuningSpace_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1002 #define ITuningSpace_AddRef(This) (This)->lpVtbl->AddRef(This) 1003 #define ITuningSpace_Release(This) (This)->lpVtbl->Release(This) 1004 #define ITuningSpace_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 1005 #define ITuningSpace_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 1006 #define ITuningSpace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 1007 #define ITuningSpace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 1008 #define ITuningSpace_Clone(This,ppNewTS) (This)->lpVtbl->Clone(This,ppNewTS) 1009 #define ITuningSpace_CreateTuneRequest(This,ppTuneRequest) (This)->lpVtbl->CreateTuneRequest(This,ppTuneRequest) 1010 #define ITuningSpace_EnumCategoryGUIDs(This,ppEnum) (This)->lpVtbl->EnumCategoryGUIDs(This,ppEnum) 1011 #define ITuningSpace_EnumDeviceMonikers(This,ppEnum) (This)->lpVtbl->EnumDeviceMonikers(This,ppEnum) 1012 #define ITuningSpace_get__NetworkType(This,pNetworkTypeGuid) (This)->lpVtbl->get__NetworkType(This,pNetworkTypeGuid) 1013 #define ITuningSpace_get_CLSID(This,pSpaceCLSID) (This)->lpVtbl->get_CLSID(This,pSpaceCLSID) 1014 #define ITuningSpace_get_DefaultLocator(This,ppLocatorVal) (This)->lpVtbl->get_DefaultLocator(This,ppLocatorVal) 1015 #define ITuningSpace_get_DefaultPreferredComponentTypes(This,ppComponentTypes) (This)->lpVtbl->get_DefaultPreferredComponentTypes(This,ppComponentTypes) 1016 #define ITuningSpace_get_FrequencyMapping(This,pMapping) (This)->lpVtbl->get_FrequencyMapping(This,pMapping) 1017 #define ITuningSpace_get_FriendlyName(This,pName) (This)->lpVtbl->get_FriendlyName(This,pName) 1018 #define ITuningSpace_get_NetworkType(This,pNetworkTypeGuid) (This)->lpVtbl->get_NetworkType(This,pNetworkTypeGuid) 1019 #define ITuningSpace_get_UniqueName(This,pName) (This)->lpVtbl->get_UniqueName(This,pName) 1020 #define ITuningSpace_put__NetworkType(This,NetworkTypeGuid) (This)->lpVtbl->put__NetworkType(This,NetworkTypeGuid) 1021 #define ITuningSpace_put_DefaultLocator(This,pLocatorVal) (This)->lpVtbl->put_DefaultLocator(This,pLocatorVal) 1022 #define ITuningSpace_put_DefaultPreferredComponentTypes(This,pNewComponentTypes) (This)->lpVtbl->put_DefaultPreferredComponentTypes(This,pNewComponentTypes) 1023 #define ITuningSpace_put_FrequencyMapping(This,Mapping) (This)->lpVtbl->put_FrequencyMapping(This,Mapping) 1024 #define ITuningSpace_put_FriendlyName(This,Name) (This)->lpVtbl->put_FriendlyName(This,Name) 1025 #define ITuningSpace_put_NetworkType(This,NetworkTypeGuid) (This)->lpVtbl->put_NetworkType(This,NetworkTypeGuid) 1026 #define ITuningSpace_put_UniqueName(This,Name) (This)->lpVtbl->put_UniqueName(This,Name) 1027 #endif /*COBJMACROS*/ 1028 1029 #undef INTERFACE 1030 #define INTERFACE IComponentTypes 1031 #ifdef __GNUC__ 1032 #warning COM interfaces layout in this header has not been verified. 1033 #warning COM interfaces with incorrect layout may not work at all. 1034 __MINGW_BROKEN_INTERFACE(INTERFACE) 1035 #endif 1036 DECLARE_INTERFACE_(IComponentTypes,IDispatch) 1037 { 1038 BEGIN_INTERFACE 1039 1040 /* IUnknown methods */ 1041 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 1042 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 1043 STDMETHOD_(ULONG, Release)(THIS) PURE; 1044 1045 /* IDispatch methods */ 1046 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT *pctinfo) PURE; 1047 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) PURE; 1048 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) PURE; 1049 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) PURE; 1050 1051 /* IComponentTypes methods */ 1052 STDMETHOD_(HRESULT,Add)(THIS_ IComponentType *pComponentType,VARIANT *pNewIndex) PURE; 1053 STDMETHOD_(HRESULT,Clone)(THIS_ IComponentTypes **ppNewList) PURE; 1054 STDMETHOD_(HRESULT,EnumComponentTypes)(THIS_ IEnumComponentTypes **ppNewEnum) PURE; 1055 STDMETHOD_(HRESULT,get__NewEnum)(THIS_ IEnumVARIANT **ppNewEnum) PURE; 1056 STDMETHOD_(HRESULT,get_Count)(THIS_ __LONG32 *pCount) PURE; 1057 STDMETHOD_(HRESULT,get_Item)(THIS_ VARIANT Index,IComponentType **ppComponentType) PURE; 1058 STDMETHOD_(HRESULT,Remove)(THIS_ VARIANT Index) PURE; 1059 1060 END_INTERFACE 1061 }; 1062 #ifdef COBJMACROS 1063 #define IComponentTypes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1064 #define IComponentTypes_AddRef(This) (This)->lpVtbl->AddRef(This) 1065 #define IComponentTypes_Release(This) (This)->lpVtbl->Release(This) 1066 #define IComponentTypes_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 1067 #define IComponentTypes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 1068 #define IComponentTypes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 1069 #define IComponentTypes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 1070 #define IComponentTypes_Add(This,pComponentType,pNewIndex) (This)->lpVtbl->Add(This,pComponentType,pNewIndex) 1071 #define IComponentTypes_Clone(This,ppNewList) (This)->lpVtbl->Clone(This,ppNewList) 1072 #define IComponentTypes_EnumComponentTypes(This,ppNewEnum) (This)->lpVtbl->EnumComponentTypes(This,ppNewEnum) 1073 #define IComponentTypes_get__NewEnum(This,ppNewEnum) (This)->lpVtbl->get__NewEnum(This,ppNewEnum) 1074 #define IComponentTypes_get_Count(This,pCount) (This)->lpVtbl->get_Count(This,pCount) 1075 #define IComponentTypes_get_Item(This,Index,ppComponentType) (This)->lpVtbl->get_Item(This,Index,ppComponentType) 1076 #define IComponentTypes_Remove(This,Index) (This)->lpVtbl->Remove(This,Index) 1077 #endif /*COBJMACROS*/ 1078 1079 /* Fixme: Double underscored ,methods are C++ only */ 1080 #undef INTERFACE 1081 #define INTERFACE IComponentType 1082 #ifdef __GNUC__ 1083 #warning COM interfaces layout in this header has not been verified. 1084 #warning COM interfaces with incorrect layout may not work at all. 1085 __MINGW_BROKEN_INTERFACE(INTERFACE) 1086 #endif 1087 DECLARE_INTERFACE_(IComponentType,IDispatch) 1088 { 1089 BEGIN_INTERFACE 1090 1091 /* IUnknown methods */ 1092 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 1093 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 1094 STDMETHOD_(ULONG, Release)(THIS) PURE; 1095 1096 /* IDispatch methods */ 1097 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT *pctinfo) PURE; 1098 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) PURE; 1099 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) PURE; 1100 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) PURE; 1101 1102 /* IComponentType methods */ 1103 STDMETHOD_(HRESULT,Clone)(THIS_ IComponentType **ppNewCT) PURE; 1104 STDMETHOD_(HRESULT,get__MediaFormatType)(THIS_ GUID *pMediaFormatType) PURE; 1105 STDMETHOD_(HRESULT,get__MediaMajorType)(THIS_ GUID *MediaMajorType) PURE; 1106 STDMETHOD_(HRESULT,get__MediaSubType)(THIS_ GUID *pMediaSubType) PURE; 1107 STDMETHOD_(HRESULT,get_Category)(THIS_ ComponentCategory *pCategory) PURE; 1108 STDMETHOD_(HRESULT,get_MediaFormatType)(THIS_ BSTR *pMediaFormatType) PURE; 1109 STDMETHOD_(HRESULT,get_MediaMajorType)(THIS_ BSTR *pMediaMajorType) PURE; 1110 STDMETHOD_(HRESULT,get_MediaSubType)(THIS_ BSTR *pMediaSubType) PURE; 1111 STDMETHOD_(HRESULT,get_MediaType)(THIS_ AM_MEDIA_TYPE *pMediaType) PURE; 1112 STDMETHOD_(HRESULT,put__MediaFormatType)(THIS_ REFCLSID MediaFormatType) PURE; 1113 STDMETHOD_(HRESULT,put__MediaMajorType)(THIS_ REFCLSID MediaMajorType) PURE; 1114 STDMETHOD_(HRESULT,put__MediaSubType)(THIS_ REFCLSID MediaSubType) PURE; 1115 STDMETHOD_(HRESULT,put_Category)(THIS_ ComponentCategory Category) PURE; 1116 STDMETHOD_(HRESULT,put_MediaFormatType)(THIS_ BSTR MediaFormatType) PURE; 1117 STDMETHOD_(HRESULT,put_MediaMajorType)(THIS_ BSTR MediaMajorType) PURE; 1118 STDMETHOD_(HRESULT,put_MediaSubType)(THIS_ BSTR MediaSubType) PURE; 1119 STDMETHOD_(HRESULT,put_MediaType)(THIS_ AM_MEDIA_TYPE MediaType) PURE; 1120 1121 END_INTERFACE 1122 }; 1123 #ifdef COBJMACROS 1124 #define IComponentType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1125 #define IComponentType_AddRef(This) (This)->lpVtbl->AddRef(This) 1126 #define IComponentType_Release(This) (This)->lpVtbl->Release(This) 1127 #define IComponentType_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 1128 #define IComponentType_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 1129 #define IComponentType_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 1130 #define IComponentType_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 1131 #define IComponentType_Clone(This,ppNewCT) (This)->lpVtbl->Clone(This,ppNewCT) 1132 #define IComponentType_get__MediaFormatType(This,pMediaFormatType) (This)->lpVtbl->get__MediaFormatType(This,pMediaFormatType) 1133 #define IComponentType_get__MediaMajorType(This,MediaMajorType) (This)->lpVtbl->get__MediaMajorType(This,MediaMajorType) 1134 #define IComponentType_get__MediaSubType(This,pMediaSubType) (This)->lpVtbl->get__MediaSubType(This,pMediaSubType) 1135 #define IComponentType_get_Category(This,pCategory) (This)->lpVtbl->get_Category(This,pCategory) 1136 #define IComponentType_get_MediaFormatType(This,pMediaFormatType) (This)->lpVtbl->get_MediaFormatType(This,pMediaFormatType) 1137 #define IComponentType_get_MediaMajorType(This,pMediaMajorType) (This)->lpVtbl->get_MediaMajorType(This,pMediaMajorType) 1138 #define IComponentType_get_MediaSubType(This,pMediaSubType) (This)->lpVtbl->get_MediaSubType(This,pMediaSubType) 1139 #define IComponentType_get_MediaType(This,pMediaType) (This)->lpVtbl->get_MediaType(This,pMediaType) 1140 #define IComponentType_put__MediaFormatType(This,MediaFormatType) (This)->lpVtbl->put__MediaFormatType(This,MediaFormatType) 1141 #define IComponentType_put__MediaMajorType(This,MediaMajorType) (This)->lpVtbl->put__MediaMajorType(This,MediaMajorType) 1142 #define IComponentType_put__MediaSubType(This,MediaSubType) (This)->lpVtbl->put__MediaSubType(This,MediaSubType) 1143 #define IComponentType_put_Category(This,Category) (This)->lpVtbl->put_Category(This,Category) 1144 #define IComponentType_put_MediaFormatType(This,MediaFormatType) (This)->lpVtbl->put_MediaFormatType(This,MediaFormatType) 1145 #define IComponentType_put_MediaMajorType(This,MediaMajorType) (This)->lpVtbl->put_MediaMajorType(This,MediaMajorType) 1146 #define IComponentType_put_MediaSubType(This,MediaSubType) (This)->lpVtbl->put_MediaSubType(This,MediaSubType) 1147 #define IComponentType_put_MediaType(This,MediaType) (This)->lpVtbl->put_MediaType(This,MediaType) 1148 #endif /*COBJMACROS*/ 1149 1150 #undef INTERFACE 1151 #define INTERFACE IEnumComponentTypes 1152 #ifdef __GNUC__ 1153 #warning COM interfaces layout in this header has not been verified. 1154 #warning COM interfaces with incorrect layout may not work at all. 1155 __MINGW_BROKEN_INTERFACE(INTERFACE) 1156 #endif 1157 DECLARE_INTERFACE_(IEnumComponentTypes,IUnknown) 1158 { 1159 BEGIN_INTERFACE 1160 1161 /* IUnknown methods */ 1162 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; 1163 STDMETHOD_(ULONG, AddRef)(THIS) PURE; 1164 STDMETHOD_(ULONG, Release)(THIS) PURE; 1165 1166 /* IEnumComponentTypes methods */ 1167 STDMETHOD_(HRESULT,Clone)(THIS_ IEnumComponentTypes **ppEnum) PURE; 1168 STDMETHOD_(HRESULT,Next)(THIS_ ULONG celt,IComponentType **pprgelt,ULONG *pceltFetched) PURE; 1169 STDMETHOD_(HRESULT,Reset)(THIS) PURE; 1170 STDMETHOD_(HRESULT,Skip)(THIS_ ULONG celt) PURE; 1171 1172 END_INTERFACE 1173 }; 1174 #ifdef COBJMACROS 1175 #define IEnumComponentTypes_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1176 #define IEnumComponentTypes_AddRef(This) (This)->lpVtbl->AddRef(This) 1177 #define IEnumComponentTypes_Release(This) (This)->lpVtbl->Release(This) 1178 #define IEnumComponentTypes_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) 1179 #define IEnumComponentTypes_Next(This,celt,pprgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,pprgelt,pceltFetched) 1180 #define IEnumComponentTypes_Reset() (This)->lpVtbl->Reset(This) 1181 #define IEnumComponentTypes_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) 1182 #endif /*COBJMACROS*/ 1183 1184 #endif /*__INC_TUNER__*/ 1185