1 /*** Autogenerated by WIDL 1.6 from direct-x/include/qnetwork.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 __qnetwork_h__ 16 #define __qnetwork_h__ 17 18 /* Forward declarations */ 19 20 #ifndef __IAMMediaContent_FWD_DEFINED__ 21 #define __IAMMediaContent_FWD_DEFINED__ 22 typedef interface IAMMediaContent IAMMediaContent; 23 #endif 24 25 #ifndef __IAMNetworkStatus_FWD_DEFINED__ 26 #define __IAMNetworkStatus_FWD_DEFINED__ 27 typedef interface IAMNetworkStatus IAMNetworkStatus; 28 #endif 29 30 /* Headers for imported files */ 31 32 #include <unknwn.h> 33 #include <strmif.h> 34 #include <wtypes.h> 35 36 #ifdef __cplusplus 37 extern "C" { 38 #endif 39 40 /***************************************************************************** 41 * IAMMediaContent interface 42 */ 43 #ifndef __IAMMediaContent_INTERFACE_DEFINED__ 44 #define __IAMMediaContent_INTERFACE_DEFINED__ 45 46 DEFINE_GUID(IID_IAMMediaContent, 0xfa2aa8f4, 0x8b62, 0x11d0, 0xa5,0x20, 0x00,0x00,0x00,0x00,0x00,0x00); 47 #if defined(__cplusplus) && !defined(CINTERFACE) 48 MIDL_INTERFACE("fa2aa8f4-8b62-11d0-a520-000000000000") 49 IAMMediaContent : public IDispatch 50 { 51 virtual HRESULT STDMETHODCALLTYPE get_AuthorName( 52 BSTR *pbstrAuthorName) = 0; 53 54 virtual HRESULT STDMETHODCALLTYPE get_Title( 55 BSTR *pbstrTitle) = 0; 56 57 virtual HRESULT STDMETHODCALLTYPE get_Rating( 58 BSTR *pbstrRating) = 0; 59 60 virtual HRESULT STDMETHODCALLTYPE get_Description( 61 BSTR *pbstrDescription) = 0; 62 63 virtual HRESULT STDMETHODCALLTYPE get_Copyright( 64 BSTR *pbstrCopyright) = 0; 65 66 virtual HRESULT STDMETHODCALLTYPE get_BaseURL( 67 BSTR *pbstrBaseURL) = 0; 68 69 virtual HRESULT STDMETHODCALLTYPE get_LogoURL( 70 BSTR *pbstrLogoURL) = 0; 71 72 virtual HRESULT STDMETHODCALLTYPE get_LogoIconURL( 73 BSTR *pbstrLogoURL) = 0; 74 75 virtual HRESULT STDMETHODCALLTYPE get_WatermarkURL( 76 BSTR *pbstrWatermarkURL) = 0; 77 78 virtual HRESULT STDMETHODCALLTYPE get_MoreInfoURL( 79 BSTR *pbstrMoreInfoURL) = 0; 80 81 virtual HRESULT STDMETHODCALLTYPE get_MoreInfoBannerImage( 82 BSTR *pbstrMoreInfoBannerImage) = 0; 83 84 virtual HRESULT STDMETHODCALLTYPE get_MoreInfoBannerURL( 85 BSTR *pbstrMoreInfoBannerURL) = 0; 86 87 virtual HRESULT STDMETHODCALLTYPE get_MoreInfoText( 88 BSTR *pbstrMoreInfoText) = 0; 89 90 }; 91 #ifdef __CRT_UUID_DECL 92 __CRT_UUID_DECL(IAMMediaContent, 0xfa2aa8f4, 0x8b62, 0x11d0, 0xa5,0x20, 0x00,0x00,0x00,0x00,0x00,0x00) 93 #endif 94 #else 95 typedef struct IAMMediaContentVtbl { 96 BEGIN_INTERFACE 97 98 /*** IUnknown methods ***/ 99 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 100 IAMMediaContent* This, 101 REFIID riid, 102 void **ppvObject); 103 104 ULONG (STDMETHODCALLTYPE *AddRef)( 105 IAMMediaContent* This); 106 107 ULONG (STDMETHODCALLTYPE *Release)( 108 IAMMediaContent* This); 109 110 /*** IDispatch methods ***/ 111 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( 112 IAMMediaContent* This, 113 UINT *pctinfo); 114 115 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( 116 IAMMediaContent* This, 117 UINT iTInfo, 118 LCID lcid, 119 ITypeInfo **ppTInfo); 120 121 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( 122 IAMMediaContent* This, 123 REFIID riid, 124 LPOLESTR *rgszNames, 125 UINT cNames, 126 LCID lcid, 127 DISPID *rgDispId); 128 129 HRESULT (STDMETHODCALLTYPE *Invoke)( 130 IAMMediaContent* This, 131 DISPID dispIdMember, 132 REFIID riid, 133 LCID lcid, 134 WORD wFlags, 135 DISPPARAMS *pDispParams, 136 VARIANT *pVarResult, 137 EXCEPINFO *pExcepInfo, 138 UINT *puArgErr); 139 140 /*** IAMMediaContent methods ***/ 141 HRESULT (STDMETHODCALLTYPE *get_AuthorName)( 142 IAMMediaContent* This, 143 BSTR *pbstrAuthorName); 144 145 HRESULT (STDMETHODCALLTYPE *get_Title)( 146 IAMMediaContent* This, 147 BSTR *pbstrTitle); 148 149 HRESULT (STDMETHODCALLTYPE *get_Rating)( 150 IAMMediaContent* This, 151 BSTR *pbstrRating); 152 153 HRESULT (STDMETHODCALLTYPE *get_Description)( 154 IAMMediaContent* This, 155 BSTR *pbstrDescription); 156 157 HRESULT (STDMETHODCALLTYPE *get_Copyright)( 158 IAMMediaContent* This, 159 BSTR *pbstrCopyright); 160 161 HRESULT (STDMETHODCALLTYPE *get_BaseURL)( 162 IAMMediaContent* This, 163 BSTR *pbstrBaseURL); 164 165 HRESULT (STDMETHODCALLTYPE *get_LogoURL)( 166 IAMMediaContent* This, 167 BSTR *pbstrLogoURL); 168 169 HRESULT (STDMETHODCALLTYPE *get_LogoIconURL)( 170 IAMMediaContent* This, 171 BSTR *pbstrLogoURL); 172 173 HRESULT (STDMETHODCALLTYPE *get_WatermarkURL)( 174 IAMMediaContent* This, 175 BSTR *pbstrWatermarkURL); 176 177 HRESULT (STDMETHODCALLTYPE *get_MoreInfoURL)( 178 IAMMediaContent* This, 179 BSTR *pbstrMoreInfoURL); 180 181 HRESULT (STDMETHODCALLTYPE *get_MoreInfoBannerImage)( 182 IAMMediaContent* This, 183 BSTR *pbstrMoreInfoBannerImage); 184 185 HRESULT (STDMETHODCALLTYPE *get_MoreInfoBannerURL)( 186 IAMMediaContent* This, 187 BSTR *pbstrMoreInfoBannerURL); 188 189 HRESULT (STDMETHODCALLTYPE *get_MoreInfoText)( 190 IAMMediaContent* This, 191 BSTR *pbstrMoreInfoText); 192 193 END_INTERFACE 194 } IAMMediaContentVtbl; 195 interface IAMMediaContent { 196 CONST_VTBL IAMMediaContentVtbl* lpVtbl; 197 }; 198 199 #ifdef COBJMACROS 200 #ifndef WIDL_C_INLINE_WRAPPERS 201 /*** IUnknown methods ***/ 202 #define IAMMediaContent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 203 #define IAMMediaContent_AddRef(This) (This)->lpVtbl->AddRef(This) 204 #define IAMMediaContent_Release(This) (This)->lpVtbl->Release(This) 205 /*** IDispatch methods ***/ 206 #define IAMMediaContent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 207 #define IAMMediaContent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 208 #define IAMMediaContent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 209 #define IAMMediaContent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 210 /*** IAMMediaContent methods ***/ 211 #define IAMMediaContent_get_AuthorName(This,pbstrAuthorName) (This)->lpVtbl->get_AuthorName(This,pbstrAuthorName) 212 #define IAMMediaContent_get_Title(This,pbstrTitle) (This)->lpVtbl->get_Title(This,pbstrTitle) 213 #define IAMMediaContent_get_Rating(This,pbstrRating) (This)->lpVtbl->get_Rating(This,pbstrRating) 214 #define IAMMediaContent_get_Description(This,pbstrDescription) (This)->lpVtbl->get_Description(This,pbstrDescription) 215 #define IAMMediaContent_get_Copyright(This,pbstrCopyright) (This)->lpVtbl->get_Copyright(This,pbstrCopyright) 216 #define IAMMediaContent_get_BaseURL(This,pbstrBaseURL) (This)->lpVtbl->get_BaseURL(This,pbstrBaseURL) 217 #define IAMMediaContent_get_LogoURL(This,pbstrLogoURL) (This)->lpVtbl->get_LogoURL(This,pbstrLogoURL) 218 #define IAMMediaContent_get_LogoIconURL(This,pbstrLogoURL) (This)->lpVtbl->get_LogoIconURL(This,pbstrLogoURL) 219 #define IAMMediaContent_get_WatermarkURL(This,pbstrWatermarkURL) (This)->lpVtbl->get_WatermarkURL(This,pbstrWatermarkURL) 220 #define IAMMediaContent_get_MoreInfoURL(This,pbstrMoreInfoURL) (This)->lpVtbl->get_MoreInfoURL(This,pbstrMoreInfoURL) 221 #define IAMMediaContent_get_MoreInfoBannerImage(This,pbstrMoreInfoBannerImage) (This)->lpVtbl->get_MoreInfoBannerImage(This,pbstrMoreInfoBannerImage) 222 #define IAMMediaContent_get_MoreInfoBannerURL(This,pbstrMoreInfoBannerURL) (This)->lpVtbl->get_MoreInfoBannerURL(This,pbstrMoreInfoBannerURL) 223 #define IAMMediaContent_get_MoreInfoText(This,pbstrMoreInfoText) (This)->lpVtbl->get_MoreInfoText(This,pbstrMoreInfoText) 224 #else 225 /*** IUnknown methods ***/ 226 static FORCEINLINE HRESULT IAMMediaContent_QueryInterface(IAMMediaContent* This,REFIID riid,void **ppvObject) { 227 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 228 } 229 static FORCEINLINE ULONG IAMMediaContent_AddRef(IAMMediaContent* This) { 230 return This->lpVtbl->AddRef(This); 231 } 232 static FORCEINLINE ULONG IAMMediaContent_Release(IAMMediaContent* This) { 233 return This->lpVtbl->Release(This); 234 } 235 /*** IDispatch methods ***/ 236 static FORCEINLINE HRESULT IAMMediaContent_GetTypeInfoCount(IAMMediaContent* This,UINT *pctinfo) { 237 return This->lpVtbl->GetTypeInfoCount(This,pctinfo); 238 } 239 static FORCEINLINE HRESULT IAMMediaContent_GetTypeInfo(IAMMediaContent* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { 240 return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); 241 } 242 static FORCEINLINE HRESULT IAMMediaContent_GetIDsOfNames(IAMMediaContent* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { 243 return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); 244 } 245 static FORCEINLINE HRESULT IAMMediaContent_Invoke(IAMMediaContent* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { 246 return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); 247 } 248 /*** IAMMediaContent methods ***/ 249 static FORCEINLINE HRESULT IAMMediaContent_get_AuthorName(IAMMediaContent* This,BSTR *pbstrAuthorName) { 250 return This->lpVtbl->get_AuthorName(This,pbstrAuthorName); 251 } 252 static FORCEINLINE HRESULT IAMMediaContent_get_Title(IAMMediaContent* This,BSTR *pbstrTitle) { 253 return This->lpVtbl->get_Title(This,pbstrTitle); 254 } 255 static FORCEINLINE HRESULT IAMMediaContent_get_Rating(IAMMediaContent* This,BSTR *pbstrRating) { 256 return This->lpVtbl->get_Rating(This,pbstrRating); 257 } 258 static FORCEINLINE HRESULT IAMMediaContent_get_Description(IAMMediaContent* This,BSTR *pbstrDescription) { 259 return This->lpVtbl->get_Description(This,pbstrDescription); 260 } 261 static FORCEINLINE HRESULT IAMMediaContent_get_Copyright(IAMMediaContent* This,BSTR *pbstrCopyright) { 262 return This->lpVtbl->get_Copyright(This,pbstrCopyright); 263 } 264 static FORCEINLINE HRESULT IAMMediaContent_get_BaseURL(IAMMediaContent* This,BSTR *pbstrBaseURL) { 265 return This->lpVtbl->get_BaseURL(This,pbstrBaseURL); 266 } 267 static FORCEINLINE HRESULT IAMMediaContent_get_LogoURL(IAMMediaContent* This,BSTR *pbstrLogoURL) { 268 return This->lpVtbl->get_LogoURL(This,pbstrLogoURL); 269 } 270 static FORCEINLINE HRESULT IAMMediaContent_get_LogoIconURL(IAMMediaContent* This,BSTR *pbstrLogoURL) { 271 return This->lpVtbl->get_LogoIconURL(This,pbstrLogoURL); 272 } 273 static FORCEINLINE HRESULT IAMMediaContent_get_WatermarkURL(IAMMediaContent* This,BSTR *pbstrWatermarkURL) { 274 return This->lpVtbl->get_WatermarkURL(This,pbstrWatermarkURL); 275 } 276 static FORCEINLINE HRESULT IAMMediaContent_get_MoreInfoURL(IAMMediaContent* This,BSTR *pbstrMoreInfoURL) { 277 return This->lpVtbl->get_MoreInfoURL(This,pbstrMoreInfoURL); 278 } 279 static FORCEINLINE HRESULT IAMMediaContent_get_MoreInfoBannerImage(IAMMediaContent* This,BSTR *pbstrMoreInfoBannerImage) { 280 return This->lpVtbl->get_MoreInfoBannerImage(This,pbstrMoreInfoBannerImage); 281 } 282 static FORCEINLINE HRESULT IAMMediaContent_get_MoreInfoBannerURL(IAMMediaContent* This,BSTR *pbstrMoreInfoBannerURL) { 283 return This->lpVtbl->get_MoreInfoBannerURL(This,pbstrMoreInfoBannerURL); 284 } 285 static FORCEINLINE HRESULT IAMMediaContent_get_MoreInfoText(IAMMediaContent* This,BSTR *pbstrMoreInfoText) { 286 return This->lpVtbl->get_MoreInfoText(This,pbstrMoreInfoText); 287 } 288 #endif 289 #endif 290 291 #endif 292 293 HRESULT STDMETHODCALLTYPE IAMMediaContent_get_AuthorName_Proxy( 294 IAMMediaContent* This, 295 BSTR *pbstrAuthorName); 296 void __RPC_STUB IAMMediaContent_get_AuthorName_Stub( 297 IRpcStubBuffer* This, 298 IRpcChannelBuffer* pRpcChannelBuffer, 299 PRPC_MESSAGE pRpcMessage, 300 DWORD* pdwStubPhase); 301 HRESULT STDMETHODCALLTYPE IAMMediaContent_get_Title_Proxy( 302 IAMMediaContent* This, 303 BSTR *pbstrTitle); 304 void __RPC_STUB IAMMediaContent_get_Title_Stub( 305 IRpcStubBuffer* This, 306 IRpcChannelBuffer* pRpcChannelBuffer, 307 PRPC_MESSAGE pRpcMessage, 308 DWORD* pdwStubPhase); 309 HRESULT STDMETHODCALLTYPE IAMMediaContent_get_Rating_Proxy( 310 IAMMediaContent* This, 311 BSTR *pbstrRating); 312 void __RPC_STUB IAMMediaContent_get_Rating_Stub( 313 IRpcStubBuffer* This, 314 IRpcChannelBuffer* pRpcChannelBuffer, 315 PRPC_MESSAGE pRpcMessage, 316 DWORD* pdwStubPhase); 317 HRESULT STDMETHODCALLTYPE IAMMediaContent_get_Description_Proxy( 318 IAMMediaContent* This, 319 BSTR *pbstrDescription); 320 void __RPC_STUB IAMMediaContent_get_Description_Stub( 321 IRpcStubBuffer* This, 322 IRpcChannelBuffer* pRpcChannelBuffer, 323 PRPC_MESSAGE pRpcMessage, 324 DWORD* pdwStubPhase); 325 HRESULT STDMETHODCALLTYPE IAMMediaContent_get_Copyright_Proxy( 326 IAMMediaContent* This, 327 BSTR *pbstrCopyright); 328 void __RPC_STUB IAMMediaContent_get_Copyright_Stub( 329 IRpcStubBuffer* This, 330 IRpcChannelBuffer* pRpcChannelBuffer, 331 PRPC_MESSAGE pRpcMessage, 332 DWORD* pdwStubPhase); 333 HRESULT STDMETHODCALLTYPE IAMMediaContent_get_BaseURL_Proxy( 334 IAMMediaContent* This, 335 BSTR *pbstrBaseURL); 336 void __RPC_STUB IAMMediaContent_get_BaseURL_Stub( 337 IRpcStubBuffer* This, 338 IRpcChannelBuffer* pRpcChannelBuffer, 339 PRPC_MESSAGE pRpcMessage, 340 DWORD* pdwStubPhase); 341 HRESULT STDMETHODCALLTYPE IAMMediaContent_get_LogoURL_Proxy( 342 IAMMediaContent* This, 343 BSTR *pbstrLogoURL); 344 void __RPC_STUB IAMMediaContent_get_LogoURL_Stub( 345 IRpcStubBuffer* This, 346 IRpcChannelBuffer* pRpcChannelBuffer, 347 PRPC_MESSAGE pRpcMessage, 348 DWORD* pdwStubPhase); 349 HRESULT STDMETHODCALLTYPE IAMMediaContent_get_LogoIconURL_Proxy( 350 IAMMediaContent* This, 351 BSTR *pbstrLogoURL); 352 void __RPC_STUB IAMMediaContent_get_LogoIconURL_Stub( 353 IRpcStubBuffer* This, 354 IRpcChannelBuffer* pRpcChannelBuffer, 355 PRPC_MESSAGE pRpcMessage, 356 DWORD* pdwStubPhase); 357 HRESULT STDMETHODCALLTYPE IAMMediaContent_get_WatermarkURL_Proxy( 358 IAMMediaContent* This, 359 BSTR *pbstrWatermarkURL); 360 void __RPC_STUB IAMMediaContent_get_WatermarkURL_Stub( 361 IRpcStubBuffer* This, 362 IRpcChannelBuffer* pRpcChannelBuffer, 363 PRPC_MESSAGE pRpcMessage, 364 DWORD* pdwStubPhase); 365 HRESULT STDMETHODCALLTYPE IAMMediaContent_get_MoreInfoURL_Proxy( 366 IAMMediaContent* This, 367 BSTR *pbstrMoreInfoURL); 368 void __RPC_STUB IAMMediaContent_get_MoreInfoURL_Stub( 369 IRpcStubBuffer* This, 370 IRpcChannelBuffer* pRpcChannelBuffer, 371 PRPC_MESSAGE pRpcMessage, 372 DWORD* pdwStubPhase); 373 HRESULT STDMETHODCALLTYPE IAMMediaContent_get_MoreInfoBannerImage_Proxy( 374 IAMMediaContent* This, 375 BSTR *pbstrMoreInfoBannerImage); 376 void __RPC_STUB IAMMediaContent_get_MoreInfoBannerImage_Stub( 377 IRpcStubBuffer* This, 378 IRpcChannelBuffer* pRpcChannelBuffer, 379 PRPC_MESSAGE pRpcMessage, 380 DWORD* pdwStubPhase); 381 HRESULT STDMETHODCALLTYPE IAMMediaContent_get_MoreInfoBannerURL_Proxy( 382 IAMMediaContent* This, 383 BSTR *pbstrMoreInfoBannerURL); 384 void __RPC_STUB IAMMediaContent_get_MoreInfoBannerURL_Stub( 385 IRpcStubBuffer* This, 386 IRpcChannelBuffer* pRpcChannelBuffer, 387 PRPC_MESSAGE pRpcMessage, 388 DWORD* pdwStubPhase); 389 HRESULT STDMETHODCALLTYPE IAMMediaContent_get_MoreInfoText_Proxy( 390 IAMMediaContent* This, 391 BSTR *pbstrMoreInfoText); 392 void __RPC_STUB IAMMediaContent_get_MoreInfoText_Stub( 393 IRpcStubBuffer* This, 394 IRpcChannelBuffer* pRpcChannelBuffer, 395 PRPC_MESSAGE pRpcMessage, 396 DWORD* pdwStubPhase); 397 398 #endif /* __IAMMediaContent_INTERFACE_DEFINED__ */ 399 400 /***************************************************************************** 401 * IAMNetworkStatus interface 402 */ 403 #ifndef __IAMNetworkStatus_INTERFACE_DEFINED__ 404 #define __IAMNetworkStatus_INTERFACE_DEFINED__ 405 406 DEFINE_GUID(IID_IAMNetworkStatus, 0xfa2aa8f3, 0x8b62, 0x11d0, 0xa5,0x20, 0x00,0x00,0x00,0x00,0x00,0x00); 407 #if defined(__cplusplus) && !defined(CINTERFACE) 408 MIDL_INTERFACE("fa2aa8f3-8b62-11d0-a520-000000000000") 409 IAMNetworkStatus : public IDispatch 410 { 411 virtual HRESULT STDMETHODCALLTYPE get_ReceivedPackets( 412 LONG *pReceivedPackets) = 0; 413 414 virtual HRESULT STDMETHODCALLTYPE get_RecoveredPackets( 415 LONG *pRecoveredPackets) = 0; 416 417 virtual HRESULT STDMETHODCALLTYPE get_LostPackets( 418 LONG *pLostPackets) = 0; 419 420 virtual HRESULT STDMETHODCALLTYPE get_ReceptionQuality( 421 LONG *pReceptionQuality) = 0; 422 423 virtual HRESULT STDMETHODCALLTYPE get_BufferingCount( 424 LONG *pBufferingCount) = 0; 425 426 virtual HRESULT STDMETHODCALLTYPE get_IsBroadcast( 427 VARIANT_BOOL *pIsBroadcast) = 0; 428 429 virtual HRESULT STDMETHODCALLTYPE get_BufferingProgress( 430 LONG *pBufferingProgress) = 0; 431 432 }; 433 #ifdef __CRT_UUID_DECL 434 __CRT_UUID_DECL(IAMNetworkStatus, 0xfa2aa8f3, 0x8b62, 0x11d0, 0xa5,0x20, 0x00,0x00,0x00,0x00,0x00,0x00) 435 #endif 436 #else 437 typedef struct IAMNetworkStatusVtbl { 438 BEGIN_INTERFACE 439 440 /*** IUnknown methods ***/ 441 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 442 IAMNetworkStatus* This, 443 REFIID riid, 444 void **ppvObject); 445 446 ULONG (STDMETHODCALLTYPE *AddRef)( 447 IAMNetworkStatus* This); 448 449 ULONG (STDMETHODCALLTYPE *Release)( 450 IAMNetworkStatus* This); 451 452 /*** IDispatch methods ***/ 453 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( 454 IAMNetworkStatus* This, 455 UINT *pctinfo); 456 457 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( 458 IAMNetworkStatus* This, 459 UINT iTInfo, 460 LCID lcid, 461 ITypeInfo **ppTInfo); 462 463 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( 464 IAMNetworkStatus* This, 465 REFIID riid, 466 LPOLESTR *rgszNames, 467 UINT cNames, 468 LCID lcid, 469 DISPID *rgDispId); 470 471 HRESULT (STDMETHODCALLTYPE *Invoke)( 472 IAMNetworkStatus* This, 473 DISPID dispIdMember, 474 REFIID riid, 475 LCID lcid, 476 WORD wFlags, 477 DISPPARAMS *pDispParams, 478 VARIANT *pVarResult, 479 EXCEPINFO *pExcepInfo, 480 UINT *puArgErr); 481 482 /*** IAMNetworkStatus methods ***/ 483 HRESULT (STDMETHODCALLTYPE *get_ReceivedPackets)( 484 IAMNetworkStatus* This, 485 LONG *pReceivedPackets); 486 487 HRESULT (STDMETHODCALLTYPE *get_RecoveredPackets)( 488 IAMNetworkStatus* This, 489 LONG *pRecoveredPackets); 490 491 HRESULT (STDMETHODCALLTYPE *get_LostPackets)( 492 IAMNetworkStatus* This, 493 LONG *pLostPackets); 494 495 HRESULT (STDMETHODCALLTYPE *get_ReceptionQuality)( 496 IAMNetworkStatus* This, 497 LONG *pReceptionQuality); 498 499 HRESULT (STDMETHODCALLTYPE *get_BufferingCount)( 500 IAMNetworkStatus* This, 501 LONG *pBufferingCount); 502 503 HRESULT (STDMETHODCALLTYPE *get_IsBroadcast)( 504 IAMNetworkStatus* This, 505 VARIANT_BOOL *pIsBroadcast); 506 507 HRESULT (STDMETHODCALLTYPE *get_BufferingProgress)( 508 IAMNetworkStatus* This, 509 LONG *pBufferingProgress); 510 511 END_INTERFACE 512 } IAMNetworkStatusVtbl; 513 interface IAMNetworkStatus { 514 CONST_VTBL IAMNetworkStatusVtbl* lpVtbl; 515 }; 516 517 #ifdef COBJMACROS 518 #ifndef WIDL_C_INLINE_WRAPPERS 519 /*** IUnknown methods ***/ 520 #define IAMNetworkStatus_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 521 #define IAMNetworkStatus_AddRef(This) (This)->lpVtbl->AddRef(This) 522 #define IAMNetworkStatus_Release(This) (This)->lpVtbl->Release(This) 523 /*** IDispatch methods ***/ 524 #define IAMNetworkStatus_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 525 #define IAMNetworkStatus_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 526 #define IAMNetworkStatus_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 527 #define IAMNetworkStatus_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 528 /*** IAMNetworkStatus methods ***/ 529 #define IAMNetworkStatus_get_ReceivedPackets(This,pReceivedPackets) (This)->lpVtbl->get_ReceivedPackets(This,pReceivedPackets) 530 #define IAMNetworkStatus_get_RecoveredPackets(This,pRecoveredPackets) (This)->lpVtbl->get_RecoveredPackets(This,pRecoveredPackets) 531 #define IAMNetworkStatus_get_LostPackets(This,pLostPackets) (This)->lpVtbl->get_LostPackets(This,pLostPackets) 532 #define IAMNetworkStatus_get_ReceptionQuality(This,pReceptionQuality) (This)->lpVtbl->get_ReceptionQuality(This,pReceptionQuality) 533 #define IAMNetworkStatus_get_BufferingCount(This,pBufferingCount) (This)->lpVtbl->get_BufferingCount(This,pBufferingCount) 534 #define IAMNetworkStatus_get_IsBroadcast(This,pIsBroadcast) (This)->lpVtbl->get_IsBroadcast(This,pIsBroadcast) 535 #define IAMNetworkStatus_get_BufferingProgress(This,pBufferingProgress) (This)->lpVtbl->get_BufferingProgress(This,pBufferingProgress) 536 #else 537 /*** IUnknown methods ***/ 538 static FORCEINLINE HRESULT IAMNetworkStatus_QueryInterface(IAMNetworkStatus* This,REFIID riid,void **ppvObject) { 539 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 540 } 541 static FORCEINLINE ULONG IAMNetworkStatus_AddRef(IAMNetworkStatus* This) { 542 return This->lpVtbl->AddRef(This); 543 } 544 static FORCEINLINE ULONG IAMNetworkStatus_Release(IAMNetworkStatus* This) { 545 return This->lpVtbl->Release(This); 546 } 547 /*** IDispatch methods ***/ 548 static FORCEINLINE HRESULT IAMNetworkStatus_GetTypeInfoCount(IAMNetworkStatus* This,UINT *pctinfo) { 549 return This->lpVtbl->GetTypeInfoCount(This,pctinfo); 550 } 551 static FORCEINLINE HRESULT IAMNetworkStatus_GetTypeInfo(IAMNetworkStatus* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { 552 return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); 553 } 554 static FORCEINLINE HRESULT IAMNetworkStatus_GetIDsOfNames(IAMNetworkStatus* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { 555 return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); 556 } 557 static FORCEINLINE HRESULT IAMNetworkStatus_Invoke(IAMNetworkStatus* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { 558 return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); 559 } 560 /*** IAMNetworkStatus methods ***/ 561 static FORCEINLINE HRESULT IAMNetworkStatus_get_ReceivedPackets(IAMNetworkStatus* This,LONG *pReceivedPackets) { 562 return This->lpVtbl->get_ReceivedPackets(This,pReceivedPackets); 563 } 564 static FORCEINLINE HRESULT IAMNetworkStatus_get_RecoveredPackets(IAMNetworkStatus* This,LONG *pRecoveredPackets) { 565 return This->lpVtbl->get_RecoveredPackets(This,pRecoveredPackets); 566 } 567 static FORCEINLINE HRESULT IAMNetworkStatus_get_LostPackets(IAMNetworkStatus* This,LONG *pLostPackets) { 568 return This->lpVtbl->get_LostPackets(This,pLostPackets); 569 } 570 static FORCEINLINE HRESULT IAMNetworkStatus_get_ReceptionQuality(IAMNetworkStatus* This,LONG *pReceptionQuality) { 571 return This->lpVtbl->get_ReceptionQuality(This,pReceptionQuality); 572 } 573 static FORCEINLINE HRESULT IAMNetworkStatus_get_BufferingCount(IAMNetworkStatus* This,LONG *pBufferingCount) { 574 return This->lpVtbl->get_BufferingCount(This,pBufferingCount); 575 } 576 static FORCEINLINE HRESULT IAMNetworkStatus_get_IsBroadcast(IAMNetworkStatus* This,VARIANT_BOOL *pIsBroadcast) { 577 return This->lpVtbl->get_IsBroadcast(This,pIsBroadcast); 578 } 579 static FORCEINLINE HRESULT IAMNetworkStatus_get_BufferingProgress(IAMNetworkStatus* This,LONG *pBufferingProgress) { 580 return This->lpVtbl->get_BufferingProgress(This,pBufferingProgress); 581 } 582 #endif 583 #endif 584 585 #endif 586 587 HRESULT STDMETHODCALLTYPE IAMNetworkStatus_get_ReceivedPackets_Proxy( 588 IAMNetworkStatus* This, 589 LONG *pReceivedPackets); 590 void __RPC_STUB IAMNetworkStatus_get_ReceivedPackets_Stub( 591 IRpcStubBuffer* This, 592 IRpcChannelBuffer* pRpcChannelBuffer, 593 PRPC_MESSAGE pRpcMessage, 594 DWORD* pdwStubPhase); 595 HRESULT STDMETHODCALLTYPE IAMNetworkStatus_get_RecoveredPackets_Proxy( 596 IAMNetworkStatus* This, 597 LONG *pRecoveredPackets); 598 void __RPC_STUB IAMNetworkStatus_get_RecoveredPackets_Stub( 599 IRpcStubBuffer* This, 600 IRpcChannelBuffer* pRpcChannelBuffer, 601 PRPC_MESSAGE pRpcMessage, 602 DWORD* pdwStubPhase); 603 HRESULT STDMETHODCALLTYPE IAMNetworkStatus_get_LostPackets_Proxy( 604 IAMNetworkStatus* This, 605 LONG *pLostPackets); 606 void __RPC_STUB IAMNetworkStatus_get_LostPackets_Stub( 607 IRpcStubBuffer* This, 608 IRpcChannelBuffer* pRpcChannelBuffer, 609 PRPC_MESSAGE pRpcMessage, 610 DWORD* pdwStubPhase); 611 HRESULT STDMETHODCALLTYPE IAMNetworkStatus_get_ReceptionQuality_Proxy( 612 IAMNetworkStatus* This, 613 LONG *pReceptionQuality); 614 void __RPC_STUB IAMNetworkStatus_get_ReceptionQuality_Stub( 615 IRpcStubBuffer* This, 616 IRpcChannelBuffer* pRpcChannelBuffer, 617 PRPC_MESSAGE pRpcMessage, 618 DWORD* pdwStubPhase); 619 HRESULT STDMETHODCALLTYPE IAMNetworkStatus_get_BufferingCount_Proxy( 620 IAMNetworkStatus* This, 621 LONG *pBufferingCount); 622 void __RPC_STUB IAMNetworkStatus_get_BufferingCount_Stub( 623 IRpcStubBuffer* This, 624 IRpcChannelBuffer* pRpcChannelBuffer, 625 PRPC_MESSAGE pRpcMessage, 626 DWORD* pdwStubPhase); 627 HRESULT STDMETHODCALLTYPE IAMNetworkStatus_get_IsBroadcast_Proxy( 628 IAMNetworkStatus* This, 629 VARIANT_BOOL *pIsBroadcast); 630 void __RPC_STUB IAMNetworkStatus_get_IsBroadcast_Stub( 631 IRpcStubBuffer* This, 632 IRpcChannelBuffer* pRpcChannelBuffer, 633 PRPC_MESSAGE pRpcMessage, 634 DWORD* pdwStubPhase); 635 HRESULT STDMETHODCALLTYPE IAMNetworkStatus_get_BufferingProgress_Proxy( 636 IAMNetworkStatus* This, 637 LONG *pBufferingProgress); 638 void __RPC_STUB IAMNetworkStatus_get_BufferingProgress_Stub( 639 IRpcStubBuffer* This, 640 IRpcChannelBuffer* pRpcChannelBuffer, 641 PRPC_MESSAGE pRpcMessage, 642 DWORD* pdwStubPhase); 643 644 #endif /* __IAMNetworkStatus_INTERFACE_DEFINED__ */ 645 646 /* Begin additional prototypes for all interfaces */ 647 648 ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); 649 unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); 650 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); 651 void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); 652 653 /* End additional prototypes */ 654 655 #ifdef __cplusplus 656 } 657 #endif 658 659 #endif /* __qnetwork_h__ */ 660