1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114 |
- #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 netcon.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 __netcon_h__
- #define __netcon_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __IEnumNetConnection_FWD_DEFINED__
- #define __IEnumNetConnection_FWD_DEFINED__
- typedef interface IEnumNetConnection IEnumNetConnection;
- #endif /* __IEnumNetConnection_FWD_DEFINED__ */
- #ifndef __INetConnection_FWD_DEFINED__
- #define __INetConnection_FWD_DEFINED__
- typedef interface INetConnection INetConnection;
- #endif /* __INetConnection_FWD_DEFINED__ */
- #ifndef __INetConnectionManager_FWD_DEFINED__
- #define __INetConnectionManager_FWD_DEFINED__
- typedef interface INetConnectionManager INetConnectionManager;
- #endif /* __INetConnectionManager_FWD_DEFINED__ */
- #ifndef __INetConnectionManagerEvents_FWD_DEFINED__
- #define __INetConnectionManagerEvents_FWD_DEFINED__
- typedef interface INetConnectionManagerEvents INetConnectionManagerEvents;
- #endif /* __INetConnectionManagerEvents_FWD_DEFINED__ */
- #ifndef __INetConnectionConnectUi_FWD_DEFINED__
- #define __INetConnectionConnectUi_FWD_DEFINED__
- typedef interface INetConnectionConnectUi INetConnectionConnectUi;
- #endif /* __INetConnectionConnectUi_FWD_DEFINED__ */
- #ifndef __INetConnectionPropertyUi_FWD_DEFINED__
- #define __INetConnectionPropertyUi_FWD_DEFINED__
- typedef interface INetConnectionPropertyUi INetConnectionPropertyUi;
- #endif /* __INetConnectionPropertyUi_FWD_DEFINED__ */
- #ifndef __INetConnectionPropertyUi2_FWD_DEFINED__
- #define __INetConnectionPropertyUi2_FWD_DEFINED__
- typedef interface INetConnectionPropertyUi2 INetConnectionPropertyUi2;
- #endif /* __INetConnectionPropertyUi2_FWD_DEFINED__ */
- #ifndef __INetConnectionCommonUi_FWD_DEFINED__
- #define __INetConnectionCommonUi_FWD_DEFINED__
- typedef interface INetConnectionCommonUi INetConnectionCommonUi;
- #endif /* __INetConnectionCommonUi_FWD_DEFINED__ */
- #ifndef __IEnumNetSharingPortMapping_FWD_DEFINED__
- #define __IEnumNetSharingPortMapping_FWD_DEFINED__
- typedef interface IEnumNetSharingPortMapping IEnumNetSharingPortMapping;
- #endif /* __IEnumNetSharingPortMapping_FWD_DEFINED__ */
- #ifndef __INetSharingPortMappingProps_FWD_DEFINED__
- #define __INetSharingPortMappingProps_FWD_DEFINED__
- typedef interface INetSharingPortMappingProps INetSharingPortMappingProps;
- #endif /* __INetSharingPortMappingProps_FWD_DEFINED__ */
- #ifndef __INetSharingPortMapping_FWD_DEFINED__
- #define __INetSharingPortMapping_FWD_DEFINED__
- typedef interface INetSharingPortMapping INetSharingPortMapping;
- #endif /* __INetSharingPortMapping_FWD_DEFINED__ */
- #ifndef __IEnumNetSharingEveryConnection_FWD_DEFINED__
- #define __IEnumNetSharingEveryConnection_FWD_DEFINED__
- typedef interface IEnumNetSharingEveryConnection IEnumNetSharingEveryConnection;
- #endif /* __IEnumNetSharingEveryConnection_FWD_DEFINED__ */
- #ifndef __IEnumNetSharingPublicConnection_FWD_DEFINED__
- #define __IEnumNetSharingPublicConnection_FWD_DEFINED__
- typedef interface IEnumNetSharingPublicConnection IEnumNetSharingPublicConnection;
- #endif /* __IEnumNetSharingPublicConnection_FWD_DEFINED__ */
- #ifndef __IEnumNetSharingPrivateConnection_FWD_DEFINED__
- #define __IEnumNetSharingPrivateConnection_FWD_DEFINED__
- typedef interface IEnumNetSharingPrivateConnection IEnumNetSharingPrivateConnection;
- #endif /* __IEnumNetSharingPrivateConnection_FWD_DEFINED__ */
- #ifndef __INetSharingPortMappingCollection_FWD_DEFINED__
- #define __INetSharingPortMappingCollection_FWD_DEFINED__
- typedef interface INetSharingPortMappingCollection INetSharingPortMappingCollection;
- #endif /* __INetSharingPortMappingCollection_FWD_DEFINED__ */
- #ifndef __INetConnectionProps_FWD_DEFINED__
- #define __INetConnectionProps_FWD_DEFINED__
- typedef interface INetConnectionProps INetConnectionProps;
- #endif /* __INetConnectionProps_FWD_DEFINED__ */
- #ifndef __INetSharingConfiguration_FWD_DEFINED__
- #define __INetSharingConfiguration_FWD_DEFINED__
- typedef interface INetSharingConfiguration INetSharingConfiguration;
- #endif /* __INetSharingConfiguration_FWD_DEFINED__ */
- #ifndef __INetSharingEveryConnectionCollection_FWD_DEFINED__
- #define __INetSharingEveryConnectionCollection_FWD_DEFINED__
- typedef interface INetSharingEveryConnectionCollection INetSharingEveryConnectionCollection;
- #endif /* __INetSharingEveryConnectionCollection_FWD_DEFINED__ */
- #ifndef __INetSharingPublicConnectionCollection_FWD_DEFINED__
- #define __INetSharingPublicConnectionCollection_FWD_DEFINED__
- typedef interface INetSharingPublicConnectionCollection INetSharingPublicConnectionCollection;
- #endif /* __INetSharingPublicConnectionCollection_FWD_DEFINED__ */
- #ifndef __INetSharingPrivateConnectionCollection_FWD_DEFINED__
- #define __INetSharingPrivateConnectionCollection_FWD_DEFINED__
- typedef interface INetSharingPrivateConnectionCollection INetSharingPrivateConnectionCollection;
- #endif /* __INetSharingPrivateConnectionCollection_FWD_DEFINED__ */
- #ifndef __INetSharingManager_FWD_DEFINED__
- #define __INetSharingManager_FWD_DEFINED__
- typedef interface INetSharingManager INetSharingManager;
- #endif /* __INetSharingManager_FWD_DEFINED__ */
- #ifndef __NetSharingManager_FWD_DEFINED__
- #define __NetSharingManager_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class NetSharingManager NetSharingManager;
- #else
- typedef struct NetSharingManager NetSharingManager;
- #endif /* __cplusplus */
- #endif /* __NetSharingManager_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "prsht.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- /* interface __MIDL_itf_netcon_0000 */
- /* [local] */
- //+-------------------------------------------------------------------------
- //
- // Microsoft Windows
- // Copyright (c) Microsoft Corporation. All rights reserved.
- //
- //--------------------------------------------------------------------------
- #if ( _MSC_VER >= 800 )
- #pragma warning(disable:4201)
- #endif
- EXTERN_C const CLSID CLSID_ConnectionManager;
- EXTERN_C const CLSID CLSID_ConnectionCommonUi;
- EXTERN_C const CLSID CLSID_NetSharingManager;
- //These strings reference the HKEY_CURRENT_USER registry which
- //retains whether shortcuts are created on the desktop.
- #define NETCON_HKEYCURRENTUSERPATH TEXT("Software\\Microsoft\\Windows NT\\CurrentVersion\\Network\\Network Connections")
- #define NETCON_DESKTOPSHORTCUT TEXT("DesktopShortcut")
- #define NETCON_MAX_NAME_LEN 246
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0000_v0_0_s_ifspec;
- #ifndef __IEnumNetConnection_INTERFACE_DEFINED__
- #define __IEnumNetConnection_INTERFACE_DEFINED__
- /* interface IEnumNetConnection */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumNetConnection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956A0-1CD3-11D1-B1C5-00805FC1270E")
- IEnumNetConnection : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ INetConnection **rgelt,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumNetConnection **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumNetConnectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumNetConnection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumNetConnection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumNetConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumNetConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ INetConnection **rgelt,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumNetConnection * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumNetConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumNetConnection * This,
- /* [out] */ IEnumNetConnection **ppenum);
-
- END_INTERFACE
- } IEnumNetConnectionVtbl;
- interface IEnumNetConnection
- {
- CONST_VTBL struct IEnumNetConnectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumNetConnection_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumNetConnection_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumNetConnection_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumNetConnection_Next(This,celt,rgelt,pceltFetched) \
- (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
- #define IEnumNetConnection_Skip(This,celt) \
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumNetConnection_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumNetConnection_Clone(This,ppenum) \
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumNetConnection_Next_Proxy(
- IEnumNetConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ INetConnection **rgelt,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumNetConnection_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetConnection_Skip_Proxy(
- IEnumNetConnection * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumNetConnection_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetConnection_Reset_Proxy(
- IEnumNetConnection * This);
- void __RPC_STUB IEnumNetConnection_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetConnection_Clone_Proxy(
- IEnumNetConnection * This,
- /* [out] */ IEnumNetConnection **ppenum);
- void __RPC_STUB IEnumNetConnection_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumNetConnection_INTERFACE_DEFINED__ */
- #ifndef __INetConnection_INTERFACE_DEFINED__
- #define __INetConnection_INTERFACE_DEFINED__
- /* interface INetConnection */
- /* [unique][uuid][object] */
- typedef
- enum tagNETCON_CHARACTERISTIC_FLAGS
- { NCCF_NONE = 0,
- NCCF_ALL_USERS = 0x1,
- NCCF_ALLOW_DUPLICATION = 0x2,
- NCCF_ALLOW_REMOVAL = 0x4,
- NCCF_ALLOW_RENAME = 0x8,
- NCCF_SHOW_ICON = 0x10,
- NCCF_INCOMING_ONLY = 0x20,
- NCCF_OUTGOING_ONLY = 0x40,
- NCCF_BRANDED = 0x80,
- NCCF_SHARED = 0x100,
- NCCF_BRIDGED = 0x200,
- NCCF_FIREWALLED = 0x400,
- NCCF_DEFAULT = 0x800,
- NCCF_HOMENET_CAPABLE = 0x1000,
- NCCF_SHARED_PRIVATE = 0x2000,
- NCCF_QUARANTINED = 0x4000,
- NCCF_RESERVED = 0x8000,
- NCCF_BLUETOOTH_MASK = 0xf0000,
- NCCF_LAN_MASK = 0xf00000
- } NETCON_CHARACTERISTIC_FLAGS;
- typedef
- enum tagNETCON_STATUS
- { NCS_DISCONNECTED = 0,
- NCS_CONNECTING = NCS_DISCONNECTED + 1,
- NCS_CONNECTED = NCS_CONNECTING + 1,
- NCS_DISCONNECTING = NCS_CONNECTED + 1,
- NCS_HARDWARE_NOT_PRESENT = NCS_DISCONNECTING + 1,
- NCS_HARDWARE_DISABLED = NCS_HARDWARE_NOT_PRESENT + 1,
- NCS_HARDWARE_MALFUNCTION = NCS_HARDWARE_DISABLED + 1,
- NCS_MEDIA_DISCONNECTED = NCS_HARDWARE_MALFUNCTION + 1,
- NCS_AUTHENTICATING = NCS_MEDIA_DISCONNECTED + 1,
- NCS_AUTHENTICATION_SUCCEEDED = NCS_AUTHENTICATING + 1,
- NCS_AUTHENTICATION_FAILED = NCS_AUTHENTICATION_SUCCEEDED + 1,
- NCS_INVALID_ADDRESS = NCS_AUTHENTICATION_FAILED + 1,
- NCS_CREDENTIALS_REQUIRED = NCS_INVALID_ADDRESS + 1
- } NETCON_STATUS;
- typedef
- enum tagNETCON_TYPE
- { NCT_DIRECT_CONNECT = 0,
- NCT_INBOUND = NCT_DIRECT_CONNECT + 1,
- NCT_INTERNET = NCT_INBOUND + 1,
- NCT_LAN = NCT_INTERNET + 1,
- NCT_PHONE = NCT_LAN + 1,
- NCT_TUNNEL = NCT_PHONE + 1,
- NCT_BRIDGE = NCT_TUNNEL + 1
- } NETCON_TYPE;
- typedef
- enum tagNETCON_MEDIATYPE
- { NCM_NONE = 0,
- NCM_DIRECT = NCM_NONE + 1,
- NCM_ISDN = NCM_DIRECT + 1,
- NCM_LAN = NCM_ISDN + 1,
- NCM_PHONE = NCM_LAN + 1,
- NCM_TUNNEL = NCM_PHONE + 1,
- NCM_PPPOE = NCM_TUNNEL + 1,
- NCM_BRIDGE = NCM_PPPOE + 1,
- NCM_SHAREDACCESSHOST_LAN = NCM_BRIDGE + 1,
- NCM_SHAREDACCESSHOST_RAS = NCM_SHAREDACCESSHOST_LAN + 1
- } NETCON_MEDIATYPE;
- typedef struct tagNETCON_PROPERTIES
- {
- GUID guidId;
- /* [string] */ LPWSTR pszwName;
- /* [string] */ LPWSTR pszwDeviceName;
- NETCON_STATUS Status;
- NETCON_MEDIATYPE MediaType;
- DWORD dwCharacter;
- CLSID clsidThisObject;
- CLSID clsidUiObject;
- } NETCON_PROPERTIES;
- #define S_OBJECT_NO_LONGER_VALID ((HRESULT)0x00000002L)
- EXTERN_C const IID IID_INetConnection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956A1-1CD3-11D1-B1C5-00805FC1270E")
- INetConnection : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Connect( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Disconnect( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Delete( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Duplicate(
- /* [string][in] */ LPCWSTR pszwDuplicateName,
- /* [out] */ INetConnection **ppCon) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetProperties(
- /* [out] */ NETCON_PROPERTIES **ppProps) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetUiObjectClassId(
- /* [ref][out] */ CLSID *pclsid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Rename(
- /* [string][in] */ LPCWSTR pszwNewName) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Connect )(
- INetConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Disconnect )(
- INetConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Delete )(
- INetConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Duplicate )(
- INetConnection * This,
- /* [string][in] */ LPCWSTR pszwDuplicateName,
- /* [out] */ INetConnection **ppCon);
-
- HRESULT ( STDMETHODCALLTYPE *GetProperties )(
- INetConnection * This,
- /* [out] */ NETCON_PROPERTIES **ppProps);
-
- HRESULT ( STDMETHODCALLTYPE *GetUiObjectClassId )(
- INetConnection * This,
- /* [ref][out] */ CLSID *pclsid);
-
- HRESULT ( STDMETHODCALLTYPE *Rename )(
- INetConnection * This,
- /* [string][in] */ LPCWSTR pszwNewName);
-
- END_INTERFACE
- } INetConnectionVtbl;
- interface INetConnection
- {
- CONST_VTBL struct INetConnectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnection_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnection_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetConnection_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetConnection_Connect(This) \
- (This)->lpVtbl -> Connect(This)
- #define INetConnection_Disconnect(This) \
- (This)->lpVtbl -> Disconnect(This)
- #define INetConnection_Delete(This) \
- (This)->lpVtbl -> Delete(This)
- #define INetConnection_Duplicate(This,pszwDuplicateName,ppCon) \
- (This)->lpVtbl -> Duplicate(This,pszwDuplicateName,ppCon)
- #define INetConnection_GetProperties(This,ppProps) \
- (This)->lpVtbl -> GetProperties(This,ppProps)
- #define INetConnection_GetUiObjectClassId(This,pclsid) \
- (This)->lpVtbl -> GetUiObjectClassId(This,pclsid)
- #define INetConnection_Rename(This,pszwNewName) \
- (This)->lpVtbl -> Rename(This,pszwNewName)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnection_Connect_Proxy(
- INetConnection * This);
- void __RPC_STUB INetConnection_Connect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnection_Disconnect_Proxy(
- INetConnection * This);
- void __RPC_STUB INetConnection_Disconnect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnection_Delete_Proxy(
- INetConnection * This);
- void __RPC_STUB INetConnection_Delete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnection_Duplicate_Proxy(
- INetConnection * This,
- /* [string][in] */ LPCWSTR pszwDuplicateName,
- /* [out] */ INetConnection **ppCon);
- void __RPC_STUB INetConnection_Duplicate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnection_GetProperties_Proxy(
- INetConnection * This,
- /* [out] */ NETCON_PROPERTIES **ppProps);
- void __RPC_STUB INetConnection_GetProperties_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnection_GetUiObjectClassId_Proxy(
- INetConnection * This,
- /* [ref][out] */ CLSID *pclsid);
- void __RPC_STUB INetConnection_GetUiObjectClassId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnection_Rename_Proxy(
- INetConnection * This,
- /* [string][in] */ LPCWSTR pszwNewName);
- void __RPC_STUB INetConnection_Rename_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnection_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_netcon_0116 */
- /* [local] */
- STDAPI_(VOID) NcFreeNetconProperties (NETCON_PROPERTIES* pProps);
- STDAPI_(BOOL) NcIsValidConnectionName (PCWSTR pszwName);
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0116_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0116_v0_0_s_ifspec;
- #ifndef __INetConnectionManager_INTERFACE_DEFINED__
- #define __INetConnectionManager_INTERFACE_DEFINED__
- /* interface INetConnectionManager */
- /* [unique][uuid][object] */
- typedef
- enum tagNETCONMGR_ENUM_FLAGS
- { NCME_DEFAULT = 0
- } NETCONMGR_ENUM_FLAGS;
- EXTERN_C const IID IID_INetConnectionManager;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956A2-1CD3-11D1-B1C5-00805FC1270E")
- INetConnectionManager : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE EnumConnections(
- /* [in] */ NETCONMGR_ENUM_FLAGS Flags,
- /* [out] */ IEnumNetConnection **ppEnum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionManagerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionManager * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionManager * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionManager * This);
-
- HRESULT ( STDMETHODCALLTYPE *EnumConnections )(
- INetConnectionManager * This,
- /* [in] */ NETCONMGR_ENUM_FLAGS Flags,
- /* [out] */ IEnumNetConnection **ppEnum);
-
- END_INTERFACE
- } INetConnectionManagerVtbl;
- interface INetConnectionManager
- {
- CONST_VTBL struct INetConnectionManagerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionManager_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionManager_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionManager_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetConnectionManager_EnumConnections(This,Flags,ppEnum) \
- (This)->lpVtbl -> EnumConnections(This,Flags,ppEnum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnectionManager_EnumConnections_Proxy(
- INetConnectionManager * This,
- /* [in] */ NETCONMGR_ENUM_FLAGS Flags,
- /* [out] */ IEnumNetConnection **ppEnum);
- void __RPC_STUB INetConnectionManager_EnumConnections_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionManager_INTERFACE_DEFINED__ */
- #ifndef __INetConnectionManagerEvents_INTERFACE_DEFINED__
- #define __INetConnectionManagerEvents_INTERFACE_DEFINED__
- /* interface INetConnectionManagerEvents */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_INetConnectionManagerEvents;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956BA-1CD3-11D1-B1C5-00805FC1270E")
- INetConnectionManagerEvents : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE RefreshConnections( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Enable( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Disable(
- /* [in] */ ULONG ulDisableTimeout) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionManagerEventsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionManagerEvents * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionManagerEvents * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionManagerEvents * This);
-
- HRESULT ( STDMETHODCALLTYPE *RefreshConnections )(
- INetConnectionManagerEvents * This);
-
- HRESULT ( STDMETHODCALLTYPE *Enable )(
- INetConnectionManagerEvents * This);
-
- HRESULT ( STDMETHODCALLTYPE *Disable )(
- INetConnectionManagerEvents * This,
- /* [in] */ ULONG ulDisableTimeout);
-
- END_INTERFACE
- } INetConnectionManagerEventsVtbl;
- interface INetConnectionManagerEvents
- {
- CONST_VTBL struct INetConnectionManagerEventsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionManagerEvents_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionManagerEvents_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionManagerEvents_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetConnectionManagerEvents_RefreshConnections(This) \
- (This)->lpVtbl -> RefreshConnections(This)
- #define INetConnectionManagerEvents_Enable(This) \
- (This)->lpVtbl -> Enable(This)
- #define INetConnectionManagerEvents_Disable(This,ulDisableTimeout) \
- (This)->lpVtbl -> Disable(This,ulDisableTimeout)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnectionManagerEvents_RefreshConnections_Proxy(
- INetConnectionManagerEvents * This);
- void __RPC_STUB INetConnectionManagerEvents_RefreshConnections_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionManagerEvents_Enable_Proxy(
- INetConnectionManagerEvents * This);
- void __RPC_STUB INetConnectionManagerEvents_Enable_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionManagerEvents_Disable_Proxy(
- INetConnectionManagerEvents * This,
- /* [in] */ ULONG ulDisableTimeout);
- void __RPC_STUB INetConnectionManagerEvents_Disable_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionManagerEvents_INTERFACE_DEFINED__ */
- #ifndef __INetConnectionConnectUi_INTERFACE_DEFINED__
- #define __INetConnectionConnectUi_INTERFACE_DEFINED__
- /* interface INetConnectionConnectUi */
- /* [unique][uuid][object][local] */
- typedef
- enum tagNETCONUI_CONNECT_FLAGS
- { NCUC_DEFAULT = 0,
- NCUC_NO_UI = 0x1,
- NCUC_ENABLE_DISABLE = 0x2
- } NETCONUI_CONNECT_FLAGS;
- EXTERN_C const IID IID_INetConnectionConnectUi;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956A3-1CD3-11D1-B1C5-00805FC1270E")
- INetConnectionConnectUi : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetConnection(
- /* [in] */ INetConnection *pCon) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Connect(
- /* [in] */ HWND hwndParent,
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Disconnect(
- /* [in] */ HWND hwndParent,
- /* [in] */ DWORD dwFlags) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionConnectUiVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionConnectUi * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionConnectUi * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionConnectUi * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetConnection )(
- INetConnectionConnectUi * This,
- /* [in] */ INetConnection *pCon);
-
- HRESULT ( STDMETHODCALLTYPE *Connect )(
- INetConnectionConnectUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *Disconnect )(
- INetConnectionConnectUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ DWORD dwFlags);
-
- END_INTERFACE
- } INetConnectionConnectUiVtbl;
- interface INetConnectionConnectUi
- {
- CONST_VTBL struct INetConnectionConnectUiVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionConnectUi_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionConnectUi_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionConnectUi_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetConnectionConnectUi_SetConnection(This,pCon) \
- (This)->lpVtbl -> SetConnection(This,pCon)
- #define INetConnectionConnectUi_Connect(This,hwndParent,dwFlags) \
- (This)->lpVtbl -> Connect(This,hwndParent,dwFlags)
- #define INetConnectionConnectUi_Disconnect(This,hwndParent,dwFlags) \
- (This)->lpVtbl -> Disconnect(This,hwndParent,dwFlags)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnectionConnectUi_SetConnection_Proxy(
- INetConnectionConnectUi * This,
- /* [in] */ INetConnection *pCon);
- void __RPC_STUB INetConnectionConnectUi_SetConnection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionConnectUi_Connect_Proxy(
- INetConnectionConnectUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB INetConnectionConnectUi_Connect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionConnectUi_Disconnect_Proxy(
- INetConnectionConnectUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB INetConnectionConnectUi_Disconnect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionConnectUi_INTERFACE_DEFINED__ */
- #ifndef __INetConnectionPropertyUi_INTERFACE_DEFINED__
- #define __INetConnectionPropertyUi_INTERFACE_DEFINED__
- /* interface INetConnectionPropertyUi */
- /* [unique][uuid][object][local] */
- EXTERN_C const IID IID_INetConnectionPropertyUi;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956A4-1CD3-11D1-B1C5-00805FC1270E")
- INetConnectionPropertyUi : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetConnection(
- /* [in] */ INetConnection *pCon) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddPages(
- /* [in] */ HWND hwndParent,
- /* [in] */ LPFNADDPROPSHEETPAGE pfnAddPage,
- /* [in] */ LPARAM lParam) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionPropertyUiVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionPropertyUi * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionPropertyUi * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionPropertyUi * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetConnection )(
- INetConnectionPropertyUi * This,
- /* [in] */ INetConnection *pCon);
-
- HRESULT ( STDMETHODCALLTYPE *AddPages )(
- INetConnectionPropertyUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ LPFNADDPROPSHEETPAGE pfnAddPage,
- /* [in] */ LPARAM lParam);
-
- END_INTERFACE
- } INetConnectionPropertyUiVtbl;
- interface INetConnectionPropertyUi
- {
- CONST_VTBL struct INetConnectionPropertyUiVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionPropertyUi_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionPropertyUi_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionPropertyUi_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetConnectionPropertyUi_SetConnection(This,pCon) \
- (This)->lpVtbl -> SetConnection(This,pCon)
- #define INetConnectionPropertyUi_AddPages(This,hwndParent,pfnAddPage,lParam) \
- (This)->lpVtbl -> AddPages(This,hwndParent,pfnAddPage,lParam)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnectionPropertyUi_SetConnection_Proxy(
- INetConnectionPropertyUi * This,
- /* [in] */ INetConnection *pCon);
- void __RPC_STUB INetConnectionPropertyUi_SetConnection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionPropertyUi_AddPages_Proxy(
- INetConnectionPropertyUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ LPFNADDPROPSHEETPAGE pfnAddPage,
- /* [in] */ LPARAM lParam);
- void __RPC_STUB INetConnectionPropertyUi_AddPages_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionPropertyUi_INTERFACE_DEFINED__ */
- #ifndef __INetConnectionPropertyUi2_INTERFACE_DEFINED__
- #define __INetConnectionPropertyUi2_INTERFACE_DEFINED__
- /* interface INetConnectionPropertyUi2 */
- /* [unique][uuid][object][local] */
- EXTERN_C const IID IID_INetConnectionPropertyUi2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B9-1CD3-11D1-B1C5-00805FC1270E")
- INetConnectionPropertyUi2 : public INetConnectionPropertyUi
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetIcon(
- /* [in] */ DWORD dwSize,
- /* [out] */ HICON *phIcon) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionPropertyUi2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionPropertyUi2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionPropertyUi2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionPropertyUi2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetConnection )(
- INetConnectionPropertyUi2 * This,
- /* [in] */ INetConnection *pCon);
-
- HRESULT ( STDMETHODCALLTYPE *AddPages )(
- INetConnectionPropertyUi2 * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ LPFNADDPROPSHEETPAGE pfnAddPage,
- /* [in] */ LPARAM lParam);
-
- HRESULT ( STDMETHODCALLTYPE *GetIcon )(
- INetConnectionPropertyUi2 * This,
- /* [in] */ DWORD dwSize,
- /* [out] */ HICON *phIcon);
-
- END_INTERFACE
- } INetConnectionPropertyUi2Vtbl;
- interface INetConnectionPropertyUi2
- {
- CONST_VTBL struct INetConnectionPropertyUi2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionPropertyUi2_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionPropertyUi2_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionPropertyUi2_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetConnectionPropertyUi2_SetConnection(This,pCon) \
- (This)->lpVtbl -> SetConnection(This,pCon)
- #define INetConnectionPropertyUi2_AddPages(This,hwndParent,pfnAddPage,lParam) \
- (This)->lpVtbl -> AddPages(This,hwndParent,pfnAddPage,lParam)
- #define INetConnectionPropertyUi2_GetIcon(This,dwSize,phIcon) \
- (This)->lpVtbl -> GetIcon(This,dwSize,phIcon)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnectionPropertyUi2_GetIcon_Proxy(
- INetConnectionPropertyUi2 * This,
- /* [in] */ DWORD dwSize,
- /* [out] */ HICON *phIcon);
- void __RPC_STUB INetConnectionPropertyUi2_GetIcon_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionPropertyUi2_INTERFACE_DEFINED__ */
- #ifndef __INetConnectionCommonUi_INTERFACE_DEFINED__
- #define __INetConnectionCommonUi_INTERFACE_DEFINED__
- /* interface INetConnectionCommonUi */
- /* [unique][uuid][object][local] */
- typedef
- enum tagNETCON_CHOOSEFLAGS
- { NCCHF_CONNECT = 0x1,
- NCCHF_CAPTION = 0x2,
- NCCHF_OKBTTNTEXT = 0x4,
- NCCHF_DISABLENEW = 0x8,
- NCCHF_AUTOSELECT = 0x10
- } NETCON_CHOOSEFLAGS;
- typedef
- enum tagNETCON_CHOOSETYPE
- { NCCHT_DIRECT_CONNECT = 0x1,
- NCCHT_LAN = 0x2,
- NCCHT_PHONE = 0x4,
- NCCHT_TUNNEL = 0x8,
- NCCHT_ISDN = 0x10,
- NCCHT_ALL = 0x1f
- } NETCON_CHOOSETYPE;
- typedef struct tagNETCON_CHOOSECONN
- {
- DWORD lStructSize;
- HWND hwndParent;
- DWORD dwFlags;
- DWORD dwTypeMask;
- LPCWSTR lpstrCaption;
- LPCWSTR lpstrOkBttnText;
- } NETCON_CHOOSECONN;
- EXTERN_C const IID IID_INetConnectionCommonUi;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956A5-1CD3-11D1-B1C5-00805FC1270E")
- INetConnectionCommonUi : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE ChooseConnection(
- /* [in] */ NETCON_CHOOSECONN *pChooseConn,
- /* [out] */ INetConnection **ppCon) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShowConnectionProperties(
- /* [in] */ HWND hwndParent,
- /* [in] */ INetConnection *pCon) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE StartNewConnectionWizard(
- /* [in] */ HWND hwndParent,
- /* [out] */ INetConnection **ppCon) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionCommonUiVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionCommonUi * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionCommonUi * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionCommonUi * This);
-
- HRESULT ( STDMETHODCALLTYPE *ChooseConnection )(
- INetConnectionCommonUi * This,
- /* [in] */ NETCON_CHOOSECONN *pChooseConn,
- /* [out] */ INetConnection **ppCon);
-
- HRESULT ( STDMETHODCALLTYPE *ShowConnectionProperties )(
- INetConnectionCommonUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ INetConnection *pCon);
-
- HRESULT ( STDMETHODCALLTYPE *StartNewConnectionWizard )(
- INetConnectionCommonUi * This,
- /* [in] */ HWND hwndParent,
- /* [out] */ INetConnection **ppCon);
-
- END_INTERFACE
- } INetConnectionCommonUiVtbl;
- interface INetConnectionCommonUi
- {
- CONST_VTBL struct INetConnectionCommonUiVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionCommonUi_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionCommonUi_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionCommonUi_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetConnectionCommonUi_ChooseConnection(This,pChooseConn,ppCon) \
- (This)->lpVtbl -> ChooseConnection(This,pChooseConn,ppCon)
- #define INetConnectionCommonUi_ShowConnectionProperties(This,hwndParent,pCon) \
- (This)->lpVtbl -> ShowConnectionProperties(This,hwndParent,pCon)
- #define INetConnectionCommonUi_StartNewConnectionWizard(This,hwndParent,ppCon) \
- (This)->lpVtbl -> StartNewConnectionWizard(This,hwndParent,ppCon)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnectionCommonUi_ChooseConnection_Proxy(
- INetConnectionCommonUi * This,
- /* [in] */ NETCON_CHOOSECONN *pChooseConn,
- /* [out] */ INetConnection **ppCon);
- void __RPC_STUB INetConnectionCommonUi_ChooseConnection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionCommonUi_ShowConnectionProperties_Proxy(
- INetConnectionCommonUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ INetConnection *pCon);
- void __RPC_STUB INetConnectionCommonUi_ShowConnectionProperties_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionCommonUi_StartNewConnectionWizard_Proxy(
- INetConnectionCommonUi * This,
- /* [in] */ HWND hwndParent,
- /* [out] */ INetConnection **ppCon);
- void __RPC_STUB INetConnectionCommonUi_StartNewConnectionWizard_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionCommonUi_INTERFACE_DEFINED__ */
- #ifndef __IEnumNetSharingPortMapping_INTERFACE_DEFINED__
- #define __IEnumNetSharingPortMapping_INTERFACE_DEFINED__
- /* interface IEnumNetSharingPortMapping */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumNetSharingPortMapping;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B0-1CD3-11D1-B1C5-00805FC1270E")
- IEnumNetSharingPortMapping : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumNetSharingPortMapping **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumNetSharingPortMappingVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumNetSharingPortMapping * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumNetSharingPortMapping * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumNetSharingPortMapping * This);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumNetSharingPortMapping * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumNetSharingPortMapping * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumNetSharingPortMapping * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumNetSharingPortMapping * This,
- /* [out] */ IEnumNetSharingPortMapping **ppenum);
-
- END_INTERFACE
- } IEnumNetSharingPortMappingVtbl;
- interface IEnumNetSharingPortMapping
- {
- CONST_VTBL struct IEnumNetSharingPortMappingVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumNetSharingPortMapping_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumNetSharingPortMapping_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumNetSharingPortMapping_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumNetSharingPortMapping_Next(This,celt,rgVar,pceltFetched) \
- (This)->lpVtbl -> Next(This,celt,rgVar,pceltFetched)
- #define IEnumNetSharingPortMapping_Skip(This,celt) \
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumNetSharingPortMapping_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumNetSharingPortMapping_Clone(This,ppenum) \
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPortMapping_Next_Proxy(
- IEnumNetSharingPortMapping * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumNetSharingPortMapping_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPortMapping_Skip_Proxy(
- IEnumNetSharingPortMapping * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumNetSharingPortMapping_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPortMapping_Reset_Proxy(
- IEnumNetSharingPortMapping * This);
- void __RPC_STUB IEnumNetSharingPortMapping_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPortMapping_Clone_Proxy(
- IEnumNetSharingPortMapping * This,
- /* [out] */ IEnumNetSharingPortMapping **ppenum);
- void __RPC_STUB IEnumNetSharingPortMapping_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumNetSharingPortMapping_INTERFACE_DEFINED__ */
- #ifndef __INetSharingPortMappingProps_INTERFACE_DEFINED__
- #define __INetSharingPortMappingProps_INTERFACE_DEFINED__
- /* interface INetSharingPortMappingProps */
- /* [unique][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingPortMappingProps;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("24B7E9B5-E38F-4685-851B-00892CF5F940")
- INetSharingPortMappingProps : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
- /* [retval][out] */ BSTR *pbstrName) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IPProtocol(
- /* [retval][out] */ UCHAR *pucIPProt) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExternalPort(
- /* [retval][out] */ long *pusPort) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InternalPort(
- /* [retval][out] */ long *pusPort) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Options(
- /* [retval][out] */ long *pdwOptions) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TargetName(
- /* [retval][out] */ BSTR *pbstrTargetName) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TargetIPAddress(
- /* [retval][out] */ BSTR *pbstrTargetIPAddress) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Enabled(
- /* [retval][out] */ VARIANT_BOOL *pbool) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingPortMappingPropsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingPortMappingProps * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingPortMappingProps * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingPortMappingProps * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingPortMappingProps * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingPortMappingProps * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingPortMappingProps * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingPortMappingProps * 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_Name )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ BSTR *pbstrName);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IPProtocol )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ UCHAR *pucIPProt);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExternalPort )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ long *pusPort);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InternalPort )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ long *pusPort);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Options )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ long *pdwOptions);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TargetName )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ BSTR *pbstrTargetName);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TargetIPAddress )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ BSTR *pbstrTargetIPAddress);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ VARIANT_BOOL *pbool);
-
- END_INTERFACE
- } INetSharingPortMappingPropsVtbl;
- interface INetSharingPortMappingProps
- {
- CONST_VTBL struct INetSharingPortMappingPropsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingPortMappingProps_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingPortMappingProps_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingPortMappingProps_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetSharingPortMappingProps_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingPortMappingProps_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingPortMappingProps_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingPortMappingProps_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingPortMappingProps_get_Name(This,pbstrName) \
- (This)->lpVtbl -> get_Name(This,pbstrName)
- #define INetSharingPortMappingProps_get_IPProtocol(This,pucIPProt) \
- (This)->lpVtbl -> get_IPProtocol(This,pucIPProt)
- #define INetSharingPortMappingProps_get_ExternalPort(This,pusPort) \
- (This)->lpVtbl -> get_ExternalPort(This,pusPort)
- #define INetSharingPortMappingProps_get_InternalPort(This,pusPort) \
- (This)->lpVtbl -> get_InternalPort(This,pusPort)
- #define INetSharingPortMappingProps_get_Options(This,pdwOptions) \
- (This)->lpVtbl -> get_Options(This,pdwOptions)
- #define INetSharingPortMappingProps_get_TargetName(This,pbstrTargetName) \
- (This)->lpVtbl -> get_TargetName(This,pbstrTargetName)
- #define INetSharingPortMappingProps_get_TargetIPAddress(This,pbstrTargetIPAddress) \
- (This)->lpVtbl -> get_TargetIPAddress(This,pbstrTargetIPAddress)
- #define INetSharingPortMappingProps_get_Enabled(This,pbool) \
- (This)->lpVtbl -> get_Enabled(This,pbool)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_Name_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ BSTR *pbstrName);
- void __RPC_STUB INetSharingPortMappingProps_get_Name_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_IPProtocol_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ UCHAR *pucIPProt);
- void __RPC_STUB INetSharingPortMappingProps_get_IPProtocol_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_ExternalPort_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ long *pusPort);
- void __RPC_STUB INetSharingPortMappingProps_get_ExternalPort_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_InternalPort_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ long *pusPort);
- void __RPC_STUB INetSharingPortMappingProps_get_InternalPort_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_Options_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ long *pdwOptions);
- void __RPC_STUB INetSharingPortMappingProps_get_Options_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_TargetName_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ BSTR *pbstrTargetName);
- void __RPC_STUB INetSharingPortMappingProps_get_TargetName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_TargetIPAddress_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ BSTR *pbstrTargetIPAddress);
- void __RPC_STUB INetSharingPortMappingProps_get_TargetIPAddress_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_Enabled_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ VARIANT_BOOL *pbool);
- void __RPC_STUB INetSharingPortMappingProps_get_Enabled_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingPortMappingProps_INTERFACE_DEFINED__ */
- #ifndef __INetSharingPortMapping_INTERFACE_DEFINED__
- #define __INetSharingPortMapping_INTERFACE_DEFINED__
- /* interface INetSharingPortMapping */
- /* [unique][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingPortMapping;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B1-1CD3-11D1-B1C5-00805FC1270E")
- INetSharingPortMapping : public IDispatch
- {
- public:
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Disable( void) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Enable( void) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Properties(
- /* [retval][out] */ INetSharingPortMappingProps **ppNSPMP) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingPortMappingVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingPortMapping * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingPortMapping * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingPortMapping * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingPortMapping * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingPortMapping * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingPortMapping * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingPortMapping * 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 *Disable )(
- INetSharingPortMapping * This);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Enable )(
- INetSharingPortMapping * This);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
- INetSharingPortMapping * This,
- /* [retval][out] */ INetSharingPortMappingProps **ppNSPMP);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
- INetSharingPortMapping * This);
-
- END_INTERFACE
- } INetSharingPortMappingVtbl;
- interface INetSharingPortMapping
- {
- CONST_VTBL struct INetSharingPortMappingVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingPortMapping_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingPortMapping_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingPortMapping_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetSharingPortMapping_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingPortMapping_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingPortMapping_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingPortMapping_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingPortMapping_Disable(This) \
- (This)->lpVtbl -> Disable(This)
- #define INetSharingPortMapping_Enable(This) \
- (This)->lpVtbl -> Enable(This)
- #define INetSharingPortMapping_get_Properties(This,ppNSPMP) \
- (This)->lpVtbl -> get_Properties(This,ppNSPMP)
- #define INetSharingPortMapping_Delete(This) \
- (This)->lpVtbl -> Delete(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingPortMapping_Disable_Proxy(
- INetSharingPortMapping * This);
- void __RPC_STUB INetSharingPortMapping_Disable_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingPortMapping_Enable_Proxy(
- INetSharingPortMapping * This);
- void __RPC_STUB INetSharingPortMapping_Enable_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMapping_get_Properties_Proxy(
- INetSharingPortMapping * This,
- /* [retval][out] */ INetSharingPortMappingProps **ppNSPMP);
- void __RPC_STUB INetSharingPortMapping_get_Properties_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingPortMapping_Delete_Proxy(
- INetSharingPortMapping * This);
- void __RPC_STUB INetSharingPortMapping_Delete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingPortMapping_INTERFACE_DEFINED__ */
- #ifndef __IEnumNetSharingEveryConnection_INTERFACE_DEFINED__
- #define __IEnumNetSharingEveryConnection_INTERFACE_DEFINED__
- /* interface IEnumNetSharingEveryConnection */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumNetSharingEveryConnection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B8-1CD3-11D1-B1C5-00805FC1270E")
- IEnumNetSharingEveryConnection : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumNetSharingEveryConnection **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumNetSharingEveryConnectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumNetSharingEveryConnection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumNetSharingEveryConnection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumNetSharingEveryConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumNetSharingEveryConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumNetSharingEveryConnection * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumNetSharingEveryConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumNetSharingEveryConnection * This,
- /* [out] */ IEnumNetSharingEveryConnection **ppenum);
-
- END_INTERFACE
- } IEnumNetSharingEveryConnectionVtbl;
- interface IEnumNetSharingEveryConnection
- {
- CONST_VTBL struct IEnumNetSharingEveryConnectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumNetSharingEveryConnection_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumNetSharingEveryConnection_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumNetSharingEveryConnection_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumNetSharingEveryConnection_Next(This,celt,rgVar,pceltFetched) \
- (This)->lpVtbl -> Next(This,celt,rgVar,pceltFetched)
- #define IEnumNetSharingEveryConnection_Skip(This,celt) \
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumNetSharingEveryConnection_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumNetSharingEveryConnection_Clone(This,ppenum) \
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumNetSharingEveryConnection_Next_Proxy(
- IEnumNetSharingEveryConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumNetSharingEveryConnection_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingEveryConnection_Skip_Proxy(
- IEnumNetSharingEveryConnection * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumNetSharingEveryConnection_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingEveryConnection_Reset_Proxy(
- IEnumNetSharingEveryConnection * This);
- void __RPC_STUB IEnumNetSharingEveryConnection_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingEveryConnection_Clone_Proxy(
- IEnumNetSharingEveryConnection * This,
- /* [out] */ IEnumNetSharingEveryConnection **ppenum);
- void __RPC_STUB IEnumNetSharingEveryConnection_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumNetSharingEveryConnection_INTERFACE_DEFINED__ */
- #ifndef __IEnumNetSharingPublicConnection_INTERFACE_DEFINED__
- #define __IEnumNetSharingPublicConnection_INTERFACE_DEFINED__
- /* interface IEnumNetSharingPublicConnection */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumNetSharingPublicConnection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B4-1CD3-11D1-B1C5-00805FC1270E")
- IEnumNetSharingPublicConnection : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumNetSharingPublicConnection **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumNetSharingPublicConnectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumNetSharingPublicConnection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumNetSharingPublicConnection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumNetSharingPublicConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumNetSharingPublicConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumNetSharingPublicConnection * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumNetSharingPublicConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumNetSharingPublicConnection * This,
- /* [out] */ IEnumNetSharingPublicConnection **ppenum);
-
- END_INTERFACE
- } IEnumNetSharingPublicConnectionVtbl;
- interface IEnumNetSharingPublicConnection
- {
- CONST_VTBL struct IEnumNetSharingPublicConnectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumNetSharingPublicConnection_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumNetSharingPublicConnection_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumNetSharingPublicConnection_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumNetSharingPublicConnection_Next(This,celt,rgVar,pceltFetched) \
- (This)->lpVtbl -> Next(This,celt,rgVar,pceltFetched)
- #define IEnumNetSharingPublicConnection_Skip(This,celt) \
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumNetSharingPublicConnection_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumNetSharingPublicConnection_Clone(This,ppenum) \
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPublicConnection_Next_Proxy(
- IEnumNetSharingPublicConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumNetSharingPublicConnection_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPublicConnection_Skip_Proxy(
- IEnumNetSharingPublicConnection * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumNetSharingPublicConnection_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPublicConnection_Reset_Proxy(
- IEnumNetSharingPublicConnection * This);
- void __RPC_STUB IEnumNetSharingPublicConnection_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPublicConnection_Clone_Proxy(
- IEnumNetSharingPublicConnection * This,
- /* [out] */ IEnumNetSharingPublicConnection **ppenum);
- void __RPC_STUB IEnumNetSharingPublicConnection_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumNetSharingPublicConnection_INTERFACE_DEFINED__ */
- #ifndef __IEnumNetSharingPrivateConnection_INTERFACE_DEFINED__
- #define __IEnumNetSharingPrivateConnection_INTERFACE_DEFINED__
- /* interface IEnumNetSharingPrivateConnection */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumNetSharingPrivateConnection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B5-1CD3-11D1-B1C5-00805FC1270E")
- IEnumNetSharingPrivateConnection : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pCeltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumNetSharingPrivateConnection **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumNetSharingPrivateConnectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumNetSharingPrivateConnection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumNetSharingPrivateConnection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumNetSharingPrivateConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumNetSharingPrivateConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pCeltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumNetSharingPrivateConnection * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumNetSharingPrivateConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumNetSharingPrivateConnection * This,
- /* [out] */ IEnumNetSharingPrivateConnection **ppenum);
-
- END_INTERFACE
- } IEnumNetSharingPrivateConnectionVtbl;
- interface IEnumNetSharingPrivateConnection
- {
- CONST_VTBL struct IEnumNetSharingPrivateConnectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumNetSharingPrivateConnection_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumNetSharingPrivateConnection_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IEnumNetSharingPrivateConnection_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IEnumNetSharingPrivateConnection_Next(This,celt,rgVar,pCeltFetched) \
- (This)->lpVtbl -> Next(This,celt,rgVar,pCeltFetched)
- #define IEnumNetSharingPrivateConnection_Skip(This,celt) \
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumNetSharingPrivateConnection_Reset(This) \
- (This)->lpVtbl -> Reset(This)
- #define IEnumNetSharingPrivateConnection_Clone(This,ppenum) \
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPrivateConnection_Next_Proxy(
- IEnumNetSharingPrivateConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pCeltFetched);
- void __RPC_STUB IEnumNetSharingPrivateConnection_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPrivateConnection_Skip_Proxy(
- IEnumNetSharingPrivateConnection * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumNetSharingPrivateConnection_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPrivateConnection_Reset_Proxy(
- IEnumNetSharingPrivateConnection * This);
- void __RPC_STUB IEnumNetSharingPrivateConnection_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPrivateConnection_Clone_Proxy(
- IEnumNetSharingPrivateConnection * This,
- /* [out] */ IEnumNetSharingPrivateConnection **ppenum);
- void __RPC_STUB IEnumNetSharingPrivateConnection_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumNetSharingPrivateConnection_INTERFACE_DEFINED__ */
- #ifndef __INetSharingPortMappingCollection_INTERFACE_DEFINED__
- #define __INetSharingPortMappingCollection_INTERFACE_DEFINED__
- /* interface INetSharingPortMappingCollection */
- /* [unique][helpstring][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingPortMappingCollection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("02E4A2DE-DA20-4E34-89C8-AC22275A010B")
- INetSharingPortMappingCollection : public IDispatch
- {
- public:
- virtual /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ IUnknown **pVal) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *pVal) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingPortMappingCollectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingPortMappingCollection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingPortMappingCollection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingPortMappingCollection * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingPortMappingCollection * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingPortMappingCollection * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingPortMappingCollection * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingPortMappingCollection * 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][restricted][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- INetSharingPortMappingCollection * This,
- /* [retval][out] */ IUnknown **pVal);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- INetSharingPortMappingCollection * This,
- /* [retval][out] */ long *pVal);
-
- END_INTERFACE
- } INetSharingPortMappingCollectionVtbl;
- interface INetSharingPortMappingCollection
- {
- CONST_VTBL struct INetSharingPortMappingCollectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingPortMappingCollection_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingPortMappingCollection_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingPortMappingCollection_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetSharingPortMappingCollection_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingPortMappingCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingPortMappingCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingPortMappingCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingPortMappingCollection_get__NewEnum(This,pVal) \
- (This)->lpVtbl -> get__NewEnum(This,pVal)
- #define INetSharingPortMappingCollection_get_Count(This,pVal) \
- (This)->lpVtbl -> get_Count(This,pVal)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingCollection_get__NewEnum_Proxy(
- INetSharingPortMappingCollection * This,
- /* [retval][out] */ IUnknown **pVal);
- void __RPC_STUB INetSharingPortMappingCollection_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingCollection_get_Count_Proxy(
- INetSharingPortMappingCollection * This,
- /* [retval][out] */ long *pVal);
- void __RPC_STUB INetSharingPortMappingCollection_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingPortMappingCollection_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_netcon_0129 */
- /* [local] */
- // properties for INetConnection (wraps NETCON_PROPERTIES)
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0129_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0129_v0_0_s_ifspec;
- #ifndef __INetConnectionProps_INTERFACE_DEFINED__
- #define __INetConnectionProps_INTERFACE_DEFINED__
- /* interface INetConnectionProps */
- /* [unique][helpstring][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetConnectionProps;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("F4277C95-CE5B-463D-8167-5662D9BCAA72")
- INetConnectionProps : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Guid(
- /* [retval][out] */ BSTR *pbstrGuid) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
- /* [retval][out] */ BSTR *pbstrName) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceName(
- /* [retval][out] */ BSTR *pbstrDeviceName) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Status(
- /* [retval][out] */ NETCON_STATUS *pStatus) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaType(
- /* [retval][out] */ NETCON_MEDIATYPE *pMediaType) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Characteristics(
- /* [retval][out] */ DWORD *pdwFlags) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionPropsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionProps * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionProps * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionProps * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetConnectionProps * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetConnectionProps * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetConnectionProps * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetConnectionProps * 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_Guid )(
- INetConnectionProps * This,
- /* [retval][out] */ BSTR *pbstrGuid);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
- INetConnectionProps * This,
- /* [retval][out] */ BSTR *pbstrName);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceName )(
- INetConnectionProps * This,
- /* [retval][out] */ BSTR *pbstrDeviceName);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
- INetConnectionProps * This,
- /* [retval][out] */ NETCON_STATUS *pStatus);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaType )(
- INetConnectionProps * This,
- /* [retval][out] */ NETCON_MEDIATYPE *pMediaType);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Characteristics )(
- INetConnectionProps * This,
- /* [retval][out] */ DWORD *pdwFlags);
-
- END_INTERFACE
- } INetConnectionPropsVtbl;
- interface INetConnectionProps
- {
- CONST_VTBL struct INetConnectionPropsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionProps_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionProps_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionProps_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetConnectionProps_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetConnectionProps_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetConnectionProps_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetConnectionProps_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetConnectionProps_get_Guid(This,pbstrGuid) \
- (This)->lpVtbl -> get_Guid(This,pbstrGuid)
- #define INetConnectionProps_get_Name(This,pbstrName) \
- (This)->lpVtbl -> get_Name(This,pbstrName)
- #define INetConnectionProps_get_DeviceName(This,pbstrDeviceName) \
- (This)->lpVtbl -> get_DeviceName(This,pbstrDeviceName)
- #define INetConnectionProps_get_Status(This,pStatus) \
- (This)->lpVtbl -> get_Status(This,pStatus)
- #define INetConnectionProps_get_MediaType(This,pMediaType) \
- (This)->lpVtbl -> get_MediaType(This,pMediaType)
- #define INetConnectionProps_get_Characteristics(This,pdwFlags) \
- (This)->lpVtbl -> get_Characteristics(This,pdwFlags)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetConnectionProps_get_Guid_Proxy(
- INetConnectionProps * This,
- /* [retval][out] */ BSTR *pbstrGuid);
- void __RPC_STUB INetConnectionProps_get_Guid_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetConnectionProps_get_Name_Proxy(
- INetConnectionProps * This,
- /* [retval][out] */ BSTR *pbstrName);
- void __RPC_STUB INetConnectionProps_get_Name_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetConnectionProps_get_DeviceName_Proxy(
- INetConnectionProps * This,
- /* [retval][out] */ BSTR *pbstrDeviceName);
- void __RPC_STUB INetConnectionProps_get_DeviceName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetConnectionProps_get_Status_Proxy(
- INetConnectionProps * This,
- /* [retval][out] */ NETCON_STATUS *pStatus);
- void __RPC_STUB INetConnectionProps_get_Status_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetConnectionProps_get_MediaType_Proxy(
- INetConnectionProps * This,
- /* [retval][out] */ NETCON_MEDIATYPE *pMediaType);
- void __RPC_STUB INetConnectionProps_get_MediaType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetConnectionProps_get_Characteristics_Proxy(
- INetConnectionProps * This,
- /* [retval][out] */ DWORD *pdwFlags);
- void __RPC_STUB INetConnectionProps_get_Characteristics_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionProps_INTERFACE_DEFINED__ */
- #ifndef __INetSharingConfiguration_INTERFACE_DEFINED__
- #define __INetSharingConfiguration_INTERFACE_DEFINED__
- /* interface INetSharingConfiguration */
- /* [unique][dual][oleautomation][uuid][object] */
- typedef
- enum tagSHARINGCONNECTIONTYPE
- { ICSSHARINGTYPE_PUBLIC = 0,
- ICSSHARINGTYPE_PRIVATE = ICSSHARINGTYPE_PUBLIC + 1
- } SHARINGCONNECTIONTYPE;
- typedef enum tagSHARINGCONNECTIONTYPE *LPSHARINGCONNECTIONTYPE;
- typedef
- enum tagSHARINGCONNECTION_ENUM_FLAGS
- { ICSSC_DEFAULT = 0,
- ICSSC_ENABLED = ICSSC_DEFAULT + 1
- } SHARINGCONNECTION_ENUM_FLAGS;
- typedef
- enum tagICS_TARGETTYPE
- { ICSTT_NAME = 0,
- ICSTT_IPADDRESS = ICSTT_NAME + 1
- } ICS_TARGETTYPE;
- EXTERN_C const IID IID_INetSharingConfiguration;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B6-1CD3-11D1-B1C5-00805FC1270E")
- INetSharingConfiguration : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SharingEnabled(
- /* [retval][out] */ VARIANT_BOOL *pbEnabled) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SharingConnectionType(
- /* [retval][out] */ SHARINGCONNECTIONTYPE *pType) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DisableSharing( void) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnableSharing(
- /* [in] */ SHARINGCONNECTIONTYPE Type) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InternetFirewallEnabled(
- /* [retval][out] */ VARIANT_BOOL *pbEnabled) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DisableInternetFirewall( void) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnableInternetFirewall( void) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EnumPortMappings(
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPortMappingCollection **ppColl) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddPortMapping(
- /* [in] */ BSTR bstrName,
- /* [in] */ UCHAR ucIPProtocol,
- /* [in] */ USHORT usExternalPort,
- /* [in] */ USHORT usInternalPort,
- /* [in] */ DWORD dwOptions,
- /* [in] */ BSTR bstrTargetNameOrIPAddress,
- /* [in] */ ICS_TARGETTYPE eTargetType,
- /* [retval][out] */ INetSharingPortMapping **ppMapping) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemovePortMapping(
- /* [in] */ INetSharingPortMapping *pMapping) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingConfigurationVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingConfiguration * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingConfiguration * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingConfiguration * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingConfiguration * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingConfiguration * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingConfiguration * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingConfiguration * 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_SharingEnabled )(
- INetSharingConfiguration * This,
- /* [retval][out] */ VARIANT_BOOL *pbEnabled);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SharingConnectionType )(
- INetSharingConfiguration * This,
- /* [retval][out] */ SHARINGCONNECTIONTYPE *pType);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DisableSharing )(
- INetSharingConfiguration * This);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnableSharing )(
- INetSharingConfiguration * This,
- /* [in] */ SHARINGCONNECTIONTYPE Type);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InternetFirewallEnabled )(
- INetSharingConfiguration * This,
- /* [retval][out] */ VARIANT_BOOL *pbEnabled);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DisableInternetFirewall )(
- INetSharingConfiguration * This);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnableInternetFirewall )(
- INetSharingConfiguration * This);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnumPortMappings )(
- INetSharingConfiguration * This,
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPortMappingCollection **ppColl);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddPortMapping )(
- INetSharingConfiguration * This,
- /* [in] */ BSTR bstrName,
- /* [in] */ UCHAR ucIPProtocol,
- /* [in] */ USHORT usExternalPort,
- /* [in] */ USHORT usInternalPort,
- /* [in] */ DWORD dwOptions,
- /* [in] */ BSTR bstrTargetNameOrIPAddress,
- /* [in] */ ICS_TARGETTYPE eTargetType,
- /* [retval][out] */ INetSharingPortMapping **ppMapping);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemovePortMapping )(
- INetSharingConfiguration * This,
- /* [in] */ INetSharingPortMapping *pMapping);
-
- END_INTERFACE
- } INetSharingConfigurationVtbl;
- interface INetSharingConfiguration
- {
- CONST_VTBL struct INetSharingConfigurationVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingConfiguration_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingConfiguration_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingConfiguration_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetSharingConfiguration_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingConfiguration_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingConfiguration_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingConfiguration_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingConfiguration_get_SharingEnabled(This,pbEnabled) \
- (This)->lpVtbl -> get_SharingEnabled(This,pbEnabled)
- #define INetSharingConfiguration_get_SharingConnectionType(This,pType) \
- (This)->lpVtbl -> get_SharingConnectionType(This,pType)
- #define INetSharingConfiguration_DisableSharing(This) \
- (This)->lpVtbl -> DisableSharing(This)
- #define INetSharingConfiguration_EnableSharing(This,Type) \
- (This)->lpVtbl -> EnableSharing(This,Type)
- #define INetSharingConfiguration_get_InternetFirewallEnabled(This,pbEnabled) \
- (This)->lpVtbl -> get_InternetFirewallEnabled(This,pbEnabled)
- #define INetSharingConfiguration_DisableInternetFirewall(This) \
- (This)->lpVtbl -> DisableInternetFirewall(This)
- #define INetSharingConfiguration_EnableInternetFirewall(This) \
- (This)->lpVtbl -> EnableInternetFirewall(This)
- #define INetSharingConfiguration_get_EnumPortMappings(This,Flags,ppColl) \
- (This)->lpVtbl -> get_EnumPortMappings(This,Flags,ppColl)
- #define INetSharingConfiguration_AddPortMapping(This,bstrName,ucIPProtocol,usExternalPort,usInternalPort,dwOptions,bstrTargetNameOrIPAddress,eTargetType,ppMapping) \
- (This)->lpVtbl -> AddPortMapping(This,bstrName,ucIPProtocol,usExternalPort,usInternalPort,dwOptions,bstrTargetNameOrIPAddress,eTargetType,ppMapping)
- #define INetSharingConfiguration_RemovePortMapping(This,pMapping) \
- (This)->lpVtbl -> RemovePortMapping(This,pMapping)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_get_SharingEnabled_Proxy(
- INetSharingConfiguration * This,
- /* [retval][out] */ VARIANT_BOOL *pbEnabled);
- void __RPC_STUB INetSharingConfiguration_get_SharingEnabled_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_get_SharingConnectionType_Proxy(
- INetSharingConfiguration * This,
- /* [retval][out] */ SHARINGCONNECTIONTYPE *pType);
- void __RPC_STUB INetSharingConfiguration_get_SharingConnectionType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_DisableSharing_Proxy(
- INetSharingConfiguration * This);
- void __RPC_STUB INetSharingConfiguration_DisableSharing_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_EnableSharing_Proxy(
- INetSharingConfiguration * This,
- /* [in] */ SHARINGCONNECTIONTYPE Type);
- void __RPC_STUB INetSharingConfiguration_EnableSharing_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_get_InternetFirewallEnabled_Proxy(
- INetSharingConfiguration * This,
- /* [retval][out] */ VARIANT_BOOL *pbEnabled);
- void __RPC_STUB INetSharingConfiguration_get_InternetFirewallEnabled_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_DisableInternetFirewall_Proxy(
- INetSharingConfiguration * This);
- void __RPC_STUB INetSharingConfiguration_DisableInternetFirewall_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_EnableInternetFirewall_Proxy(
- INetSharingConfiguration * This);
- void __RPC_STUB INetSharingConfiguration_EnableInternetFirewall_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_get_EnumPortMappings_Proxy(
- INetSharingConfiguration * This,
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPortMappingCollection **ppColl);
- void __RPC_STUB INetSharingConfiguration_get_EnumPortMappings_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_AddPortMapping_Proxy(
- INetSharingConfiguration * This,
- /* [in] */ BSTR bstrName,
- /* [in] */ UCHAR ucIPProtocol,
- /* [in] */ USHORT usExternalPort,
- /* [in] */ USHORT usInternalPort,
- /* [in] */ DWORD dwOptions,
- /* [in] */ BSTR bstrTargetNameOrIPAddress,
- /* [in] */ ICS_TARGETTYPE eTargetType,
- /* [retval][out] */ INetSharingPortMapping **ppMapping);
- void __RPC_STUB INetSharingConfiguration_AddPortMapping_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_RemovePortMapping_Proxy(
- INetSharingConfiguration * This,
- /* [in] */ INetSharingPortMapping *pMapping);
- void __RPC_STUB INetSharingConfiguration_RemovePortMapping_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingConfiguration_INTERFACE_DEFINED__ */
- #ifndef __INetSharingEveryConnectionCollection_INTERFACE_DEFINED__
- #define __INetSharingEveryConnectionCollection_INTERFACE_DEFINED__
- /* interface INetSharingEveryConnectionCollection */
- /* [unique][helpstring][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingEveryConnectionCollection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("33C4643C-7811-46FA-A89A-768597BD7223")
- INetSharingEveryConnectionCollection : public IDispatch
- {
- public:
- virtual /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ IUnknown **pVal) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *pVal) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingEveryConnectionCollectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingEveryConnectionCollection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingEveryConnectionCollection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingEveryConnectionCollection * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingEveryConnectionCollection * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingEveryConnectionCollection * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingEveryConnectionCollection * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingEveryConnectionCollection * 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][restricted][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- INetSharingEveryConnectionCollection * This,
- /* [retval][out] */ IUnknown **pVal);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- INetSharingEveryConnectionCollection * This,
- /* [retval][out] */ long *pVal);
-
- END_INTERFACE
- } INetSharingEveryConnectionCollectionVtbl;
- interface INetSharingEveryConnectionCollection
- {
- CONST_VTBL struct INetSharingEveryConnectionCollectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingEveryConnectionCollection_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingEveryConnectionCollection_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingEveryConnectionCollection_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetSharingEveryConnectionCollection_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingEveryConnectionCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingEveryConnectionCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingEveryConnectionCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingEveryConnectionCollection_get__NewEnum(This,pVal) \
- (This)->lpVtbl -> get__NewEnum(This,pVal)
- #define INetSharingEveryConnectionCollection_get_Count(This,pVal) \
- (This)->lpVtbl -> get_Count(This,pVal)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingEveryConnectionCollection_get__NewEnum_Proxy(
- INetSharingEveryConnectionCollection * This,
- /* [retval][out] */ IUnknown **pVal);
- void __RPC_STUB INetSharingEveryConnectionCollection_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingEveryConnectionCollection_get_Count_Proxy(
- INetSharingEveryConnectionCollection * This,
- /* [retval][out] */ long *pVal);
- void __RPC_STUB INetSharingEveryConnectionCollection_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingEveryConnectionCollection_INTERFACE_DEFINED__ */
- #ifndef __INetSharingPublicConnectionCollection_INTERFACE_DEFINED__
- #define __INetSharingPublicConnectionCollection_INTERFACE_DEFINED__
- /* interface INetSharingPublicConnectionCollection */
- /* [unique][helpstring][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingPublicConnectionCollection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("7D7A6355-F372-4971-A149-BFC927BE762A")
- INetSharingPublicConnectionCollection : public IDispatch
- {
- public:
- virtual /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ IUnknown **pVal) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *pVal) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingPublicConnectionCollectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingPublicConnectionCollection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingPublicConnectionCollection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingPublicConnectionCollection * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingPublicConnectionCollection * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingPublicConnectionCollection * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingPublicConnectionCollection * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingPublicConnectionCollection * 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][restricted][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- INetSharingPublicConnectionCollection * This,
- /* [retval][out] */ IUnknown **pVal);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- INetSharingPublicConnectionCollection * This,
- /* [retval][out] */ long *pVal);
-
- END_INTERFACE
- } INetSharingPublicConnectionCollectionVtbl;
- interface INetSharingPublicConnectionCollection
- {
- CONST_VTBL struct INetSharingPublicConnectionCollectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingPublicConnectionCollection_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingPublicConnectionCollection_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingPublicConnectionCollection_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetSharingPublicConnectionCollection_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingPublicConnectionCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingPublicConnectionCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingPublicConnectionCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingPublicConnectionCollection_get__NewEnum(This,pVal) \
- (This)->lpVtbl -> get__NewEnum(This,pVal)
- #define INetSharingPublicConnectionCollection_get_Count(This,pVal) \
- (This)->lpVtbl -> get_Count(This,pVal)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPublicConnectionCollection_get__NewEnum_Proxy(
- INetSharingPublicConnectionCollection * This,
- /* [retval][out] */ IUnknown **pVal);
- void __RPC_STUB INetSharingPublicConnectionCollection_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPublicConnectionCollection_get_Count_Proxy(
- INetSharingPublicConnectionCollection * This,
- /* [retval][out] */ long *pVal);
- void __RPC_STUB INetSharingPublicConnectionCollection_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingPublicConnectionCollection_INTERFACE_DEFINED__ */
- #ifndef __INetSharingPrivateConnectionCollection_INTERFACE_DEFINED__
- #define __INetSharingPrivateConnectionCollection_INTERFACE_DEFINED__
- /* interface INetSharingPrivateConnectionCollection */
- /* [unique][helpstring][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingPrivateConnectionCollection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("38AE69E0-4409-402A-A2CB-E965C727F840")
- INetSharingPrivateConnectionCollection : public IDispatch
- {
- public:
- virtual /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ IUnknown **pVal) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *pVal) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingPrivateConnectionCollectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingPrivateConnectionCollection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingPrivateConnectionCollection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingPrivateConnectionCollection * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingPrivateConnectionCollection * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingPrivateConnectionCollection * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingPrivateConnectionCollection * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingPrivateConnectionCollection * 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][restricted][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- INetSharingPrivateConnectionCollection * This,
- /* [retval][out] */ IUnknown **pVal);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- INetSharingPrivateConnectionCollection * This,
- /* [retval][out] */ long *pVal);
-
- END_INTERFACE
- } INetSharingPrivateConnectionCollectionVtbl;
- interface INetSharingPrivateConnectionCollection
- {
- CONST_VTBL struct INetSharingPrivateConnectionCollectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingPrivateConnectionCollection_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingPrivateConnectionCollection_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingPrivateConnectionCollection_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetSharingPrivateConnectionCollection_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingPrivateConnectionCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingPrivateConnectionCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingPrivateConnectionCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingPrivateConnectionCollection_get__NewEnum(This,pVal) \
- (This)->lpVtbl -> get__NewEnum(This,pVal)
- #define INetSharingPrivateConnectionCollection_get_Count(This,pVal) \
- (This)->lpVtbl -> get_Count(This,pVal)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPrivateConnectionCollection_get__NewEnum_Proxy(
- INetSharingPrivateConnectionCollection * This,
- /* [retval][out] */ IUnknown **pVal);
- void __RPC_STUB INetSharingPrivateConnectionCollection_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPrivateConnectionCollection_get_Count_Proxy(
- INetSharingPrivateConnectionCollection * This,
- /* [retval][out] */ long *pVal);
- void __RPC_STUB INetSharingPrivateConnectionCollection_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingPrivateConnectionCollection_INTERFACE_DEFINED__ */
- #ifndef __INetSharingManager_INTERFACE_DEFINED__
- #define __INetSharingManager_INTERFACE_DEFINED__
- /* interface INetSharingManager */
- /* [unique][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingManager;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B7-1CD3-11D1-B1C5-00805FC1270E")
- INetSharingManager : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SharingInstalled(
- /* [retval][out] */ VARIANT_BOOL *pbInstalled) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EnumPublicConnections(
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPublicConnectionCollection **ppColl) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EnumPrivateConnections(
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPrivateConnectionCollection **ppColl) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_INetSharingConfigurationForINetConnection(
- /* [in] */ INetConnection *pNetConnection,
- /* [retval][out] */ INetSharingConfiguration **ppNetSharingConfiguration) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EnumEveryConnection(
- /* [retval][out] */ INetSharingEveryConnectionCollection **ppColl) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NetConnectionProps(
- /* [in] */ INetConnection *pNetConnection,
- /* [retval][out] */ INetConnectionProps **ppProps) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingManagerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingManager * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingManager * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingManager * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingManager * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingManager * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingManager * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingManager * 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_SharingInstalled )(
- INetSharingManager * This,
- /* [retval][out] */ VARIANT_BOOL *pbInstalled);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnumPublicConnections )(
- INetSharingManager * This,
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPublicConnectionCollection **ppColl);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnumPrivateConnections )(
- INetSharingManager * This,
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPrivateConnectionCollection **ppColl);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_INetSharingConfigurationForINetConnection )(
- INetSharingManager * This,
- /* [in] */ INetConnection *pNetConnection,
- /* [retval][out] */ INetSharingConfiguration **ppNetSharingConfiguration);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnumEveryConnection )(
- INetSharingManager * This,
- /* [retval][out] */ INetSharingEveryConnectionCollection **ppColl);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NetConnectionProps )(
- INetSharingManager * This,
- /* [in] */ INetConnection *pNetConnection,
- /* [retval][out] */ INetConnectionProps **ppProps);
-
- END_INTERFACE
- } INetSharingManagerVtbl;
- interface INetSharingManager
- {
- CONST_VTBL struct INetSharingManagerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingManager_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingManager_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingManager_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define INetSharingManager_GetTypeInfoCount(This,pctinfo) \
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingManager_get_SharingInstalled(This,pbInstalled) \
- (This)->lpVtbl -> get_SharingInstalled(This,pbInstalled)
- #define INetSharingManager_get_EnumPublicConnections(This,Flags,ppColl) \
- (This)->lpVtbl -> get_EnumPublicConnections(This,Flags,ppColl)
- #define INetSharingManager_get_EnumPrivateConnections(This,Flags,ppColl) \
- (This)->lpVtbl -> get_EnumPrivateConnections(This,Flags,ppColl)
- #define INetSharingManager_get_INetSharingConfigurationForINetConnection(This,pNetConnection,ppNetSharingConfiguration) \
- (This)->lpVtbl -> get_INetSharingConfigurationForINetConnection(This,pNetConnection,ppNetSharingConfiguration)
- #define INetSharingManager_get_EnumEveryConnection(This,ppColl) \
- (This)->lpVtbl -> get_EnumEveryConnection(This,ppColl)
- #define INetSharingManager_get_NetConnectionProps(This,pNetConnection,ppProps) \
- (This)->lpVtbl -> get_NetConnectionProps(This,pNetConnection,ppProps)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingManager_get_SharingInstalled_Proxy(
- INetSharingManager * This,
- /* [retval][out] */ VARIANT_BOOL *pbInstalled);
- void __RPC_STUB INetSharingManager_get_SharingInstalled_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingManager_get_EnumPublicConnections_Proxy(
- INetSharingManager * This,
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPublicConnectionCollection **ppColl);
- void __RPC_STUB INetSharingManager_get_EnumPublicConnections_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingManager_get_EnumPrivateConnections_Proxy(
- INetSharingManager * This,
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPrivateConnectionCollection **ppColl);
- void __RPC_STUB INetSharingManager_get_EnumPrivateConnections_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingManager_get_INetSharingConfigurationForINetConnection_Proxy(
- INetSharingManager * This,
- /* [in] */ INetConnection *pNetConnection,
- /* [retval][out] */ INetSharingConfiguration **ppNetSharingConfiguration);
- void __RPC_STUB INetSharingManager_get_INetSharingConfigurationForINetConnection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingManager_get_EnumEveryConnection_Proxy(
- INetSharingManager * This,
- /* [retval][out] */ INetSharingEveryConnectionCollection **ppColl);
- void __RPC_STUB INetSharingManager_get_EnumEveryConnection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingManager_get_NetConnectionProps_Proxy(
- INetSharingManager * This,
- /* [in] */ INetConnection *pNetConnection,
- /* [retval][out] */ INetConnectionProps **ppProps);
- void __RPC_STUB INetSharingManager_get_NetConnectionProps_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingManager_INTERFACE_DEFINED__ */
- #ifndef __NETCONLib_LIBRARY_DEFINED__
- #define __NETCONLib_LIBRARY_DEFINED__
- /* library NETCONLib */
- /* [helpstring][version][uuid] */
- EXTERN_C const IID LIBID_NETCONLib;
- EXTERN_C const CLSID CLSID_NetSharingManager;
- #ifdef __cplusplus
- class DECLSPEC_UUID("5C63C1AD-3956-4FF8-8486-40034758315B")
- NetSharingManager;
- #endif
- #endif /* __NETCONLib_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
|