netfw.h 123 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767
  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for netfw.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __netfw_h__
  27. #define __netfw_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __INetFwRemoteAdminSettings_FWD_DEFINED__
  33. #define __INetFwRemoteAdminSettings_FWD_DEFINED__
  34. typedef interface INetFwRemoteAdminSettings INetFwRemoteAdminSettings;
  35. #endif /* __INetFwRemoteAdminSettings_FWD_DEFINED__ */
  36. #ifndef __INetFwIcmpSettings_FWD_DEFINED__
  37. #define __INetFwIcmpSettings_FWD_DEFINED__
  38. typedef interface INetFwIcmpSettings INetFwIcmpSettings;
  39. #endif /* __INetFwIcmpSettings_FWD_DEFINED__ */
  40. #ifndef __INetFwOpenPort_FWD_DEFINED__
  41. #define __INetFwOpenPort_FWD_DEFINED__
  42. typedef interface INetFwOpenPort INetFwOpenPort;
  43. #endif /* __INetFwOpenPort_FWD_DEFINED__ */
  44. #ifndef __INetFwOpenPorts_FWD_DEFINED__
  45. #define __INetFwOpenPorts_FWD_DEFINED__
  46. typedef interface INetFwOpenPorts INetFwOpenPorts;
  47. #endif /* __INetFwOpenPorts_FWD_DEFINED__ */
  48. #ifndef __INetFwService_FWD_DEFINED__
  49. #define __INetFwService_FWD_DEFINED__
  50. typedef interface INetFwService INetFwService;
  51. #endif /* __INetFwService_FWD_DEFINED__ */
  52. #ifndef __INetFwServices_FWD_DEFINED__
  53. #define __INetFwServices_FWD_DEFINED__
  54. typedef interface INetFwServices INetFwServices;
  55. #endif /* __INetFwServices_FWD_DEFINED__ */
  56. #ifndef __INetFwAuthorizedApplication_FWD_DEFINED__
  57. #define __INetFwAuthorizedApplication_FWD_DEFINED__
  58. typedef interface INetFwAuthorizedApplication INetFwAuthorizedApplication;
  59. #endif /* __INetFwAuthorizedApplication_FWD_DEFINED__ */
  60. #ifndef __INetFwAuthorizedApplications_FWD_DEFINED__
  61. #define __INetFwAuthorizedApplications_FWD_DEFINED__
  62. typedef interface INetFwAuthorizedApplications INetFwAuthorizedApplications;
  63. #endif /* __INetFwAuthorizedApplications_FWD_DEFINED__ */
  64. #ifndef __INetFwProfile_FWD_DEFINED__
  65. #define __INetFwProfile_FWD_DEFINED__
  66. typedef interface INetFwProfile INetFwProfile;
  67. #endif /* __INetFwProfile_FWD_DEFINED__ */
  68. #ifndef __INetFwPolicy_FWD_DEFINED__
  69. #define __INetFwPolicy_FWD_DEFINED__
  70. typedef interface INetFwPolicy INetFwPolicy;
  71. #endif /* __INetFwPolicy_FWD_DEFINED__ */
  72. #ifndef __INetFwMgr_FWD_DEFINED__
  73. #define __INetFwMgr_FWD_DEFINED__
  74. typedef interface INetFwMgr INetFwMgr;
  75. #endif /* __INetFwMgr_FWD_DEFINED__ */
  76. #ifndef __INetFwRemoteAdminSettings_FWD_DEFINED__
  77. #define __INetFwRemoteAdminSettings_FWD_DEFINED__
  78. typedef interface INetFwRemoteAdminSettings INetFwRemoteAdminSettings;
  79. #endif /* __INetFwRemoteAdminSettings_FWD_DEFINED__ */
  80. #ifndef __INetFwIcmpSettings_FWD_DEFINED__
  81. #define __INetFwIcmpSettings_FWD_DEFINED__
  82. typedef interface INetFwIcmpSettings INetFwIcmpSettings;
  83. #endif /* __INetFwIcmpSettings_FWD_DEFINED__ */
  84. #ifndef __INetFwOpenPort_FWD_DEFINED__
  85. #define __INetFwOpenPort_FWD_DEFINED__
  86. typedef interface INetFwOpenPort INetFwOpenPort;
  87. #endif /* __INetFwOpenPort_FWD_DEFINED__ */
  88. #ifndef __INetFwOpenPorts_FWD_DEFINED__
  89. #define __INetFwOpenPorts_FWD_DEFINED__
  90. typedef interface INetFwOpenPorts INetFwOpenPorts;
  91. #endif /* __INetFwOpenPorts_FWD_DEFINED__ */
  92. #ifndef __INetFwService_FWD_DEFINED__
  93. #define __INetFwService_FWD_DEFINED__
  94. typedef interface INetFwService INetFwService;
  95. #endif /* __INetFwService_FWD_DEFINED__ */
  96. #ifndef __INetFwServices_FWD_DEFINED__
  97. #define __INetFwServices_FWD_DEFINED__
  98. typedef interface INetFwServices INetFwServices;
  99. #endif /* __INetFwServices_FWD_DEFINED__ */
  100. #ifndef __INetFwAuthorizedApplication_FWD_DEFINED__
  101. #define __INetFwAuthorizedApplication_FWD_DEFINED__
  102. typedef interface INetFwAuthorizedApplication INetFwAuthorizedApplication;
  103. #endif /* __INetFwAuthorizedApplication_FWD_DEFINED__ */
  104. #ifndef __INetFwAuthorizedApplications_FWD_DEFINED__
  105. #define __INetFwAuthorizedApplications_FWD_DEFINED__
  106. typedef interface INetFwAuthorizedApplications INetFwAuthorizedApplications;
  107. #endif /* __INetFwAuthorizedApplications_FWD_DEFINED__ */
  108. #ifndef __INetFwProfile_FWD_DEFINED__
  109. #define __INetFwProfile_FWD_DEFINED__
  110. typedef interface INetFwProfile INetFwProfile;
  111. #endif /* __INetFwProfile_FWD_DEFINED__ */
  112. #ifndef __INetFwPolicy_FWD_DEFINED__
  113. #define __INetFwPolicy_FWD_DEFINED__
  114. typedef interface INetFwPolicy INetFwPolicy;
  115. #endif /* __INetFwPolicy_FWD_DEFINED__ */
  116. #ifndef __INetFwMgr_FWD_DEFINED__
  117. #define __INetFwMgr_FWD_DEFINED__
  118. typedef interface INetFwMgr INetFwMgr;
  119. #endif /* __INetFwMgr_FWD_DEFINED__ */
  120. #ifndef __NetFwOpenPort_FWD_DEFINED__
  121. #define __NetFwOpenPort_FWD_DEFINED__
  122. #ifdef __cplusplus
  123. typedef class NetFwOpenPort NetFwOpenPort;
  124. #else
  125. typedef struct NetFwOpenPort NetFwOpenPort;
  126. #endif /* __cplusplus */
  127. #endif /* __NetFwOpenPort_FWD_DEFINED__ */
  128. #ifndef __NetFwAuthorizedApplication_FWD_DEFINED__
  129. #define __NetFwAuthorizedApplication_FWD_DEFINED__
  130. #ifdef __cplusplus
  131. typedef class NetFwAuthorizedApplication NetFwAuthorizedApplication;
  132. #else
  133. typedef struct NetFwAuthorizedApplication NetFwAuthorizedApplication;
  134. #endif /* __cplusplus */
  135. #endif /* __NetFwAuthorizedApplication_FWD_DEFINED__ */
  136. #ifndef __NetFwMgr_FWD_DEFINED__
  137. #define __NetFwMgr_FWD_DEFINED__
  138. #ifdef __cplusplus
  139. typedef class NetFwMgr NetFwMgr;
  140. #else
  141. typedef struct NetFwMgr NetFwMgr;
  142. #endif /* __cplusplus */
  143. #endif /* __NetFwMgr_FWD_DEFINED__ */
  144. /* header files for imported files */
  145. #include "icftypes.h"
  146. #include "oaidl.h"
  147. #ifdef __cplusplus
  148. extern "C"{
  149. #endif
  150. void * __RPC_USER MIDL_user_allocate(size_t);
  151. void __RPC_USER MIDL_user_free( void * );
  152. #ifndef __INetFwRemoteAdminSettings_INTERFACE_DEFINED__
  153. #define __INetFwRemoteAdminSettings_INTERFACE_DEFINED__
  154. /* interface INetFwRemoteAdminSettings */
  155. /* [dual][uuid][object] */
  156. EXTERN_C const IID IID_INetFwRemoteAdminSettings;
  157. #if defined(__cplusplus) && !defined(CINTERFACE)
  158. MIDL_INTERFACE("D4BECDDF-6F73-4A83-B832-9C66874CD20E")
  159. INetFwRemoteAdminSettings : public IDispatch
  160. {
  161. public:
  162. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_IpVersion(
  163. /* [retval][out] */ NET_FW_IP_VERSION *ipVersion) = 0;
  164. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_IpVersion(
  165. /* [in] */ NET_FW_IP_VERSION ipVersion) = 0;
  166. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Scope(
  167. /* [retval][out] */ NET_FW_SCOPE *scope) = 0;
  168. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Scope(
  169. /* [in] */ NET_FW_SCOPE scope) = 0;
  170. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_RemoteAddresses(
  171. /* [retval][out] */ BSTR *remoteAddrs) = 0;
  172. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_RemoteAddresses(
  173. /* [in] */ BSTR remoteAddrs) = 0;
  174. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Enabled(
  175. /* [retval][out] */ VARIANT_BOOL *enabled) = 0;
  176. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Enabled(
  177. /* [in] */ VARIANT_BOOL enabled) = 0;
  178. };
  179. #else /* C style interface */
  180. typedef struct INetFwRemoteAdminSettingsVtbl
  181. {
  182. BEGIN_INTERFACE
  183. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  184. INetFwRemoteAdminSettings * This,
  185. /* [in] */ REFIID riid,
  186. /* [iid_is][out] */ void **ppvObject);
  187. ULONG ( STDMETHODCALLTYPE *AddRef )(
  188. INetFwRemoteAdminSettings * This);
  189. ULONG ( STDMETHODCALLTYPE *Release )(
  190. INetFwRemoteAdminSettings * This);
  191. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  192. INetFwRemoteAdminSettings * This,
  193. /* [out] */ UINT *pctinfo);
  194. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  195. INetFwRemoteAdminSettings * This,
  196. /* [in] */ UINT iTInfo,
  197. /* [in] */ LCID lcid,
  198. /* [out] */ ITypeInfo **ppTInfo);
  199. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  200. INetFwRemoteAdminSettings * This,
  201. /* [in] */ REFIID riid,
  202. /* [size_is][in] */ LPOLESTR *rgszNames,
  203. /* [in] */ UINT cNames,
  204. /* [in] */ LCID lcid,
  205. /* [size_is][out] */ DISPID *rgDispId);
  206. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  207. INetFwRemoteAdminSettings * This,
  208. /* [in] */ DISPID dispIdMember,
  209. /* [in] */ REFIID riid,
  210. /* [in] */ LCID lcid,
  211. /* [in] */ WORD wFlags,
  212. /* [out][in] */ DISPPARAMS *pDispParams,
  213. /* [out] */ VARIANT *pVarResult,
  214. /* [out] */ EXCEPINFO *pExcepInfo,
  215. /* [out] */ UINT *puArgErr);
  216. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IpVersion )(
  217. INetFwRemoteAdminSettings * This,
  218. /* [retval][out] */ NET_FW_IP_VERSION *ipVersion);
  219. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_IpVersion )(
  220. INetFwRemoteAdminSettings * This,
  221. /* [in] */ NET_FW_IP_VERSION ipVersion);
  222. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Scope )(
  223. INetFwRemoteAdminSettings * This,
  224. /* [retval][out] */ NET_FW_SCOPE *scope);
  225. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Scope )(
  226. INetFwRemoteAdminSettings * This,
  227. /* [in] */ NET_FW_SCOPE scope);
  228. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RemoteAddresses )(
  229. INetFwRemoteAdminSettings * This,
  230. /* [retval][out] */ BSTR *remoteAddrs);
  231. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RemoteAddresses )(
  232. INetFwRemoteAdminSettings * This,
  233. /* [in] */ BSTR remoteAddrs);
  234. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
  235. INetFwRemoteAdminSettings * This,
  236. /* [retval][out] */ VARIANT_BOOL *enabled);
  237. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )(
  238. INetFwRemoteAdminSettings * This,
  239. /* [in] */ VARIANT_BOOL enabled);
  240. END_INTERFACE
  241. } INetFwRemoteAdminSettingsVtbl;
  242. interface INetFwRemoteAdminSettings
  243. {
  244. CONST_VTBL struct INetFwRemoteAdminSettingsVtbl *lpVtbl;
  245. };
  246. #ifdef COBJMACROS
  247. #define INetFwRemoteAdminSettings_QueryInterface(This,riid,ppvObject) \
  248. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  249. #define INetFwRemoteAdminSettings_AddRef(This) \
  250. (This)->lpVtbl -> AddRef(This)
  251. #define INetFwRemoteAdminSettings_Release(This) \
  252. (This)->lpVtbl -> Release(This)
  253. #define INetFwRemoteAdminSettings_GetTypeInfoCount(This,pctinfo) \
  254. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  255. #define INetFwRemoteAdminSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  256. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  257. #define INetFwRemoteAdminSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  258. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  259. #define INetFwRemoteAdminSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  260. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  261. #define INetFwRemoteAdminSettings_get_IpVersion(This,ipVersion) \
  262. (This)->lpVtbl -> get_IpVersion(This,ipVersion)
  263. #define INetFwRemoteAdminSettings_put_IpVersion(This,ipVersion) \
  264. (This)->lpVtbl -> put_IpVersion(This,ipVersion)
  265. #define INetFwRemoteAdminSettings_get_Scope(This,scope) \
  266. (This)->lpVtbl -> get_Scope(This,scope)
  267. #define INetFwRemoteAdminSettings_put_Scope(This,scope) \
  268. (This)->lpVtbl -> put_Scope(This,scope)
  269. #define INetFwRemoteAdminSettings_get_RemoteAddresses(This,remoteAddrs) \
  270. (This)->lpVtbl -> get_RemoteAddresses(This,remoteAddrs)
  271. #define INetFwRemoteAdminSettings_put_RemoteAddresses(This,remoteAddrs) \
  272. (This)->lpVtbl -> put_RemoteAddresses(This,remoteAddrs)
  273. #define INetFwRemoteAdminSettings_get_Enabled(This,enabled) \
  274. (This)->lpVtbl -> get_Enabled(This,enabled)
  275. #define INetFwRemoteAdminSettings_put_Enabled(This,enabled) \
  276. (This)->lpVtbl -> put_Enabled(This,enabled)
  277. #endif /* COBJMACROS */
  278. #endif /* C style interface */
  279. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwRemoteAdminSettings_get_IpVersion_Proxy(
  280. INetFwRemoteAdminSettings * This,
  281. /* [retval][out] */ NET_FW_IP_VERSION *ipVersion);
  282. void __RPC_STUB INetFwRemoteAdminSettings_get_IpVersion_Stub(
  283. IRpcStubBuffer *This,
  284. IRpcChannelBuffer *_pRpcChannelBuffer,
  285. PRPC_MESSAGE _pRpcMessage,
  286. DWORD *_pdwStubPhase);
  287. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwRemoteAdminSettings_put_IpVersion_Proxy(
  288. INetFwRemoteAdminSettings * This,
  289. /* [in] */ NET_FW_IP_VERSION ipVersion);
  290. void __RPC_STUB INetFwRemoteAdminSettings_put_IpVersion_Stub(
  291. IRpcStubBuffer *This,
  292. IRpcChannelBuffer *_pRpcChannelBuffer,
  293. PRPC_MESSAGE _pRpcMessage,
  294. DWORD *_pdwStubPhase);
  295. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwRemoteAdminSettings_get_Scope_Proxy(
  296. INetFwRemoteAdminSettings * This,
  297. /* [retval][out] */ NET_FW_SCOPE *scope);
  298. void __RPC_STUB INetFwRemoteAdminSettings_get_Scope_Stub(
  299. IRpcStubBuffer *This,
  300. IRpcChannelBuffer *_pRpcChannelBuffer,
  301. PRPC_MESSAGE _pRpcMessage,
  302. DWORD *_pdwStubPhase);
  303. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwRemoteAdminSettings_put_Scope_Proxy(
  304. INetFwRemoteAdminSettings * This,
  305. /* [in] */ NET_FW_SCOPE scope);
  306. void __RPC_STUB INetFwRemoteAdminSettings_put_Scope_Stub(
  307. IRpcStubBuffer *This,
  308. IRpcChannelBuffer *_pRpcChannelBuffer,
  309. PRPC_MESSAGE _pRpcMessage,
  310. DWORD *_pdwStubPhase);
  311. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwRemoteAdminSettings_get_RemoteAddresses_Proxy(
  312. INetFwRemoteAdminSettings * This,
  313. /* [retval][out] */ BSTR *remoteAddrs);
  314. void __RPC_STUB INetFwRemoteAdminSettings_get_RemoteAddresses_Stub(
  315. IRpcStubBuffer *This,
  316. IRpcChannelBuffer *_pRpcChannelBuffer,
  317. PRPC_MESSAGE _pRpcMessage,
  318. DWORD *_pdwStubPhase);
  319. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwRemoteAdminSettings_put_RemoteAddresses_Proxy(
  320. INetFwRemoteAdminSettings * This,
  321. /* [in] */ BSTR remoteAddrs);
  322. void __RPC_STUB INetFwRemoteAdminSettings_put_RemoteAddresses_Stub(
  323. IRpcStubBuffer *This,
  324. IRpcChannelBuffer *_pRpcChannelBuffer,
  325. PRPC_MESSAGE _pRpcMessage,
  326. DWORD *_pdwStubPhase);
  327. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwRemoteAdminSettings_get_Enabled_Proxy(
  328. INetFwRemoteAdminSettings * This,
  329. /* [retval][out] */ VARIANT_BOOL *enabled);
  330. void __RPC_STUB INetFwRemoteAdminSettings_get_Enabled_Stub(
  331. IRpcStubBuffer *This,
  332. IRpcChannelBuffer *_pRpcChannelBuffer,
  333. PRPC_MESSAGE _pRpcMessage,
  334. DWORD *_pdwStubPhase);
  335. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwRemoteAdminSettings_put_Enabled_Proxy(
  336. INetFwRemoteAdminSettings * This,
  337. /* [in] */ VARIANT_BOOL enabled);
  338. void __RPC_STUB INetFwRemoteAdminSettings_put_Enabled_Stub(
  339. IRpcStubBuffer *This,
  340. IRpcChannelBuffer *_pRpcChannelBuffer,
  341. PRPC_MESSAGE _pRpcMessage,
  342. DWORD *_pdwStubPhase);
  343. #endif /* __INetFwRemoteAdminSettings_INTERFACE_DEFINED__ */
  344. #ifndef __INetFwIcmpSettings_INTERFACE_DEFINED__
  345. #define __INetFwIcmpSettings_INTERFACE_DEFINED__
  346. /* interface INetFwIcmpSettings */
  347. /* [dual][uuid][object] */
  348. EXTERN_C const IID IID_INetFwIcmpSettings;
  349. #if defined(__cplusplus) && !defined(CINTERFACE)
  350. MIDL_INTERFACE("A6207B2E-7CDD-426A-951E-5E1CBC5AFEAD")
  351. INetFwIcmpSettings : public IDispatch
  352. {
  353. public:
  354. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_AllowOutboundDestinationUnreachable(
  355. /* [retval][out] */ VARIANT_BOOL *allow) = 0;
  356. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AllowOutboundDestinationUnreachable(
  357. /* [in] */ VARIANT_BOOL allow) = 0;
  358. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_AllowRedirect(
  359. /* [retval][out] */ VARIANT_BOOL *allow) = 0;
  360. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AllowRedirect(
  361. /* [in] */ VARIANT_BOOL allow) = 0;
  362. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_AllowInboundEchoRequest(
  363. /* [retval][out] */ VARIANT_BOOL *allow) = 0;
  364. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AllowInboundEchoRequest(
  365. /* [in] */ VARIANT_BOOL allow) = 0;
  366. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_AllowOutboundTimeExceeded(
  367. /* [retval][out] */ VARIANT_BOOL *allow) = 0;
  368. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AllowOutboundTimeExceeded(
  369. /* [in] */ VARIANT_BOOL allow) = 0;
  370. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_AllowOutboundParameterProblem(
  371. /* [retval][out] */ VARIANT_BOOL *allow) = 0;
  372. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AllowOutboundParameterProblem(
  373. /* [in] */ VARIANT_BOOL allow) = 0;
  374. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_AllowOutboundSourceQuench(
  375. /* [retval][out] */ VARIANT_BOOL *allow) = 0;
  376. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AllowOutboundSourceQuench(
  377. /* [in] */ VARIANT_BOOL allow) = 0;
  378. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_AllowInboundRouterRequest(
  379. /* [retval][out] */ VARIANT_BOOL *allow) = 0;
  380. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AllowInboundRouterRequest(
  381. /* [in] */ VARIANT_BOOL allow) = 0;
  382. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_AllowInboundTimestampRequest(
  383. /* [retval][out] */ VARIANT_BOOL *allow) = 0;
  384. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AllowInboundTimestampRequest(
  385. /* [in] */ VARIANT_BOOL allow) = 0;
  386. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_AllowInboundMaskRequest(
  387. /* [retval][out] */ VARIANT_BOOL *allow) = 0;
  388. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AllowInboundMaskRequest(
  389. /* [in] */ VARIANT_BOOL allow) = 0;
  390. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_AllowOutboundPacketTooBig(
  391. /* [retval][out] */ VARIANT_BOOL *allow) = 0;
  392. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_AllowOutboundPacketTooBig(
  393. /* [in] */ VARIANT_BOOL allow) = 0;
  394. };
  395. #else /* C style interface */
  396. typedef struct INetFwIcmpSettingsVtbl
  397. {
  398. BEGIN_INTERFACE
  399. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  400. INetFwIcmpSettings * This,
  401. /* [in] */ REFIID riid,
  402. /* [iid_is][out] */ void **ppvObject);
  403. ULONG ( STDMETHODCALLTYPE *AddRef )(
  404. INetFwIcmpSettings * This);
  405. ULONG ( STDMETHODCALLTYPE *Release )(
  406. INetFwIcmpSettings * This);
  407. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  408. INetFwIcmpSettings * This,
  409. /* [out] */ UINT *pctinfo);
  410. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  411. INetFwIcmpSettings * This,
  412. /* [in] */ UINT iTInfo,
  413. /* [in] */ LCID lcid,
  414. /* [out] */ ITypeInfo **ppTInfo);
  415. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  416. INetFwIcmpSettings * This,
  417. /* [in] */ REFIID riid,
  418. /* [size_is][in] */ LPOLESTR *rgszNames,
  419. /* [in] */ UINT cNames,
  420. /* [in] */ LCID lcid,
  421. /* [size_is][out] */ DISPID *rgDispId);
  422. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  423. INetFwIcmpSettings * This,
  424. /* [in] */ DISPID dispIdMember,
  425. /* [in] */ REFIID riid,
  426. /* [in] */ LCID lcid,
  427. /* [in] */ WORD wFlags,
  428. /* [out][in] */ DISPPARAMS *pDispParams,
  429. /* [out] */ VARIANT *pVarResult,
  430. /* [out] */ EXCEPINFO *pExcepInfo,
  431. /* [out] */ UINT *puArgErr);
  432. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowOutboundDestinationUnreachable )(
  433. INetFwIcmpSettings * This,
  434. /* [retval][out] */ VARIANT_BOOL *allow);
  435. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowOutboundDestinationUnreachable )(
  436. INetFwIcmpSettings * This,
  437. /* [in] */ VARIANT_BOOL allow);
  438. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowRedirect )(
  439. INetFwIcmpSettings * This,
  440. /* [retval][out] */ VARIANT_BOOL *allow);
  441. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowRedirect )(
  442. INetFwIcmpSettings * This,
  443. /* [in] */ VARIANT_BOOL allow);
  444. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowInboundEchoRequest )(
  445. INetFwIcmpSettings * This,
  446. /* [retval][out] */ VARIANT_BOOL *allow);
  447. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowInboundEchoRequest )(
  448. INetFwIcmpSettings * This,
  449. /* [in] */ VARIANT_BOOL allow);
  450. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowOutboundTimeExceeded )(
  451. INetFwIcmpSettings * This,
  452. /* [retval][out] */ VARIANT_BOOL *allow);
  453. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowOutboundTimeExceeded )(
  454. INetFwIcmpSettings * This,
  455. /* [in] */ VARIANT_BOOL allow);
  456. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowOutboundParameterProblem )(
  457. INetFwIcmpSettings * This,
  458. /* [retval][out] */ VARIANT_BOOL *allow);
  459. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowOutboundParameterProblem )(
  460. INetFwIcmpSettings * This,
  461. /* [in] */ VARIANT_BOOL allow);
  462. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowOutboundSourceQuench )(
  463. INetFwIcmpSettings * This,
  464. /* [retval][out] */ VARIANT_BOOL *allow);
  465. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowOutboundSourceQuench )(
  466. INetFwIcmpSettings * This,
  467. /* [in] */ VARIANT_BOOL allow);
  468. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowInboundRouterRequest )(
  469. INetFwIcmpSettings * This,
  470. /* [retval][out] */ VARIANT_BOOL *allow);
  471. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowInboundRouterRequest )(
  472. INetFwIcmpSettings * This,
  473. /* [in] */ VARIANT_BOOL allow);
  474. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowInboundTimestampRequest )(
  475. INetFwIcmpSettings * This,
  476. /* [retval][out] */ VARIANT_BOOL *allow);
  477. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowInboundTimestampRequest )(
  478. INetFwIcmpSettings * This,
  479. /* [in] */ VARIANT_BOOL allow);
  480. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowInboundMaskRequest )(
  481. INetFwIcmpSettings * This,
  482. /* [retval][out] */ VARIANT_BOOL *allow);
  483. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowInboundMaskRequest )(
  484. INetFwIcmpSettings * This,
  485. /* [in] */ VARIANT_BOOL allow);
  486. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowOutboundPacketTooBig )(
  487. INetFwIcmpSettings * This,
  488. /* [retval][out] */ VARIANT_BOOL *allow);
  489. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowOutboundPacketTooBig )(
  490. INetFwIcmpSettings * This,
  491. /* [in] */ VARIANT_BOOL allow);
  492. END_INTERFACE
  493. } INetFwIcmpSettingsVtbl;
  494. interface INetFwIcmpSettings
  495. {
  496. CONST_VTBL struct INetFwIcmpSettingsVtbl *lpVtbl;
  497. };
  498. #ifdef COBJMACROS
  499. #define INetFwIcmpSettings_QueryInterface(This,riid,ppvObject) \
  500. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  501. #define INetFwIcmpSettings_AddRef(This) \
  502. (This)->lpVtbl -> AddRef(This)
  503. #define INetFwIcmpSettings_Release(This) \
  504. (This)->lpVtbl -> Release(This)
  505. #define INetFwIcmpSettings_GetTypeInfoCount(This,pctinfo) \
  506. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  507. #define INetFwIcmpSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  508. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  509. #define INetFwIcmpSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  510. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  511. #define INetFwIcmpSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  512. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  513. #define INetFwIcmpSettings_get_AllowOutboundDestinationUnreachable(This,allow) \
  514. (This)->lpVtbl -> get_AllowOutboundDestinationUnreachable(This,allow)
  515. #define INetFwIcmpSettings_put_AllowOutboundDestinationUnreachable(This,allow) \
  516. (This)->lpVtbl -> put_AllowOutboundDestinationUnreachable(This,allow)
  517. #define INetFwIcmpSettings_get_AllowRedirect(This,allow) \
  518. (This)->lpVtbl -> get_AllowRedirect(This,allow)
  519. #define INetFwIcmpSettings_put_AllowRedirect(This,allow) \
  520. (This)->lpVtbl -> put_AllowRedirect(This,allow)
  521. #define INetFwIcmpSettings_get_AllowInboundEchoRequest(This,allow) \
  522. (This)->lpVtbl -> get_AllowInboundEchoRequest(This,allow)
  523. #define INetFwIcmpSettings_put_AllowInboundEchoRequest(This,allow) \
  524. (This)->lpVtbl -> put_AllowInboundEchoRequest(This,allow)
  525. #define INetFwIcmpSettings_get_AllowOutboundTimeExceeded(This,allow) \
  526. (This)->lpVtbl -> get_AllowOutboundTimeExceeded(This,allow)
  527. #define INetFwIcmpSettings_put_AllowOutboundTimeExceeded(This,allow) \
  528. (This)->lpVtbl -> put_AllowOutboundTimeExceeded(This,allow)
  529. #define INetFwIcmpSettings_get_AllowOutboundParameterProblem(This,allow) \
  530. (This)->lpVtbl -> get_AllowOutboundParameterProblem(This,allow)
  531. #define INetFwIcmpSettings_put_AllowOutboundParameterProblem(This,allow) \
  532. (This)->lpVtbl -> put_AllowOutboundParameterProblem(This,allow)
  533. #define INetFwIcmpSettings_get_AllowOutboundSourceQuench(This,allow) \
  534. (This)->lpVtbl -> get_AllowOutboundSourceQuench(This,allow)
  535. #define INetFwIcmpSettings_put_AllowOutboundSourceQuench(This,allow) \
  536. (This)->lpVtbl -> put_AllowOutboundSourceQuench(This,allow)
  537. #define INetFwIcmpSettings_get_AllowInboundRouterRequest(This,allow) \
  538. (This)->lpVtbl -> get_AllowInboundRouterRequest(This,allow)
  539. #define INetFwIcmpSettings_put_AllowInboundRouterRequest(This,allow) \
  540. (This)->lpVtbl -> put_AllowInboundRouterRequest(This,allow)
  541. #define INetFwIcmpSettings_get_AllowInboundTimestampRequest(This,allow) \
  542. (This)->lpVtbl -> get_AllowInboundTimestampRequest(This,allow)
  543. #define INetFwIcmpSettings_put_AllowInboundTimestampRequest(This,allow) \
  544. (This)->lpVtbl -> put_AllowInboundTimestampRequest(This,allow)
  545. #define INetFwIcmpSettings_get_AllowInboundMaskRequest(This,allow) \
  546. (This)->lpVtbl -> get_AllowInboundMaskRequest(This,allow)
  547. #define INetFwIcmpSettings_put_AllowInboundMaskRequest(This,allow) \
  548. (This)->lpVtbl -> put_AllowInboundMaskRequest(This,allow)
  549. #define INetFwIcmpSettings_get_AllowOutboundPacketTooBig(This,allow) \
  550. (This)->lpVtbl -> get_AllowOutboundPacketTooBig(This,allow)
  551. #define INetFwIcmpSettings_put_AllowOutboundPacketTooBig(This,allow) \
  552. (This)->lpVtbl -> put_AllowOutboundPacketTooBig(This,allow)
  553. #endif /* COBJMACROS */
  554. #endif /* C style interface */
  555. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_get_AllowOutboundDestinationUnreachable_Proxy(
  556. INetFwIcmpSettings * This,
  557. /* [retval][out] */ VARIANT_BOOL *allow);
  558. void __RPC_STUB INetFwIcmpSettings_get_AllowOutboundDestinationUnreachable_Stub(
  559. IRpcStubBuffer *This,
  560. IRpcChannelBuffer *_pRpcChannelBuffer,
  561. PRPC_MESSAGE _pRpcMessage,
  562. DWORD *_pdwStubPhase);
  563. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_put_AllowOutboundDestinationUnreachable_Proxy(
  564. INetFwIcmpSettings * This,
  565. /* [in] */ VARIANT_BOOL allow);
  566. void __RPC_STUB INetFwIcmpSettings_put_AllowOutboundDestinationUnreachable_Stub(
  567. IRpcStubBuffer *This,
  568. IRpcChannelBuffer *_pRpcChannelBuffer,
  569. PRPC_MESSAGE _pRpcMessage,
  570. DWORD *_pdwStubPhase);
  571. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_get_AllowRedirect_Proxy(
  572. INetFwIcmpSettings * This,
  573. /* [retval][out] */ VARIANT_BOOL *allow);
  574. void __RPC_STUB INetFwIcmpSettings_get_AllowRedirect_Stub(
  575. IRpcStubBuffer *This,
  576. IRpcChannelBuffer *_pRpcChannelBuffer,
  577. PRPC_MESSAGE _pRpcMessage,
  578. DWORD *_pdwStubPhase);
  579. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_put_AllowRedirect_Proxy(
  580. INetFwIcmpSettings * This,
  581. /* [in] */ VARIANT_BOOL allow);
  582. void __RPC_STUB INetFwIcmpSettings_put_AllowRedirect_Stub(
  583. IRpcStubBuffer *This,
  584. IRpcChannelBuffer *_pRpcChannelBuffer,
  585. PRPC_MESSAGE _pRpcMessage,
  586. DWORD *_pdwStubPhase);
  587. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_get_AllowInboundEchoRequest_Proxy(
  588. INetFwIcmpSettings * This,
  589. /* [retval][out] */ VARIANT_BOOL *allow);
  590. void __RPC_STUB INetFwIcmpSettings_get_AllowInboundEchoRequest_Stub(
  591. IRpcStubBuffer *This,
  592. IRpcChannelBuffer *_pRpcChannelBuffer,
  593. PRPC_MESSAGE _pRpcMessage,
  594. DWORD *_pdwStubPhase);
  595. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_put_AllowInboundEchoRequest_Proxy(
  596. INetFwIcmpSettings * This,
  597. /* [in] */ VARIANT_BOOL allow);
  598. void __RPC_STUB INetFwIcmpSettings_put_AllowInboundEchoRequest_Stub(
  599. IRpcStubBuffer *This,
  600. IRpcChannelBuffer *_pRpcChannelBuffer,
  601. PRPC_MESSAGE _pRpcMessage,
  602. DWORD *_pdwStubPhase);
  603. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_get_AllowOutboundTimeExceeded_Proxy(
  604. INetFwIcmpSettings * This,
  605. /* [retval][out] */ VARIANT_BOOL *allow);
  606. void __RPC_STUB INetFwIcmpSettings_get_AllowOutboundTimeExceeded_Stub(
  607. IRpcStubBuffer *This,
  608. IRpcChannelBuffer *_pRpcChannelBuffer,
  609. PRPC_MESSAGE _pRpcMessage,
  610. DWORD *_pdwStubPhase);
  611. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_put_AllowOutboundTimeExceeded_Proxy(
  612. INetFwIcmpSettings * This,
  613. /* [in] */ VARIANT_BOOL allow);
  614. void __RPC_STUB INetFwIcmpSettings_put_AllowOutboundTimeExceeded_Stub(
  615. IRpcStubBuffer *This,
  616. IRpcChannelBuffer *_pRpcChannelBuffer,
  617. PRPC_MESSAGE _pRpcMessage,
  618. DWORD *_pdwStubPhase);
  619. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_get_AllowOutboundParameterProblem_Proxy(
  620. INetFwIcmpSettings * This,
  621. /* [retval][out] */ VARIANT_BOOL *allow);
  622. void __RPC_STUB INetFwIcmpSettings_get_AllowOutboundParameterProblem_Stub(
  623. IRpcStubBuffer *This,
  624. IRpcChannelBuffer *_pRpcChannelBuffer,
  625. PRPC_MESSAGE _pRpcMessage,
  626. DWORD *_pdwStubPhase);
  627. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_put_AllowOutboundParameterProblem_Proxy(
  628. INetFwIcmpSettings * This,
  629. /* [in] */ VARIANT_BOOL allow);
  630. void __RPC_STUB INetFwIcmpSettings_put_AllowOutboundParameterProblem_Stub(
  631. IRpcStubBuffer *This,
  632. IRpcChannelBuffer *_pRpcChannelBuffer,
  633. PRPC_MESSAGE _pRpcMessage,
  634. DWORD *_pdwStubPhase);
  635. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_get_AllowOutboundSourceQuench_Proxy(
  636. INetFwIcmpSettings * This,
  637. /* [retval][out] */ VARIANT_BOOL *allow);
  638. void __RPC_STUB INetFwIcmpSettings_get_AllowOutboundSourceQuench_Stub(
  639. IRpcStubBuffer *This,
  640. IRpcChannelBuffer *_pRpcChannelBuffer,
  641. PRPC_MESSAGE _pRpcMessage,
  642. DWORD *_pdwStubPhase);
  643. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_put_AllowOutboundSourceQuench_Proxy(
  644. INetFwIcmpSettings * This,
  645. /* [in] */ VARIANT_BOOL allow);
  646. void __RPC_STUB INetFwIcmpSettings_put_AllowOutboundSourceQuench_Stub(
  647. IRpcStubBuffer *This,
  648. IRpcChannelBuffer *_pRpcChannelBuffer,
  649. PRPC_MESSAGE _pRpcMessage,
  650. DWORD *_pdwStubPhase);
  651. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_get_AllowInboundRouterRequest_Proxy(
  652. INetFwIcmpSettings * This,
  653. /* [retval][out] */ VARIANT_BOOL *allow);
  654. void __RPC_STUB INetFwIcmpSettings_get_AllowInboundRouterRequest_Stub(
  655. IRpcStubBuffer *This,
  656. IRpcChannelBuffer *_pRpcChannelBuffer,
  657. PRPC_MESSAGE _pRpcMessage,
  658. DWORD *_pdwStubPhase);
  659. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_put_AllowInboundRouterRequest_Proxy(
  660. INetFwIcmpSettings * This,
  661. /* [in] */ VARIANT_BOOL allow);
  662. void __RPC_STUB INetFwIcmpSettings_put_AllowInboundRouterRequest_Stub(
  663. IRpcStubBuffer *This,
  664. IRpcChannelBuffer *_pRpcChannelBuffer,
  665. PRPC_MESSAGE _pRpcMessage,
  666. DWORD *_pdwStubPhase);
  667. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_get_AllowInboundTimestampRequest_Proxy(
  668. INetFwIcmpSettings * This,
  669. /* [retval][out] */ VARIANT_BOOL *allow);
  670. void __RPC_STUB INetFwIcmpSettings_get_AllowInboundTimestampRequest_Stub(
  671. IRpcStubBuffer *This,
  672. IRpcChannelBuffer *_pRpcChannelBuffer,
  673. PRPC_MESSAGE _pRpcMessage,
  674. DWORD *_pdwStubPhase);
  675. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_put_AllowInboundTimestampRequest_Proxy(
  676. INetFwIcmpSettings * This,
  677. /* [in] */ VARIANT_BOOL allow);
  678. void __RPC_STUB INetFwIcmpSettings_put_AllowInboundTimestampRequest_Stub(
  679. IRpcStubBuffer *This,
  680. IRpcChannelBuffer *_pRpcChannelBuffer,
  681. PRPC_MESSAGE _pRpcMessage,
  682. DWORD *_pdwStubPhase);
  683. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_get_AllowInboundMaskRequest_Proxy(
  684. INetFwIcmpSettings * This,
  685. /* [retval][out] */ VARIANT_BOOL *allow);
  686. void __RPC_STUB INetFwIcmpSettings_get_AllowInboundMaskRequest_Stub(
  687. IRpcStubBuffer *This,
  688. IRpcChannelBuffer *_pRpcChannelBuffer,
  689. PRPC_MESSAGE _pRpcMessage,
  690. DWORD *_pdwStubPhase);
  691. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_put_AllowInboundMaskRequest_Proxy(
  692. INetFwIcmpSettings * This,
  693. /* [in] */ VARIANT_BOOL allow);
  694. void __RPC_STUB INetFwIcmpSettings_put_AllowInboundMaskRequest_Stub(
  695. IRpcStubBuffer *This,
  696. IRpcChannelBuffer *_pRpcChannelBuffer,
  697. PRPC_MESSAGE _pRpcMessage,
  698. DWORD *_pdwStubPhase);
  699. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_get_AllowOutboundPacketTooBig_Proxy(
  700. INetFwIcmpSettings * This,
  701. /* [retval][out] */ VARIANT_BOOL *allow);
  702. void __RPC_STUB INetFwIcmpSettings_get_AllowOutboundPacketTooBig_Stub(
  703. IRpcStubBuffer *This,
  704. IRpcChannelBuffer *_pRpcChannelBuffer,
  705. PRPC_MESSAGE _pRpcMessage,
  706. DWORD *_pdwStubPhase);
  707. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwIcmpSettings_put_AllowOutboundPacketTooBig_Proxy(
  708. INetFwIcmpSettings * This,
  709. /* [in] */ VARIANT_BOOL allow);
  710. void __RPC_STUB INetFwIcmpSettings_put_AllowOutboundPacketTooBig_Stub(
  711. IRpcStubBuffer *This,
  712. IRpcChannelBuffer *_pRpcChannelBuffer,
  713. PRPC_MESSAGE _pRpcMessage,
  714. DWORD *_pdwStubPhase);
  715. #endif /* __INetFwIcmpSettings_INTERFACE_DEFINED__ */
  716. #ifndef __INetFwOpenPort_INTERFACE_DEFINED__
  717. #define __INetFwOpenPort_INTERFACE_DEFINED__
  718. /* interface INetFwOpenPort */
  719. /* [dual][uuid][object] */
  720. EXTERN_C const IID IID_INetFwOpenPort;
  721. #if defined(__cplusplus) && !defined(CINTERFACE)
  722. MIDL_INTERFACE("E0483BA0-47FF-4D9C-A6D6-7741D0B195F7")
  723. INetFwOpenPort : public IDispatch
  724. {
  725. public:
  726. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  727. /* [retval][out] */ BSTR *name) = 0;
  728. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Name(
  729. /* [in] */ BSTR name) = 0;
  730. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_IpVersion(
  731. /* [retval][out] */ NET_FW_IP_VERSION *ipVersion) = 0;
  732. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_IpVersion(
  733. /* [in] */ NET_FW_IP_VERSION ipVersion) = 0;
  734. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Protocol(
  735. /* [retval][out] */ NET_FW_IP_PROTOCOL *ipProtocol) = 0;
  736. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Protocol(
  737. /* [in] */ NET_FW_IP_PROTOCOL ipProtocol) = 0;
  738. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Port(
  739. /* [retval][out] */ LONG *portNumber) = 0;
  740. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Port(
  741. /* [in] */ LONG portNumber) = 0;
  742. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Scope(
  743. /* [retval][out] */ NET_FW_SCOPE *scope) = 0;
  744. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Scope(
  745. /* [in] */ NET_FW_SCOPE scope) = 0;
  746. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_RemoteAddresses(
  747. /* [retval][out] */ BSTR *remoteAddrs) = 0;
  748. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_RemoteAddresses(
  749. /* [in] */ BSTR remoteAddrs) = 0;
  750. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Enabled(
  751. /* [retval][out] */ VARIANT_BOOL *enabled) = 0;
  752. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Enabled(
  753. /* [in] */ VARIANT_BOOL enabled) = 0;
  754. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_BuiltIn(
  755. /* [retval][out] */ VARIANT_BOOL *builtIn) = 0;
  756. };
  757. #else /* C style interface */
  758. typedef struct INetFwOpenPortVtbl
  759. {
  760. BEGIN_INTERFACE
  761. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  762. INetFwOpenPort * This,
  763. /* [in] */ REFIID riid,
  764. /* [iid_is][out] */ void **ppvObject);
  765. ULONG ( STDMETHODCALLTYPE *AddRef )(
  766. INetFwOpenPort * This);
  767. ULONG ( STDMETHODCALLTYPE *Release )(
  768. INetFwOpenPort * This);
  769. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  770. INetFwOpenPort * This,
  771. /* [out] */ UINT *pctinfo);
  772. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  773. INetFwOpenPort * This,
  774. /* [in] */ UINT iTInfo,
  775. /* [in] */ LCID lcid,
  776. /* [out] */ ITypeInfo **ppTInfo);
  777. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  778. INetFwOpenPort * This,
  779. /* [in] */ REFIID riid,
  780. /* [size_is][in] */ LPOLESTR *rgszNames,
  781. /* [in] */ UINT cNames,
  782. /* [in] */ LCID lcid,
  783. /* [size_is][out] */ DISPID *rgDispId);
  784. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  785. INetFwOpenPort * This,
  786. /* [in] */ DISPID dispIdMember,
  787. /* [in] */ REFIID riid,
  788. /* [in] */ LCID lcid,
  789. /* [in] */ WORD wFlags,
  790. /* [out][in] */ DISPPARAMS *pDispParams,
  791. /* [out] */ VARIANT *pVarResult,
  792. /* [out] */ EXCEPINFO *pExcepInfo,
  793. /* [out] */ UINT *puArgErr);
  794. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  795. INetFwOpenPort * This,
  796. /* [retval][out] */ BSTR *name);
  797. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  798. INetFwOpenPort * This,
  799. /* [in] */ BSTR name);
  800. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IpVersion )(
  801. INetFwOpenPort * This,
  802. /* [retval][out] */ NET_FW_IP_VERSION *ipVersion);
  803. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_IpVersion )(
  804. INetFwOpenPort * This,
  805. /* [in] */ NET_FW_IP_VERSION ipVersion);
  806. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Protocol )(
  807. INetFwOpenPort * This,
  808. /* [retval][out] */ NET_FW_IP_PROTOCOL *ipProtocol);
  809. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Protocol )(
  810. INetFwOpenPort * This,
  811. /* [in] */ NET_FW_IP_PROTOCOL ipProtocol);
  812. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Port )(
  813. INetFwOpenPort * This,
  814. /* [retval][out] */ LONG *portNumber);
  815. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Port )(
  816. INetFwOpenPort * This,
  817. /* [in] */ LONG portNumber);
  818. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Scope )(
  819. INetFwOpenPort * This,
  820. /* [retval][out] */ NET_FW_SCOPE *scope);
  821. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Scope )(
  822. INetFwOpenPort * This,
  823. /* [in] */ NET_FW_SCOPE scope);
  824. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RemoteAddresses )(
  825. INetFwOpenPort * This,
  826. /* [retval][out] */ BSTR *remoteAddrs);
  827. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RemoteAddresses )(
  828. INetFwOpenPort * This,
  829. /* [in] */ BSTR remoteAddrs);
  830. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
  831. INetFwOpenPort * This,
  832. /* [retval][out] */ VARIANT_BOOL *enabled);
  833. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )(
  834. INetFwOpenPort * This,
  835. /* [in] */ VARIANT_BOOL enabled);
  836. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_BuiltIn )(
  837. INetFwOpenPort * This,
  838. /* [retval][out] */ VARIANT_BOOL *builtIn);
  839. END_INTERFACE
  840. } INetFwOpenPortVtbl;
  841. interface INetFwOpenPort
  842. {
  843. CONST_VTBL struct INetFwOpenPortVtbl *lpVtbl;
  844. };
  845. #ifdef COBJMACROS
  846. #define INetFwOpenPort_QueryInterface(This,riid,ppvObject) \
  847. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  848. #define INetFwOpenPort_AddRef(This) \
  849. (This)->lpVtbl -> AddRef(This)
  850. #define INetFwOpenPort_Release(This) \
  851. (This)->lpVtbl -> Release(This)
  852. #define INetFwOpenPort_GetTypeInfoCount(This,pctinfo) \
  853. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  854. #define INetFwOpenPort_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  855. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  856. #define INetFwOpenPort_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  857. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  858. #define INetFwOpenPort_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  859. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  860. #define INetFwOpenPort_get_Name(This,name) \
  861. (This)->lpVtbl -> get_Name(This,name)
  862. #define INetFwOpenPort_put_Name(This,name) \
  863. (This)->lpVtbl -> put_Name(This,name)
  864. #define INetFwOpenPort_get_IpVersion(This,ipVersion) \
  865. (This)->lpVtbl -> get_IpVersion(This,ipVersion)
  866. #define INetFwOpenPort_put_IpVersion(This,ipVersion) \
  867. (This)->lpVtbl -> put_IpVersion(This,ipVersion)
  868. #define INetFwOpenPort_get_Protocol(This,ipProtocol) \
  869. (This)->lpVtbl -> get_Protocol(This,ipProtocol)
  870. #define INetFwOpenPort_put_Protocol(This,ipProtocol) \
  871. (This)->lpVtbl -> put_Protocol(This,ipProtocol)
  872. #define INetFwOpenPort_get_Port(This,portNumber) \
  873. (This)->lpVtbl -> get_Port(This,portNumber)
  874. #define INetFwOpenPort_put_Port(This,portNumber) \
  875. (This)->lpVtbl -> put_Port(This,portNumber)
  876. #define INetFwOpenPort_get_Scope(This,scope) \
  877. (This)->lpVtbl -> get_Scope(This,scope)
  878. #define INetFwOpenPort_put_Scope(This,scope) \
  879. (This)->lpVtbl -> put_Scope(This,scope)
  880. #define INetFwOpenPort_get_RemoteAddresses(This,remoteAddrs) \
  881. (This)->lpVtbl -> get_RemoteAddresses(This,remoteAddrs)
  882. #define INetFwOpenPort_put_RemoteAddresses(This,remoteAddrs) \
  883. (This)->lpVtbl -> put_RemoteAddresses(This,remoteAddrs)
  884. #define INetFwOpenPort_get_Enabled(This,enabled) \
  885. (This)->lpVtbl -> get_Enabled(This,enabled)
  886. #define INetFwOpenPort_put_Enabled(This,enabled) \
  887. (This)->lpVtbl -> put_Enabled(This,enabled)
  888. #define INetFwOpenPort_get_BuiltIn(This,builtIn) \
  889. (This)->lpVtbl -> get_BuiltIn(This,builtIn)
  890. #endif /* COBJMACROS */
  891. #endif /* C style interface */
  892. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_get_Name_Proxy(
  893. INetFwOpenPort * This,
  894. /* [retval][out] */ BSTR *name);
  895. void __RPC_STUB INetFwOpenPort_get_Name_Stub(
  896. IRpcStubBuffer *This,
  897. IRpcChannelBuffer *_pRpcChannelBuffer,
  898. PRPC_MESSAGE _pRpcMessage,
  899. DWORD *_pdwStubPhase);
  900. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_put_Name_Proxy(
  901. INetFwOpenPort * This,
  902. /* [in] */ BSTR name);
  903. void __RPC_STUB INetFwOpenPort_put_Name_Stub(
  904. IRpcStubBuffer *This,
  905. IRpcChannelBuffer *_pRpcChannelBuffer,
  906. PRPC_MESSAGE _pRpcMessage,
  907. DWORD *_pdwStubPhase);
  908. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_get_IpVersion_Proxy(
  909. INetFwOpenPort * This,
  910. /* [retval][out] */ NET_FW_IP_VERSION *ipVersion);
  911. void __RPC_STUB INetFwOpenPort_get_IpVersion_Stub(
  912. IRpcStubBuffer *This,
  913. IRpcChannelBuffer *_pRpcChannelBuffer,
  914. PRPC_MESSAGE _pRpcMessage,
  915. DWORD *_pdwStubPhase);
  916. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_put_IpVersion_Proxy(
  917. INetFwOpenPort * This,
  918. /* [in] */ NET_FW_IP_VERSION ipVersion);
  919. void __RPC_STUB INetFwOpenPort_put_IpVersion_Stub(
  920. IRpcStubBuffer *This,
  921. IRpcChannelBuffer *_pRpcChannelBuffer,
  922. PRPC_MESSAGE _pRpcMessage,
  923. DWORD *_pdwStubPhase);
  924. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_get_Protocol_Proxy(
  925. INetFwOpenPort * This,
  926. /* [retval][out] */ NET_FW_IP_PROTOCOL *ipProtocol);
  927. void __RPC_STUB INetFwOpenPort_get_Protocol_Stub(
  928. IRpcStubBuffer *This,
  929. IRpcChannelBuffer *_pRpcChannelBuffer,
  930. PRPC_MESSAGE _pRpcMessage,
  931. DWORD *_pdwStubPhase);
  932. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_put_Protocol_Proxy(
  933. INetFwOpenPort * This,
  934. /* [in] */ NET_FW_IP_PROTOCOL ipProtocol);
  935. void __RPC_STUB INetFwOpenPort_put_Protocol_Stub(
  936. IRpcStubBuffer *This,
  937. IRpcChannelBuffer *_pRpcChannelBuffer,
  938. PRPC_MESSAGE _pRpcMessage,
  939. DWORD *_pdwStubPhase);
  940. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_get_Port_Proxy(
  941. INetFwOpenPort * This,
  942. /* [retval][out] */ LONG *portNumber);
  943. void __RPC_STUB INetFwOpenPort_get_Port_Stub(
  944. IRpcStubBuffer *This,
  945. IRpcChannelBuffer *_pRpcChannelBuffer,
  946. PRPC_MESSAGE _pRpcMessage,
  947. DWORD *_pdwStubPhase);
  948. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_put_Port_Proxy(
  949. INetFwOpenPort * This,
  950. /* [in] */ LONG portNumber);
  951. void __RPC_STUB INetFwOpenPort_put_Port_Stub(
  952. IRpcStubBuffer *This,
  953. IRpcChannelBuffer *_pRpcChannelBuffer,
  954. PRPC_MESSAGE _pRpcMessage,
  955. DWORD *_pdwStubPhase);
  956. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_get_Scope_Proxy(
  957. INetFwOpenPort * This,
  958. /* [retval][out] */ NET_FW_SCOPE *scope);
  959. void __RPC_STUB INetFwOpenPort_get_Scope_Stub(
  960. IRpcStubBuffer *This,
  961. IRpcChannelBuffer *_pRpcChannelBuffer,
  962. PRPC_MESSAGE _pRpcMessage,
  963. DWORD *_pdwStubPhase);
  964. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_put_Scope_Proxy(
  965. INetFwOpenPort * This,
  966. /* [in] */ NET_FW_SCOPE scope);
  967. void __RPC_STUB INetFwOpenPort_put_Scope_Stub(
  968. IRpcStubBuffer *This,
  969. IRpcChannelBuffer *_pRpcChannelBuffer,
  970. PRPC_MESSAGE _pRpcMessage,
  971. DWORD *_pdwStubPhase);
  972. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_get_RemoteAddresses_Proxy(
  973. INetFwOpenPort * This,
  974. /* [retval][out] */ BSTR *remoteAddrs);
  975. void __RPC_STUB INetFwOpenPort_get_RemoteAddresses_Stub(
  976. IRpcStubBuffer *This,
  977. IRpcChannelBuffer *_pRpcChannelBuffer,
  978. PRPC_MESSAGE _pRpcMessage,
  979. DWORD *_pdwStubPhase);
  980. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_put_RemoteAddresses_Proxy(
  981. INetFwOpenPort * This,
  982. /* [in] */ BSTR remoteAddrs);
  983. void __RPC_STUB INetFwOpenPort_put_RemoteAddresses_Stub(
  984. IRpcStubBuffer *This,
  985. IRpcChannelBuffer *_pRpcChannelBuffer,
  986. PRPC_MESSAGE _pRpcMessage,
  987. DWORD *_pdwStubPhase);
  988. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_get_Enabled_Proxy(
  989. INetFwOpenPort * This,
  990. /* [retval][out] */ VARIANT_BOOL *enabled);
  991. void __RPC_STUB INetFwOpenPort_get_Enabled_Stub(
  992. IRpcStubBuffer *This,
  993. IRpcChannelBuffer *_pRpcChannelBuffer,
  994. PRPC_MESSAGE _pRpcMessage,
  995. DWORD *_pdwStubPhase);
  996. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_put_Enabled_Proxy(
  997. INetFwOpenPort * This,
  998. /* [in] */ VARIANT_BOOL enabled);
  999. void __RPC_STUB INetFwOpenPort_put_Enabled_Stub(
  1000. IRpcStubBuffer *This,
  1001. IRpcChannelBuffer *_pRpcChannelBuffer,
  1002. PRPC_MESSAGE _pRpcMessage,
  1003. DWORD *_pdwStubPhase);
  1004. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPort_get_BuiltIn_Proxy(
  1005. INetFwOpenPort * This,
  1006. /* [retval][out] */ VARIANT_BOOL *builtIn);
  1007. void __RPC_STUB INetFwOpenPort_get_BuiltIn_Stub(
  1008. IRpcStubBuffer *This,
  1009. IRpcChannelBuffer *_pRpcChannelBuffer,
  1010. PRPC_MESSAGE _pRpcMessage,
  1011. DWORD *_pdwStubPhase);
  1012. #endif /* __INetFwOpenPort_INTERFACE_DEFINED__ */
  1013. #ifndef __INetFwOpenPorts_INTERFACE_DEFINED__
  1014. #define __INetFwOpenPorts_INTERFACE_DEFINED__
  1015. /* interface INetFwOpenPorts */
  1016. /* [dual][uuid][object] */
  1017. EXTERN_C const IID IID_INetFwOpenPorts;
  1018. #if defined(__cplusplus) && !defined(CINTERFACE)
  1019. MIDL_INTERFACE("C0E9D7FA-E07E-430A-B19A-090CE82D92E2")
  1020. INetFwOpenPorts : public IDispatch
  1021. {
  1022. public:
  1023. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  1024. /* [retval][out] */ long *count) = 0;
  1025. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Add(
  1026. /* [in] */ INetFwOpenPort *port) = 0;
  1027. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Remove(
  1028. /* [in] */ LONG portNumber,
  1029. /* [in] */ NET_FW_IP_PROTOCOL ipProtocol) = 0;
  1030. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Item(
  1031. /* [in] */ LONG portNumber,
  1032. /* [in] */ NET_FW_IP_PROTOCOL ipProtocol,
  1033. /* [retval][out] */ INetFwOpenPort **openPort) = 0;
  1034. virtual /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  1035. /* [retval][out] */ IUnknown **newEnum) = 0;
  1036. };
  1037. #else /* C style interface */
  1038. typedef struct INetFwOpenPortsVtbl
  1039. {
  1040. BEGIN_INTERFACE
  1041. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1042. INetFwOpenPorts * This,
  1043. /* [in] */ REFIID riid,
  1044. /* [iid_is][out] */ void **ppvObject);
  1045. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1046. INetFwOpenPorts * This);
  1047. ULONG ( STDMETHODCALLTYPE *Release )(
  1048. INetFwOpenPorts * This);
  1049. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1050. INetFwOpenPorts * This,
  1051. /* [out] */ UINT *pctinfo);
  1052. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1053. INetFwOpenPorts * This,
  1054. /* [in] */ UINT iTInfo,
  1055. /* [in] */ LCID lcid,
  1056. /* [out] */ ITypeInfo **ppTInfo);
  1057. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1058. INetFwOpenPorts * This,
  1059. /* [in] */ REFIID riid,
  1060. /* [size_is][in] */ LPOLESTR *rgszNames,
  1061. /* [in] */ UINT cNames,
  1062. /* [in] */ LCID lcid,
  1063. /* [size_is][out] */ DISPID *rgDispId);
  1064. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1065. INetFwOpenPorts * This,
  1066. /* [in] */ DISPID dispIdMember,
  1067. /* [in] */ REFIID riid,
  1068. /* [in] */ LCID lcid,
  1069. /* [in] */ WORD wFlags,
  1070. /* [out][in] */ DISPPARAMS *pDispParams,
  1071. /* [out] */ VARIANT *pVarResult,
  1072. /* [out] */ EXCEPINFO *pExcepInfo,
  1073. /* [out] */ UINT *puArgErr);
  1074. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  1075. INetFwOpenPorts * This,
  1076. /* [retval][out] */ long *count);
  1077. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  1078. INetFwOpenPorts * This,
  1079. /* [in] */ INetFwOpenPort *port);
  1080. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  1081. INetFwOpenPorts * This,
  1082. /* [in] */ LONG portNumber,
  1083. /* [in] */ NET_FW_IP_PROTOCOL ipProtocol);
  1084. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  1085. INetFwOpenPorts * This,
  1086. /* [in] */ LONG portNumber,
  1087. /* [in] */ NET_FW_IP_PROTOCOL ipProtocol,
  1088. /* [retval][out] */ INetFwOpenPort **openPort);
  1089. /* [restricted][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  1090. INetFwOpenPorts * This,
  1091. /* [retval][out] */ IUnknown **newEnum);
  1092. END_INTERFACE
  1093. } INetFwOpenPortsVtbl;
  1094. interface INetFwOpenPorts
  1095. {
  1096. CONST_VTBL struct INetFwOpenPortsVtbl *lpVtbl;
  1097. };
  1098. #ifdef COBJMACROS
  1099. #define INetFwOpenPorts_QueryInterface(This,riid,ppvObject) \
  1100. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1101. #define INetFwOpenPorts_AddRef(This) \
  1102. (This)->lpVtbl -> AddRef(This)
  1103. #define INetFwOpenPorts_Release(This) \
  1104. (This)->lpVtbl -> Release(This)
  1105. #define INetFwOpenPorts_GetTypeInfoCount(This,pctinfo) \
  1106. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1107. #define INetFwOpenPorts_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1108. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1109. #define INetFwOpenPorts_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1110. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1111. #define INetFwOpenPorts_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1112. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1113. #define INetFwOpenPorts_get_Count(This,count) \
  1114. (This)->lpVtbl -> get_Count(This,count)
  1115. #define INetFwOpenPorts_Add(This,port) \
  1116. (This)->lpVtbl -> Add(This,port)
  1117. #define INetFwOpenPorts_Remove(This,portNumber,ipProtocol) \
  1118. (This)->lpVtbl -> Remove(This,portNumber,ipProtocol)
  1119. #define INetFwOpenPorts_Item(This,portNumber,ipProtocol,openPort) \
  1120. (This)->lpVtbl -> Item(This,portNumber,ipProtocol,openPort)
  1121. #define INetFwOpenPorts_get__NewEnum(This,newEnum) \
  1122. (This)->lpVtbl -> get__NewEnum(This,newEnum)
  1123. #endif /* COBJMACROS */
  1124. #endif /* C style interface */
  1125. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPorts_get_Count_Proxy(
  1126. INetFwOpenPorts * This,
  1127. /* [retval][out] */ long *count);
  1128. void __RPC_STUB INetFwOpenPorts_get_Count_Stub(
  1129. IRpcStubBuffer *This,
  1130. IRpcChannelBuffer *_pRpcChannelBuffer,
  1131. PRPC_MESSAGE _pRpcMessage,
  1132. DWORD *_pdwStubPhase);
  1133. /* [id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPorts_Add_Proxy(
  1134. INetFwOpenPorts * This,
  1135. /* [in] */ INetFwOpenPort *port);
  1136. void __RPC_STUB INetFwOpenPorts_Add_Stub(
  1137. IRpcStubBuffer *This,
  1138. IRpcChannelBuffer *_pRpcChannelBuffer,
  1139. PRPC_MESSAGE _pRpcMessage,
  1140. DWORD *_pdwStubPhase);
  1141. /* [id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPorts_Remove_Proxy(
  1142. INetFwOpenPorts * This,
  1143. /* [in] */ LONG portNumber,
  1144. /* [in] */ NET_FW_IP_PROTOCOL ipProtocol);
  1145. void __RPC_STUB INetFwOpenPorts_Remove_Stub(
  1146. IRpcStubBuffer *This,
  1147. IRpcChannelBuffer *_pRpcChannelBuffer,
  1148. PRPC_MESSAGE _pRpcMessage,
  1149. DWORD *_pdwStubPhase);
  1150. /* [id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPorts_Item_Proxy(
  1151. INetFwOpenPorts * This,
  1152. /* [in] */ LONG portNumber,
  1153. /* [in] */ NET_FW_IP_PROTOCOL ipProtocol,
  1154. /* [retval][out] */ INetFwOpenPort **openPort);
  1155. void __RPC_STUB INetFwOpenPorts_Item_Stub(
  1156. IRpcStubBuffer *This,
  1157. IRpcChannelBuffer *_pRpcChannelBuffer,
  1158. PRPC_MESSAGE _pRpcMessage,
  1159. DWORD *_pdwStubPhase);
  1160. /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE INetFwOpenPorts_get__NewEnum_Proxy(
  1161. INetFwOpenPorts * This,
  1162. /* [retval][out] */ IUnknown **newEnum);
  1163. void __RPC_STUB INetFwOpenPorts_get__NewEnum_Stub(
  1164. IRpcStubBuffer *This,
  1165. IRpcChannelBuffer *_pRpcChannelBuffer,
  1166. PRPC_MESSAGE _pRpcMessage,
  1167. DWORD *_pdwStubPhase);
  1168. #endif /* __INetFwOpenPorts_INTERFACE_DEFINED__ */
  1169. #ifndef __INetFwService_INTERFACE_DEFINED__
  1170. #define __INetFwService_INTERFACE_DEFINED__
  1171. /* interface INetFwService */
  1172. /* [dual][uuid][object] */
  1173. EXTERN_C const IID IID_INetFwService;
  1174. #if defined(__cplusplus) && !defined(CINTERFACE)
  1175. MIDL_INTERFACE("79FD57C8-908E-4A36-9888-D5B3F0A444CF")
  1176. INetFwService : public IDispatch
  1177. {
  1178. public:
  1179. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  1180. /* [retval][out] */ BSTR *name) = 0;
  1181. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Type(
  1182. /* [retval][out] */ NET_FW_SERVICE_TYPE *type) = 0;
  1183. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Customized(
  1184. /* [retval][out] */ VARIANT_BOOL *customized) = 0;
  1185. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_IpVersion(
  1186. /* [retval][out] */ NET_FW_IP_VERSION *ipVersion) = 0;
  1187. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_IpVersion(
  1188. /* [in] */ NET_FW_IP_VERSION ipVersion) = 0;
  1189. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Scope(
  1190. /* [retval][out] */ NET_FW_SCOPE *scope) = 0;
  1191. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Scope(
  1192. /* [in] */ NET_FW_SCOPE scope) = 0;
  1193. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_RemoteAddresses(
  1194. /* [retval][out] */ BSTR *remoteAddrs) = 0;
  1195. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_RemoteAddresses(
  1196. /* [in] */ BSTR remoteAddrs) = 0;
  1197. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Enabled(
  1198. /* [retval][out] */ VARIANT_BOOL *enabled) = 0;
  1199. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Enabled(
  1200. /* [in] */ VARIANT_BOOL enabled) = 0;
  1201. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_GloballyOpenPorts(
  1202. /* [retval][out] */ INetFwOpenPorts **openPorts) = 0;
  1203. };
  1204. #else /* C style interface */
  1205. typedef struct INetFwServiceVtbl
  1206. {
  1207. BEGIN_INTERFACE
  1208. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1209. INetFwService * This,
  1210. /* [in] */ REFIID riid,
  1211. /* [iid_is][out] */ void **ppvObject);
  1212. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1213. INetFwService * This);
  1214. ULONG ( STDMETHODCALLTYPE *Release )(
  1215. INetFwService * This);
  1216. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1217. INetFwService * This,
  1218. /* [out] */ UINT *pctinfo);
  1219. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1220. INetFwService * This,
  1221. /* [in] */ UINT iTInfo,
  1222. /* [in] */ LCID lcid,
  1223. /* [out] */ ITypeInfo **ppTInfo);
  1224. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1225. INetFwService * This,
  1226. /* [in] */ REFIID riid,
  1227. /* [size_is][in] */ LPOLESTR *rgszNames,
  1228. /* [in] */ UINT cNames,
  1229. /* [in] */ LCID lcid,
  1230. /* [size_is][out] */ DISPID *rgDispId);
  1231. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1232. INetFwService * This,
  1233. /* [in] */ DISPID dispIdMember,
  1234. /* [in] */ REFIID riid,
  1235. /* [in] */ LCID lcid,
  1236. /* [in] */ WORD wFlags,
  1237. /* [out][in] */ DISPPARAMS *pDispParams,
  1238. /* [out] */ VARIANT *pVarResult,
  1239. /* [out] */ EXCEPINFO *pExcepInfo,
  1240. /* [out] */ UINT *puArgErr);
  1241. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1242. INetFwService * This,
  1243. /* [retval][out] */ BSTR *name);
  1244. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
  1245. INetFwService * This,
  1246. /* [retval][out] */ NET_FW_SERVICE_TYPE *type);
  1247. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Customized )(
  1248. INetFwService * This,
  1249. /* [retval][out] */ VARIANT_BOOL *customized);
  1250. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IpVersion )(
  1251. INetFwService * This,
  1252. /* [retval][out] */ NET_FW_IP_VERSION *ipVersion);
  1253. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_IpVersion )(
  1254. INetFwService * This,
  1255. /* [in] */ NET_FW_IP_VERSION ipVersion);
  1256. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Scope )(
  1257. INetFwService * This,
  1258. /* [retval][out] */ NET_FW_SCOPE *scope);
  1259. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Scope )(
  1260. INetFwService * This,
  1261. /* [in] */ NET_FW_SCOPE scope);
  1262. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RemoteAddresses )(
  1263. INetFwService * This,
  1264. /* [retval][out] */ BSTR *remoteAddrs);
  1265. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RemoteAddresses )(
  1266. INetFwService * This,
  1267. /* [in] */ BSTR remoteAddrs);
  1268. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
  1269. INetFwService * This,
  1270. /* [retval][out] */ VARIANT_BOOL *enabled);
  1271. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )(
  1272. INetFwService * This,
  1273. /* [in] */ VARIANT_BOOL enabled);
  1274. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_GloballyOpenPorts )(
  1275. INetFwService * This,
  1276. /* [retval][out] */ INetFwOpenPorts **openPorts);
  1277. END_INTERFACE
  1278. } INetFwServiceVtbl;
  1279. interface INetFwService
  1280. {
  1281. CONST_VTBL struct INetFwServiceVtbl *lpVtbl;
  1282. };
  1283. #ifdef COBJMACROS
  1284. #define INetFwService_QueryInterface(This,riid,ppvObject) \
  1285. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1286. #define INetFwService_AddRef(This) \
  1287. (This)->lpVtbl -> AddRef(This)
  1288. #define INetFwService_Release(This) \
  1289. (This)->lpVtbl -> Release(This)
  1290. #define INetFwService_GetTypeInfoCount(This,pctinfo) \
  1291. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1292. #define INetFwService_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1293. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1294. #define INetFwService_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1295. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1296. #define INetFwService_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1297. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1298. #define INetFwService_get_Name(This,name) \
  1299. (This)->lpVtbl -> get_Name(This,name)
  1300. #define INetFwService_get_Type(This,type) \
  1301. (This)->lpVtbl -> get_Type(This,type)
  1302. #define INetFwService_get_Customized(This,customized) \
  1303. (This)->lpVtbl -> get_Customized(This,customized)
  1304. #define INetFwService_get_IpVersion(This,ipVersion) \
  1305. (This)->lpVtbl -> get_IpVersion(This,ipVersion)
  1306. #define INetFwService_put_IpVersion(This,ipVersion) \
  1307. (This)->lpVtbl -> put_IpVersion(This,ipVersion)
  1308. #define INetFwService_get_Scope(This,scope) \
  1309. (This)->lpVtbl -> get_Scope(This,scope)
  1310. #define INetFwService_put_Scope(This,scope) \
  1311. (This)->lpVtbl -> put_Scope(This,scope)
  1312. #define INetFwService_get_RemoteAddresses(This,remoteAddrs) \
  1313. (This)->lpVtbl -> get_RemoteAddresses(This,remoteAddrs)
  1314. #define INetFwService_put_RemoteAddresses(This,remoteAddrs) \
  1315. (This)->lpVtbl -> put_RemoteAddresses(This,remoteAddrs)
  1316. #define INetFwService_get_Enabled(This,enabled) \
  1317. (This)->lpVtbl -> get_Enabled(This,enabled)
  1318. #define INetFwService_put_Enabled(This,enabled) \
  1319. (This)->lpVtbl -> put_Enabled(This,enabled)
  1320. #define INetFwService_get_GloballyOpenPorts(This,openPorts) \
  1321. (This)->lpVtbl -> get_GloballyOpenPorts(This,openPorts)
  1322. #endif /* COBJMACROS */
  1323. #endif /* C style interface */
  1324. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwService_get_Name_Proxy(
  1325. INetFwService * This,
  1326. /* [retval][out] */ BSTR *name);
  1327. void __RPC_STUB INetFwService_get_Name_Stub(
  1328. IRpcStubBuffer *This,
  1329. IRpcChannelBuffer *_pRpcChannelBuffer,
  1330. PRPC_MESSAGE _pRpcMessage,
  1331. DWORD *_pdwStubPhase);
  1332. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwService_get_Type_Proxy(
  1333. INetFwService * This,
  1334. /* [retval][out] */ NET_FW_SERVICE_TYPE *type);
  1335. void __RPC_STUB INetFwService_get_Type_Stub(
  1336. IRpcStubBuffer *This,
  1337. IRpcChannelBuffer *_pRpcChannelBuffer,
  1338. PRPC_MESSAGE _pRpcMessage,
  1339. DWORD *_pdwStubPhase);
  1340. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwService_get_Customized_Proxy(
  1341. INetFwService * This,
  1342. /* [retval][out] */ VARIANT_BOOL *customized);
  1343. void __RPC_STUB INetFwService_get_Customized_Stub(
  1344. IRpcStubBuffer *This,
  1345. IRpcChannelBuffer *_pRpcChannelBuffer,
  1346. PRPC_MESSAGE _pRpcMessage,
  1347. DWORD *_pdwStubPhase);
  1348. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwService_get_IpVersion_Proxy(
  1349. INetFwService * This,
  1350. /* [retval][out] */ NET_FW_IP_VERSION *ipVersion);
  1351. void __RPC_STUB INetFwService_get_IpVersion_Stub(
  1352. IRpcStubBuffer *This,
  1353. IRpcChannelBuffer *_pRpcChannelBuffer,
  1354. PRPC_MESSAGE _pRpcMessage,
  1355. DWORD *_pdwStubPhase);
  1356. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwService_put_IpVersion_Proxy(
  1357. INetFwService * This,
  1358. /* [in] */ NET_FW_IP_VERSION ipVersion);
  1359. void __RPC_STUB INetFwService_put_IpVersion_Stub(
  1360. IRpcStubBuffer *This,
  1361. IRpcChannelBuffer *_pRpcChannelBuffer,
  1362. PRPC_MESSAGE _pRpcMessage,
  1363. DWORD *_pdwStubPhase);
  1364. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwService_get_Scope_Proxy(
  1365. INetFwService * This,
  1366. /* [retval][out] */ NET_FW_SCOPE *scope);
  1367. void __RPC_STUB INetFwService_get_Scope_Stub(
  1368. IRpcStubBuffer *This,
  1369. IRpcChannelBuffer *_pRpcChannelBuffer,
  1370. PRPC_MESSAGE _pRpcMessage,
  1371. DWORD *_pdwStubPhase);
  1372. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwService_put_Scope_Proxy(
  1373. INetFwService * This,
  1374. /* [in] */ NET_FW_SCOPE scope);
  1375. void __RPC_STUB INetFwService_put_Scope_Stub(
  1376. IRpcStubBuffer *This,
  1377. IRpcChannelBuffer *_pRpcChannelBuffer,
  1378. PRPC_MESSAGE _pRpcMessage,
  1379. DWORD *_pdwStubPhase);
  1380. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwService_get_RemoteAddresses_Proxy(
  1381. INetFwService * This,
  1382. /* [retval][out] */ BSTR *remoteAddrs);
  1383. void __RPC_STUB INetFwService_get_RemoteAddresses_Stub(
  1384. IRpcStubBuffer *This,
  1385. IRpcChannelBuffer *_pRpcChannelBuffer,
  1386. PRPC_MESSAGE _pRpcMessage,
  1387. DWORD *_pdwStubPhase);
  1388. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwService_put_RemoteAddresses_Proxy(
  1389. INetFwService * This,
  1390. /* [in] */ BSTR remoteAddrs);
  1391. void __RPC_STUB INetFwService_put_RemoteAddresses_Stub(
  1392. IRpcStubBuffer *This,
  1393. IRpcChannelBuffer *_pRpcChannelBuffer,
  1394. PRPC_MESSAGE _pRpcMessage,
  1395. DWORD *_pdwStubPhase);
  1396. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwService_get_Enabled_Proxy(
  1397. INetFwService * This,
  1398. /* [retval][out] */ VARIANT_BOOL *enabled);
  1399. void __RPC_STUB INetFwService_get_Enabled_Stub(
  1400. IRpcStubBuffer *This,
  1401. IRpcChannelBuffer *_pRpcChannelBuffer,
  1402. PRPC_MESSAGE _pRpcMessage,
  1403. DWORD *_pdwStubPhase);
  1404. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwService_put_Enabled_Proxy(
  1405. INetFwService * This,
  1406. /* [in] */ VARIANT_BOOL enabled);
  1407. void __RPC_STUB INetFwService_put_Enabled_Stub(
  1408. IRpcStubBuffer *This,
  1409. IRpcChannelBuffer *_pRpcChannelBuffer,
  1410. PRPC_MESSAGE _pRpcMessage,
  1411. DWORD *_pdwStubPhase);
  1412. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwService_get_GloballyOpenPorts_Proxy(
  1413. INetFwService * This,
  1414. /* [retval][out] */ INetFwOpenPorts **openPorts);
  1415. void __RPC_STUB INetFwService_get_GloballyOpenPorts_Stub(
  1416. IRpcStubBuffer *This,
  1417. IRpcChannelBuffer *_pRpcChannelBuffer,
  1418. PRPC_MESSAGE _pRpcMessage,
  1419. DWORD *_pdwStubPhase);
  1420. #endif /* __INetFwService_INTERFACE_DEFINED__ */
  1421. #ifndef __INetFwServices_INTERFACE_DEFINED__
  1422. #define __INetFwServices_INTERFACE_DEFINED__
  1423. /* interface INetFwServices */
  1424. /* [dual][uuid][object] */
  1425. EXTERN_C const IID IID_INetFwServices;
  1426. #if defined(__cplusplus) && !defined(CINTERFACE)
  1427. MIDL_INTERFACE("79649BB4-903E-421B-94C9-79848E79F6EE")
  1428. INetFwServices : public IDispatch
  1429. {
  1430. public:
  1431. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  1432. /* [retval][out] */ long *count) = 0;
  1433. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Item(
  1434. /* [in] */ NET_FW_SERVICE_TYPE svcType,
  1435. /* [retval][out] */ INetFwService **service) = 0;
  1436. virtual /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  1437. /* [retval][out] */ IUnknown **newEnum) = 0;
  1438. };
  1439. #else /* C style interface */
  1440. typedef struct INetFwServicesVtbl
  1441. {
  1442. BEGIN_INTERFACE
  1443. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1444. INetFwServices * This,
  1445. /* [in] */ REFIID riid,
  1446. /* [iid_is][out] */ void **ppvObject);
  1447. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1448. INetFwServices * This);
  1449. ULONG ( STDMETHODCALLTYPE *Release )(
  1450. INetFwServices * This);
  1451. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1452. INetFwServices * This,
  1453. /* [out] */ UINT *pctinfo);
  1454. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1455. INetFwServices * This,
  1456. /* [in] */ UINT iTInfo,
  1457. /* [in] */ LCID lcid,
  1458. /* [out] */ ITypeInfo **ppTInfo);
  1459. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1460. INetFwServices * This,
  1461. /* [in] */ REFIID riid,
  1462. /* [size_is][in] */ LPOLESTR *rgszNames,
  1463. /* [in] */ UINT cNames,
  1464. /* [in] */ LCID lcid,
  1465. /* [size_is][out] */ DISPID *rgDispId);
  1466. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1467. INetFwServices * This,
  1468. /* [in] */ DISPID dispIdMember,
  1469. /* [in] */ REFIID riid,
  1470. /* [in] */ LCID lcid,
  1471. /* [in] */ WORD wFlags,
  1472. /* [out][in] */ DISPPARAMS *pDispParams,
  1473. /* [out] */ VARIANT *pVarResult,
  1474. /* [out] */ EXCEPINFO *pExcepInfo,
  1475. /* [out] */ UINT *puArgErr);
  1476. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  1477. INetFwServices * This,
  1478. /* [retval][out] */ long *count);
  1479. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  1480. INetFwServices * This,
  1481. /* [in] */ NET_FW_SERVICE_TYPE svcType,
  1482. /* [retval][out] */ INetFwService **service);
  1483. /* [restricted][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  1484. INetFwServices * This,
  1485. /* [retval][out] */ IUnknown **newEnum);
  1486. END_INTERFACE
  1487. } INetFwServicesVtbl;
  1488. interface INetFwServices
  1489. {
  1490. CONST_VTBL struct INetFwServicesVtbl *lpVtbl;
  1491. };
  1492. #ifdef COBJMACROS
  1493. #define INetFwServices_QueryInterface(This,riid,ppvObject) \
  1494. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1495. #define INetFwServices_AddRef(This) \
  1496. (This)->lpVtbl -> AddRef(This)
  1497. #define INetFwServices_Release(This) \
  1498. (This)->lpVtbl -> Release(This)
  1499. #define INetFwServices_GetTypeInfoCount(This,pctinfo) \
  1500. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1501. #define INetFwServices_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1502. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1503. #define INetFwServices_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1504. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1505. #define INetFwServices_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1506. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1507. #define INetFwServices_get_Count(This,count) \
  1508. (This)->lpVtbl -> get_Count(This,count)
  1509. #define INetFwServices_Item(This,svcType,service) \
  1510. (This)->lpVtbl -> Item(This,svcType,service)
  1511. #define INetFwServices_get__NewEnum(This,newEnum) \
  1512. (This)->lpVtbl -> get__NewEnum(This,newEnum)
  1513. #endif /* COBJMACROS */
  1514. #endif /* C style interface */
  1515. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwServices_get_Count_Proxy(
  1516. INetFwServices * This,
  1517. /* [retval][out] */ long *count);
  1518. void __RPC_STUB INetFwServices_get_Count_Stub(
  1519. IRpcStubBuffer *This,
  1520. IRpcChannelBuffer *_pRpcChannelBuffer,
  1521. PRPC_MESSAGE _pRpcMessage,
  1522. DWORD *_pdwStubPhase);
  1523. /* [id] */ HRESULT STDMETHODCALLTYPE INetFwServices_Item_Proxy(
  1524. INetFwServices * This,
  1525. /* [in] */ NET_FW_SERVICE_TYPE svcType,
  1526. /* [retval][out] */ INetFwService **service);
  1527. void __RPC_STUB INetFwServices_Item_Stub(
  1528. IRpcStubBuffer *This,
  1529. IRpcChannelBuffer *_pRpcChannelBuffer,
  1530. PRPC_MESSAGE _pRpcMessage,
  1531. DWORD *_pdwStubPhase);
  1532. /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE INetFwServices_get__NewEnum_Proxy(
  1533. INetFwServices * This,
  1534. /* [retval][out] */ IUnknown **newEnum);
  1535. void __RPC_STUB INetFwServices_get__NewEnum_Stub(
  1536. IRpcStubBuffer *This,
  1537. IRpcChannelBuffer *_pRpcChannelBuffer,
  1538. PRPC_MESSAGE _pRpcMessage,
  1539. DWORD *_pdwStubPhase);
  1540. #endif /* __INetFwServices_INTERFACE_DEFINED__ */
  1541. #ifndef __INetFwAuthorizedApplication_INTERFACE_DEFINED__
  1542. #define __INetFwAuthorizedApplication_INTERFACE_DEFINED__
  1543. /* interface INetFwAuthorizedApplication */
  1544. /* [dual][uuid][object] */
  1545. EXTERN_C const IID IID_INetFwAuthorizedApplication;
  1546. #if defined(__cplusplus) && !defined(CINTERFACE)
  1547. MIDL_INTERFACE("B5E64FFA-C2C5-444E-A301-FB5E00018050")
  1548. INetFwAuthorizedApplication : public IDispatch
  1549. {
  1550. public:
  1551. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  1552. /* [retval][out] */ BSTR *name) = 0;
  1553. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Name(
  1554. /* [in] */ BSTR name) = 0;
  1555. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_ProcessImageFileName(
  1556. /* [retval][out] */ BSTR *imageFileName) = 0;
  1557. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_ProcessImageFileName(
  1558. /* [in] */ BSTR imageFileName) = 0;
  1559. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_IpVersion(
  1560. /* [retval][out] */ NET_FW_IP_VERSION *ipVersion) = 0;
  1561. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_IpVersion(
  1562. /* [in] */ NET_FW_IP_VERSION ipVersion) = 0;
  1563. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Scope(
  1564. /* [retval][out] */ NET_FW_SCOPE *scope) = 0;
  1565. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Scope(
  1566. /* [in] */ NET_FW_SCOPE scope) = 0;
  1567. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_RemoteAddresses(
  1568. /* [retval][out] */ BSTR *remoteAddrs) = 0;
  1569. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_RemoteAddresses(
  1570. /* [in] */ BSTR remoteAddrs) = 0;
  1571. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Enabled(
  1572. /* [retval][out] */ VARIANT_BOOL *enabled) = 0;
  1573. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Enabled(
  1574. /* [in] */ VARIANT_BOOL enabled) = 0;
  1575. };
  1576. #else /* C style interface */
  1577. typedef struct INetFwAuthorizedApplicationVtbl
  1578. {
  1579. BEGIN_INTERFACE
  1580. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1581. INetFwAuthorizedApplication * This,
  1582. /* [in] */ REFIID riid,
  1583. /* [iid_is][out] */ void **ppvObject);
  1584. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1585. INetFwAuthorizedApplication * This);
  1586. ULONG ( STDMETHODCALLTYPE *Release )(
  1587. INetFwAuthorizedApplication * This);
  1588. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1589. INetFwAuthorizedApplication * This,
  1590. /* [out] */ UINT *pctinfo);
  1591. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1592. INetFwAuthorizedApplication * This,
  1593. /* [in] */ UINT iTInfo,
  1594. /* [in] */ LCID lcid,
  1595. /* [out] */ ITypeInfo **ppTInfo);
  1596. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1597. INetFwAuthorizedApplication * This,
  1598. /* [in] */ REFIID riid,
  1599. /* [size_is][in] */ LPOLESTR *rgszNames,
  1600. /* [in] */ UINT cNames,
  1601. /* [in] */ LCID lcid,
  1602. /* [size_is][out] */ DISPID *rgDispId);
  1603. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1604. INetFwAuthorizedApplication * This,
  1605. /* [in] */ DISPID dispIdMember,
  1606. /* [in] */ REFIID riid,
  1607. /* [in] */ LCID lcid,
  1608. /* [in] */ WORD wFlags,
  1609. /* [out][in] */ DISPPARAMS *pDispParams,
  1610. /* [out] */ VARIANT *pVarResult,
  1611. /* [out] */ EXCEPINFO *pExcepInfo,
  1612. /* [out] */ UINT *puArgErr);
  1613. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1614. INetFwAuthorizedApplication * This,
  1615. /* [retval][out] */ BSTR *name);
  1616. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  1617. INetFwAuthorizedApplication * This,
  1618. /* [in] */ BSTR name);
  1619. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ProcessImageFileName )(
  1620. INetFwAuthorizedApplication * This,
  1621. /* [retval][out] */ BSTR *imageFileName);
  1622. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ProcessImageFileName )(
  1623. INetFwAuthorizedApplication * This,
  1624. /* [in] */ BSTR imageFileName);
  1625. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IpVersion )(
  1626. INetFwAuthorizedApplication * This,
  1627. /* [retval][out] */ NET_FW_IP_VERSION *ipVersion);
  1628. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_IpVersion )(
  1629. INetFwAuthorizedApplication * This,
  1630. /* [in] */ NET_FW_IP_VERSION ipVersion);
  1631. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Scope )(
  1632. INetFwAuthorizedApplication * This,
  1633. /* [retval][out] */ NET_FW_SCOPE *scope);
  1634. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Scope )(
  1635. INetFwAuthorizedApplication * This,
  1636. /* [in] */ NET_FW_SCOPE scope);
  1637. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RemoteAddresses )(
  1638. INetFwAuthorizedApplication * This,
  1639. /* [retval][out] */ BSTR *remoteAddrs);
  1640. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RemoteAddresses )(
  1641. INetFwAuthorizedApplication * This,
  1642. /* [in] */ BSTR remoteAddrs);
  1643. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
  1644. INetFwAuthorizedApplication * This,
  1645. /* [retval][out] */ VARIANT_BOOL *enabled);
  1646. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )(
  1647. INetFwAuthorizedApplication * This,
  1648. /* [in] */ VARIANT_BOOL enabled);
  1649. END_INTERFACE
  1650. } INetFwAuthorizedApplicationVtbl;
  1651. interface INetFwAuthorizedApplication
  1652. {
  1653. CONST_VTBL struct INetFwAuthorizedApplicationVtbl *lpVtbl;
  1654. };
  1655. #ifdef COBJMACROS
  1656. #define INetFwAuthorizedApplication_QueryInterface(This,riid,ppvObject) \
  1657. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1658. #define INetFwAuthorizedApplication_AddRef(This) \
  1659. (This)->lpVtbl -> AddRef(This)
  1660. #define INetFwAuthorizedApplication_Release(This) \
  1661. (This)->lpVtbl -> Release(This)
  1662. #define INetFwAuthorizedApplication_GetTypeInfoCount(This,pctinfo) \
  1663. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1664. #define INetFwAuthorizedApplication_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1665. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1666. #define INetFwAuthorizedApplication_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1667. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1668. #define INetFwAuthorizedApplication_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1669. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1670. #define INetFwAuthorizedApplication_get_Name(This,name) \
  1671. (This)->lpVtbl -> get_Name(This,name)
  1672. #define INetFwAuthorizedApplication_put_Name(This,name) \
  1673. (This)->lpVtbl -> put_Name(This,name)
  1674. #define INetFwAuthorizedApplication_get_ProcessImageFileName(This,imageFileName) \
  1675. (This)->lpVtbl -> get_ProcessImageFileName(This,imageFileName)
  1676. #define INetFwAuthorizedApplication_put_ProcessImageFileName(This,imageFileName) \
  1677. (This)->lpVtbl -> put_ProcessImageFileName(This,imageFileName)
  1678. #define INetFwAuthorizedApplication_get_IpVersion(This,ipVersion) \
  1679. (This)->lpVtbl -> get_IpVersion(This,ipVersion)
  1680. #define INetFwAuthorizedApplication_put_IpVersion(This,ipVersion) \
  1681. (This)->lpVtbl -> put_IpVersion(This,ipVersion)
  1682. #define INetFwAuthorizedApplication_get_Scope(This,scope) \
  1683. (This)->lpVtbl -> get_Scope(This,scope)
  1684. #define INetFwAuthorizedApplication_put_Scope(This,scope) \
  1685. (This)->lpVtbl -> put_Scope(This,scope)
  1686. #define INetFwAuthorizedApplication_get_RemoteAddresses(This,remoteAddrs) \
  1687. (This)->lpVtbl -> get_RemoteAddresses(This,remoteAddrs)
  1688. #define INetFwAuthorizedApplication_put_RemoteAddresses(This,remoteAddrs) \
  1689. (This)->lpVtbl -> put_RemoteAddresses(This,remoteAddrs)
  1690. #define INetFwAuthorizedApplication_get_Enabled(This,enabled) \
  1691. (This)->lpVtbl -> get_Enabled(This,enabled)
  1692. #define INetFwAuthorizedApplication_put_Enabled(This,enabled) \
  1693. (This)->lpVtbl -> put_Enabled(This,enabled)
  1694. #endif /* COBJMACROS */
  1695. #endif /* C style interface */
  1696. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplication_get_Name_Proxy(
  1697. INetFwAuthorizedApplication * This,
  1698. /* [retval][out] */ BSTR *name);
  1699. void __RPC_STUB INetFwAuthorizedApplication_get_Name_Stub(
  1700. IRpcStubBuffer *This,
  1701. IRpcChannelBuffer *_pRpcChannelBuffer,
  1702. PRPC_MESSAGE _pRpcMessage,
  1703. DWORD *_pdwStubPhase);
  1704. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplication_put_Name_Proxy(
  1705. INetFwAuthorizedApplication * This,
  1706. /* [in] */ BSTR name);
  1707. void __RPC_STUB INetFwAuthorizedApplication_put_Name_Stub(
  1708. IRpcStubBuffer *This,
  1709. IRpcChannelBuffer *_pRpcChannelBuffer,
  1710. PRPC_MESSAGE _pRpcMessage,
  1711. DWORD *_pdwStubPhase);
  1712. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplication_get_ProcessImageFileName_Proxy(
  1713. INetFwAuthorizedApplication * This,
  1714. /* [retval][out] */ BSTR *imageFileName);
  1715. void __RPC_STUB INetFwAuthorizedApplication_get_ProcessImageFileName_Stub(
  1716. IRpcStubBuffer *This,
  1717. IRpcChannelBuffer *_pRpcChannelBuffer,
  1718. PRPC_MESSAGE _pRpcMessage,
  1719. DWORD *_pdwStubPhase);
  1720. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplication_put_ProcessImageFileName_Proxy(
  1721. INetFwAuthorizedApplication * This,
  1722. /* [in] */ BSTR imageFileName);
  1723. void __RPC_STUB INetFwAuthorizedApplication_put_ProcessImageFileName_Stub(
  1724. IRpcStubBuffer *This,
  1725. IRpcChannelBuffer *_pRpcChannelBuffer,
  1726. PRPC_MESSAGE _pRpcMessage,
  1727. DWORD *_pdwStubPhase);
  1728. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplication_get_IpVersion_Proxy(
  1729. INetFwAuthorizedApplication * This,
  1730. /* [retval][out] */ NET_FW_IP_VERSION *ipVersion);
  1731. void __RPC_STUB INetFwAuthorizedApplication_get_IpVersion_Stub(
  1732. IRpcStubBuffer *This,
  1733. IRpcChannelBuffer *_pRpcChannelBuffer,
  1734. PRPC_MESSAGE _pRpcMessage,
  1735. DWORD *_pdwStubPhase);
  1736. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplication_put_IpVersion_Proxy(
  1737. INetFwAuthorizedApplication * This,
  1738. /* [in] */ NET_FW_IP_VERSION ipVersion);
  1739. void __RPC_STUB INetFwAuthorizedApplication_put_IpVersion_Stub(
  1740. IRpcStubBuffer *This,
  1741. IRpcChannelBuffer *_pRpcChannelBuffer,
  1742. PRPC_MESSAGE _pRpcMessage,
  1743. DWORD *_pdwStubPhase);
  1744. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplication_get_Scope_Proxy(
  1745. INetFwAuthorizedApplication * This,
  1746. /* [retval][out] */ NET_FW_SCOPE *scope);
  1747. void __RPC_STUB INetFwAuthorizedApplication_get_Scope_Stub(
  1748. IRpcStubBuffer *This,
  1749. IRpcChannelBuffer *_pRpcChannelBuffer,
  1750. PRPC_MESSAGE _pRpcMessage,
  1751. DWORD *_pdwStubPhase);
  1752. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplication_put_Scope_Proxy(
  1753. INetFwAuthorizedApplication * This,
  1754. /* [in] */ NET_FW_SCOPE scope);
  1755. void __RPC_STUB INetFwAuthorizedApplication_put_Scope_Stub(
  1756. IRpcStubBuffer *This,
  1757. IRpcChannelBuffer *_pRpcChannelBuffer,
  1758. PRPC_MESSAGE _pRpcMessage,
  1759. DWORD *_pdwStubPhase);
  1760. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplication_get_RemoteAddresses_Proxy(
  1761. INetFwAuthorizedApplication * This,
  1762. /* [retval][out] */ BSTR *remoteAddrs);
  1763. void __RPC_STUB INetFwAuthorizedApplication_get_RemoteAddresses_Stub(
  1764. IRpcStubBuffer *This,
  1765. IRpcChannelBuffer *_pRpcChannelBuffer,
  1766. PRPC_MESSAGE _pRpcMessage,
  1767. DWORD *_pdwStubPhase);
  1768. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplication_put_RemoteAddresses_Proxy(
  1769. INetFwAuthorizedApplication * This,
  1770. /* [in] */ BSTR remoteAddrs);
  1771. void __RPC_STUB INetFwAuthorizedApplication_put_RemoteAddresses_Stub(
  1772. IRpcStubBuffer *This,
  1773. IRpcChannelBuffer *_pRpcChannelBuffer,
  1774. PRPC_MESSAGE _pRpcMessage,
  1775. DWORD *_pdwStubPhase);
  1776. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplication_get_Enabled_Proxy(
  1777. INetFwAuthorizedApplication * This,
  1778. /* [retval][out] */ VARIANT_BOOL *enabled);
  1779. void __RPC_STUB INetFwAuthorizedApplication_get_Enabled_Stub(
  1780. IRpcStubBuffer *This,
  1781. IRpcChannelBuffer *_pRpcChannelBuffer,
  1782. PRPC_MESSAGE _pRpcMessage,
  1783. DWORD *_pdwStubPhase);
  1784. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplication_put_Enabled_Proxy(
  1785. INetFwAuthorizedApplication * This,
  1786. /* [in] */ VARIANT_BOOL enabled);
  1787. void __RPC_STUB INetFwAuthorizedApplication_put_Enabled_Stub(
  1788. IRpcStubBuffer *This,
  1789. IRpcChannelBuffer *_pRpcChannelBuffer,
  1790. PRPC_MESSAGE _pRpcMessage,
  1791. DWORD *_pdwStubPhase);
  1792. #endif /* __INetFwAuthorizedApplication_INTERFACE_DEFINED__ */
  1793. #ifndef __INetFwAuthorizedApplications_INTERFACE_DEFINED__
  1794. #define __INetFwAuthorizedApplications_INTERFACE_DEFINED__
  1795. /* interface INetFwAuthorizedApplications */
  1796. /* [dual][uuid][object] */
  1797. EXTERN_C const IID IID_INetFwAuthorizedApplications;
  1798. #if defined(__cplusplus) && !defined(CINTERFACE)
  1799. MIDL_INTERFACE("644EFD52-CCF9-486C-97A2-39F352570B30")
  1800. INetFwAuthorizedApplications : public IDispatch
  1801. {
  1802. public:
  1803. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  1804. /* [retval][out] */ long *count) = 0;
  1805. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Add(
  1806. /* [in] */ INetFwAuthorizedApplication *app) = 0;
  1807. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Remove(
  1808. /* [in] */ BSTR imageFileName) = 0;
  1809. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Item(
  1810. /* [in] */ BSTR imageFileName,
  1811. /* [retval][out] */ INetFwAuthorizedApplication **app) = 0;
  1812. virtual /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  1813. /* [retval][out] */ IUnknown **newEnum) = 0;
  1814. };
  1815. #else /* C style interface */
  1816. typedef struct INetFwAuthorizedApplicationsVtbl
  1817. {
  1818. BEGIN_INTERFACE
  1819. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1820. INetFwAuthorizedApplications * This,
  1821. /* [in] */ REFIID riid,
  1822. /* [iid_is][out] */ void **ppvObject);
  1823. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1824. INetFwAuthorizedApplications * This);
  1825. ULONG ( STDMETHODCALLTYPE *Release )(
  1826. INetFwAuthorizedApplications * This);
  1827. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1828. INetFwAuthorizedApplications * This,
  1829. /* [out] */ UINT *pctinfo);
  1830. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1831. INetFwAuthorizedApplications * This,
  1832. /* [in] */ UINT iTInfo,
  1833. /* [in] */ LCID lcid,
  1834. /* [out] */ ITypeInfo **ppTInfo);
  1835. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1836. INetFwAuthorizedApplications * This,
  1837. /* [in] */ REFIID riid,
  1838. /* [size_is][in] */ LPOLESTR *rgszNames,
  1839. /* [in] */ UINT cNames,
  1840. /* [in] */ LCID lcid,
  1841. /* [size_is][out] */ DISPID *rgDispId);
  1842. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1843. INetFwAuthorizedApplications * This,
  1844. /* [in] */ DISPID dispIdMember,
  1845. /* [in] */ REFIID riid,
  1846. /* [in] */ LCID lcid,
  1847. /* [in] */ WORD wFlags,
  1848. /* [out][in] */ DISPPARAMS *pDispParams,
  1849. /* [out] */ VARIANT *pVarResult,
  1850. /* [out] */ EXCEPINFO *pExcepInfo,
  1851. /* [out] */ UINT *puArgErr);
  1852. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  1853. INetFwAuthorizedApplications * This,
  1854. /* [retval][out] */ long *count);
  1855. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  1856. INetFwAuthorizedApplications * This,
  1857. /* [in] */ INetFwAuthorizedApplication *app);
  1858. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  1859. INetFwAuthorizedApplications * This,
  1860. /* [in] */ BSTR imageFileName);
  1861. /* [id] */ HRESULT ( STDMETHODCALLTYPE *Item )(
  1862. INetFwAuthorizedApplications * This,
  1863. /* [in] */ BSTR imageFileName,
  1864. /* [retval][out] */ INetFwAuthorizedApplication **app);
  1865. /* [restricted][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  1866. INetFwAuthorizedApplications * This,
  1867. /* [retval][out] */ IUnknown **newEnum);
  1868. END_INTERFACE
  1869. } INetFwAuthorizedApplicationsVtbl;
  1870. interface INetFwAuthorizedApplications
  1871. {
  1872. CONST_VTBL struct INetFwAuthorizedApplicationsVtbl *lpVtbl;
  1873. };
  1874. #ifdef COBJMACROS
  1875. #define INetFwAuthorizedApplications_QueryInterface(This,riid,ppvObject) \
  1876. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1877. #define INetFwAuthorizedApplications_AddRef(This) \
  1878. (This)->lpVtbl -> AddRef(This)
  1879. #define INetFwAuthorizedApplications_Release(This) \
  1880. (This)->lpVtbl -> Release(This)
  1881. #define INetFwAuthorizedApplications_GetTypeInfoCount(This,pctinfo) \
  1882. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1883. #define INetFwAuthorizedApplications_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1884. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1885. #define INetFwAuthorizedApplications_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1886. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1887. #define INetFwAuthorizedApplications_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1888. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1889. #define INetFwAuthorizedApplications_get_Count(This,count) \
  1890. (This)->lpVtbl -> get_Count(This,count)
  1891. #define INetFwAuthorizedApplications_Add(This,app) \
  1892. (This)->lpVtbl -> Add(This,app)
  1893. #define INetFwAuthorizedApplications_Remove(This,imageFileName) \
  1894. (This)->lpVtbl -> Remove(This,imageFileName)
  1895. #define INetFwAuthorizedApplications_Item(This,imageFileName,app) \
  1896. (This)->lpVtbl -> Item(This,imageFileName,app)
  1897. #define INetFwAuthorizedApplications_get__NewEnum(This,newEnum) \
  1898. (This)->lpVtbl -> get__NewEnum(This,newEnum)
  1899. #endif /* COBJMACROS */
  1900. #endif /* C style interface */
  1901. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplications_get_Count_Proxy(
  1902. INetFwAuthorizedApplications * This,
  1903. /* [retval][out] */ long *count);
  1904. void __RPC_STUB INetFwAuthorizedApplications_get_Count_Stub(
  1905. IRpcStubBuffer *This,
  1906. IRpcChannelBuffer *_pRpcChannelBuffer,
  1907. PRPC_MESSAGE _pRpcMessage,
  1908. DWORD *_pdwStubPhase);
  1909. /* [id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplications_Add_Proxy(
  1910. INetFwAuthorizedApplications * This,
  1911. /* [in] */ INetFwAuthorizedApplication *app);
  1912. void __RPC_STUB INetFwAuthorizedApplications_Add_Stub(
  1913. IRpcStubBuffer *This,
  1914. IRpcChannelBuffer *_pRpcChannelBuffer,
  1915. PRPC_MESSAGE _pRpcMessage,
  1916. DWORD *_pdwStubPhase);
  1917. /* [id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplications_Remove_Proxy(
  1918. INetFwAuthorizedApplications * This,
  1919. /* [in] */ BSTR imageFileName);
  1920. void __RPC_STUB INetFwAuthorizedApplications_Remove_Stub(
  1921. IRpcStubBuffer *This,
  1922. IRpcChannelBuffer *_pRpcChannelBuffer,
  1923. PRPC_MESSAGE _pRpcMessage,
  1924. DWORD *_pdwStubPhase);
  1925. /* [id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplications_Item_Proxy(
  1926. INetFwAuthorizedApplications * This,
  1927. /* [in] */ BSTR imageFileName,
  1928. /* [retval][out] */ INetFwAuthorizedApplication **app);
  1929. void __RPC_STUB INetFwAuthorizedApplications_Item_Stub(
  1930. IRpcStubBuffer *This,
  1931. IRpcChannelBuffer *_pRpcChannelBuffer,
  1932. PRPC_MESSAGE _pRpcMessage,
  1933. DWORD *_pdwStubPhase);
  1934. /* [restricted][propget][id] */ HRESULT STDMETHODCALLTYPE INetFwAuthorizedApplications_get__NewEnum_Proxy(
  1935. INetFwAuthorizedApplications * This,
  1936. /* [retval][out] */ IUnknown **newEnum);
  1937. void __RPC_STUB INetFwAuthorizedApplications_get__NewEnum_Stub(
  1938. IRpcStubBuffer *This,
  1939. IRpcChannelBuffer *_pRpcChannelBuffer,
  1940. PRPC_MESSAGE _pRpcMessage,
  1941. DWORD *_pdwStubPhase);
  1942. #endif /* __INetFwAuthorizedApplications_INTERFACE_DEFINED__ */
  1943. #ifndef __INetFwProfile_INTERFACE_DEFINED__
  1944. #define __INetFwProfile_INTERFACE_DEFINED__
  1945. /* interface INetFwProfile */
  1946. /* [dual][uuid][object] */
  1947. EXTERN_C const IID IID_INetFwProfile;
  1948. #if defined(__cplusplus) && !defined(CINTERFACE)
  1949. MIDL_INTERFACE("174A0DDA-E9F9-449D-993B-21AB667CA456")
  1950. INetFwProfile : public IDispatch
  1951. {
  1952. public:
  1953. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Type(
  1954. /* [retval][out] */ NET_FW_PROFILE_TYPE *type) = 0;
  1955. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_FirewallEnabled(
  1956. /* [retval][out] */ VARIANT_BOOL *enabled) = 0;
  1957. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_FirewallEnabled(
  1958. /* [in] */ VARIANT_BOOL enabled) = 0;
  1959. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_ExceptionsNotAllowed(
  1960. /* [retval][out] */ VARIANT_BOOL *notAllowed) = 0;
  1961. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_ExceptionsNotAllowed(
  1962. /* [in] */ VARIANT_BOOL notAllowed) = 0;
  1963. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_NotificationsDisabled(
  1964. /* [retval][out] */ VARIANT_BOOL *disabled) = 0;
  1965. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_NotificationsDisabled(
  1966. /* [in] */ VARIANT_BOOL disabled) = 0;
  1967. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_UnicastResponsesToMulticastBroadcastDisabled(
  1968. /* [retval][out] */ VARIANT_BOOL *disabled) = 0;
  1969. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_UnicastResponsesToMulticastBroadcastDisabled(
  1970. /* [in] */ VARIANT_BOOL disabled) = 0;
  1971. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_RemoteAdminSettings(
  1972. /* [retval][out] */ INetFwRemoteAdminSettings **remoteAdminSettings) = 0;
  1973. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_IcmpSettings(
  1974. /* [retval][out] */ INetFwIcmpSettings **icmpSettings) = 0;
  1975. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_GloballyOpenPorts(
  1976. /* [retval][out] */ INetFwOpenPorts **openPorts) = 0;
  1977. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Services(
  1978. /* [retval][out] */ INetFwServices **services) = 0;
  1979. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_AuthorizedApplications(
  1980. /* [retval][out] */ INetFwAuthorizedApplications **apps) = 0;
  1981. };
  1982. #else /* C style interface */
  1983. typedef struct INetFwProfileVtbl
  1984. {
  1985. BEGIN_INTERFACE
  1986. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1987. INetFwProfile * This,
  1988. /* [in] */ REFIID riid,
  1989. /* [iid_is][out] */ void **ppvObject);
  1990. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1991. INetFwProfile * This);
  1992. ULONG ( STDMETHODCALLTYPE *Release )(
  1993. INetFwProfile * This);
  1994. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1995. INetFwProfile * This,
  1996. /* [out] */ UINT *pctinfo);
  1997. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1998. INetFwProfile * This,
  1999. /* [in] */ UINT iTInfo,
  2000. /* [in] */ LCID lcid,
  2001. /* [out] */ ITypeInfo **ppTInfo);
  2002. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2003. INetFwProfile * This,
  2004. /* [in] */ REFIID riid,
  2005. /* [size_is][in] */ LPOLESTR *rgszNames,
  2006. /* [in] */ UINT cNames,
  2007. /* [in] */ LCID lcid,
  2008. /* [size_is][out] */ DISPID *rgDispId);
  2009. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2010. INetFwProfile * This,
  2011. /* [in] */ DISPID dispIdMember,
  2012. /* [in] */ REFIID riid,
  2013. /* [in] */ LCID lcid,
  2014. /* [in] */ WORD wFlags,
  2015. /* [out][in] */ DISPPARAMS *pDispParams,
  2016. /* [out] */ VARIANT *pVarResult,
  2017. /* [out] */ EXCEPINFO *pExcepInfo,
  2018. /* [out] */ UINT *puArgErr);
  2019. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
  2020. INetFwProfile * This,
  2021. /* [retval][out] */ NET_FW_PROFILE_TYPE *type);
  2022. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_FirewallEnabled )(
  2023. INetFwProfile * This,
  2024. /* [retval][out] */ VARIANT_BOOL *enabled);
  2025. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_FirewallEnabled )(
  2026. INetFwProfile * This,
  2027. /* [in] */ VARIANT_BOOL enabled);
  2028. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ExceptionsNotAllowed )(
  2029. INetFwProfile * This,
  2030. /* [retval][out] */ VARIANT_BOOL *notAllowed);
  2031. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ExceptionsNotAllowed )(
  2032. INetFwProfile * This,
  2033. /* [in] */ VARIANT_BOOL notAllowed);
  2034. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_NotificationsDisabled )(
  2035. INetFwProfile * This,
  2036. /* [retval][out] */ VARIANT_BOOL *disabled);
  2037. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_NotificationsDisabled )(
  2038. INetFwProfile * This,
  2039. /* [in] */ VARIANT_BOOL disabled);
  2040. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_UnicastResponsesToMulticastBroadcastDisabled )(
  2041. INetFwProfile * This,
  2042. /* [retval][out] */ VARIANT_BOOL *disabled);
  2043. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_UnicastResponsesToMulticastBroadcastDisabled )(
  2044. INetFwProfile * This,
  2045. /* [in] */ VARIANT_BOOL disabled);
  2046. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RemoteAdminSettings )(
  2047. INetFwProfile * This,
  2048. /* [retval][out] */ INetFwRemoteAdminSettings **remoteAdminSettings);
  2049. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IcmpSettings )(
  2050. INetFwProfile * This,
  2051. /* [retval][out] */ INetFwIcmpSettings **icmpSettings);
  2052. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_GloballyOpenPorts )(
  2053. INetFwProfile * This,
  2054. /* [retval][out] */ INetFwOpenPorts **openPorts);
  2055. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Services )(
  2056. INetFwProfile * This,
  2057. /* [retval][out] */ INetFwServices **services);
  2058. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AuthorizedApplications )(
  2059. INetFwProfile * This,
  2060. /* [retval][out] */ INetFwAuthorizedApplications **apps);
  2061. END_INTERFACE
  2062. } INetFwProfileVtbl;
  2063. interface INetFwProfile
  2064. {
  2065. CONST_VTBL struct INetFwProfileVtbl *lpVtbl;
  2066. };
  2067. #ifdef COBJMACROS
  2068. #define INetFwProfile_QueryInterface(This,riid,ppvObject) \
  2069. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2070. #define INetFwProfile_AddRef(This) \
  2071. (This)->lpVtbl -> AddRef(This)
  2072. #define INetFwProfile_Release(This) \
  2073. (This)->lpVtbl -> Release(This)
  2074. #define INetFwProfile_GetTypeInfoCount(This,pctinfo) \
  2075. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2076. #define INetFwProfile_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2077. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2078. #define INetFwProfile_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2079. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2080. #define INetFwProfile_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2081. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2082. #define INetFwProfile_get_Type(This,type) \
  2083. (This)->lpVtbl -> get_Type(This,type)
  2084. #define INetFwProfile_get_FirewallEnabled(This,enabled) \
  2085. (This)->lpVtbl -> get_FirewallEnabled(This,enabled)
  2086. #define INetFwProfile_put_FirewallEnabled(This,enabled) \
  2087. (This)->lpVtbl -> put_FirewallEnabled(This,enabled)
  2088. #define INetFwProfile_get_ExceptionsNotAllowed(This,notAllowed) \
  2089. (This)->lpVtbl -> get_ExceptionsNotAllowed(This,notAllowed)
  2090. #define INetFwProfile_put_ExceptionsNotAllowed(This,notAllowed) \
  2091. (This)->lpVtbl -> put_ExceptionsNotAllowed(This,notAllowed)
  2092. #define INetFwProfile_get_NotificationsDisabled(This,disabled) \
  2093. (This)->lpVtbl -> get_NotificationsDisabled(This,disabled)
  2094. #define INetFwProfile_put_NotificationsDisabled(This,disabled) \
  2095. (This)->lpVtbl -> put_NotificationsDisabled(This,disabled)
  2096. #define INetFwProfile_get_UnicastResponsesToMulticastBroadcastDisabled(This,disabled) \
  2097. (This)->lpVtbl -> get_UnicastResponsesToMulticastBroadcastDisabled(This,disabled)
  2098. #define INetFwProfile_put_UnicastResponsesToMulticastBroadcastDisabled(This,disabled) \
  2099. (This)->lpVtbl -> put_UnicastResponsesToMulticastBroadcastDisabled(This,disabled)
  2100. #define INetFwProfile_get_RemoteAdminSettings(This,remoteAdminSettings) \
  2101. (This)->lpVtbl -> get_RemoteAdminSettings(This,remoteAdminSettings)
  2102. #define INetFwProfile_get_IcmpSettings(This,icmpSettings) \
  2103. (This)->lpVtbl -> get_IcmpSettings(This,icmpSettings)
  2104. #define INetFwProfile_get_GloballyOpenPorts(This,openPorts) \
  2105. (This)->lpVtbl -> get_GloballyOpenPorts(This,openPorts)
  2106. #define INetFwProfile_get_Services(This,services) \
  2107. (This)->lpVtbl -> get_Services(This,services)
  2108. #define INetFwProfile_get_AuthorizedApplications(This,apps) \
  2109. (This)->lpVtbl -> get_AuthorizedApplications(This,apps)
  2110. #endif /* COBJMACROS */
  2111. #endif /* C style interface */
  2112. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_get_Type_Proxy(
  2113. INetFwProfile * This,
  2114. /* [retval][out] */ NET_FW_PROFILE_TYPE *type);
  2115. void __RPC_STUB INetFwProfile_get_Type_Stub(
  2116. IRpcStubBuffer *This,
  2117. IRpcChannelBuffer *_pRpcChannelBuffer,
  2118. PRPC_MESSAGE _pRpcMessage,
  2119. DWORD *_pdwStubPhase);
  2120. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_get_FirewallEnabled_Proxy(
  2121. INetFwProfile * This,
  2122. /* [retval][out] */ VARIANT_BOOL *enabled);
  2123. void __RPC_STUB INetFwProfile_get_FirewallEnabled_Stub(
  2124. IRpcStubBuffer *This,
  2125. IRpcChannelBuffer *_pRpcChannelBuffer,
  2126. PRPC_MESSAGE _pRpcMessage,
  2127. DWORD *_pdwStubPhase);
  2128. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_put_FirewallEnabled_Proxy(
  2129. INetFwProfile * This,
  2130. /* [in] */ VARIANT_BOOL enabled);
  2131. void __RPC_STUB INetFwProfile_put_FirewallEnabled_Stub(
  2132. IRpcStubBuffer *This,
  2133. IRpcChannelBuffer *_pRpcChannelBuffer,
  2134. PRPC_MESSAGE _pRpcMessage,
  2135. DWORD *_pdwStubPhase);
  2136. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_get_ExceptionsNotAllowed_Proxy(
  2137. INetFwProfile * This,
  2138. /* [retval][out] */ VARIANT_BOOL *notAllowed);
  2139. void __RPC_STUB INetFwProfile_get_ExceptionsNotAllowed_Stub(
  2140. IRpcStubBuffer *This,
  2141. IRpcChannelBuffer *_pRpcChannelBuffer,
  2142. PRPC_MESSAGE _pRpcMessage,
  2143. DWORD *_pdwStubPhase);
  2144. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_put_ExceptionsNotAllowed_Proxy(
  2145. INetFwProfile * This,
  2146. /* [in] */ VARIANT_BOOL notAllowed);
  2147. void __RPC_STUB INetFwProfile_put_ExceptionsNotAllowed_Stub(
  2148. IRpcStubBuffer *This,
  2149. IRpcChannelBuffer *_pRpcChannelBuffer,
  2150. PRPC_MESSAGE _pRpcMessage,
  2151. DWORD *_pdwStubPhase);
  2152. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_get_NotificationsDisabled_Proxy(
  2153. INetFwProfile * This,
  2154. /* [retval][out] */ VARIANT_BOOL *disabled);
  2155. void __RPC_STUB INetFwProfile_get_NotificationsDisabled_Stub(
  2156. IRpcStubBuffer *This,
  2157. IRpcChannelBuffer *_pRpcChannelBuffer,
  2158. PRPC_MESSAGE _pRpcMessage,
  2159. DWORD *_pdwStubPhase);
  2160. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_put_NotificationsDisabled_Proxy(
  2161. INetFwProfile * This,
  2162. /* [in] */ VARIANT_BOOL disabled);
  2163. void __RPC_STUB INetFwProfile_put_NotificationsDisabled_Stub(
  2164. IRpcStubBuffer *This,
  2165. IRpcChannelBuffer *_pRpcChannelBuffer,
  2166. PRPC_MESSAGE _pRpcMessage,
  2167. DWORD *_pdwStubPhase);
  2168. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_get_UnicastResponsesToMulticastBroadcastDisabled_Proxy(
  2169. INetFwProfile * This,
  2170. /* [retval][out] */ VARIANT_BOOL *disabled);
  2171. void __RPC_STUB INetFwProfile_get_UnicastResponsesToMulticastBroadcastDisabled_Stub(
  2172. IRpcStubBuffer *This,
  2173. IRpcChannelBuffer *_pRpcChannelBuffer,
  2174. PRPC_MESSAGE _pRpcMessage,
  2175. DWORD *_pdwStubPhase);
  2176. /* [propput][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_put_UnicastResponsesToMulticastBroadcastDisabled_Proxy(
  2177. INetFwProfile * This,
  2178. /* [in] */ VARIANT_BOOL disabled);
  2179. void __RPC_STUB INetFwProfile_put_UnicastResponsesToMulticastBroadcastDisabled_Stub(
  2180. IRpcStubBuffer *This,
  2181. IRpcChannelBuffer *_pRpcChannelBuffer,
  2182. PRPC_MESSAGE _pRpcMessage,
  2183. DWORD *_pdwStubPhase);
  2184. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_get_RemoteAdminSettings_Proxy(
  2185. INetFwProfile * This,
  2186. /* [retval][out] */ INetFwRemoteAdminSettings **remoteAdminSettings);
  2187. void __RPC_STUB INetFwProfile_get_RemoteAdminSettings_Stub(
  2188. IRpcStubBuffer *This,
  2189. IRpcChannelBuffer *_pRpcChannelBuffer,
  2190. PRPC_MESSAGE _pRpcMessage,
  2191. DWORD *_pdwStubPhase);
  2192. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_get_IcmpSettings_Proxy(
  2193. INetFwProfile * This,
  2194. /* [retval][out] */ INetFwIcmpSettings **icmpSettings);
  2195. void __RPC_STUB INetFwProfile_get_IcmpSettings_Stub(
  2196. IRpcStubBuffer *This,
  2197. IRpcChannelBuffer *_pRpcChannelBuffer,
  2198. PRPC_MESSAGE _pRpcMessage,
  2199. DWORD *_pdwStubPhase);
  2200. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_get_GloballyOpenPorts_Proxy(
  2201. INetFwProfile * This,
  2202. /* [retval][out] */ INetFwOpenPorts **openPorts);
  2203. void __RPC_STUB INetFwProfile_get_GloballyOpenPorts_Stub(
  2204. IRpcStubBuffer *This,
  2205. IRpcChannelBuffer *_pRpcChannelBuffer,
  2206. PRPC_MESSAGE _pRpcMessage,
  2207. DWORD *_pdwStubPhase);
  2208. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_get_Services_Proxy(
  2209. INetFwProfile * This,
  2210. /* [retval][out] */ INetFwServices **services);
  2211. void __RPC_STUB INetFwProfile_get_Services_Stub(
  2212. IRpcStubBuffer *This,
  2213. IRpcChannelBuffer *_pRpcChannelBuffer,
  2214. PRPC_MESSAGE _pRpcMessage,
  2215. DWORD *_pdwStubPhase);
  2216. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwProfile_get_AuthorizedApplications_Proxy(
  2217. INetFwProfile * This,
  2218. /* [retval][out] */ INetFwAuthorizedApplications **apps);
  2219. void __RPC_STUB INetFwProfile_get_AuthorizedApplications_Stub(
  2220. IRpcStubBuffer *This,
  2221. IRpcChannelBuffer *_pRpcChannelBuffer,
  2222. PRPC_MESSAGE _pRpcMessage,
  2223. DWORD *_pdwStubPhase);
  2224. #endif /* __INetFwProfile_INTERFACE_DEFINED__ */
  2225. #ifndef __INetFwPolicy_INTERFACE_DEFINED__
  2226. #define __INetFwPolicy_INTERFACE_DEFINED__
  2227. /* interface INetFwPolicy */
  2228. /* [dual][uuid][object] */
  2229. EXTERN_C const IID IID_INetFwPolicy;
  2230. #if defined(__cplusplus) && !defined(CINTERFACE)
  2231. MIDL_INTERFACE("D46D2478-9AC9-4008-9DC7-5563CE5536CC")
  2232. INetFwPolicy : public IDispatch
  2233. {
  2234. public:
  2235. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_CurrentProfile(
  2236. /* [retval][out] */ INetFwProfile **profile) = 0;
  2237. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetProfileByType(
  2238. /* [in] */ NET_FW_PROFILE_TYPE profileType,
  2239. /* [retval][out] */ INetFwProfile **profile) = 0;
  2240. };
  2241. #else /* C style interface */
  2242. typedef struct INetFwPolicyVtbl
  2243. {
  2244. BEGIN_INTERFACE
  2245. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2246. INetFwPolicy * This,
  2247. /* [in] */ REFIID riid,
  2248. /* [iid_is][out] */ void **ppvObject);
  2249. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2250. INetFwPolicy * This);
  2251. ULONG ( STDMETHODCALLTYPE *Release )(
  2252. INetFwPolicy * This);
  2253. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2254. INetFwPolicy * This,
  2255. /* [out] */ UINT *pctinfo);
  2256. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2257. INetFwPolicy * This,
  2258. /* [in] */ UINT iTInfo,
  2259. /* [in] */ LCID lcid,
  2260. /* [out] */ ITypeInfo **ppTInfo);
  2261. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2262. INetFwPolicy * This,
  2263. /* [in] */ REFIID riid,
  2264. /* [size_is][in] */ LPOLESTR *rgszNames,
  2265. /* [in] */ UINT cNames,
  2266. /* [in] */ LCID lcid,
  2267. /* [size_is][out] */ DISPID *rgDispId);
  2268. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2269. INetFwPolicy * This,
  2270. /* [in] */ DISPID dispIdMember,
  2271. /* [in] */ REFIID riid,
  2272. /* [in] */ LCID lcid,
  2273. /* [in] */ WORD wFlags,
  2274. /* [out][in] */ DISPPARAMS *pDispParams,
  2275. /* [out] */ VARIANT *pVarResult,
  2276. /* [out] */ EXCEPINFO *pExcepInfo,
  2277. /* [out] */ UINT *puArgErr);
  2278. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentProfile )(
  2279. INetFwPolicy * This,
  2280. /* [retval][out] */ INetFwProfile **profile);
  2281. /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetProfileByType )(
  2282. INetFwPolicy * This,
  2283. /* [in] */ NET_FW_PROFILE_TYPE profileType,
  2284. /* [retval][out] */ INetFwProfile **profile);
  2285. END_INTERFACE
  2286. } INetFwPolicyVtbl;
  2287. interface INetFwPolicy
  2288. {
  2289. CONST_VTBL struct INetFwPolicyVtbl *lpVtbl;
  2290. };
  2291. #ifdef COBJMACROS
  2292. #define INetFwPolicy_QueryInterface(This,riid,ppvObject) \
  2293. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2294. #define INetFwPolicy_AddRef(This) \
  2295. (This)->lpVtbl -> AddRef(This)
  2296. #define INetFwPolicy_Release(This) \
  2297. (This)->lpVtbl -> Release(This)
  2298. #define INetFwPolicy_GetTypeInfoCount(This,pctinfo) \
  2299. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2300. #define INetFwPolicy_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2301. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2302. #define INetFwPolicy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2303. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2304. #define INetFwPolicy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2305. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2306. #define INetFwPolicy_get_CurrentProfile(This,profile) \
  2307. (This)->lpVtbl -> get_CurrentProfile(This,profile)
  2308. #define INetFwPolicy_GetProfileByType(This,profileType,profile) \
  2309. (This)->lpVtbl -> GetProfileByType(This,profileType,profile)
  2310. #endif /* COBJMACROS */
  2311. #endif /* C style interface */
  2312. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwPolicy_get_CurrentProfile_Proxy(
  2313. INetFwPolicy * This,
  2314. /* [retval][out] */ INetFwProfile **profile);
  2315. void __RPC_STUB INetFwPolicy_get_CurrentProfile_Stub(
  2316. IRpcStubBuffer *This,
  2317. IRpcChannelBuffer *_pRpcChannelBuffer,
  2318. PRPC_MESSAGE _pRpcMessage,
  2319. DWORD *_pdwStubPhase);
  2320. /* [id] */ HRESULT STDMETHODCALLTYPE INetFwPolicy_GetProfileByType_Proxy(
  2321. INetFwPolicy * This,
  2322. /* [in] */ NET_FW_PROFILE_TYPE profileType,
  2323. /* [retval][out] */ INetFwProfile **profile);
  2324. void __RPC_STUB INetFwPolicy_GetProfileByType_Stub(
  2325. IRpcStubBuffer *This,
  2326. IRpcChannelBuffer *_pRpcChannelBuffer,
  2327. PRPC_MESSAGE _pRpcMessage,
  2328. DWORD *_pdwStubPhase);
  2329. #endif /* __INetFwPolicy_INTERFACE_DEFINED__ */
  2330. #ifndef __INetFwMgr_INTERFACE_DEFINED__
  2331. #define __INetFwMgr_INTERFACE_DEFINED__
  2332. /* interface INetFwMgr */
  2333. /* [dual][uuid][object] */
  2334. EXTERN_C const IID IID_INetFwMgr;
  2335. #if defined(__cplusplus) && !defined(CINTERFACE)
  2336. MIDL_INTERFACE("F7898AF5-CAC4-4632-A2EC-DA06E5111AF2")
  2337. INetFwMgr : public IDispatch
  2338. {
  2339. public:
  2340. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_LocalPolicy(
  2341. /* [retval][out] */ INetFwPolicy **localPolicy) = 0;
  2342. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_CurrentProfileType(
  2343. /* [retval][out] */ NET_FW_PROFILE_TYPE *profileType) = 0;
  2344. virtual /* [id] */ HRESULT STDMETHODCALLTYPE RestoreDefaults( void) = 0;
  2345. virtual /* [id] */ HRESULT STDMETHODCALLTYPE IsPortAllowed(
  2346. /* [in] */ BSTR imageFileName,
  2347. /* [in] */ NET_FW_IP_VERSION ipVersion,
  2348. /* [in] */ LONG portNumber,
  2349. /* [in] */ BSTR localAddress,
  2350. /* [in] */ NET_FW_IP_PROTOCOL ipProtocol,
  2351. /* [out] */ VARIANT *allowed,
  2352. /* [out] */ VARIANT *restricted) = 0;
  2353. virtual /* [id] */ HRESULT STDMETHODCALLTYPE IsIcmpTypeAllowed(
  2354. /* [in] */ NET_FW_IP_VERSION ipVersion,
  2355. /* [in] */ BSTR localAddress,
  2356. /* [in] */ BYTE type,
  2357. /* [out] */ VARIANT *allowed,
  2358. /* [out] */ VARIANT *restricted) = 0;
  2359. };
  2360. #else /* C style interface */
  2361. typedef struct INetFwMgrVtbl
  2362. {
  2363. BEGIN_INTERFACE
  2364. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2365. INetFwMgr * This,
  2366. /* [in] */ REFIID riid,
  2367. /* [iid_is][out] */ void **ppvObject);
  2368. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2369. INetFwMgr * This);
  2370. ULONG ( STDMETHODCALLTYPE *Release )(
  2371. INetFwMgr * This);
  2372. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2373. INetFwMgr * This,
  2374. /* [out] */ UINT *pctinfo);
  2375. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2376. INetFwMgr * This,
  2377. /* [in] */ UINT iTInfo,
  2378. /* [in] */ LCID lcid,
  2379. /* [out] */ ITypeInfo **ppTInfo);
  2380. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2381. INetFwMgr * This,
  2382. /* [in] */ REFIID riid,
  2383. /* [size_is][in] */ LPOLESTR *rgszNames,
  2384. /* [in] */ UINT cNames,
  2385. /* [in] */ LCID lcid,
  2386. /* [size_is][out] */ DISPID *rgDispId);
  2387. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2388. INetFwMgr * This,
  2389. /* [in] */ DISPID dispIdMember,
  2390. /* [in] */ REFIID riid,
  2391. /* [in] */ LCID lcid,
  2392. /* [in] */ WORD wFlags,
  2393. /* [out][in] */ DISPPARAMS *pDispParams,
  2394. /* [out] */ VARIANT *pVarResult,
  2395. /* [out] */ EXCEPINFO *pExcepInfo,
  2396. /* [out] */ UINT *puArgErr);
  2397. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LocalPolicy )(
  2398. INetFwMgr * This,
  2399. /* [retval][out] */ INetFwPolicy **localPolicy);
  2400. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentProfileType )(
  2401. INetFwMgr * This,
  2402. /* [retval][out] */ NET_FW_PROFILE_TYPE *profileType);
  2403. /* [id] */ HRESULT ( STDMETHODCALLTYPE *RestoreDefaults )(
  2404. INetFwMgr * This);
  2405. /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsPortAllowed )(
  2406. INetFwMgr * This,
  2407. /* [in] */ BSTR imageFileName,
  2408. /* [in] */ NET_FW_IP_VERSION ipVersion,
  2409. /* [in] */ LONG portNumber,
  2410. /* [in] */ BSTR localAddress,
  2411. /* [in] */ NET_FW_IP_PROTOCOL ipProtocol,
  2412. /* [out] */ VARIANT *allowed,
  2413. /* [out] */ VARIANT *restricted);
  2414. /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsIcmpTypeAllowed )(
  2415. INetFwMgr * This,
  2416. /* [in] */ NET_FW_IP_VERSION ipVersion,
  2417. /* [in] */ BSTR localAddress,
  2418. /* [in] */ BYTE type,
  2419. /* [out] */ VARIANT *allowed,
  2420. /* [out] */ VARIANT *restricted);
  2421. END_INTERFACE
  2422. } INetFwMgrVtbl;
  2423. interface INetFwMgr
  2424. {
  2425. CONST_VTBL struct INetFwMgrVtbl *lpVtbl;
  2426. };
  2427. #ifdef COBJMACROS
  2428. #define INetFwMgr_QueryInterface(This,riid,ppvObject) \
  2429. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2430. #define INetFwMgr_AddRef(This) \
  2431. (This)->lpVtbl -> AddRef(This)
  2432. #define INetFwMgr_Release(This) \
  2433. (This)->lpVtbl -> Release(This)
  2434. #define INetFwMgr_GetTypeInfoCount(This,pctinfo) \
  2435. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2436. #define INetFwMgr_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2437. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2438. #define INetFwMgr_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2439. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2440. #define INetFwMgr_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2441. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2442. #define INetFwMgr_get_LocalPolicy(This,localPolicy) \
  2443. (This)->lpVtbl -> get_LocalPolicy(This,localPolicy)
  2444. #define INetFwMgr_get_CurrentProfileType(This,profileType) \
  2445. (This)->lpVtbl -> get_CurrentProfileType(This,profileType)
  2446. #define INetFwMgr_RestoreDefaults(This) \
  2447. (This)->lpVtbl -> RestoreDefaults(This)
  2448. #define INetFwMgr_IsPortAllowed(This,imageFileName,ipVersion,portNumber,localAddress,ipProtocol,allowed,restricted) \
  2449. (This)->lpVtbl -> IsPortAllowed(This,imageFileName,ipVersion,portNumber,localAddress,ipProtocol,allowed,restricted)
  2450. #define INetFwMgr_IsIcmpTypeAllowed(This,ipVersion,localAddress,type,allowed,restricted) \
  2451. (This)->lpVtbl -> IsIcmpTypeAllowed(This,ipVersion,localAddress,type,allowed,restricted)
  2452. #endif /* COBJMACROS */
  2453. #endif /* C style interface */
  2454. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwMgr_get_LocalPolicy_Proxy(
  2455. INetFwMgr * This,
  2456. /* [retval][out] */ INetFwPolicy **localPolicy);
  2457. void __RPC_STUB INetFwMgr_get_LocalPolicy_Stub(
  2458. IRpcStubBuffer *This,
  2459. IRpcChannelBuffer *_pRpcChannelBuffer,
  2460. PRPC_MESSAGE _pRpcMessage,
  2461. DWORD *_pdwStubPhase);
  2462. /* [propget][id] */ HRESULT STDMETHODCALLTYPE INetFwMgr_get_CurrentProfileType_Proxy(
  2463. INetFwMgr * This,
  2464. /* [retval][out] */ NET_FW_PROFILE_TYPE *profileType);
  2465. void __RPC_STUB INetFwMgr_get_CurrentProfileType_Stub(
  2466. IRpcStubBuffer *This,
  2467. IRpcChannelBuffer *_pRpcChannelBuffer,
  2468. PRPC_MESSAGE _pRpcMessage,
  2469. DWORD *_pdwStubPhase);
  2470. /* [id] */ HRESULT STDMETHODCALLTYPE INetFwMgr_RestoreDefaults_Proxy(
  2471. INetFwMgr * This);
  2472. void __RPC_STUB INetFwMgr_RestoreDefaults_Stub(
  2473. IRpcStubBuffer *This,
  2474. IRpcChannelBuffer *_pRpcChannelBuffer,
  2475. PRPC_MESSAGE _pRpcMessage,
  2476. DWORD *_pdwStubPhase);
  2477. /* [id] */ HRESULT STDMETHODCALLTYPE INetFwMgr_IsPortAllowed_Proxy(
  2478. INetFwMgr * This,
  2479. /* [in] */ BSTR imageFileName,
  2480. /* [in] */ NET_FW_IP_VERSION ipVersion,
  2481. /* [in] */ LONG portNumber,
  2482. /* [in] */ BSTR localAddress,
  2483. /* [in] */ NET_FW_IP_PROTOCOL ipProtocol,
  2484. /* [out] */ VARIANT *allowed,
  2485. /* [out] */ VARIANT *restricted);
  2486. void __RPC_STUB INetFwMgr_IsPortAllowed_Stub(
  2487. IRpcStubBuffer *This,
  2488. IRpcChannelBuffer *_pRpcChannelBuffer,
  2489. PRPC_MESSAGE _pRpcMessage,
  2490. DWORD *_pdwStubPhase);
  2491. /* [id] */ HRESULT STDMETHODCALLTYPE INetFwMgr_IsIcmpTypeAllowed_Proxy(
  2492. INetFwMgr * This,
  2493. /* [in] */ NET_FW_IP_VERSION ipVersion,
  2494. /* [in] */ BSTR localAddress,
  2495. /* [in] */ BYTE type,
  2496. /* [out] */ VARIANT *allowed,
  2497. /* [out] */ VARIANT *restricted);
  2498. void __RPC_STUB INetFwMgr_IsIcmpTypeAllowed_Stub(
  2499. IRpcStubBuffer *This,
  2500. IRpcChannelBuffer *_pRpcChannelBuffer,
  2501. PRPC_MESSAGE _pRpcMessage,
  2502. DWORD *_pdwStubPhase);
  2503. #endif /* __INetFwMgr_INTERFACE_DEFINED__ */
  2504. #ifndef __NetFwPublicTypeLib_LIBRARY_DEFINED__
  2505. #define __NetFwPublicTypeLib_LIBRARY_DEFINED__
  2506. /* library NetFwPublicTypeLib */
  2507. /* [version][uuid] */
  2508. EXTERN_C const IID LIBID_NetFwPublicTypeLib;
  2509. EXTERN_C const CLSID CLSID_NetFwOpenPort;
  2510. #ifdef __cplusplus
  2511. class DECLSPEC_UUID("0CA545C6-37AD-4A6C-BF92-9F7610067EF5")
  2512. NetFwOpenPort;
  2513. #endif
  2514. EXTERN_C const CLSID CLSID_NetFwAuthorizedApplication;
  2515. #ifdef __cplusplus
  2516. class DECLSPEC_UUID("EC9846B3-2762-4A6B-A214-6ACB603462D2")
  2517. NetFwAuthorizedApplication;
  2518. #endif
  2519. EXTERN_C const CLSID CLSID_NetFwMgr;
  2520. #ifdef __cplusplus
  2521. class DECLSPEC_UUID("304CE942-6E39-40D8-943A-B913C40C9CD4")
  2522. NetFwMgr;
  2523. #endif
  2524. #endif /* __NetFwPublicTypeLib_LIBRARY_DEFINED__ */
  2525. /* Additional Prototypes for ALL interfaces */
  2526. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  2527. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  2528. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  2529. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  2530. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  2531. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  2532. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  2533. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  2534. /* end of Additional Prototypes */
  2535. #ifdef __cplusplus
  2536. }
  2537. #endif
  2538. #endif