1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539 |
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0347 */
- /* Compiler settings for upnp.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext, robust
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __upnp_h__
- #define __upnp_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __IUPnPDeviceFinder_FWD_DEFINED__
- #define __IUPnPDeviceFinder_FWD_DEFINED__
- typedef interface IUPnPDeviceFinder IUPnPDeviceFinder;
- #endif /* __IUPnPDeviceFinder_FWD_DEFINED__ */
- #ifndef __IUPnPDeviceFinderCallback_FWD_DEFINED__
- #define __IUPnPDeviceFinderCallback_FWD_DEFINED__
- typedef interface IUPnPDeviceFinderCallback IUPnPDeviceFinderCallback;
- #endif /* __IUPnPDeviceFinderCallback_FWD_DEFINED__ */
- #ifndef __IUPnPServices_FWD_DEFINED__
- #define __IUPnPServices_FWD_DEFINED__
- typedef interface IUPnPServices IUPnPServices;
- #endif /* __IUPnPServices_FWD_DEFINED__ */
- #ifndef __IUPnPService_FWD_DEFINED__
- #define __IUPnPService_FWD_DEFINED__
- typedef interface IUPnPService IUPnPService;
- #endif /* __IUPnPService_FWD_DEFINED__ */
- #ifndef __IUPnPServiceCallback_FWD_DEFINED__
- #define __IUPnPServiceCallback_FWD_DEFINED__
- typedef interface IUPnPServiceCallback IUPnPServiceCallback;
- #endif /* __IUPnPServiceCallback_FWD_DEFINED__ */
- #ifndef __IUPnPDevices_FWD_DEFINED__
- #define __IUPnPDevices_FWD_DEFINED__
- typedef interface IUPnPDevices IUPnPDevices;
- #endif /* __IUPnPDevices_FWD_DEFINED__ */
- #ifndef __IUPnPDevice_FWD_DEFINED__
- #define __IUPnPDevice_FWD_DEFINED__
- typedef interface IUPnPDevice IUPnPDevice;
- #endif /* __IUPnPDevice_FWD_DEFINED__ */
- #ifndef __IUPnPDeviceDocumentAccess_FWD_DEFINED__
- #define __IUPnPDeviceDocumentAccess_FWD_DEFINED__
- typedef interface IUPnPDeviceDocumentAccess IUPnPDeviceDocumentAccess;
- #endif /* __IUPnPDeviceDocumentAccess_FWD_DEFINED__ */
- #ifndef __IUPnPDescriptionDocument_FWD_DEFINED__
- #define __IUPnPDescriptionDocument_FWD_DEFINED__
- typedef interface IUPnPDescriptionDocument IUPnPDescriptionDocument;
- #endif /* __IUPnPDescriptionDocument_FWD_DEFINED__ */
- #ifndef __IUPnPDescriptionDocumentCallback_FWD_DEFINED__
- #define __IUPnPDescriptionDocumentCallback_FWD_DEFINED__
- typedef interface IUPnPDescriptionDocumentCallback IUPnPDescriptionDocumentCallback;
- #endif /* __IUPnPDescriptionDocumentCallback_FWD_DEFINED__ */
- #ifndef __UPnPDeviceFinder_FWD_DEFINED__
- #define __UPnPDeviceFinder_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class UPnPDeviceFinder UPnPDeviceFinder;
- #else
- typedef struct UPnPDeviceFinder UPnPDeviceFinder;
- #endif /* __cplusplus */
- #endif /* __UPnPDeviceFinder_FWD_DEFINED__ */
- #ifndef __UPnPDevices_FWD_DEFINED__
- #define __UPnPDevices_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class UPnPDevices UPnPDevices;
- #else
- typedef struct UPnPDevices UPnPDevices;
- #endif /* __cplusplus */
- #endif /* __UPnPDevices_FWD_DEFINED__ */
- #ifndef __UPnPDevice_FWD_DEFINED__
- #define __UPnPDevice_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class UPnPDevice UPnPDevice;
- #else
- typedef struct UPnPDevice UPnPDevice;
- #endif /* __cplusplus */
- #endif /* __UPnPDevice_FWD_DEFINED__ */
- #ifndef __UPnPServices_FWD_DEFINED__
- #define __UPnPServices_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class UPnPServices UPnPServices;
- #else
- typedef struct UPnPServices UPnPServices;
- #endif /* __cplusplus */
- #endif /* __UPnPServices_FWD_DEFINED__ */
- #ifndef __UPnPService_FWD_DEFINED__
- #define __UPnPService_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class UPnPService UPnPService;
- #else
- typedef struct UPnPService UPnPService;
- #endif /* __cplusplus */
- #endif /* __UPnPService_FWD_DEFINED__ */
- #ifndef __UPnPDescriptionDocument_FWD_DEFINED__
- #define __UPnPDescriptionDocument_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class UPnPDescriptionDocument UPnPDescriptionDocument;
- #else
- typedef struct UPnPDescriptionDocument UPnPDescriptionDocument;
- #endif /* __cplusplus */
- #endif /* __UPnPDescriptionDocument_FWD_DEFINED__ */
- #ifndef __IUPnPDeviceHostSetup_FWD_DEFINED__
- #define __IUPnPDeviceHostSetup_FWD_DEFINED__
- typedef interface IUPnPDeviceHostSetup IUPnPDeviceHostSetup;
- #endif /* __IUPnPDeviceHostSetup_FWD_DEFINED__ */
- #ifndef __UPnPDeviceHostSetup_FWD_DEFINED__
- #define __UPnPDeviceHostSetup_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class UPnPDeviceHostSetup UPnPDeviceHostSetup;
- #else
- typedef struct UPnPDeviceHostSetup UPnPDeviceHostSetup;
- #endif /* __cplusplus */
- #endif /* __UPnPDeviceHostSetup_FWD_DEFINED__ */
- #ifndef __IUPnPDeviceDocumentAccess_FWD_DEFINED__
- #define __IUPnPDeviceDocumentAccess_FWD_DEFINED__
- typedef interface IUPnPDeviceDocumentAccess IUPnPDeviceDocumentAccess;
- #endif /* __IUPnPDeviceDocumentAccess_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "ocidl.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- /* interface __MIDL_itf_upnp_0000 */
- /* [local] */
- //+-------------------------------------------------------------------------
- //
- // Microsoft Windows
- // Copyright (c) Microsoft Corporation. All rights reserved.
- //
- //--------------------------------------------------------------------------
- #define UPNP_E_ROOT_ELEMENT_EXPECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
- #define UPNP_E_DEVICE_ELEMENT_EXPECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201)
- #define UPNP_E_SERVICE_ELEMENT_EXPECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0202)
- #define UPNP_E_SERVICE_NODE_INCOMPLETE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0203)
- #define UPNP_E_DEVICE_NODE_INCOMPLETE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0204)
- #define UPNP_E_ICON_ELEMENT_EXPECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0205)
- #define UPNP_E_ICON_NODE_INCOMPLETE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0206)
- #define UPNP_E_INVALID_ACTION MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0207)
- #define UPNP_E_INVALID_ARGUMENTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0208)
- #define UPNP_E_OUT_OF_SYNC MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0209)
- #define UPNP_E_ACTION_REQUEST_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0210)
- #define UPNP_E_TRANSPORT_ERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0211)
- #define UPNP_E_VARIABLE_VALUE_UNKNOWN MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0212)
- #define UPNP_E_INVALID_VARIABLE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0213)
- #define UPNP_E_DEVICE_ERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0214)
- #define UPNP_E_PROTOCOL_ERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0215)
- #define UPNP_E_ERROR_PROCESSING_RESPONSE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0216)
- #define UPNP_E_DEVICE_TIMEOUT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0217)
- #define UPNP_E_INVALID_DOCUMENT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0500)
- #define UPNP_E_EVENT_SUBSCRIPTION_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0501)
- #define FAULT_INVALID_ACTION 401
- #define FAULT_INVALID_ARG 402
- #define FAULT_INVALID_SEQUENCE_NUMBER 403
- #define FAULT_INVALID_VARIABLE 404
- #define FAULT_DEVICE_INTERNAL_ERROR 501
- #define FAULT_ACTION_SPECIFIC_BASE 600
- #define FAULT_ACTION_SPECIFIC_MAX 899
- #define UPNP_E_ACTION_SPECIFIC_BASE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0300)
- #define UPNP_E_ACTION_SPECIFIC_MAX (UPNP_E_ACTION_SPECIFIC_BASE + (FAULT_ACTION_SPECIFIC_MAX - FAULT_ACTION_SPECIFIC_BASE))
- extern RPC_IF_HANDLE __MIDL_itf_upnp_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_upnp_0000_v0_0_s_ifspec;
- #ifndef __IUPnPDeviceFinder_INTERFACE_DEFINED__
- #define __IUPnPDeviceFinder_INTERFACE_DEFINED__
- /* interface IUPnPDeviceFinder */
- /* [nonextensible][unique][oleautomation][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_IUPnPDeviceFinder;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("ADDA3D55-6F72-4319-BFF9-18600A539B10")
- IUPnPDeviceFinder : public IDispatch
- {
- public:
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindByType(
- /* [in] */ BSTR bstrTypeURI,
- /* [in] */ DWORD dwFlags,
- /* [retval][out] */ IUPnPDevices **pDevices) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateAsyncFind(
- /* [in] */ BSTR bstrTypeURI,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IUnknown *punkDeviceFinderCallback,
- /* [retval][out] */ LONG *plFindData) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartAsyncFind(
- /* [in] */ LONG lFindData) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CancelAsyncFind(
- /* [in] */ LONG lFindData) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FindByUDN(
- /* [in] */ BSTR bstrUDN,
- /* [retval][out] */ IUPnPDevice **pDevice) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IUPnPDeviceFinderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IUPnPDeviceFinder * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IUPnPDeviceFinder * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IUPnPDeviceFinder * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- IUPnPDeviceFinder * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- IUPnPDeviceFinder * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- IUPnPDeviceFinder * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- IUPnPDeviceFinder * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindByType )(
- IUPnPDeviceFinder * This,
- /* [in] */ BSTR bstrTypeURI,
- /* [in] */ DWORD dwFlags,
- /* [retval][out] */ IUPnPDevices **pDevices);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateAsyncFind )(
- IUPnPDeviceFinder * This,
- /* [in] */ BSTR bstrTypeURI,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IUnknown *punkDeviceFinderCallback,
- /* [retval][out] */ LONG *plFindData);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartAsyncFind )(
- IUPnPDeviceFinder * This,
- /* [in] */ LONG lFindData);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CancelAsyncFind )(
- IUPnPDeviceFinder * This,
- /* [in] */ LONG lFindData);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FindByUDN )(
- IUPnPDeviceFinder * This,
- /* [in] */ BSTR bstrUDN,
- /* [retval][out] */ IUPnPDevice **pDevice);
-
- END_INTERFACE
- } IUPnPDeviceFinderVtbl;
- interface IUPnPDeviceFinder
- {
- CONST_VTBL struct IUPnPDeviceFinderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IUPnPDeviceFinder_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IUPnPDeviceFinder_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IUPnPDeviceFinder_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IUPnPDeviceFinder_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define IUPnPDeviceFinder_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IUPnPDeviceFinder_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IUPnPDeviceFinder_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define IUPnPDeviceFinder_FindByType(This,bstrTypeURI,dwFlags,pDevices) \
- (This)->lpVtbl -> FindByType(This,bstrTypeURI,dwFlags,pDevices)
- #define IUPnPDeviceFinder_CreateAsyncFind(This,bstrTypeURI,dwFlags,punkDeviceFinderCallback,plFindData) \
- (This)->lpVtbl -> CreateAsyncFind(This,bstrTypeURI,dwFlags,punkDeviceFinderCallback,plFindData)
- #define IUPnPDeviceFinder_StartAsyncFind(This,lFindData) \
- (This)->lpVtbl -> StartAsyncFind(This,lFindData)
- #define IUPnPDeviceFinder_CancelAsyncFind(This,lFindData) \
- (This)->lpVtbl -> CancelAsyncFind(This,lFindData)
- #define IUPnPDeviceFinder_FindByUDN(This,bstrUDN,pDevice) \
- (This)->lpVtbl -> FindByUDN(This,bstrUDN,pDevice)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPDeviceFinder_FindByType_Proxy(
- IUPnPDeviceFinder * This,
- /* [in] */ BSTR bstrTypeURI,
- /* [in] */ DWORD dwFlags,
- /* [retval][out] */ IUPnPDevices **pDevices);
- void __RPC_STUB IUPnPDeviceFinder_FindByType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPDeviceFinder_CreateAsyncFind_Proxy(
- IUPnPDeviceFinder * This,
- /* [in] */ BSTR bstrTypeURI,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IUnknown *punkDeviceFinderCallback,
- /* [retval][out] */ LONG *plFindData);
- void __RPC_STUB IUPnPDeviceFinder_CreateAsyncFind_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPDeviceFinder_StartAsyncFind_Proxy(
- IUPnPDeviceFinder * This,
- /* [in] */ LONG lFindData);
- void __RPC_STUB IUPnPDeviceFinder_StartAsyncFind_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPDeviceFinder_CancelAsyncFind_Proxy(
- IUPnPDeviceFinder * This,
- /* [in] */ LONG lFindData);
- void __RPC_STUB IUPnPDeviceFinder_CancelAsyncFind_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPDeviceFinder_FindByUDN_Proxy(
- IUPnPDeviceFinder * This,
- /* [in] */ BSTR bstrUDN,
- /* [retval][out] */ IUPnPDevice **pDevice);
- void __RPC_STUB IUPnPDeviceFinder_FindByUDN_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IUPnPDeviceFinder_INTERFACE_DEFINED__ */
- #ifndef __IUPnPDeviceFinderCallback_INTERFACE_DEFINED__
- #define __IUPnPDeviceFinderCallback_INTERFACE_DEFINED__
- /* interface IUPnPDeviceFinderCallback */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IUPnPDeviceFinderCallback;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("415A984A-88B3-49F3-92AF-0508BEDF0D6C")
- IUPnPDeviceFinderCallback : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE DeviceAdded(
- /* [in] */ LONG lFindData,
- /* [in] */ IUPnPDevice *pDevice) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DeviceRemoved(
- /* [in] */ LONG lFindData,
- /* [in] */ BSTR bstrUDN) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SearchComplete(
- /* [in] */ LONG lFindData) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IUPnPDeviceFinderCallbackVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IUPnPDeviceFinderCallback * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IUPnPDeviceFinderCallback * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IUPnPDeviceFinderCallback * This);
-
- HRESULT ( STDMETHODCALLTYPE *DeviceAdded )(
- IUPnPDeviceFinderCallback * This,
- /* [in] */ LONG lFindData,
- /* [in] */ IUPnPDevice *pDevice);
-
- HRESULT ( STDMETHODCALLTYPE *DeviceRemoved )(
- IUPnPDeviceFinderCallback * This,
- /* [in] */ LONG lFindData,
- /* [in] */ BSTR bstrUDN);
-
- HRESULT ( STDMETHODCALLTYPE *SearchComplete )(
- IUPnPDeviceFinderCallback * This,
- /* [in] */ LONG lFindData);
-
- END_INTERFACE
- } IUPnPDeviceFinderCallbackVtbl;
- interface IUPnPDeviceFinderCallback
- {
- CONST_VTBL struct IUPnPDeviceFinderCallbackVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IUPnPDeviceFinderCallback_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IUPnPDeviceFinderCallback_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IUPnPDeviceFinderCallback_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IUPnPDeviceFinderCallback_DeviceAdded(This,lFindData,pDevice) \
- (This)->lpVtbl -> DeviceAdded(This,lFindData,pDevice)
- #define IUPnPDeviceFinderCallback_DeviceRemoved(This,lFindData,bstrUDN) \
- (This)->lpVtbl -> DeviceRemoved(This,lFindData,bstrUDN)
- #define IUPnPDeviceFinderCallback_SearchComplete(This,lFindData) \
- (This)->lpVtbl -> SearchComplete(This,lFindData)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IUPnPDeviceFinderCallback_DeviceAdded_Proxy(
- IUPnPDeviceFinderCallback * This,
- /* [in] */ LONG lFindData,
- /* [in] */ IUPnPDevice *pDevice);
- void __RPC_STUB IUPnPDeviceFinderCallback_DeviceAdded_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IUPnPDeviceFinderCallback_DeviceRemoved_Proxy(
- IUPnPDeviceFinderCallback * This,
- /* [in] */ LONG lFindData,
- /* [in] */ BSTR bstrUDN);
- void __RPC_STUB IUPnPDeviceFinderCallback_DeviceRemoved_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IUPnPDeviceFinderCallback_SearchComplete_Proxy(
- IUPnPDeviceFinderCallback * This,
- /* [in] */ LONG lFindData);
- void __RPC_STUB IUPnPDeviceFinderCallback_SearchComplete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IUPnPDeviceFinderCallback_INTERFACE_DEFINED__ */
- #ifndef __IUPnPServices_INTERFACE_DEFINED__
- #define __IUPnPServices_INTERFACE_DEFINED__
- /* interface IUPnPServices */
- /* [nonextensible][unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_IUPnPServices;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("3F8C8E9E-9A7A-4DC8-BC41-FF31FA374956")
- IUPnPServices : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *plCount) = 0;
-
- virtual /* [helpstring][hidden][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ LPUNKNOWN *ppunk) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
- /* [in] */ BSTR bstrServiceId,
- /* [retval][out] */ IUPnPService **ppService) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IUPnPServicesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IUPnPServices * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IUPnPServices * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IUPnPServices * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- IUPnPServices * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- IUPnPServices * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- IUPnPServices * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- IUPnPServices * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- IUPnPServices * This,
- /* [retval][out] */ long *plCount);
-
- /* [helpstring][hidden][restricted][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- IUPnPServices * This,
- /* [retval][out] */ LPUNKNOWN *ppunk);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
- IUPnPServices * This,
- /* [in] */ BSTR bstrServiceId,
- /* [retval][out] */ IUPnPService **ppService);
-
- END_INTERFACE
- } IUPnPServicesVtbl;
- interface IUPnPServices
- {
- CONST_VTBL struct IUPnPServicesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IUPnPServices_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IUPnPServices_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IUPnPServices_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IUPnPServices_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define IUPnPServices_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IUPnPServices_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IUPnPServices_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define IUPnPServices_get_Count(This,plCount) \
- (This)->lpVtbl -> get_Count(This,plCount)
- #define IUPnPServices_get__NewEnum(This,ppunk) \
- (This)->lpVtbl -> get__NewEnum(This,ppunk)
- #define IUPnPServices_get_Item(This,bstrServiceId,ppService) \
- (This)->lpVtbl -> get_Item(This,bstrServiceId,ppService)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPServices_get_Count_Proxy(
- IUPnPServices * This,
- /* [retval][out] */ long *plCount);
- void __RPC_STUB IUPnPServices_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][hidden][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPServices_get__NewEnum_Proxy(
- IUPnPServices * This,
- /* [retval][out] */ LPUNKNOWN *ppunk);
- void __RPC_STUB IUPnPServices_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPServices_get_Item_Proxy(
- IUPnPServices * This,
- /* [in] */ BSTR bstrServiceId,
- /* [retval][out] */ IUPnPService **ppService);
- void __RPC_STUB IUPnPServices_get_Item_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IUPnPServices_INTERFACE_DEFINED__ */
- #ifndef __IUPnPService_INTERFACE_DEFINED__
- #define __IUPnPService_INTERFACE_DEFINED__
- /* interface IUPnPService */
- /* [nonextensible][unique][oleautomation][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_IUPnPService;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("A295019C-DC65-47DD-90DC-7FE918A1AB44")
- IUPnPService : public IDispatch
- {
- public:
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryStateVariable(
- /* [in] */ BSTR bstrVariableName,
- /* [retval][out] */ VARIANT *pValue) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InvokeAction(
- /* [in] */ BSTR bstrActionName,
- /* [in] */ VARIANT vInActionArgs,
- /* [out][in] */ VARIANT *pvOutActionArgs,
- /* [retval][out] */ VARIANT *pvRetVal) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ServiceTypeIdentifier(
- /* [retval][out] */ BSTR *pVal) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddCallback(
- /* [in] */ IUnknown *pUnkCallback) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Id(
- /* [retval][out] */ BSTR *pbstrId) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LastTransportStatus(
- /* [retval][out] */ long *plValue) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IUPnPServiceVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IUPnPService * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IUPnPService * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IUPnPService * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- IUPnPService * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- IUPnPService * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- IUPnPService * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- IUPnPService * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryStateVariable )(
- IUPnPService * This,
- /* [in] */ BSTR bstrVariableName,
- /* [retval][out] */ VARIANT *pValue);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InvokeAction )(
- IUPnPService * This,
- /* [in] */ BSTR bstrActionName,
- /* [in] */ VARIANT vInActionArgs,
- /* [out][in] */ VARIANT *pvOutActionArgs,
- /* [retval][out] */ VARIANT *pvRetVal);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ServiceTypeIdentifier )(
- IUPnPService * This,
- /* [retval][out] */ BSTR *pVal);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddCallback )(
- IUPnPService * This,
- /* [in] */ IUnknown *pUnkCallback);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )(
- IUPnPService * This,
- /* [retval][out] */ BSTR *pbstrId);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastTransportStatus )(
- IUPnPService * This,
- /* [retval][out] */ long *plValue);
-
- END_INTERFACE
- } IUPnPServiceVtbl;
- interface IUPnPService
- {
- CONST_VTBL struct IUPnPServiceVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IUPnPService_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IUPnPService_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IUPnPService_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IUPnPService_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define IUPnPService_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IUPnPService_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IUPnPService_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define IUPnPService_QueryStateVariable(This,bstrVariableName,pValue) \
- (This)->lpVtbl -> QueryStateVariable(This,bstrVariableName,pValue)
- #define IUPnPService_InvokeAction(This,bstrActionName,vInActionArgs,pvOutActionArgs,pvRetVal) \
- (This)->lpVtbl -> InvokeAction(This,bstrActionName,vInActionArgs,pvOutActionArgs,pvRetVal)
- #define IUPnPService_get_ServiceTypeIdentifier(This,pVal) \
- (This)->lpVtbl -> get_ServiceTypeIdentifier(This,pVal)
- #define IUPnPService_AddCallback(This,pUnkCallback) \
- (This)->lpVtbl -> AddCallback(This,pUnkCallback)
- #define IUPnPService_get_Id(This,pbstrId) \
- (This)->lpVtbl -> get_Id(This,pbstrId)
- #define IUPnPService_get_LastTransportStatus(This,plValue) \
- (This)->lpVtbl -> get_LastTransportStatus(This,plValue)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPService_QueryStateVariable_Proxy(
- IUPnPService * This,
- /* [in] */ BSTR bstrVariableName,
- /* [retval][out] */ VARIANT *pValue);
- void __RPC_STUB IUPnPService_QueryStateVariable_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPService_InvokeAction_Proxy(
- IUPnPService * This,
- /* [in] */ BSTR bstrActionName,
- /* [in] */ VARIANT vInActionArgs,
- /* [out][in] */ VARIANT *pvOutActionArgs,
- /* [retval][out] */ VARIANT *pvRetVal);
- void __RPC_STUB IUPnPService_InvokeAction_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPService_get_ServiceTypeIdentifier_Proxy(
- IUPnPService * This,
- /* [retval][out] */ BSTR *pVal);
- void __RPC_STUB IUPnPService_get_ServiceTypeIdentifier_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPService_AddCallback_Proxy(
- IUPnPService * This,
- /* [in] */ IUnknown *pUnkCallback);
- void __RPC_STUB IUPnPService_AddCallback_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPService_get_Id_Proxy(
- IUPnPService * This,
- /* [retval][out] */ BSTR *pbstrId);
- void __RPC_STUB IUPnPService_get_Id_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPService_get_LastTransportStatus_Proxy(
- IUPnPService * This,
- /* [retval][out] */ long *plValue);
- void __RPC_STUB IUPnPService_get_LastTransportStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IUPnPService_INTERFACE_DEFINED__ */
- #ifndef __IUPnPServiceCallback_INTERFACE_DEFINED__
- #define __IUPnPServiceCallback_INTERFACE_DEFINED__
- /* interface IUPnPServiceCallback */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IUPnPServiceCallback;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("31fadca9-ab73-464b-b67d-5c1d0f83c8b8")
- IUPnPServiceCallback : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE StateVariableChanged(
- /* [in] */ IUPnPService *pus,
- /* [in] */ LPCWSTR pcwszStateVarName,
- /* [in] */ VARIANT vaValue) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ServiceInstanceDied(
- /* [in] */ IUPnPService *pus) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IUPnPServiceCallbackVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IUPnPServiceCallback * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IUPnPServiceCallback * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IUPnPServiceCallback * This);
-
- HRESULT ( STDMETHODCALLTYPE *StateVariableChanged )(
- IUPnPServiceCallback * This,
- /* [in] */ IUPnPService *pus,
- /* [in] */ LPCWSTR pcwszStateVarName,
- /* [in] */ VARIANT vaValue);
-
- HRESULT ( STDMETHODCALLTYPE *ServiceInstanceDied )(
- IUPnPServiceCallback * This,
- /* [in] */ IUPnPService *pus);
-
- END_INTERFACE
- } IUPnPServiceCallbackVtbl;
- interface IUPnPServiceCallback
- {
- CONST_VTBL struct IUPnPServiceCallbackVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IUPnPServiceCallback_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IUPnPServiceCallback_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IUPnPServiceCallback_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IUPnPServiceCallback_StateVariableChanged(This,pus,pcwszStateVarName,vaValue) \
- (This)->lpVtbl -> StateVariableChanged(This,pus,pcwszStateVarName,vaValue)
- #define IUPnPServiceCallback_ServiceInstanceDied(This,pus) \
- (This)->lpVtbl -> ServiceInstanceDied(This,pus)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IUPnPServiceCallback_StateVariableChanged_Proxy(
- IUPnPServiceCallback * This,
- /* [in] */ IUPnPService *pus,
- /* [in] */ LPCWSTR pcwszStateVarName,
- /* [in] */ VARIANT vaValue);
- void __RPC_STUB IUPnPServiceCallback_StateVariableChanged_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IUPnPServiceCallback_ServiceInstanceDied_Proxy(
- IUPnPServiceCallback * This,
- /* [in] */ IUPnPService *pus);
- void __RPC_STUB IUPnPServiceCallback_ServiceInstanceDied_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IUPnPServiceCallback_INTERFACE_DEFINED__ */
- #ifndef __IUPnPDevices_INTERFACE_DEFINED__
- #define __IUPnPDevices_INTERFACE_DEFINED__
- /* interface IUPnPDevices */
- /* [nonextensible][unique][oleautomation][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_IUPnPDevices;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("FDBC0C73-BDA3-4C66-AC4F-F2D96FDAD68C")
- IUPnPDevices : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *plCount) = 0;
-
- virtual /* [helpstring][hidden][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ LPUNKNOWN *ppunk) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
- /* [in] */ BSTR bstrUDN,
- /* [retval][out] */ IUPnPDevice **ppDevice) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IUPnPDevicesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IUPnPDevices * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IUPnPDevices * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IUPnPDevices * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- IUPnPDevices * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- IUPnPDevices * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- IUPnPDevices * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- IUPnPDevices * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- IUPnPDevices * This,
- /* [retval][out] */ long *plCount);
-
- /* [helpstring][hidden][restricted][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- IUPnPDevices * This,
- /* [retval][out] */ LPUNKNOWN *ppunk);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
- IUPnPDevices * This,
- /* [in] */ BSTR bstrUDN,
- /* [retval][out] */ IUPnPDevice **ppDevice);
-
- END_INTERFACE
- } IUPnPDevicesVtbl;
- interface IUPnPDevices
- {
- CONST_VTBL struct IUPnPDevicesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IUPnPDevices_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IUPnPDevices_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IUPnPDevices_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IUPnPDevices_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define IUPnPDevices_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IUPnPDevices_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IUPnPDevices_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define IUPnPDevices_get_Count(This,plCount) \
- (This)->lpVtbl -> get_Count(This,plCount)
- #define IUPnPDevices_get__NewEnum(This,ppunk) \
- (This)->lpVtbl -> get__NewEnum(This,ppunk)
- #define IUPnPDevices_get_Item(This,bstrUDN,ppDevice) \
- (This)->lpVtbl -> get_Item(This,bstrUDN,ppDevice)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevices_get_Count_Proxy(
- IUPnPDevices * This,
- /* [retval][out] */ long *plCount);
- void __RPC_STUB IUPnPDevices_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][hidden][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevices_get__NewEnum_Proxy(
- IUPnPDevices * This,
- /* [retval][out] */ LPUNKNOWN *ppunk);
- void __RPC_STUB IUPnPDevices_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevices_get_Item_Proxy(
- IUPnPDevices * This,
- /* [in] */ BSTR bstrUDN,
- /* [retval][out] */ IUPnPDevice **ppDevice);
- void __RPC_STUB IUPnPDevices_get_Item_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IUPnPDevices_INTERFACE_DEFINED__ */
- #ifndef __IUPnPDevice_INTERFACE_DEFINED__
- #define __IUPnPDevice_INTERFACE_DEFINED__
- /* interface IUPnPDevice */
- /* [nonextensible][unique][oleautomation][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_IUPnPDevice;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("3D44D0D1-98C9-4889-ACD1-F9D674BF2221")
- IUPnPDevice : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsRootDevice(
- /* [retval][out] */ VARIANT_BOOL *pvarb) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RootDevice(
- /* [retval][out] */ IUPnPDevice **ppudRootDevice) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ParentDevice(
- /* [retval][out] */ IUPnPDevice **ppudDeviceParent) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HasChildren(
- /* [retval][out] */ VARIANT_BOOL *pvarb) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Children(
- /* [retval][out] */ IUPnPDevices **ppudChildren) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UniqueDeviceName(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FriendlyName(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Type(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PresentationURL(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ManufacturerName(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ManufacturerURL(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ModelName(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ModelNumber(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ModelURL(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UPC(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SerialNumber(
- /* [retval][out] */ BSTR *pbstr) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IconURL(
- /* [in] */ BSTR bstrEncodingFormat,
- /* [in] */ LONG lSizeX,
- /* [in] */ LONG lSizeY,
- /* [in] */ LONG lBitDepth,
- /* [retval][out] */ BSTR *pbstrIconURL) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Services(
- /* [retval][out] */ IUPnPServices **ppusServices) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IUPnPDeviceVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IUPnPDevice * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IUPnPDevice * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IUPnPDevice * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- IUPnPDevice * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- IUPnPDevice * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- IUPnPDevice * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- IUPnPDevice * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsRootDevice )(
- IUPnPDevice * This,
- /* [retval][out] */ VARIANT_BOOL *pvarb);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RootDevice )(
- IUPnPDevice * This,
- /* [retval][out] */ IUPnPDevice **ppudRootDevice);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ParentDevice )(
- IUPnPDevice * This,
- /* [retval][out] */ IUPnPDevice **ppudDeviceParent);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HasChildren )(
- IUPnPDevice * This,
- /* [retval][out] */ VARIANT_BOOL *pvarb);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Children )(
- IUPnPDevice * This,
- /* [retval][out] */ IUPnPDevices **ppudChildren);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UniqueDeviceName )(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FriendlyName )(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PresentationURL )(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ManufacturerName )(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ManufacturerURL )(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ModelName )(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ModelNumber )(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ModelURL )(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UPC )(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SerialNumber )(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IconURL )(
- IUPnPDevice * This,
- /* [in] */ BSTR bstrEncodingFormat,
- /* [in] */ LONG lSizeX,
- /* [in] */ LONG lSizeY,
- /* [in] */ LONG lBitDepth,
- /* [retval][out] */ BSTR *pbstrIconURL);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Services )(
- IUPnPDevice * This,
- /* [retval][out] */ IUPnPServices **ppusServices);
-
- END_INTERFACE
- } IUPnPDeviceVtbl;
- interface IUPnPDevice
- {
- CONST_VTBL struct IUPnPDeviceVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IUPnPDevice_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IUPnPDevice_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IUPnPDevice_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IUPnPDevice_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define IUPnPDevice_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IUPnPDevice_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IUPnPDevice_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define IUPnPDevice_get_IsRootDevice(This,pvarb) \
- (This)->lpVtbl -> get_IsRootDevice(This,pvarb)
- #define IUPnPDevice_get_RootDevice(This,ppudRootDevice) \
- (This)->lpVtbl -> get_RootDevice(This,ppudRootDevice)
- #define IUPnPDevice_get_ParentDevice(This,ppudDeviceParent) \
- (This)->lpVtbl -> get_ParentDevice(This,ppudDeviceParent)
- #define IUPnPDevice_get_HasChildren(This,pvarb) \
- (This)->lpVtbl -> get_HasChildren(This,pvarb)
- #define IUPnPDevice_get_Children(This,ppudChildren) \
- (This)->lpVtbl -> get_Children(This,ppudChildren)
- #define IUPnPDevice_get_UniqueDeviceName(This,pbstr) \
- (This)->lpVtbl -> get_UniqueDeviceName(This,pbstr)
- #define IUPnPDevice_get_FriendlyName(This,pbstr) \
- (This)->lpVtbl -> get_FriendlyName(This,pbstr)
- #define IUPnPDevice_get_Type(This,pbstr) \
- (This)->lpVtbl -> get_Type(This,pbstr)
- #define IUPnPDevice_get_PresentationURL(This,pbstr) \
- (This)->lpVtbl -> get_PresentationURL(This,pbstr)
- #define IUPnPDevice_get_ManufacturerName(This,pbstr) \
- (This)->lpVtbl -> get_ManufacturerName(This,pbstr)
- #define IUPnPDevice_get_ManufacturerURL(This,pbstr) \
- (This)->lpVtbl -> get_ManufacturerURL(This,pbstr)
- #define IUPnPDevice_get_ModelName(This,pbstr) \
- (This)->lpVtbl -> get_ModelName(This,pbstr)
- #define IUPnPDevice_get_ModelNumber(This,pbstr) \
- (This)->lpVtbl -> get_ModelNumber(This,pbstr)
- #define IUPnPDevice_get_Description(This,pbstr) \
- (This)->lpVtbl -> get_Description(This,pbstr)
- #define IUPnPDevice_get_ModelURL(This,pbstr) \
- (This)->lpVtbl -> get_ModelURL(This,pbstr)
- #define IUPnPDevice_get_UPC(This,pbstr) \
- (This)->lpVtbl -> get_UPC(This,pbstr)
- #define IUPnPDevice_get_SerialNumber(This,pbstr) \
- (This)->lpVtbl -> get_SerialNumber(This,pbstr)
- #define IUPnPDevice_IconURL(This,bstrEncodingFormat,lSizeX,lSizeY,lBitDepth,pbstrIconURL) \
- (This)->lpVtbl -> IconURL(This,bstrEncodingFormat,lSizeX,lSizeY,lBitDepth,pbstrIconURL)
- #define IUPnPDevice_get_Services(This,ppusServices) \
- (This)->lpVtbl -> get_Services(This,ppusServices)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_IsRootDevice_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ VARIANT_BOOL *pvarb);
- void __RPC_STUB IUPnPDevice_get_IsRootDevice_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_RootDevice_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ IUPnPDevice **ppudRootDevice);
- void __RPC_STUB IUPnPDevice_get_RootDevice_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_ParentDevice_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ IUPnPDevice **ppudDeviceParent);
- void __RPC_STUB IUPnPDevice_get_ParentDevice_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_HasChildren_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ VARIANT_BOOL *pvarb);
- void __RPC_STUB IUPnPDevice_get_HasChildren_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_Children_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ IUPnPDevices **ppudChildren);
- void __RPC_STUB IUPnPDevice_get_Children_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_UniqueDeviceName_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB IUPnPDevice_get_UniqueDeviceName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_FriendlyName_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB IUPnPDevice_get_FriendlyName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_Type_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB IUPnPDevice_get_Type_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_PresentationURL_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB IUPnPDevice_get_PresentationURL_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_ManufacturerName_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB IUPnPDevice_get_ManufacturerName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_ManufacturerURL_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB IUPnPDevice_get_ManufacturerURL_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_ModelName_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB IUPnPDevice_get_ModelName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_ModelNumber_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB IUPnPDevice_get_ModelNumber_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_Description_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB IUPnPDevice_get_Description_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_ModelURL_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB IUPnPDevice_get_ModelURL_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_UPC_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB IUPnPDevice_get_UPC_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_SerialNumber_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ BSTR *pbstr);
- void __RPC_STUB IUPnPDevice_get_SerialNumber_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_IconURL_Proxy(
- IUPnPDevice * This,
- /* [in] */ BSTR bstrEncodingFormat,
- /* [in] */ LONG lSizeX,
- /* [in] */ LONG lSizeY,
- /* [in] */ LONG lBitDepth,
- /* [retval][out] */ BSTR *pbstrIconURL);
- void __RPC_STUB IUPnPDevice_IconURL_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDevice_get_Services_Proxy(
- IUPnPDevice * This,
- /* [retval][out] */ IUPnPServices **ppusServices);
- void __RPC_STUB IUPnPDevice_get_Services_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IUPnPDevice_INTERFACE_DEFINED__ */
- #ifndef __IUPnPDeviceDocumentAccess_INTERFACE_DEFINED__
- #define __IUPnPDeviceDocumentAccess_INTERFACE_DEFINED__
- /* interface IUPnPDeviceDocumentAccess */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IUPnPDeviceDocumentAccess;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("E7772804-3287-418e-9072-CF2B47238981")
- IUPnPDeviceDocumentAccess : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetDocumentURL(
- /* [retval][out] */ BSTR *pbstrDocument) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IUPnPDeviceDocumentAccessVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IUPnPDeviceDocumentAccess * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IUPnPDeviceDocumentAccess * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IUPnPDeviceDocumentAccess * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetDocumentURL )(
- IUPnPDeviceDocumentAccess * This,
- /* [retval][out] */ BSTR *pbstrDocument);
-
- END_INTERFACE
- } IUPnPDeviceDocumentAccessVtbl;
- interface IUPnPDeviceDocumentAccess
- {
- CONST_VTBL struct IUPnPDeviceDocumentAccessVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IUPnPDeviceDocumentAccess_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IUPnPDeviceDocumentAccess_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IUPnPDeviceDocumentAccess_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IUPnPDeviceDocumentAccess_GetDocumentURL(This,pbstrDocument) \
- (This)->lpVtbl -> GetDocumentURL(This,pbstrDocument)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IUPnPDeviceDocumentAccess_GetDocumentURL_Proxy(
- IUPnPDeviceDocumentAccess * This,
- /* [retval][out] */ BSTR *pbstrDocument);
- void __RPC_STUB IUPnPDeviceDocumentAccess_GetDocumentURL_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IUPnPDeviceDocumentAccess_INTERFACE_DEFINED__ */
- #ifndef __IUPnPDescriptionDocument_INTERFACE_DEFINED__
- #define __IUPnPDescriptionDocument_INTERFACE_DEFINED__
- /* interface IUPnPDescriptionDocument */
- /* [nonextensible][unique][oleautomation][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_IUPnPDescriptionDocument;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("11d1c1b2-7daa-4c9e-9595-7f82ed206d1e")
- IUPnPDescriptionDocument : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReadyState(
- /* [retval][out] */ LONG *plReadyState) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Load(
- /* [in] */ BSTR bstrUrl) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadAsync(
- /* [in] */ BSTR bstrUrl,
- /* [in] */ IUnknown *punkCallback) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LoadResult(
- /* [retval][out] */ long *phrError) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Abort( void) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RootDevice(
- /* [retval][out] */ IUPnPDevice **ppudRootDevice) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeviceByUDN(
- /* [in] */ BSTR bstrUDN,
- /* [retval][out] */ IUPnPDevice **ppudDevice) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IUPnPDescriptionDocumentVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IUPnPDescriptionDocument * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IUPnPDescriptionDocument * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IUPnPDescriptionDocument * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- IUPnPDescriptionDocument * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- IUPnPDescriptionDocument * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- IUPnPDescriptionDocument * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- IUPnPDescriptionDocument * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReadyState )(
- IUPnPDescriptionDocument * This,
- /* [retval][out] */ LONG *plReadyState);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Load )(
- IUPnPDescriptionDocument * This,
- /* [in] */ BSTR bstrUrl);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LoadAsync )(
- IUPnPDescriptionDocument * This,
- /* [in] */ BSTR bstrUrl,
- /* [in] */ IUnknown *punkCallback);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LoadResult )(
- IUPnPDescriptionDocument * This,
- /* [retval][out] */ long *phrError);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Abort )(
- IUPnPDescriptionDocument * This);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RootDevice )(
- IUPnPDescriptionDocument * This,
- /* [retval][out] */ IUPnPDevice **ppudRootDevice);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeviceByUDN )(
- IUPnPDescriptionDocument * This,
- /* [in] */ BSTR bstrUDN,
- /* [retval][out] */ IUPnPDevice **ppudDevice);
-
- END_INTERFACE
- } IUPnPDescriptionDocumentVtbl;
- interface IUPnPDescriptionDocument
- {
- CONST_VTBL struct IUPnPDescriptionDocumentVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IUPnPDescriptionDocument_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IUPnPDescriptionDocument_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IUPnPDescriptionDocument_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IUPnPDescriptionDocument_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define IUPnPDescriptionDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IUPnPDescriptionDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IUPnPDescriptionDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define IUPnPDescriptionDocument_get_ReadyState(This,plReadyState) \
- (This)->lpVtbl -> get_ReadyState(This,plReadyState)
- #define IUPnPDescriptionDocument_Load(This,bstrUrl) \
- (This)->lpVtbl -> Load(This,bstrUrl)
- #define IUPnPDescriptionDocument_LoadAsync(This,bstrUrl,punkCallback) \
- (This)->lpVtbl -> LoadAsync(This,bstrUrl,punkCallback)
- #define IUPnPDescriptionDocument_get_LoadResult(This,phrError) \
- (This)->lpVtbl -> get_LoadResult(This,phrError)
- #define IUPnPDescriptionDocument_Abort(This) \
- (This)->lpVtbl -> Abort(This)
- #define IUPnPDescriptionDocument_RootDevice(This,ppudRootDevice) \
- (This)->lpVtbl -> RootDevice(This,ppudRootDevice)
- #define IUPnPDescriptionDocument_DeviceByUDN(This,bstrUDN,ppudDevice) \
- (This)->lpVtbl -> DeviceByUDN(This,bstrUDN,ppudDevice)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDescriptionDocument_get_ReadyState_Proxy(
- IUPnPDescriptionDocument * This,
- /* [retval][out] */ LONG *plReadyState);
- void __RPC_STUB IUPnPDescriptionDocument_get_ReadyState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPDescriptionDocument_Load_Proxy(
- IUPnPDescriptionDocument * This,
- /* [in] */ BSTR bstrUrl);
- void __RPC_STUB IUPnPDescriptionDocument_Load_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPDescriptionDocument_LoadAsync_Proxy(
- IUPnPDescriptionDocument * This,
- /* [in] */ BSTR bstrUrl,
- /* [in] */ IUnknown *punkCallback);
- void __RPC_STUB IUPnPDescriptionDocument_LoadAsync_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPDescriptionDocument_get_LoadResult_Proxy(
- IUPnPDescriptionDocument * This,
- /* [retval][out] */ long *phrError);
- void __RPC_STUB IUPnPDescriptionDocument_get_LoadResult_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPDescriptionDocument_Abort_Proxy(
- IUPnPDescriptionDocument * This);
- void __RPC_STUB IUPnPDescriptionDocument_Abort_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPDescriptionDocument_RootDevice_Proxy(
- IUPnPDescriptionDocument * This,
- /* [retval][out] */ IUPnPDevice **ppudRootDevice);
- void __RPC_STUB IUPnPDescriptionDocument_RootDevice_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUPnPDescriptionDocument_DeviceByUDN_Proxy(
- IUPnPDescriptionDocument * This,
- /* [in] */ BSTR bstrUDN,
- /* [retval][out] */ IUPnPDevice **ppudDevice);
- void __RPC_STUB IUPnPDescriptionDocument_DeviceByUDN_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IUPnPDescriptionDocument_INTERFACE_DEFINED__ */
- #ifndef __IUPnPDescriptionDocumentCallback_INTERFACE_DEFINED__
- #define __IUPnPDescriptionDocumentCallback_INTERFACE_DEFINED__
- /* interface IUPnPDescriptionDocumentCallback */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IUPnPDescriptionDocumentCallback;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("77394c69-5486-40d6-9bc3-4991983e02da")
- IUPnPDescriptionDocumentCallback : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE LoadComplete(
- /* [in] */ HRESULT hrLoadResult) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IUPnPDescriptionDocumentCallbackVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IUPnPDescriptionDocumentCallback * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IUPnPDescriptionDocumentCallback * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IUPnPDescriptionDocumentCallback * This);
-
- HRESULT ( STDMETHODCALLTYPE *LoadComplete )(
- IUPnPDescriptionDocumentCallback * This,
- /* [in] */ HRESULT hrLoadResult);
-
- END_INTERFACE
- } IUPnPDescriptionDocumentCallbackVtbl;
- interface IUPnPDescriptionDocumentCallback
- {
- CONST_VTBL struct IUPnPDescriptionDocumentCallbackVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IUPnPDescriptionDocumentCallback_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IUPnPDescriptionDocumentCallback_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IUPnPDescriptionDocumentCallback_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IUPnPDescriptionDocumentCallback_LoadComplete(This,hrLoadResult) \
- (This)->lpVtbl -> LoadComplete(This,hrLoadResult)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IUPnPDescriptionDocumentCallback_LoadComplete_Proxy(
- IUPnPDescriptionDocumentCallback * This,
- /* [in] */ HRESULT hrLoadResult);
- void __RPC_STUB IUPnPDescriptionDocumentCallback_LoadComplete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IUPnPDescriptionDocumentCallback_INTERFACE_DEFINED__ */
- #ifndef __UPNPLib_LIBRARY_DEFINED__
- #define __UPNPLib_LIBRARY_DEFINED__
- /* library UPNPLib */
- /* [helpstring][version][uuid] */
- EXTERN_C const IID LIBID_UPNPLib;
- EXTERN_C const CLSID CLSID_UPnPDeviceFinder;
- #ifdef __cplusplus
- class DECLSPEC_UUID("E2085F28-FEB7-404A-B8E7-E659BDEAAA02")
- UPnPDeviceFinder;
- #endif
- EXTERN_C const CLSID CLSID_UPnPDevices;
- #ifdef __cplusplus
- class DECLSPEC_UUID("B9E84FFD-AD3C-40A4-B835-0882EBCBAAA8")
- UPnPDevices;
- #endif
- EXTERN_C const CLSID CLSID_UPnPDevice;
- #ifdef __cplusplus
- class DECLSPEC_UUID("A32552C5-BA61-457A-B59A-A2561E125E33")
- UPnPDevice;
- #endif
- EXTERN_C const CLSID CLSID_UPnPServices;
- #ifdef __cplusplus
- class DECLSPEC_UUID("C0BC4B4A-A406-4EFC-932F-B8546B8100CC")
- UPnPServices;
- #endif
- EXTERN_C const CLSID CLSID_UPnPService;
- #ifdef __cplusplus
- class DECLSPEC_UUID("C624BA95-FBCB-4409-8C03-8CCEEC533EF1")
- UPnPService;
- #endif
- EXTERN_C const CLSID CLSID_UPnPDescriptionDocument;
- #ifdef __cplusplus
- class DECLSPEC_UUID("1d8a9b47-3a28-4ce2-8a4b-bd34e45bceeb")
- UPnPDescriptionDocument;
- #endif
- #ifndef __IUPnPDeviceHostSetup_INTERFACE_DEFINED__
- #define __IUPnPDeviceHostSetup_INTERFACE_DEFINED__
- /* interface IUPnPDeviceHostSetup */
- /* [object][unique][uuid][oleautomation] */
- EXTERN_C const IID IID_IUPnPDeviceHostSetup;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("6BD34909-54E7-4fbf-8562-7B89709A589A")
- IUPnPDeviceHostSetup : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE AskIfNotAlreadyEnabled(
- /* [retval][out] */ VARIANT_BOOL *pbEnabled) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IUPnPDeviceHostSetupVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IUPnPDeviceHostSetup * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IUPnPDeviceHostSetup * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IUPnPDeviceHostSetup * This);
-
- HRESULT ( STDMETHODCALLTYPE *AskIfNotAlreadyEnabled )(
- IUPnPDeviceHostSetup * This,
- /* [retval][out] */ VARIANT_BOOL *pbEnabled);
-
- END_INTERFACE
- } IUPnPDeviceHostSetupVtbl;
- interface IUPnPDeviceHostSetup
- {
- CONST_VTBL struct IUPnPDeviceHostSetupVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IUPnPDeviceHostSetup_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IUPnPDeviceHostSetup_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IUPnPDeviceHostSetup_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IUPnPDeviceHostSetup_AskIfNotAlreadyEnabled(This,pbEnabled) \
- (This)->lpVtbl -> AskIfNotAlreadyEnabled(This,pbEnabled)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IUPnPDeviceHostSetup_AskIfNotAlreadyEnabled_Proxy(
- IUPnPDeviceHostSetup * This,
- /* [retval][out] */ VARIANT_BOOL *pbEnabled);
- void __RPC_STUB IUPnPDeviceHostSetup_AskIfNotAlreadyEnabled_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IUPnPDeviceHostSetup_INTERFACE_DEFINED__ */
- EXTERN_C const CLSID CLSID_UPnPDeviceHostSetup;
- #ifdef __cplusplus
- class DECLSPEC_UUID("B4609411-C81C-4cce-8C76-C6B50C9402C6")
- UPnPDeviceHostSetup;
- #endif
- #endif /* __UPNPLib_LIBRARY_DEFINED__ */
- /* Additional Prototypes for ALL interfaces */
- unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
- unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
- unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
- void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
- unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
- unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
- unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
- void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif
|