wsmandisp.h 119 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050
  1. /*** Autogenerated by WIDL 7.7 from include/wsmandisp.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __wsmandisp_h__
  14. #define __wsmandisp_h__
  15. /* Forward declarations */
  16. #ifndef __WSMan_FWD_DEFINED__
  17. #define __WSMan_FWD_DEFINED__
  18. #ifdef __cplusplus
  19. typedef class WSMan WSMan;
  20. #else
  21. typedef struct WSMan WSMan;
  22. #endif /* defined __cplusplus */
  23. #endif /* defined __WSMan_FWD_DEFINED__ */
  24. #ifndef __WSManInternal_FWD_DEFINED__
  25. #define __WSManInternal_FWD_DEFINED__
  26. #ifdef __cplusplus
  27. typedef class WSManInternal WSManInternal;
  28. #else
  29. typedef struct WSManInternal WSManInternal;
  30. #endif /* defined __cplusplus */
  31. #endif /* defined __WSManInternal_FWD_DEFINED__ */
  32. #ifndef __IWSMan_FWD_DEFINED__
  33. #define __IWSMan_FWD_DEFINED__
  34. typedef interface IWSMan IWSMan;
  35. #ifdef __cplusplus
  36. interface IWSMan;
  37. #endif /* __cplusplus */
  38. #endif
  39. #ifndef __IWSManEx_FWD_DEFINED__
  40. #define __IWSManEx_FWD_DEFINED__
  41. typedef interface IWSManEx IWSManEx;
  42. #ifdef __cplusplus
  43. interface IWSManEx;
  44. #endif /* __cplusplus */
  45. #endif
  46. #ifndef __IWSManEx2_FWD_DEFINED__
  47. #define __IWSManEx2_FWD_DEFINED__
  48. typedef interface IWSManEx2 IWSManEx2;
  49. #ifdef __cplusplus
  50. interface IWSManEx2;
  51. #endif /* __cplusplus */
  52. #endif
  53. #ifndef __IWSManEx3_FWD_DEFINED__
  54. #define __IWSManEx3_FWD_DEFINED__
  55. typedef interface IWSManEx3 IWSManEx3;
  56. #ifdef __cplusplus
  57. interface IWSManEx3;
  58. #endif /* __cplusplus */
  59. #endif
  60. #ifndef __IWSManConnectionOptions_FWD_DEFINED__
  61. #define __IWSManConnectionOptions_FWD_DEFINED__
  62. typedef interface IWSManConnectionOptions IWSManConnectionOptions;
  63. #ifdef __cplusplus
  64. interface IWSManConnectionOptions;
  65. #endif /* __cplusplus */
  66. #endif
  67. #ifndef __IWSManConnectionOptionsEx_FWD_DEFINED__
  68. #define __IWSManConnectionOptionsEx_FWD_DEFINED__
  69. typedef interface IWSManConnectionOptionsEx IWSManConnectionOptionsEx;
  70. #ifdef __cplusplus
  71. interface IWSManConnectionOptionsEx;
  72. #endif /* __cplusplus */
  73. #endif
  74. #ifndef __IWSManConnectionOptionsEx2_FWD_DEFINED__
  75. #define __IWSManConnectionOptionsEx2_FWD_DEFINED__
  76. typedef interface IWSManConnectionOptionsEx2 IWSManConnectionOptionsEx2;
  77. #ifdef __cplusplus
  78. interface IWSManConnectionOptionsEx2;
  79. #endif /* __cplusplus */
  80. #endif
  81. #ifndef __IWSManSession_FWD_DEFINED__
  82. #define __IWSManSession_FWD_DEFINED__
  83. typedef interface IWSManSession IWSManSession;
  84. #ifdef __cplusplus
  85. interface IWSManSession;
  86. #endif /* __cplusplus */
  87. #endif
  88. #ifndef __IWSManEnumerator_FWD_DEFINED__
  89. #define __IWSManEnumerator_FWD_DEFINED__
  90. typedef interface IWSManEnumerator IWSManEnumerator;
  91. #ifdef __cplusplus
  92. interface IWSManEnumerator;
  93. #endif /* __cplusplus */
  94. #endif
  95. #ifndef __IWSManResourceLocator_FWD_DEFINED__
  96. #define __IWSManResourceLocator_FWD_DEFINED__
  97. typedef interface IWSManResourceLocator IWSManResourceLocator;
  98. #ifdef __cplusplus
  99. interface IWSManResourceLocator;
  100. #endif /* __cplusplus */
  101. #endif
  102. #ifndef __IWSManResourceLocatorInternal_FWD_DEFINED__
  103. #define __IWSManResourceLocatorInternal_FWD_DEFINED__
  104. typedef interface IWSManResourceLocatorInternal IWSManResourceLocatorInternal;
  105. #ifdef __cplusplus
  106. interface IWSManResourceLocatorInternal;
  107. #endif /* __cplusplus */
  108. #endif
  109. #ifndef __IWSManInternal_FWD_DEFINED__
  110. #define __IWSManInternal_FWD_DEFINED__
  111. typedef interface IWSManInternal IWSManInternal;
  112. #ifdef __cplusplus
  113. interface IWSManInternal;
  114. #endif /* __cplusplus */
  115. #endif
  116. /* Headers for imported files */
  117. #include <oaidl.h>
  118. #ifdef __cplusplus
  119. extern "C" {
  120. #endif
  121. #include <winapifamily.h>
  122. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  123. #ifndef __WSManAutomation_LIBRARY_DEFINED__
  124. #define __WSManAutomation_LIBRARY_DEFINED__
  125. DEFINE_GUID(LIBID_WSManAutomation, 0xf010be25, 0x296d, 0x4036, 0x98,0x0f, 0x5a,0x06,0x69,0xa1,0x75,0x77);
  126. typedef enum _WSManSessionFlags {
  127. WSManFlagUTF8 = 0x1,
  128. WSManFlagCredUsernamePassword = 0x1000,
  129. WSManFlagSkipCACheck = 0x2000,
  130. WSManFlagSkipCNCheck = 0x4000,
  131. WSManFlagUseNoAuthentication = 0x8000,
  132. WSManFlagUseDigest = 0x10000,
  133. WSManFlagUseNegotiate = 0x20000,
  134. WSManFlagUseBasic = 0x40000,
  135. WSManFlagUseKerberos = 0x80000,
  136. WSManFlagNoEncryption = 0x100000,
  137. WSManFlagUseClientCertificate = 0x200000,
  138. WSManFlagEnableSPNServerPort = 0x400000,
  139. WSManFlagUTF16 = 0x800000,
  140. WSManFlagUseCredSsp = 0x1000000,
  141. WSManFlagSkipRevocationCheck = 0x2000000,
  142. WSManFlagAllowNegotiateImplicitCredentials = 0x4000000,
  143. WSManFlagUseSsl = 0x8000000
  144. } WSManSessionFlags;
  145. typedef enum _WSManEnumFlags {
  146. WSManFlagReturnObject = 0x0,
  147. WSManFlagHierarchyDeep = 0x0,
  148. WSManFlagAssociatedInstance = 0x0,
  149. WSManFlagNonXmlText = 0x1,
  150. WSManFlagReturnEPR = 0x2,
  151. WSManFlagReturnObjectAndEPR = 0x4,
  152. WSManFlagHierarchyShallow = 0x20,
  153. WSManFlagHierarchyDeepBasePropsOnly = 0x40,
  154. WSManFlagAssociationInstance = 0x80
  155. } WSManEnumFlags;
  156. typedef enum _WSManProxyAccessTypeFlags {
  157. WSManProxyIEConfig = 0x1,
  158. WSManProxyWinHttpConfig = 0x2,
  159. WSManProxyAutoDetect = 0x4,
  160. WSManProxyNoProxyServer = 0x8
  161. } WSManProxyAccessTypeFlags;
  162. typedef enum _WSManProxyAuthenticationFlags {
  163. WSManFlagProxyAuthenticationUseNegotiate = 0x1,
  164. WSManFlagProxyAuthenticationUseBasic = 0x2,
  165. WSManFlagProxyAuthenticationUseDigest = 0x4
  166. } WSManProxyAuthenticationFlags;
  167. #ifndef __IWSMan_FWD_DEFINED__
  168. #define __IWSMan_FWD_DEFINED__
  169. typedef interface IWSMan IWSMan;
  170. #ifdef __cplusplus
  171. interface IWSMan;
  172. #endif /* __cplusplus */
  173. #endif
  174. #ifndef __IWSManEx_FWD_DEFINED__
  175. #define __IWSManEx_FWD_DEFINED__
  176. typedef interface IWSManEx IWSManEx;
  177. #ifdef __cplusplus
  178. interface IWSManEx;
  179. #endif /* __cplusplus */
  180. #endif
  181. #ifndef __IWSManEx2_FWD_DEFINED__
  182. #define __IWSManEx2_FWD_DEFINED__
  183. typedef interface IWSManEx2 IWSManEx2;
  184. #ifdef __cplusplus
  185. interface IWSManEx2;
  186. #endif /* __cplusplus */
  187. #endif
  188. #ifndef __IWSManEx3_FWD_DEFINED__
  189. #define __IWSManEx3_FWD_DEFINED__
  190. typedef interface IWSManEx3 IWSManEx3;
  191. #ifdef __cplusplus
  192. interface IWSManEx3;
  193. #endif /* __cplusplus */
  194. #endif
  195. #ifndef __IWSManConnectionOptions_FWD_DEFINED__
  196. #define __IWSManConnectionOptions_FWD_DEFINED__
  197. typedef interface IWSManConnectionOptions IWSManConnectionOptions;
  198. #ifdef __cplusplus
  199. interface IWSManConnectionOptions;
  200. #endif /* __cplusplus */
  201. #endif
  202. #ifndef __IWSManConnectionOptionsEx_FWD_DEFINED__
  203. #define __IWSManConnectionOptionsEx_FWD_DEFINED__
  204. typedef interface IWSManConnectionOptionsEx IWSManConnectionOptionsEx;
  205. #ifdef __cplusplus
  206. interface IWSManConnectionOptionsEx;
  207. #endif /* __cplusplus */
  208. #endif
  209. #ifndef __IWSManConnectionOptionsEx2_FWD_DEFINED__
  210. #define __IWSManConnectionOptionsEx2_FWD_DEFINED__
  211. typedef interface IWSManConnectionOptionsEx2 IWSManConnectionOptionsEx2;
  212. #ifdef __cplusplus
  213. interface IWSManConnectionOptionsEx2;
  214. #endif /* __cplusplus */
  215. #endif
  216. #ifndef __IWSManSession_FWD_DEFINED__
  217. #define __IWSManSession_FWD_DEFINED__
  218. typedef interface IWSManSession IWSManSession;
  219. #ifdef __cplusplus
  220. interface IWSManSession;
  221. #endif /* __cplusplus */
  222. #endif
  223. #ifndef __IWSManSessionEx_FWD_DEFINED__
  224. #define __IWSManSessionEx_FWD_DEFINED__
  225. typedef interface IWSManSessionEx IWSManSessionEx;
  226. #ifdef __cplusplus
  227. interface IWSManSessionEx;
  228. #endif /* __cplusplus */
  229. #endif
  230. #ifndef __IWSManEnumerator_FWD_DEFINED__
  231. #define __IWSManEnumerator_FWD_DEFINED__
  232. typedef interface IWSManEnumerator IWSManEnumerator;
  233. #ifdef __cplusplus
  234. interface IWSManEnumerator;
  235. #endif /* __cplusplus */
  236. #endif
  237. #ifndef __IWSManResourceLocator_FWD_DEFINED__
  238. #define __IWSManResourceLocator_FWD_DEFINED__
  239. typedef interface IWSManResourceLocator IWSManResourceLocator;
  240. #ifdef __cplusplus
  241. interface IWSManResourceLocator;
  242. #endif /* __cplusplus */
  243. #endif
  244. #ifndef __IWSManResourceLocatorInternal_FWD_DEFINED__
  245. #define __IWSManResourceLocatorInternal_FWD_DEFINED__
  246. typedef interface IWSManResourceLocatorInternal IWSManResourceLocatorInternal;
  247. #ifdef __cplusplus
  248. interface IWSManResourceLocatorInternal;
  249. #endif /* __cplusplus */
  250. #endif
  251. #ifndef __IWSManInternal_FWD_DEFINED__
  252. #define __IWSManInternal_FWD_DEFINED__
  253. typedef interface IWSManInternal IWSManInternal;
  254. #ifdef __cplusplus
  255. interface IWSManInternal;
  256. #endif /* __cplusplus */
  257. #endif
  258. /*****************************************************************************
  259. * WSMan coclass
  260. */
  261. DEFINE_GUID(CLSID_WSMan, 0xbced617b, 0xec03, 0x420b, 0x85,0x08, 0x97,0x7d,0xc7,0xa6,0x86,0xbd);
  262. #ifdef __cplusplus
  263. class DECLSPEC_UUID("bced617b-ec03-420b-8508-977dc7a686bd") WSMan;
  264. #ifdef __CRT_UUID_DECL
  265. __CRT_UUID_DECL(WSMan, 0xbced617b, 0xec03, 0x420b, 0x85,0x08, 0x97,0x7d,0xc7,0xa6,0x86,0xbd)
  266. #endif
  267. #endif
  268. /*****************************************************************************
  269. * WSManInternal coclass
  270. */
  271. DEFINE_GUID(CLSID_WSManInternal, 0x7de087a5, 0x5dcb, 0x4df7, 0xbb,0x12, 0x09,0x24,0xad,0x8f,0xbd,0x9a);
  272. #ifdef __cplusplus
  273. class DECLSPEC_UUID("7de087a5-5dcb-4df7-bb12-0924ad8fbd9a") WSManInternal;
  274. #ifdef __CRT_UUID_DECL
  275. __CRT_UUID_DECL(WSManInternal, 0x7de087a5, 0x5dcb, 0x4df7, 0xbb,0x12, 0x09,0x24,0xad,0x8f,0xbd,0x9a)
  276. #endif
  277. #endif
  278. #endif /* __WSManAutomation_LIBRARY_DEFINED__ */
  279. /*****************************************************************************
  280. * IWSMan interface
  281. */
  282. #ifndef __IWSMan_INTERFACE_DEFINED__
  283. #define __IWSMan_INTERFACE_DEFINED__
  284. DEFINE_GUID(IID_IWSMan, 0x190d8637, 0x5cd3, 0x496d, 0xad,0x24, 0x69,0x63,0x6b,0xb5,0xa3,0xb5);
  285. #if defined(__cplusplus) && !defined(CINTERFACE)
  286. MIDL_INTERFACE("190d8637-5cd3-496d-ad24-69636bb5a3b5")
  287. IWSMan : public IDispatch
  288. {
  289. virtual HRESULT STDMETHODCALLTYPE CreateSession(
  290. BSTR connection,
  291. LONG flags,
  292. IDispatch *connectionOptions,
  293. IDispatch **session) = 0;
  294. virtual HRESULT STDMETHODCALLTYPE CreateConnectionOptions(
  295. IDispatch **connectionOptions) = 0;
  296. virtual HRESULT STDMETHODCALLTYPE get_CommandLine(
  297. BSTR *value) = 0;
  298. virtual HRESULT STDMETHODCALLTYPE get_Error(
  299. BSTR *value) = 0;
  300. };
  301. #ifdef __CRT_UUID_DECL
  302. __CRT_UUID_DECL(IWSMan, 0x190d8637, 0x5cd3, 0x496d, 0xad,0x24, 0x69,0x63,0x6b,0xb5,0xa3,0xb5)
  303. #endif
  304. #else
  305. typedef struct IWSManVtbl {
  306. BEGIN_INTERFACE
  307. /*** IUnknown methods ***/
  308. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  309. IWSMan *This,
  310. REFIID riid,
  311. void **ppvObject);
  312. ULONG (STDMETHODCALLTYPE *AddRef)(
  313. IWSMan *This);
  314. ULONG (STDMETHODCALLTYPE *Release)(
  315. IWSMan *This);
  316. /*** IDispatch methods ***/
  317. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  318. IWSMan *This,
  319. UINT *pctinfo);
  320. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  321. IWSMan *This,
  322. UINT iTInfo,
  323. LCID lcid,
  324. ITypeInfo **ppTInfo);
  325. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  326. IWSMan *This,
  327. REFIID riid,
  328. LPOLESTR *rgszNames,
  329. UINT cNames,
  330. LCID lcid,
  331. DISPID *rgDispId);
  332. HRESULT (STDMETHODCALLTYPE *Invoke)(
  333. IWSMan *This,
  334. DISPID dispIdMember,
  335. REFIID riid,
  336. LCID lcid,
  337. WORD wFlags,
  338. DISPPARAMS *pDispParams,
  339. VARIANT *pVarResult,
  340. EXCEPINFO *pExcepInfo,
  341. UINT *puArgErr);
  342. /*** IWSMan methods ***/
  343. HRESULT (STDMETHODCALLTYPE *CreateSession)(
  344. IWSMan *This,
  345. BSTR connection,
  346. LONG flags,
  347. IDispatch *connectionOptions,
  348. IDispatch **session);
  349. HRESULT (STDMETHODCALLTYPE *CreateConnectionOptions)(
  350. IWSMan *This,
  351. IDispatch **connectionOptions);
  352. HRESULT (STDMETHODCALLTYPE *get_CommandLine)(
  353. IWSMan *This,
  354. BSTR *value);
  355. HRESULT (STDMETHODCALLTYPE *get_Error)(
  356. IWSMan *This,
  357. BSTR *value);
  358. END_INTERFACE
  359. } IWSManVtbl;
  360. interface IWSMan {
  361. CONST_VTBL IWSManVtbl* lpVtbl;
  362. };
  363. #ifdef COBJMACROS
  364. #ifndef WIDL_C_INLINE_WRAPPERS
  365. /*** IUnknown methods ***/
  366. #define IWSMan_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  367. #define IWSMan_AddRef(This) (This)->lpVtbl->AddRef(This)
  368. #define IWSMan_Release(This) (This)->lpVtbl->Release(This)
  369. /*** IDispatch methods ***/
  370. #define IWSMan_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  371. #define IWSMan_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  372. #define IWSMan_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  373. #define IWSMan_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  374. /*** IWSMan methods ***/
  375. #define IWSMan_CreateSession(This,connection,flags,connectionOptions,session) (This)->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session)
  376. #define IWSMan_CreateConnectionOptions(This,connectionOptions) (This)->lpVtbl->CreateConnectionOptions(This,connectionOptions)
  377. #define IWSMan_get_CommandLine(This,value) (This)->lpVtbl->get_CommandLine(This,value)
  378. #define IWSMan_get_Error(This,value) (This)->lpVtbl->get_Error(This,value)
  379. #else
  380. /*** IUnknown methods ***/
  381. static FORCEINLINE HRESULT IWSMan_QueryInterface(IWSMan* This,REFIID riid,void **ppvObject) {
  382. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  383. }
  384. static FORCEINLINE ULONG IWSMan_AddRef(IWSMan* This) {
  385. return This->lpVtbl->AddRef(This);
  386. }
  387. static FORCEINLINE ULONG IWSMan_Release(IWSMan* This) {
  388. return This->lpVtbl->Release(This);
  389. }
  390. /*** IDispatch methods ***/
  391. static FORCEINLINE HRESULT IWSMan_GetTypeInfoCount(IWSMan* This,UINT *pctinfo) {
  392. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  393. }
  394. static FORCEINLINE HRESULT IWSMan_GetTypeInfo(IWSMan* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  395. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  396. }
  397. static FORCEINLINE HRESULT IWSMan_GetIDsOfNames(IWSMan* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  398. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  399. }
  400. static FORCEINLINE HRESULT IWSMan_Invoke(IWSMan* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  401. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  402. }
  403. /*** IWSMan methods ***/
  404. static FORCEINLINE HRESULT IWSMan_CreateSession(IWSMan* This,BSTR connection,LONG flags,IDispatch *connectionOptions,IDispatch **session) {
  405. return This->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session);
  406. }
  407. static FORCEINLINE HRESULT IWSMan_CreateConnectionOptions(IWSMan* This,IDispatch **connectionOptions) {
  408. return This->lpVtbl->CreateConnectionOptions(This,connectionOptions);
  409. }
  410. static FORCEINLINE HRESULT IWSMan_get_CommandLine(IWSMan* This,BSTR *value) {
  411. return This->lpVtbl->get_CommandLine(This,value);
  412. }
  413. static FORCEINLINE HRESULT IWSMan_get_Error(IWSMan* This,BSTR *value) {
  414. return This->lpVtbl->get_Error(This,value);
  415. }
  416. #endif
  417. #endif
  418. #endif
  419. #endif /* __IWSMan_INTERFACE_DEFINED__ */
  420. /*****************************************************************************
  421. * IWSManEx interface
  422. */
  423. #ifndef __IWSManEx_INTERFACE_DEFINED__
  424. #define __IWSManEx_INTERFACE_DEFINED__
  425. DEFINE_GUID(IID_IWSManEx, 0x2d53bdaa, 0x798e, 0x49e6, 0xa1,0xaa, 0x74,0xd0,0x12,0x56,0xf4,0x11);
  426. #if defined(__cplusplus) && !defined(CINTERFACE)
  427. MIDL_INTERFACE("2d53bdaa-798e-49e6-a1aa-74d01256f411")
  428. IWSManEx : public IWSMan
  429. {
  430. virtual HRESULT STDMETHODCALLTYPE CreateResourceLocator(
  431. BSTR strResourceLocator,
  432. IDispatch **newResourceLocator) = 0;
  433. virtual HRESULT STDMETHODCALLTYPE SessionFlagUTF8(
  434. LONG *flags) = 0;
  435. virtual HRESULT STDMETHODCALLTYPE SessionFlagCredUsernamePassword(
  436. LONG *flags) = 0;
  437. virtual HRESULT STDMETHODCALLTYPE SessionFlagSkipCACheck(
  438. LONG *flags) = 0;
  439. virtual HRESULT STDMETHODCALLTYPE SessionFlagSkipCNCheck(
  440. LONG *flags) = 0;
  441. virtual HRESULT STDMETHODCALLTYPE SessionFlagUseDigest(
  442. LONG *flags) = 0;
  443. virtual HRESULT STDMETHODCALLTYPE SessionFlagUseNegotiate(
  444. LONG *flags) = 0;
  445. virtual HRESULT STDMETHODCALLTYPE SessionFlagUseBasic(
  446. LONG *flags) = 0;
  447. virtual HRESULT STDMETHODCALLTYPE SessionFlagUseKerberos(
  448. LONG *flags) = 0;
  449. virtual HRESULT STDMETHODCALLTYPE SessionFlagNoEncryption(
  450. LONG *flags) = 0;
  451. virtual HRESULT STDMETHODCALLTYPE SessionFlagEnableSPNServerPort(
  452. LONG *flags) = 0;
  453. virtual HRESULT STDMETHODCALLTYPE SessionFlagUseNoAuthentication(
  454. LONG *flags) = 0;
  455. virtual HRESULT STDMETHODCALLTYPE EnumerationFlagNonXmlText(
  456. LONG *flags) = 0;
  457. virtual HRESULT STDMETHODCALLTYPE EnumerationFlagReturnEPR(
  458. LONG *flags) = 0;
  459. virtual HRESULT STDMETHODCALLTYPE EnumerationFlagReturnObjectAndEPR(
  460. LONG *flags) = 0;
  461. virtual HRESULT STDMETHODCALLTYPE GetErrorMessage(
  462. DWORD errorNumber,
  463. BSTR *errorMessage) = 0;
  464. virtual HRESULT STDMETHODCALLTYPE EnumerationFlagHierarchyDeep(
  465. LONG *flags) = 0;
  466. virtual HRESULT STDMETHODCALLTYPE EnumerationFlagHierarchyShallow(
  467. LONG *flags) = 0;
  468. virtual HRESULT STDMETHODCALLTYPE EnumerationFlagHierarchyDeepBasePropsOnly(
  469. LONG *flags) = 0;
  470. virtual HRESULT STDMETHODCALLTYPE EnumerationFlagReturnObject(
  471. LONG *flags) = 0;
  472. };
  473. #ifdef __CRT_UUID_DECL
  474. __CRT_UUID_DECL(IWSManEx, 0x2d53bdaa, 0x798e, 0x49e6, 0xa1,0xaa, 0x74,0xd0,0x12,0x56,0xf4,0x11)
  475. #endif
  476. #else
  477. typedef struct IWSManExVtbl {
  478. BEGIN_INTERFACE
  479. /*** IUnknown methods ***/
  480. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  481. IWSManEx *This,
  482. REFIID riid,
  483. void **ppvObject);
  484. ULONG (STDMETHODCALLTYPE *AddRef)(
  485. IWSManEx *This);
  486. ULONG (STDMETHODCALLTYPE *Release)(
  487. IWSManEx *This);
  488. /*** IDispatch methods ***/
  489. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  490. IWSManEx *This,
  491. UINT *pctinfo);
  492. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  493. IWSManEx *This,
  494. UINT iTInfo,
  495. LCID lcid,
  496. ITypeInfo **ppTInfo);
  497. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  498. IWSManEx *This,
  499. REFIID riid,
  500. LPOLESTR *rgszNames,
  501. UINT cNames,
  502. LCID lcid,
  503. DISPID *rgDispId);
  504. HRESULT (STDMETHODCALLTYPE *Invoke)(
  505. IWSManEx *This,
  506. DISPID dispIdMember,
  507. REFIID riid,
  508. LCID lcid,
  509. WORD wFlags,
  510. DISPPARAMS *pDispParams,
  511. VARIANT *pVarResult,
  512. EXCEPINFO *pExcepInfo,
  513. UINT *puArgErr);
  514. /*** IWSMan methods ***/
  515. HRESULT (STDMETHODCALLTYPE *CreateSession)(
  516. IWSManEx *This,
  517. BSTR connection,
  518. LONG flags,
  519. IDispatch *connectionOptions,
  520. IDispatch **session);
  521. HRESULT (STDMETHODCALLTYPE *CreateConnectionOptions)(
  522. IWSManEx *This,
  523. IDispatch **connectionOptions);
  524. HRESULT (STDMETHODCALLTYPE *get_CommandLine)(
  525. IWSManEx *This,
  526. BSTR *value);
  527. HRESULT (STDMETHODCALLTYPE *get_Error)(
  528. IWSManEx *This,
  529. BSTR *value);
  530. /*** IWSManEx methods ***/
  531. HRESULT (STDMETHODCALLTYPE *CreateResourceLocator)(
  532. IWSManEx *This,
  533. BSTR strResourceLocator,
  534. IDispatch **newResourceLocator);
  535. HRESULT (STDMETHODCALLTYPE *SessionFlagUTF8)(
  536. IWSManEx *This,
  537. LONG *flags);
  538. HRESULT (STDMETHODCALLTYPE *SessionFlagCredUsernamePassword)(
  539. IWSManEx *This,
  540. LONG *flags);
  541. HRESULT (STDMETHODCALLTYPE *SessionFlagSkipCACheck)(
  542. IWSManEx *This,
  543. LONG *flags);
  544. HRESULT (STDMETHODCALLTYPE *SessionFlagSkipCNCheck)(
  545. IWSManEx *This,
  546. LONG *flags);
  547. HRESULT (STDMETHODCALLTYPE *SessionFlagUseDigest)(
  548. IWSManEx *This,
  549. LONG *flags);
  550. HRESULT (STDMETHODCALLTYPE *SessionFlagUseNegotiate)(
  551. IWSManEx *This,
  552. LONG *flags);
  553. HRESULT (STDMETHODCALLTYPE *SessionFlagUseBasic)(
  554. IWSManEx *This,
  555. LONG *flags);
  556. HRESULT (STDMETHODCALLTYPE *SessionFlagUseKerberos)(
  557. IWSManEx *This,
  558. LONG *flags);
  559. HRESULT (STDMETHODCALLTYPE *SessionFlagNoEncryption)(
  560. IWSManEx *This,
  561. LONG *flags);
  562. HRESULT (STDMETHODCALLTYPE *SessionFlagEnableSPNServerPort)(
  563. IWSManEx *This,
  564. LONG *flags);
  565. HRESULT (STDMETHODCALLTYPE *SessionFlagUseNoAuthentication)(
  566. IWSManEx *This,
  567. LONG *flags);
  568. HRESULT (STDMETHODCALLTYPE *EnumerationFlagNonXmlText)(
  569. IWSManEx *This,
  570. LONG *flags);
  571. HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnEPR)(
  572. IWSManEx *This,
  573. LONG *flags);
  574. HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnObjectAndEPR)(
  575. IWSManEx *This,
  576. LONG *flags);
  577. HRESULT (STDMETHODCALLTYPE *GetErrorMessage)(
  578. IWSManEx *This,
  579. DWORD errorNumber,
  580. BSTR *errorMessage);
  581. HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyDeep)(
  582. IWSManEx *This,
  583. LONG *flags);
  584. HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyShallow)(
  585. IWSManEx *This,
  586. LONG *flags);
  587. HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyDeepBasePropsOnly)(
  588. IWSManEx *This,
  589. LONG *flags);
  590. HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnObject)(
  591. IWSManEx *This,
  592. LONG *flags);
  593. END_INTERFACE
  594. } IWSManExVtbl;
  595. interface IWSManEx {
  596. CONST_VTBL IWSManExVtbl* lpVtbl;
  597. };
  598. #ifdef COBJMACROS
  599. #ifndef WIDL_C_INLINE_WRAPPERS
  600. /*** IUnknown methods ***/
  601. #define IWSManEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  602. #define IWSManEx_AddRef(This) (This)->lpVtbl->AddRef(This)
  603. #define IWSManEx_Release(This) (This)->lpVtbl->Release(This)
  604. /*** IDispatch methods ***/
  605. #define IWSManEx_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  606. #define IWSManEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  607. #define IWSManEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  608. #define IWSManEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  609. /*** IWSMan methods ***/
  610. #define IWSManEx_CreateSession(This,connection,flags,connectionOptions,session) (This)->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session)
  611. #define IWSManEx_CreateConnectionOptions(This,connectionOptions) (This)->lpVtbl->CreateConnectionOptions(This,connectionOptions)
  612. #define IWSManEx_get_CommandLine(This,value) (This)->lpVtbl->get_CommandLine(This,value)
  613. #define IWSManEx_get_Error(This,value) (This)->lpVtbl->get_Error(This,value)
  614. /*** IWSManEx methods ***/
  615. #define IWSManEx_CreateResourceLocator(This,strResourceLocator,newResourceLocator) (This)->lpVtbl->CreateResourceLocator(This,strResourceLocator,newResourceLocator)
  616. #define IWSManEx_SessionFlagUTF8(This,flags) (This)->lpVtbl->SessionFlagUTF8(This,flags)
  617. #define IWSManEx_SessionFlagCredUsernamePassword(This,flags) (This)->lpVtbl->SessionFlagCredUsernamePassword(This,flags)
  618. #define IWSManEx_SessionFlagSkipCACheck(This,flags) (This)->lpVtbl->SessionFlagSkipCACheck(This,flags)
  619. #define IWSManEx_SessionFlagSkipCNCheck(This,flags) (This)->lpVtbl->SessionFlagSkipCNCheck(This,flags)
  620. #define IWSManEx_SessionFlagUseDigest(This,flags) (This)->lpVtbl->SessionFlagUseDigest(This,flags)
  621. #define IWSManEx_SessionFlagUseNegotiate(This,flags) (This)->lpVtbl->SessionFlagUseNegotiate(This,flags)
  622. #define IWSManEx_SessionFlagUseBasic(This,flags) (This)->lpVtbl->SessionFlagUseBasic(This,flags)
  623. #define IWSManEx_SessionFlagUseKerberos(This,flags) (This)->lpVtbl->SessionFlagUseKerberos(This,flags)
  624. #define IWSManEx_SessionFlagNoEncryption(This,flags) (This)->lpVtbl->SessionFlagNoEncryption(This,flags)
  625. #define IWSManEx_SessionFlagEnableSPNServerPort(This,flags) (This)->lpVtbl->SessionFlagEnableSPNServerPort(This,flags)
  626. #define IWSManEx_SessionFlagUseNoAuthentication(This,flags) (This)->lpVtbl->SessionFlagUseNoAuthentication(This,flags)
  627. #define IWSManEx_EnumerationFlagNonXmlText(This,flags) (This)->lpVtbl->EnumerationFlagNonXmlText(This,flags)
  628. #define IWSManEx_EnumerationFlagReturnEPR(This,flags) (This)->lpVtbl->EnumerationFlagReturnEPR(This,flags)
  629. #define IWSManEx_EnumerationFlagReturnObjectAndEPR(This,flags) (This)->lpVtbl->EnumerationFlagReturnObjectAndEPR(This,flags)
  630. #define IWSManEx_GetErrorMessage(This,errorNumber,errorMessage) (This)->lpVtbl->GetErrorMessage(This,errorNumber,errorMessage)
  631. #define IWSManEx_EnumerationFlagHierarchyDeep(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyDeep(This,flags)
  632. #define IWSManEx_EnumerationFlagHierarchyShallow(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyShallow(This,flags)
  633. #define IWSManEx_EnumerationFlagHierarchyDeepBasePropsOnly(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyDeepBasePropsOnly(This,flags)
  634. #define IWSManEx_EnumerationFlagReturnObject(This,flags) (This)->lpVtbl->EnumerationFlagReturnObject(This,flags)
  635. #else
  636. /*** IUnknown methods ***/
  637. static FORCEINLINE HRESULT IWSManEx_QueryInterface(IWSManEx* This,REFIID riid,void **ppvObject) {
  638. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  639. }
  640. static FORCEINLINE ULONG IWSManEx_AddRef(IWSManEx* This) {
  641. return This->lpVtbl->AddRef(This);
  642. }
  643. static FORCEINLINE ULONG IWSManEx_Release(IWSManEx* This) {
  644. return This->lpVtbl->Release(This);
  645. }
  646. /*** IDispatch methods ***/
  647. static FORCEINLINE HRESULT IWSManEx_GetTypeInfoCount(IWSManEx* This,UINT *pctinfo) {
  648. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  649. }
  650. static FORCEINLINE HRESULT IWSManEx_GetTypeInfo(IWSManEx* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  651. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  652. }
  653. static FORCEINLINE HRESULT IWSManEx_GetIDsOfNames(IWSManEx* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  654. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  655. }
  656. static FORCEINLINE HRESULT IWSManEx_Invoke(IWSManEx* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  657. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  658. }
  659. /*** IWSMan methods ***/
  660. static FORCEINLINE HRESULT IWSManEx_CreateSession(IWSManEx* This,BSTR connection,LONG flags,IDispatch *connectionOptions,IDispatch **session) {
  661. return This->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session);
  662. }
  663. static FORCEINLINE HRESULT IWSManEx_CreateConnectionOptions(IWSManEx* This,IDispatch **connectionOptions) {
  664. return This->lpVtbl->CreateConnectionOptions(This,connectionOptions);
  665. }
  666. static FORCEINLINE HRESULT IWSManEx_get_CommandLine(IWSManEx* This,BSTR *value) {
  667. return This->lpVtbl->get_CommandLine(This,value);
  668. }
  669. static FORCEINLINE HRESULT IWSManEx_get_Error(IWSManEx* This,BSTR *value) {
  670. return This->lpVtbl->get_Error(This,value);
  671. }
  672. /*** IWSManEx methods ***/
  673. static FORCEINLINE HRESULT IWSManEx_CreateResourceLocator(IWSManEx* This,BSTR strResourceLocator,IDispatch **newResourceLocator) {
  674. return This->lpVtbl->CreateResourceLocator(This,strResourceLocator,newResourceLocator);
  675. }
  676. static FORCEINLINE HRESULT IWSManEx_SessionFlagUTF8(IWSManEx* This,LONG *flags) {
  677. return This->lpVtbl->SessionFlagUTF8(This,flags);
  678. }
  679. static FORCEINLINE HRESULT IWSManEx_SessionFlagCredUsernamePassword(IWSManEx* This,LONG *flags) {
  680. return This->lpVtbl->SessionFlagCredUsernamePassword(This,flags);
  681. }
  682. static FORCEINLINE HRESULT IWSManEx_SessionFlagSkipCACheck(IWSManEx* This,LONG *flags) {
  683. return This->lpVtbl->SessionFlagSkipCACheck(This,flags);
  684. }
  685. static FORCEINLINE HRESULT IWSManEx_SessionFlagSkipCNCheck(IWSManEx* This,LONG *flags) {
  686. return This->lpVtbl->SessionFlagSkipCNCheck(This,flags);
  687. }
  688. static FORCEINLINE HRESULT IWSManEx_SessionFlagUseDigest(IWSManEx* This,LONG *flags) {
  689. return This->lpVtbl->SessionFlagUseDigest(This,flags);
  690. }
  691. static FORCEINLINE HRESULT IWSManEx_SessionFlagUseNegotiate(IWSManEx* This,LONG *flags) {
  692. return This->lpVtbl->SessionFlagUseNegotiate(This,flags);
  693. }
  694. static FORCEINLINE HRESULT IWSManEx_SessionFlagUseBasic(IWSManEx* This,LONG *flags) {
  695. return This->lpVtbl->SessionFlagUseBasic(This,flags);
  696. }
  697. static FORCEINLINE HRESULT IWSManEx_SessionFlagUseKerberos(IWSManEx* This,LONG *flags) {
  698. return This->lpVtbl->SessionFlagUseKerberos(This,flags);
  699. }
  700. static FORCEINLINE HRESULT IWSManEx_SessionFlagNoEncryption(IWSManEx* This,LONG *flags) {
  701. return This->lpVtbl->SessionFlagNoEncryption(This,flags);
  702. }
  703. static FORCEINLINE HRESULT IWSManEx_SessionFlagEnableSPNServerPort(IWSManEx* This,LONG *flags) {
  704. return This->lpVtbl->SessionFlagEnableSPNServerPort(This,flags);
  705. }
  706. static FORCEINLINE HRESULT IWSManEx_SessionFlagUseNoAuthentication(IWSManEx* This,LONG *flags) {
  707. return This->lpVtbl->SessionFlagUseNoAuthentication(This,flags);
  708. }
  709. static FORCEINLINE HRESULT IWSManEx_EnumerationFlagNonXmlText(IWSManEx* This,LONG *flags) {
  710. return This->lpVtbl->EnumerationFlagNonXmlText(This,flags);
  711. }
  712. static FORCEINLINE HRESULT IWSManEx_EnumerationFlagReturnEPR(IWSManEx* This,LONG *flags) {
  713. return This->lpVtbl->EnumerationFlagReturnEPR(This,flags);
  714. }
  715. static FORCEINLINE HRESULT IWSManEx_EnumerationFlagReturnObjectAndEPR(IWSManEx* This,LONG *flags) {
  716. return This->lpVtbl->EnumerationFlagReturnObjectAndEPR(This,flags);
  717. }
  718. static FORCEINLINE HRESULT IWSManEx_GetErrorMessage(IWSManEx* This,DWORD errorNumber,BSTR *errorMessage) {
  719. return This->lpVtbl->GetErrorMessage(This,errorNumber,errorMessage);
  720. }
  721. static FORCEINLINE HRESULT IWSManEx_EnumerationFlagHierarchyDeep(IWSManEx* This,LONG *flags) {
  722. return This->lpVtbl->EnumerationFlagHierarchyDeep(This,flags);
  723. }
  724. static FORCEINLINE HRESULT IWSManEx_EnumerationFlagHierarchyShallow(IWSManEx* This,LONG *flags) {
  725. return This->lpVtbl->EnumerationFlagHierarchyShallow(This,flags);
  726. }
  727. static FORCEINLINE HRESULT IWSManEx_EnumerationFlagHierarchyDeepBasePropsOnly(IWSManEx* This,LONG *flags) {
  728. return This->lpVtbl->EnumerationFlagHierarchyDeepBasePropsOnly(This,flags);
  729. }
  730. static FORCEINLINE HRESULT IWSManEx_EnumerationFlagReturnObject(IWSManEx* This,LONG *flags) {
  731. return This->lpVtbl->EnumerationFlagReturnObject(This,flags);
  732. }
  733. #endif
  734. #endif
  735. #endif
  736. #endif /* __IWSManEx_INTERFACE_DEFINED__ */
  737. /*****************************************************************************
  738. * IWSManEx2 interface
  739. */
  740. #ifndef __IWSManEx2_INTERFACE_DEFINED__
  741. #define __IWSManEx2_INTERFACE_DEFINED__
  742. DEFINE_GUID(IID_IWSManEx2, 0x1d1b5ae0, 0x42d9, 0x4021, 0x82,0x61, 0x39,0x87,0x61,0x95,0x12,0xe9);
  743. #if defined(__cplusplus) && !defined(CINTERFACE)
  744. MIDL_INTERFACE("1d1b5ae0-42d9-4021-8261-3987619512e9")
  745. IWSManEx2 : public IWSManEx
  746. {
  747. virtual HRESULT STDMETHODCALLTYPE SessionFlagUseClientCertificate(
  748. LONG *flags) = 0;
  749. };
  750. #ifdef __CRT_UUID_DECL
  751. __CRT_UUID_DECL(IWSManEx2, 0x1d1b5ae0, 0x42d9, 0x4021, 0x82,0x61, 0x39,0x87,0x61,0x95,0x12,0xe9)
  752. #endif
  753. #else
  754. typedef struct IWSManEx2Vtbl {
  755. BEGIN_INTERFACE
  756. /*** IUnknown methods ***/
  757. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  758. IWSManEx2 *This,
  759. REFIID riid,
  760. void **ppvObject);
  761. ULONG (STDMETHODCALLTYPE *AddRef)(
  762. IWSManEx2 *This);
  763. ULONG (STDMETHODCALLTYPE *Release)(
  764. IWSManEx2 *This);
  765. /*** IDispatch methods ***/
  766. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  767. IWSManEx2 *This,
  768. UINT *pctinfo);
  769. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  770. IWSManEx2 *This,
  771. UINT iTInfo,
  772. LCID lcid,
  773. ITypeInfo **ppTInfo);
  774. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  775. IWSManEx2 *This,
  776. REFIID riid,
  777. LPOLESTR *rgszNames,
  778. UINT cNames,
  779. LCID lcid,
  780. DISPID *rgDispId);
  781. HRESULT (STDMETHODCALLTYPE *Invoke)(
  782. IWSManEx2 *This,
  783. DISPID dispIdMember,
  784. REFIID riid,
  785. LCID lcid,
  786. WORD wFlags,
  787. DISPPARAMS *pDispParams,
  788. VARIANT *pVarResult,
  789. EXCEPINFO *pExcepInfo,
  790. UINT *puArgErr);
  791. /*** IWSMan methods ***/
  792. HRESULT (STDMETHODCALLTYPE *CreateSession)(
  793. IWSManEx2 *This,
  794. BSTR connection,
  795. LONG flags,
  796. IDispatch *connectionOptions,
  797. IDispatch **session);
  798. HRESULT (STDMETHODCALLTYPE *CreateConnectionOptions)(
  799. IWSManEx2 *This,
  800. IDispatch **connectionOptions);
  801. HRESULT (STDMETHODCALLTYPE *get_CommandLine)(
  802. IWSManEx2 *This,
  803. BSTR *value);
  804. HRESULT (STDMETHODCALLTYPE *get_Error)(
  805. IWSManEx2 *This,
  806. BSTR *value);
  807. /*** IWSManEx methods ***/
  808. HRESULT (STDMETHODCALLTYPE *CreateResourceLocator)(
  809. IWSManEx2 *This,
  810. BSTR strResourceLocator,
  811. IDispatch **newResourceLocator);
  812. HRESULT (STDMETHODCALLTYPE *SessionFlagUTF8)(
  813. IWSManEx2 *This,
  814. LONG *flags);
  815. HRESULT (STDMETHODCALLTYPE *SessionFlagCredUsernamePassword)(
  816. IWSManEx2 *This,
  817. LONG *flags);
  818. HRESULT (STDMETHODCALLTYPE *SessionFlagSkipCACheck)(
  819. IWSManEx2 *This,
  820. LONG *flags);
  821. HRESULT (STDMETHODCALLTYPE *SessionFlagSkipCNCheck)(
  822. IWSManEx2 *This,
  823. LONG *flags);
  824. HRESULT (STDMETHODCALLTYPE *SessionFlagUseDigest)(
  825. IWSManEx2 *This,
  826. LONG *flags);
  827. HRESULT (STDMETHODCALLTYPE *SessionFlagUseNegotiate)(
  828. IWSManEx2 *This,
  829. LONG *flags);
  830. HRESULT (STDMETHODCALLTYPE *SessionFlagUseBasic)(
  831. IWSManEx2 *This,
  832. LONG *flags);
  833. HRESULT (STDMETHODCALLTYPE *SessionFlagUseKerberos)(
  834. IWSManEx2 *This,
  835. LONG *flags);
  836. HRESULT (STDMETHODCALLTYPE *SessionFlagNoEncryption)(
  837. IWSManEx2 *This,
  838. LONG *flags);
  839. HRESULT (STDMETHODCALLTYPE *SessionFlagEnableSPNServerPort)(
  840. IWSManEx2 *This,
  841. LONG *flags);
  842. HRESULT (STDMETHODCALLTYPE *SessionFlagUseNoAuthentication)(
  843. IWSManEx2 *This,
  844. LONG *flags);
  845. HRESULT (STDMETHODCALLTYPE *EnumerationFlagNonXmlText)(
  846. IWSManEx2 *This,
  847. LONG *flags);
  848. HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnEPR)(
  849. IWSManEx2 *This,
  850. LONG *flags);
  851. HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnObjectAndEPR)(
  852. IWSManEx2 *This,
  853. LONG *flags);
  854. HRESULT (STDMETHODCALLTYPE *GetErrorMessage)(
  855. IWSManEx2 *This,
  856. DWORD errorNumber,
  857. BSTR *errorMessage);
  858. HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyDeep)(
  859. IWSManEx2 *This,
  860. LONG *flags);
  861. HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyShallow)(
  862. IWSManEx2 *This,
  863. LONG *flags);
  864. HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyDeepBasePropsOnly)(
  865. IWSManEx2 *This,
  866. LONG *flags);
  867. HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnObject)(
  868. IWSManEx2 *This,
  869. LONG *flags);
  870. /*** IWSManEx2 methods ***/
  871. HRESULT (STDMETHODCALLTYPE *SessionFlagUseClientCertificate)(
  872. IWSManEx2 *This,
  873. LONG *flags);
  874. END_INTERFACE
  875. } IWSManEx2Vtbl;
  876. interface IWSManEx2 {
  877. CONST_VTBL IWSManEx2Vtbl* lpVtbl;
  878. };
  879. #ifdef COBJMACROS
  880. #ifndef WIDL_C_INLINE_WRAPPERS
  881. /*** IUnknown methods ***/
  882. #define IWSManEx2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  883. #define IWSManEx2_AddRef(This) (This)->lpVtbl->AddRef(This)
  884. #define IWSManEx2_Release(This) (This)->lpVtbl->Release(This)
  885. /*** IDispatch methods ***/
  886. #define IWSManEx2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  887. #define IWSManEx2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  888. #define IWSManEx2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  889. #define IWSManEx2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  890. /*** IWSMan methods ***/
  891. #define IWSManEx2_CreateSession(This,connection,flags,connectionOptions,session) (This)->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session)
  892. #define IWSManEx2_CreateConnectionOptions(This,connectionOptions) (This)->lpVtbl->CreateConnectionOptions(This,connectionOptions)
  893. #define IWSManEx2_get_CommandLine(This,value) (This)->lpVtbl->get_CommandLine(This,value)
  894. #define IWSManEx2_get_Error(This,value) (This)->lpVtbl->get_Error(This,value)
  895. /*** IWSManEx methods ***/
  896. #define IWSManEx2_CreateResourceLocator(This,strResourceLocator,newResourceLocator) (This)->lpVtbl->CreateResourceLocator(This,strResourceLocator,newResourceLocator)
  897. #define IWSManEx2_SessionFlagUTF8(This,flags) (This)->lpVtbl->SessionFlagUTF8(This,flags)
  898. #define IWSManEx2_SessionFlagCredUsernamePassword(This,flags) (This)->lpVtbl->SessionFlagCredUsernamePassword(This,flags)
  899. #define IWSManEx2_SessionFlagSkipCACheck(This,flags) (This)->lpVtbl->SessionFlagSkipCACheck(This,flags)
  900. #define IWSManEx2_SessionFlagSkipCNCheck(This,flags) (This)->lpVtbl->SessionFlagSkipCNCheck(This,flags)
  901. #define IWSManEx2_SessionFlagUseDigest(This,flags) (This)->lpVtbl->SessionFlagUseDigest(This,flags)
  902. #define IWSManEx2_SessionFlagUseNegotiate(This,flags) (This)->lpVtbl->SessionFlagUseNegotiate(This,flags)
  903. #define IWSManEx2_SessionFlagUseBasic(This,flags) (This)->lpVtbl->SessionFlagUseBasic(This,flags)
  904. #define IWSManEx2_SessionFlagUseKerberos(This,flags) (This)->lpVtbl->SessionFlagUseKerberos(This,flags)
  905. #define IWSManEx2_SessionFlagNoEncryption(This,flags) (This)->lpVtbl->SessionFlagNoEncryption(This,flags)
  906. #define IWSManEx2_SessionFlagEnableSPNServerPort(This,flags) (This)->lpVtbl->SessionFlagEnableSPNServerPort(This,flags)
  907. #define IWSManEx2_SessionFlagUseNoAuthentication(This,flags) (This)->lpVtbl->SessionFlagUseNoAuthentication(This,flags)
  908. #define IWSManEx2_EnumerationFlagNonXmlText(This,flags) (This)->lpVtbl->EnumerationFlagNonXmlText(This,flags)
  909. #define IWSManEx2_EnumerationFlagReturnEPR(This,flags) (This)->lpVtbl->EnumerationFlagReturnEPR(This,flags)
  910. #define IWSManEx2_EnumerationFlagReturnObjectAndEPR(This,flags) (This)->lpVtbl->EnumerationFlagReturnObjectAndEPR(This,flags)
  911. #define IWSManEx2_GetErrorMessage(This,errorNumber,errorMessage) (This)->lpVtbl->GetErrorMessage(This,errorNumber,errorMessage)
  912. #define IWSManEx2_EnumerationFlagHierarchyDeep(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyDeep(This,flags)
  913. #define IWSManEx2_EnumerationFlagHierarchyShallow(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyShallow(This,flags)
  914. #define IWSManEx2_EnumerationFlagHierarchyDeepBasePropsOnly(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyDeepBasePropsOnly(This,flags)
  915. #define IWSManEx2_EnumerationFlagReturnObject(This,flags) (This)->lpVtbl->EnumerationFlagReturnObject(This,flags)
  916. /*** IWSManEx2 methods ***/
  917. #define IWSManEx2_SessionFlagUseClientCertificate(This,flags) (This)->lpVtbl->SessionFlagUseClientCertificate(This,flags)
  918. #else
  919. /*** IUnknown methods ***/
  920. static FORCEINLINE HRESULT IWSManEx2_QueryInterface(IWSManEx2* This,REFIID riid,void **ppvObject) {
  921. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  922. }
  923. static FORCEINLINE ULONG IWSManEx2_AddRef(IWSManEx2* This) {
  924. return This->lpVtbl->AddRef(This);
  925. }
  926. static FORCEINLINE ULONG IWSManEx2_Release(IWSManEx2* This) {
  927. return This->lpVtbl->Release(This);
  928. }
  929. /*** IDispatch methods ***/
  930. static FORCEINLINE HRESULT IWSManEx2_GetTypeInfoCount(IWSManEx2* This,UINT *pctinfo) {
  931. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  932. }
  933. static FORCEINLINE HRESULT IWSManEx2_GetTypeInfo(IWSManEx2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  934. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  935. }
  936. static FORCEINLINE HRESULT IWSManEx2_GetIDsOfNames(IWSManEx2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  937. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  938. }
  939. static FORCEINLINE HRESULT IWSManEx2_Invoke(IWSManEx2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  940. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  941. }
  942. /*** IWSMan methods ***/
  943. static FORCEINLINE HRESULT IWSManEx2_CreateSession(IWSManEx2* This,BSTR connection,LONG flags,IDispatch *connectionOptions,IDispatch **session) {
  944. return This->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session);
  945. }
  946. static FORCEINLINE HRESULT IWSManEx2_CreateConnectionOptions(IWSManEx2* This,IDispatch **connectionOptions) {
  947. return This->lpVtbl->CreateConnectionOptions(This,connectionOptions);
  948. }
  949. static FORCEINLINE HRESULT IWSManEx2_get_CommandLine(IWSManEx2* This,BSTR *value) {
  950. return This->lpVtbl->get_CommandLine(This,value);
  951. }
  952. static FORCEINLINE HRESULT IWSManEx2_get_Error(IWSManEx2* This,BSTR *value) {
  953. return This->lpVtbl->get_Error(This,value);
  954. }
  955. /*** IWSManEx methods ***/
  956. static FORCEINLINE HRESULT IWSManEx2_CreateResourceLocator(IWSManEx2* This,BSTR strResourceLocator,IDispatch **newResourceLocator) {
  957. return This->lpVtbl->CreateResourceLocator(This,strResourceLocator,newResourceLocator);
  958. }
  959. static FORCEINLINE HRESULT IWSManEx2_SessionFlagUTF8(IWSManEx2* This,LONG *flags) {
  960. return This->lpVtbl->SessionFlagUTF8(This,flags);
  961. }
  962. static FORCEINLINE HRESULT IWSManEx2_SessionFlagCredUsernamePassword(IWSManEx2* This,LONG *flags) {
  963. return This->lpVtbl->SessionFlagCredUsernamePassword(This,flags);
  964. }
  965. static FORCEINLINE HRESULT IWSManEx2_SessionFlagSkipCACheck(IWSManEx2* This,LONG *flags) {
  966. return This->lpVtbl->SessionFlagSkipCACheck(This,flags);
  967. }
  968. static FORCEINLINE HRESULT IWSManEx2_SessionFlagSkipCNCheck(IWSManEx2* This,LONG *flags) {
  969. return This->lpVtbl->SessionFlagSkipCNCheck(This,flags);
  970. }
  971. static FORCEINLINE HRESULT IWSManEx2_SessionFlagUseDigest(IWSManEx2* This,LONG *flags) {
  972. return This->lpVtbl->SessionFlagUseDigest(This,flags);
  973. }
  974. static FORCEINLINE HRESULT IWSManEx2_SessionFlagUseNegotiate(IWSManEx2* This,LONG *flags) {
  975. return This->lpVtbl->SessionFlagUseNegotiate(This,flags);
  976. }
  977. static FORCEINLINE HRESULT IWSManEx2_SessionFlagUseBasic(IWSManEx2* This,LONG *flags) {
  978. return This->lpVtbl->SessionFlagUseBasic(This,flags);
  979. }
  980. static FORCEINLINE HRESULT IWSManEx2_SessionFlagUseKerberos(IWSManEx2* This,LONG *flags) {
  981. return This->lpVtbl->SessionFlagUseKerberos(This,flags);
  982. }
  983. static FORCEINLINE HRESULT IWSManEx2_SessionFlagNoEncryption(IWSManEx2* This,LONG *flags) {
  984. return This->lpVtbl->SessionFlagNoEncryption(This,flags);
  985. }
  986. static FORCEINLINE HRESULT IWSManEx2_SessionFlagEnableSPNServerPort(IWSManEx2* This,LONG *flags) {
  987. return This->lpVtbl->SessionFlagEnableSPNServerPort(This,flags);
  988. }
  989. static FORCEINLINE HRESULT IWSManEx2_SessionFlagUseNoAuthentication(IWSManEx2* This,LONG *flags) {
  990. return This->lpVtbl->SessionFlagUseNoAuthentication(This,flags);
  991. }
  992. static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagNonXmlText(IWSManEx2* This,LONG *flags) {
  993. return This->lpVtbl->EnumerationFlagNonXmlText(This,flags);
  994. }
  995. static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagReturnEPR(IWSManEx2* This,LONG *flags) {
  996. return This->lpVtbl->EnumerationFlagReturnEPR(This,flags);
  997. }
  998. static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagReturnObjectAndEPR(IWSManEx2* This,LONG *flags) {
  999. return This->lpVtbl->EnumerationFlagReturnObjectAndEPR(This,flags);
  1000. }
  1001. static FORCEINLINE HRESULT IWSManEx2_GetErrorMessage(IWSManEx2* This,DWORD errorNumber,BSTR *errorMessage) {
  1002. return This->lpVtbl->GetErrorMessage(This,errorNumber,errorMessage);
  1003. }
  1004. static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagHierarchyDeep(IWSManEx2* This,LONG *flags) {
  1005. return This->lpVtbl->EnumerationFlagHierarchyDeep(This,flags);
  1006. }
  1007. static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagHierarchyShallow(IWSManEx2* This,LONG *flags) {
  1008. return This->lpVtbl->EnumerationFlagHierarchyShallow(This,flags);
  1009. }
  1010. static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagHierarchyDeepBasePropsOnly(IWSManEx2* This,LONG *flags) {
  1011. return This->lpVtbl->EnumerationFlagHierarchyDeepBasePropsOnly(This,flags);
  1012. }
  1013. static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagReturnObject(IWSManEx2* This,LONG *flags) {
  1014. return This->lpVtbl->EnumerationFlagReturnObject(This,flags);
  1015. }
  1016. /*** IWSManEx2 methods ***/
  1017. static FORCEINLINE HRESULT IWSManEx2_SessionFlagUseClientCertificate(IWSManEx2* This,LONG *flags) {
  1018. return This->lpVtbl->SessionFlagUseClientCertificate(This,flags);
  1019. }
  1020. #endif
  1021. #endif
  1022. #endif
  1023. #endif /* __IWSManEx2_INTERFACE_DEFINED__ */
  1024. /*****************************************************************************
  1025. * IWSManEx3 interface
  1026. */
  1027. #ifndef __IWSManEx3_INTERFACE_DEFINED__
  1028. #define __IWSManEx3_INTERFACE_DEFINED__
  1029. DEFINE_GUID(IID_IWSManEx3, 0x6400e966, 0x011d, 0x4eac, 0x84,0x74, 0x04,0x9e,0x08,0x48,0xaf,0xad);
  1030. #if defined(__cplusplus) && !defined(CINTERFACE)
  1031. MIDL_INTERFACE("6400e966-011d-4eac-8474-049e0848afad")
  1032. IWSManEx3 : public IWSManEx2
  1033. {
  1034. virtual HRESULT STDMETHODCALLTYPE SessionFlagUTF16(
  1035. LONG *flags) = 0;
  1036. virtual HRESULT STDMETHODCALLTYPE SessionFlagUseCredSsp(
  1037. LONG *flags) = 0;
  1038. virtual HRESULT STDMETHODCALLTYPE EnumerationFlagAssociationInstance(
  1039. LONG *flags) = 0;
  1040. virtual HRESULT STDMETHODCALLTYPE EnumerationFlagAssociatedInstance(
  1041. LONG *flags) = 0;
  1042. virtual HRESULT STDMETHODCALLTYPE SessionFlagSkipRevocationCheck(
  1043. LONG *flags) = 0;
  1044. virtual HRESULT STDMETHODCALLTYPE SessionFlagAllowNegotiateImplicitCredentials(
  1045. LONG *flags) = 0;
  1046. virtual HRESULT STDMETHODCALLTYPE SessionFlagUseSsl(
  1047. LONG *flags) = 0;
  1048. };
  1049. #ifdef __CRT_UUID_DECL
  1050. __CRT_UUID_DECL(IWSManEx3, 0x6400e966, 0x011d, 0x4eac, 0x84,0x74, 0x04,0x9e,0x08,0x48,0xaf,0xad)
  1051. #endif
  1052. #else
  1053. typedef struct IWSManEx3Vtbl {
  1054. BEGIN_INTERFACE
  1055. /*** IUnknown methods ***/
  1056. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1057. IWSManEx3 *This,
  1058. REFIID riid,
  1059. void **ppvObject);
  1060. ULONG (STDMETHODCALLTYPE *AddRef)(
  1061. IWSManEx3 *This);
  1062. ULONG (STDMETHODCALLTYPE *Release)(
  1063. IWSManEx3 *This);
  1064. /*** IDispatch methods ***/
  1065. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1066. IWSManEx3 *This,
  1067. UINT *pctinfo);
  1068. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1069. IWSManEx3 *This,
  1070. UINT iTInfo,
  1071. LCID lcid,
  1072. ITypeInfo **ppTInfo);
  1073. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1074. IWSManEx3 *This,
  1075. REFIID riid,
  1076. LPOLESTR *rgszNames,
  1077. UINT cNames,
  1078. LCID lcid,
  1079. DISPID *rgDispId);
  1080. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1081. IWSManEx3 *This,
  1082. DISPID dispIdMember,
  1083. REFIID riid,
  1084. LCID lcid,
  1085. WORD wFlags,
  1086. DISPPARAMS *pDispParams,
  1087. VARIANT *pVarResult,
  1088. EXCEPINFO *pExcepInfo,
  1089. UINT *puArgErr);
  1090. /*** IWSMan methods ***/
  1091. HRESULT (STDMETHODCALLTYPE *CreateSession)(
  1092. IWSManEx3 *This,
  1093. BSTR connection,
  1094. LONG flags,
  1095. IDispatch *connectionOptions,
  1096. IDispatch **session);
  1097. HRESULT (STDMETHODCALLTYPE *CreateConnectionOptions)(
  1098. IWSManEx3 *This,
  1099. IDispatch **connectionOptions);
  1100. HRESULT (STDMETHODCALLTYPE *get_CommandLine)(
  1101. IWSManEx3 *This,
  1102. BSTR *value);
  1103. HRESULT (STDMETHODCALLTYPE *get_Error)(
  1104. IWSManEx3 *This,
  1105. BSTR *value);
  1106. /*** IWSManEx methods ***/
  1107. HRESULT (STDMETHODCALLTYPE *CreateResourceLocator)(
  1108. IWSManEx3 *This,
  1109. BSTR strResourceLocator,
  1110. IDispatch **newResourceLocator);
  1111. HRESULT (STDMETHODCALLTYPE *SessionFlagUTF8)(
  1112. IWSManEx3 *This,
  1113. LONG *flags);
  1114. HRESULT (STDMETHODCALLTYPE *SessionFlagCredUsernamePassword)(
  1115. IWSManEx3 *This,
  1116. LONG *flags);
  1117. HRESULT (STDMETHODCALLTYPE *SessionFlagSkipCACheck)(
  1118. IWSManEx3 *This,
  1119. LONG *flags);
  1120. HRESULT (STDMETHODCALLTYPE *SessionFlagSkipCNCheck)(
  1121. IWSManEx3 *This,
  1122. LONG *flags);
  1123. HRESULT (STDMETHODCALLTYPE *SessionFlagUseDigest)(
  1124. IWSManEx3 *This,
  1125. LONG *flags);
  1126. HRESULT (STDMETHODCALLTYPE *SessionFlagUseNegotiate)(
  1127. IWSManEx3 *This,
  1128. LONG *flags);
  1129. HRESULT (STDMETHODCALLTYPE *SessionFlagUseBasic)(
  1130. IWSManEx3 *This,
  1131. LONG *flags);
  1132. HRESULT (STDMETHODCALLTYPE *SessionFlagUseKerberos)(
  1133. IWSManEx3 *This,
  1134. LONG *flags);
  1135. HRESULT (STDMETHODCALLTYPE *SessionFlagNoEncryption)(
  1136. IWSManEx3 *This,
  1137. LONG *flags);
  1138. HRESULT (STDMETHODCALLTYPE *SessionFlagEnableSPNServerPort)(
  1139. IWSManEx3 *This,
  1140. LONG *flags);
  1141. HRESULT (STDMETHODCALLTYPE *SessionFlagUseNoAuthentication)(
  1142. IWSManEx3 *This,
  1143. LONG *flags);
  1144. HRESULT (STDMETHODCALLTYPE *EnumerationFlagNonXmlText)(
  1145. IWSManEx3 *This,
  1146. LONG *flags);
  1147. HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnEPR)(
  1148. IWSManEx3 *This,
  1149. LONG *flags);
  1150. HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnObjectAndEPR)(
  1151. IWSManEx3 *This,
  1152. LONG *flags);
  1153. HRESULT (STDMETHODCALLTYPE *GetErrorMessage)(
  1154. IWSManEx3 *This,
  1155. DWORD errorNumber,
  1156. BSTR *errorMessage);
  1157. HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyDeep)(
  1158. IWSManEx3 *This,
  1159. LONG *flags);
  1160. HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyShallow)(
  1161. IWSManEx3 *This,
  1162. LONG *flags);
  1163. HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyDeepBasePropsOnly)(
  1164. IWSManEx3 *This,
  1165. LONG *flags);
  1166. HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnObject)(
  1167. IWSManEx3 *This,
  1168. LONG *flags);
  1169. /*** IWSManEx2 methods ***/
  1170. HRESULT (STDMETHODCALLTYPE *SessionFlagUseClientCertificate)(
  1171. IWSManEx3 *This,
  1172. LONG *flags);
  1173. /*** IWSManEx3 methods ***/
  1174. HRESULT (STDMETHODCALLTYPE *SessionFlagUTF16)(
  1175. IWSManEx3 *This,
  1176. LONG *flags);
  1177. HRESULT (STDMETHODCALLTYPE *SessionFlagUseCredSsp)(
  1178. IWSManEx3 *This,
  1179. LONG *flags);
  1180. HRESULT (STDMETHODCALLTYPE *EnumerationFlagAssociationInstance)(
  1181. IWSManEx3 *This,
  1182. LONG *flags);
  1183. HRESULT (STDMETHODCALLTYPE *EnumerationFlagAssociatedInstance)(
  1184. IWSManEx3 *This,
  1185. LONG *flags);
  1186. HRESULT (STDMETHODCALLTYPE *SessionFlagSkipRevocationCheck)(
  1187. IWSManEx3 *This,
  1188. LONG *flags);
  1189. HRESULT (STDMETHODCALLTYPE *SessionFlagAllowNegotiateImplicitCredentials)(
  1190. IWSManEx3 *This,
  1191. LONG *flags);
  1192. HRESULT (STDMETHODCALLTYPE *SessionFlagUseSsl)(
  1193. IWSManEx3 *This,
  1194. LONG *flags);
  1195. END_INTERFACE
  1196. } IWSManEx3Vtbl;
  1197. interface IWSManEx3 {
  1198. CONST_VTBL IWSManEx3Vtbl* lpVtbl;
  1199. };
  1200. #ifdef COBJMACROS
  1201. #ifndef WIDL_C_INLINE_WRAPPERS
  1202. /*** IUnknown methods ***/
  1203. #define IWSManEx3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1204. #define IWSManEx3_AddRef(This) (This)->lpVtbl->AddRef(This)
  1205. #define IWSManEx3_Release(This) (This)->lpVtbl->Release(This)
  1206. /*** IDispatch methods ***/
  1207. #define IWSManEx3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1208. #define IWSManEx3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1209. #define IWSManEx3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1210. #define IWSManEx3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1211. /*** IWSMan methods ***/
  1212. #define IWSManEx3_CreateSession(This,connection,flags,connectionOptions,session) (This)->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session)
  1213. #define IWSManEx3_CreateConnectionOptions(This,connectionOptions) (This)->lpVtbl->CreateConnectionOptions(This,connectionOptions)
  1214. #define IWSManEx3_get_CommandLine(This,value) (This)->lpVtbl->get_CommandLine(This,value)
  1215. #define IWSManEx3_get_Error(This,value) (This)->lpVtbl->get_Error(This,value)
  1216. /*** IWSManEx methods ***/
  1217. #define IWSManEx3_CreateResourceLocator(This,strResourceLocator,newResourceLocator) (This)->lpVtbl->CreateResourceLocator(This,strResourceLocator,newResourceLocator)
  1218. #define IWSManEx3_SessionFlagUTF8(This,flags) (This)->lpVtbl->SessionFlagUTF8(This,flags)
  1219. #define IWSManEx3_SessionFlagCredUsernamePassword(This,flags) (This)->lpVtbl->SessionFlagCredUsernamePassword(This,flags)
  1220. #define IWSManEx3_SessionFlagSkipCACheck(This,flags) (This)->lpVtbl->SessionFlagSkipCACheck(This,flags)
  1221. #define IWSManEx3_SessionFlagSkipCNCheck(This,flags) (This)->lpVtbl->SessionFlagSkipCNCheck(This,flags)
  1222. #define IWSManEx3_SessionFlagUseDigest(This,flags) (This)->lpVtbl->SessionFlagUseDigest(This,flags)
  1223. #define IWSManEx3_SessionFlagUseNegotiate(This,flags) (This)->lpVtbl->SessionFlagUseNegotiate(This,flags)
  1224. #define IWSManEx3_SessionFlagUseBasic(This,flags) (This)->lpVtbl->SessionFlagUseBasic(This,flags)
  1225. #define IWSManEx3_SessionFlagUseKerberos(This,flags) (This)->lpVtbl->SessionFlagUseKerberos(This,flags)
  1226. #define IWSManEx3_SessionFlagNoEncryption(This,flags) (This)->lpVtbl->SessionFlagNoEncryption(This,flags)
  1227. #define IWSManEx3_SessionFlagEnableSPNServerPort(This,flags) (This)->lpVtbl->SessionFlagEnableSPNServerPort(This,flags)
  1228. #define IWSManEx3_SessionFlagUseNoAuthentication(This,flags) (This)->lpVtbl->SessionFlagUseNoAuthentication(This,flags)
  1229. #define IWSManEx3_EnumerationFlagNonXmlText(This,flags) (This)->lpVtbl->EnumerationFlagNonXmlText(This,flags)
  1230. #define IWSManEx3_EnumerationFlagReturnEPR(This,flags) (This)->lpVtbl->EnumerationFlagReturnEPR(This,flags)
  1231. #define IWSManEx3_EnumerationFlagReturnObjectAndEPR(This,flags) (This)->lpVtbl->EnumerationFlagReturnObjectAndEPR(This,flags)
  1232. #define IWSManEx3_GetErrorMessage(This,errorNumber,errorMessage) (This)->lpVtbl->GetErrorMessage(This,errorNumber,errorMessage)
  1233. #define IWSManEx3_EnumerationFlagHierarchyDeep(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyDeep(This,flags)
  1234. #define IWSManEx3_EnumerationFlagHierarchyShallow(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyShallow(This,flags)
  1235. #define IWSManEx3_EnumerationFlagHierarchyDeepBasePropsOnly(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyDeepBasePropsOnly(This,flags)
  1236. #define IWSManEx3_EnumerationFlagReturnObject(This,flags) (This)->lpVtbl->EnumerationFlagReturnObject(This,flags)
  1237. /*** IWSManEx2 methods ***/
  1238. #define IWSManEx3_SessionFlagUseClientCertificate(This,flags) (This)->lpVtbl->SessionFlagUseClientCertificate(This,flags)
  1239. /*** IWSManEx3 methods ***/
  1240. #define IWSManEx3_SessionFlagUTF16(This,flags) (This)->lpVtbl->SessionFlagUTF16(This,flags)
  1241. #define IWSManEx3_SessionFlagUseCredSsp(This,flags) (This)->lpVtbl->SessionFlagUseCredSsp(This,flags)
  1242. #define IWSManEx3_EnumerationFlagAssociationInstance(This,flags) (This)->lpVtbl->EnumerationFlagAssociationInstance(This,flags)
  1243. #define IWSManEx3_EnumerationFlagAssociatedInstance(This,flags) (This)->lpVtbl->EnumerationFlagAssociatedInstance(This,flags)
  1244. #define IWSManEx3_SessionFlagSkipRevocationCheck(This,flags) (This)->lpVtbl->SessionFlagSkipRevocationCheck(This,flags)
  1245. #define IWSManEx3_SessionFlagAllowNegotiateImplicitCredentials(This,flags) (This)->lpVtbl->SessionFlagAllowNegotiateImplicitCredentials(This,flags)
  1246. #define IWSManEx3_SessionFlagUseSsl(This,flags) (This)->lpVtbl->SessionFlagUseSsl(This,flags)
  1247. #else
  1248. /*** IUnknown methods ***/
  1249. static FORCEINLINE HRESULT IWSManEx3_QueryInterface(IWSManEx3* This,REFIID riid,void **ppvObject) {
  1250. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1251. }
  1252. static FORCEINLINE ULONG IWSManEx3_AddRef(IWSManEx3* This) {
  1253. return This->lpVtbl->AddRef(This);
  1254. }
  1255. static FORCEINLINE ULONG IWSManEx3_Release(IWSManEx3* This) {
  1256. return This->lpVtbl->Release(This);
  1257. }
  1258. /*** IDispatch methods ***/
  1259. static FORCEINLINE HRESULT IWSManEx3_GetTypeInfoCount(IWSManEx3* This,UINT *pctinfo) {
  1260. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1261. }
  1262. static FORCEINLINE HRESULT IWSManEx3_GetTypeInfo(IWSManEx3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1263. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1264. }
  1265. static FORCEINLINE HRESULT IWSManEx3_GetIDsOfNames(IWSManEx3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1266. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1267. }
  1268. static FORCEINLINE HRESULT IWSManEx3_Invoke(IWSManEx3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1269. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1270. }
  1271. /*** IWSMan methods ***/
  1272. static FORCEINLINE HRESULT IWSManEx3_CreateSession(IWSManEx3* This,BSTR connection,LONG flags,IDispatch *connectionOptions,IDispatch **session) {
  1273. return This->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session);
  1274. }
  1275. static FORCEINLINE HRESULT IWSManEx3_CreateConnectionOptions(IWSManEx3* This,IDispatch **connectionOptions) {
  1276. return This->lpVtbl->CreateConnectionOptions(This,connectionOptions);
  1277. }
  1278. static FORCEINLINE HRESULT IWSManEx3_get_CommandLine(IWSManEx3* This,BSTR *value) {
  1279. return This->lpVtbl->get_CommandLine(This,value);
  1280. }
  1281. static FORCEINLINE HRESULT IWSManEx3_get_Error(IWSManEx3* This,BSTR *value) {
  1282. return This->lpVtbl->get_Error(This,value);
  1283. }
  1284. /*** IWSManEx methods ***/
  1285. static FORCEINLINE HRESULT IWSManEx3_CreateResourceLocator(IWSManEx3* This,BSTR strResourceLocator,IDispatch **newResourceLocator) {
  1286. return This->lpVtbl->CreateResourceLocator(This,strResourceLocator,newResourceLocator);
  1287. }
  1288. static FORCEINLINE HRESULT IWSManEx3_SessionFlagUTF8(IWSManEx3* This,LONG *flags) {
  1289. return This->lpVtbl->SessionFlagUTF8(This,flags);
  1290. }
  1291. static FORCEINLINE HRESULT IWSManEx3_SessionFlagCredUsernamePassword(IWSManEx3* This,LONG *flags) {
  1292. return This->lpVtbl->SessionFlagCredUsernamePassword(This,flags);
  1293. }
  1294. static FORCEINLINE HRESULT IWSManEx3_SessionFlagSkipCACheck(IWSManEx3* This,LONG *flags) {
  1295. return This->lpVtbl->SessionFlagSkipCACheck(This,flags);
  1296. }
  1297. static FORCEINLINE HRESULT IWSManEx3_SessionFlagSkipCNCheck(IWSManEx3* This,LONG *flags) {
  1298. return This->lpVtbl->SessionFlagSkipCNCheck(This,flags);
  1299. }
  1300. static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseDigest(IWSManEx3* This,LONG *flags) {
  1301. return This->lpVtbl->SessionFlagUseDigest(This,flags);
  1302. }
  1303. static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseNegotiate(IWSManEx3* This,LONG *flags) {
  1304. return This->lpVtbl->SessionFlagUseNegotiate(This,flags);
  1305. }
  1306. static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseBasic(IWSManEx3* This,LONG *flags) {
  1307. return This->lpVtbl->SessionFlagUseBasic(This,flags);
  1308. }
  1309. static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseKerberos(IWSManEx3* This,LONG *flags) {
  1310. return This->lpVtbl->SessionFlagUseKerberos(This,flags);
  1311. }
  1312. static FORCEINLINE HRESULT IWSManEx3_SessionFlagNoEncryption(IWSManEx3* This,LONG *flags) {
  1313. return This->lpVtbl->SessionFlagNoEncryption(This,flags);
  1314. }
  1315. static FORCEINLINE HRESULT IWSManEx3_SessionFlagEnableSPNServerPort(IWSManEx3* This,LONG *flags) {
  1316. return This->lpVtbl->SessionFlagEnableSPNServerPort(This,flags);
  1317. }
  1318. static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseNoAuthentication(IWSManEx3* This,LONG *flags) {
  1319. return This->lpVtbl->SessionFlagUseNoAuthentication(This,flags);
  1320. }
  1321. static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagNonXmlText(IWSManEx3* This,LONG *flags) {
  1322. return This->lpVtbl->EnumerationFlagNonXmlText(This,flags);
  1323. }
  1324. static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagReturnEPR(IWSManEx3* This,LONG *flags) {
  1325. return This->lpVtbl->EnumerationFlagReturnEPR(This,flags);
  1326. }
  1327. static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagReturnObjectAndEPR(IWSManEx3* This,LONG *flags) {
  1328. return This->lpVtbl->EnumerationFlagReturnObjectAndEPR(This,flags);
  1329. }
  1330. static FORCEINLINE HRESULT IWSManEx3_GetErrorMessage(IWSManEx3* This,DWORD errorNumber,BSTR *errorMessage) {
  1331. return This->lpVtbl->GetErrorMessage(This,errorNumber,errorMessage);
  1332. }
  1333. static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagHierarchyDeep(IWSManEx3* This,LONG *flags) {
  1334. return This->lpVtbl->EnumerationFlagHierarchyDeep(This,flags);
  1335. }
  1336. static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagHierarchyShallow(IWSManEx3* This,LONG *flags) {
  1337. return This->lpVtbl->EnumerationFlagHierarchyShallow(This,flags);
  1338. }
  1339. static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagHierarchyDeepBasePropsOnly(IWSManEx3* This,LONG *flags) {
  1340. return This->lpVtbl->EnumerationFlagHierarchyDeepBasePropsOnly(This,flags);
  1341. }
  1342. static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagReturnObject(IWSManEx3* This,LONG *flags) {
  1343. return This->lpVtbl->EnumerationFlagReturnObject(This,flags);
  1344. }
  1345. /*** IWSManEx2 methods ***/
  1346. static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseClientCertificate(IWSManEx3* This,LONG *flags) {
  1347. return This->lpVtbl->SessionFlagUseClientCertificate(This,flags);
  1348. }
  1349. /*** IWSManEx3 methods ***/
  1350. static FORCEINLINE HRESULT IWSManEx3_SessionFlagUTF16(IWSManEx3* This,LONG *flags) {
  1351. return This->lpVtbl->SessionFlagUTF16(This,flags);
  1352. }
  1353. static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseCredSsp(IWSManEx3* This,LONG *flags) {
  1354. return This->lpVtbl->SessionFlagUseCredSsp(This,flags);
  1355. }
  1356. static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagAssociationInstance(IWSManEx3* This,LONG *flags) {
  1357. return This->lpVtbl->EnumerationFlagAssociationInstance(This,flags);
  1358. }
  1359. static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagAssociatedInstance(IWSManEx3* This,LONG *flags) {
  1360. return This->lpVtbl->EnumerationFlagAssociatedInstance(This,flags);
  1361. }
  1362. static FORCEINLINE HRESULT IWSManEx3_SessionFlagSkipRevocationCheck(IWSManEx3* This,LONG *flags) {
  1363. return This->lpVtbl->SessionFlagSkipRevocationCheck(This,flags);
  1364. }
  1365. static FORCEINLINE HRESULT IWSManEx3_SessionFlagAllowNegotiateImplicitCredentials(IWSManEx3* This,LONG *flags) {
  1366. return This->lpVtbl->SessionFlagAllowNegotiateImplicitCredentials(This,flags);
  1367. }
  1368. static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseSsl(IWSManEx3* This,LONG *flags) {
  1369. return This->lpVtbl->SessionFlagUseSsl(This,flags);
  1370. }
  1371. #endif
  1372. #endif
  1373. #endif
  1374. #endif /* __IWSManEx3_INTERFACE_DEFINED__ */
  1375. /*****************************************************************************
  1376. * IWSManConnectionOptions interface
  1377. */
  1378. #ifndef __IWSManConnectionOptions_INTERFACE_DEFINED__
  1379. #define __IWSManConnectionOptions_INTERFACE_DEFINED__
  1380. DEFINE_GUID(IID_IWSManConnectionOptions, 0xf704e861, 0x9e52, 0x464f, 0xb7,0x86, 0xda,0x5e,0xb2,0x32,0x0f,0xdd);
  1381. #if defined(__cplusplus) && !defined(CINTERFACE)
  1382. MIDL_INTERFACE("f704e861-9e52-464f-b786-da5eb2320fdd")
  1383. IWSManConnectionOptions : public IDispatch
  1384. {
  1385. virtual HRESULT STDMETHODCALLTYPE get_UserName(
  1386. BSTR *name) = 0;
  1387. virtual HRESULT STDMETHODCALLTYPE put_UserName(
  1388. BSTR name) = 0;
  1389. virtual HRESULT STDMETHODCALLTYPE put_Password(
  1390. BSTR password) = 0;
  1391. };
  1392. #ifdef __CRT_UUID_DECL
  1393. __CRT_UUID_DECL(IWSManConnectionOptions, 0xf704e861, 0x9e52, 0x464f, 0xb7,0x86, 0xda,0x5e,0xb2,0x32,0x0f,0xdd)
  1394. #endif
  1395. #else
  1396. typedef struct IWSManConnectionOptionsVtbl {
  1397. BEGIN_INTERFACE
  1398. /*** IUnknown methods ***/
  1399. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1400. IWSManConnectionOptions *This,
  1401. REFIID riid,
  1402. void **ppvObject);
  1403. ULONG (STDMETHODCALLTYPE *AddRef)(
  1404. IWSManConnectionOptions *This);
  1405. ULONG (STDMETHODCALLTYPE *Release)(
  1406. IWSManConnectionOptions *This);
  1407. /*** IDispatch methods ***/
  1408. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1409. IWSManConnectionOptions *This,
  1410. UINT *pctinfo);
  1411. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1412. IWSManConnectionOptions *This,
  1413. UINT iTInfo,
  1414. LCID lcid,
  1415. ITypeInfo **ppTInfo);
  1416. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1417. IWSManConnectionOptions *This,
  1418. REFIID riid,
  1419. LPOLESTR *rgszNames,
  1420. UINT cNames,
  1421. LCID lcid,
  1422. DISPID *rgDispId);
  1423. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1424. IWSManConnectionOptions *This,
  1425. DISPID dispIdMember,
  1426. REFIID riid,
  1427. LCID lcid,
  1428. WORD wFlags,
  1429. DISPPARAMS *pDispParams,
  1430. VARIANT *pVarResult,
  1431. EXCEPINFO *pExcepInfo,
  1432. UINT *puArgErr);
  1433. /*** IWSManConnectionOptions methods ***/
  1434. HRESULT (STDMETHODCALLTYPE *get_UserName)(
  1435. IWSManConnectionOptions *This,
  1436. BSTR *name);
  1437. HRESULT (STDMETHODCALLTYPE *put_UserName)(
  1438. IWSManConnectionOptions *This,
  1439. BSTR name);
  1440. HRESULT (STDMETHODCALLTYPE *put_Password)(
  1441. IWSManConnectionOptions *This,
  1442. BSTR password);
  1443. END_INTERFACE
  1444. } IWSManConnectionOptionsVtbl;
  1445. interface IWSManConnectionOptions {
  1446. CONST_VTBL IWSManConnectionOptionsVtbl* lpVtbl;
  1447. };
  1448. #ifdef COBJMACROS
  1449. #ifndef WIDL_C_INLINE_WRAPPERS
  1450. /*** IUnknown methods ***/
  1451. #define IWSManConnectionOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1452. #define IWSManConnectionOptions_AddRef(This) (This)->lpVtbl->AddRef(This)
  1453. #define IWSManConnectionOptions_Release(This) (This)->lpVtbl->Release(This)
  1454. /*** IDispatch methods ***/
  1455. #define IWSManConnectionOptions_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1456. #define IWSManConnectionOptions_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1457. #define IWSManConnectionOptions_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1458. #define IWSManConnectionOptions_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1459. /*** IWSManConnectionOptions methods ***/
  1460. #define IWSManConnectionOptions_get_UserName(This,name) (This)->lpVtbl->get_UserName(This,name)
  1461. #define IWSManConnectionOptions_put_UserName(This,name) (This)->lpVtbl->put_UserName(This,name)
  1462. #define IWSManConnectionOptions_put_Password(This,password) (This)->lpVtbl->put_Password(This,password)
  1463. #else
  1464. /*** IUnknown methods ***/
  1465. static FORCEINLINE HRESULT IWSManConnectionOptions_QueryInterface(IWSManConnectionOptions* This,REFIID riid,void **ppvObject) {
  1466. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1467. }
  1468. static FORCEINLINE ULONG IWSManConnectionOptions_AddRef(IWSManConnectionOptions* This) {
  1469. return This->lpVtbl->AddRef(This);
  1470. }
  1471. static FORCEINLINE ULONG IWSManConnectionOptions_Release(IWSManConnectionOptions* This) {
  1472. return This->lpVtbl->Release(This);
  1473. }
  1474. /*** IDispatch methods ***/
  1475. static FORCEINLINE HRESULT IWSManConnectionOptions_GetTypeInfoCount(IWSManConnectionOptions* This,UINT *pctinfo) {
  1476. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1477. }
  1478. static FORCEINLINE HRESULT IWSManConnectionOptions_GetTypeInfo(IWSManConnectionOptions* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1479. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1480. }
  1481. static FORCEINLINE HRESULT IWSManConnectionOptions_GetIDsOfNames(IWSManConnectionOptions* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1482. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1483. }
  1484. static FORCEINLINE HRESULT IWSManConnectionOptions_Invoke(IWSManConnectionOptions* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1485. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1486. }
  1487. /*** IWSManConnectionOptions methods ***/
  1488. static FORCEINLINE HRESULT IWSManConnectionOptions_get_UserName(IWSManConnectionOptions* This,BSTR *name) {
  1489. return This->lpVtbl->get_UserName(This,name);
  1490. }
  1491. static FORCEINLINE HRESULT IWSManConnectionOptions_put_UserName(IWSManConnectionOptions* This,BSTR name) {
  1492. return This->lpVtbl->put_UserName(This,name);
  1493. }
  1494. static FORCEINLINE HRESULT IWSManConnectionOptions_put_Password(IWSManConnectionOptions* This,BSTR password) {
  1495. return This->lpVtbl->put_Password(This,password);
  1496. }
  1497. #endif
  1498. #endif
  1499. #endif
  1500. #endif /* __IWSManConnectionOptions_INTERFACE_DEFINED__ */
  1501. /*****************************************************************************
  1502. * IWSManConnectionOptionsEx interface
  1503. */
  1504. #ifndef __IWSManConnectionOptionsEx_INTERFACE_DEFINED__
  1505. #define __IWSManConnectionOptionsEx_INTERFACE_DEFINED__
  1506. DEFINE_GUID(IID_IWSManConnectionOptionsEx, 0xef43edf7, 0x2a48, 0x4d93, 0x95,0x26, 0x8b,0xd6,0xab,0x6d,0x4a,0x6b);
  1507. #if defined(__cplusplus) && !defined(CINTERFACE)
  1508. MIDL_INTERFACE("ef43edf7-2a48-4d93-9526-8bd6ab6d4a6b")
  1509. IWSManConnectionOptionsEx : public IWSManConnectionOptions
  1510. {
  1511. virtual HRESULT STDMETHODCALLTYPE get_CertificateThumbprint(
  1512. BSTR *thumbprint) = 0;
  1513. virtual HRESULT STDMETHODCALLTYPE put_CertificateThumbprint(
  1514. BSTR thumbprint) = 0;
  1515. };
  1516. #ifdef __CRT_UUID_DECL
  1517. __CRT_UUID_DECL(IWSManConnectionOptionsEx, 0xef43edf7, 0x2a48, 0x4d93, 0x95,0x26, 0x8b,0xd6,0xab,0x6d,0x4a,0x6b)
  1518. #endif
  1519. #else
  1520. typedef struct IWSManConnectionOptionsExVtbl {
  1521. BEGIN_INTERFACE
  1522. /*** IUnknown methods ***/
  1523. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1524. IWSManConnectionOptionsEx *This,
  1525. REFIID riid,
  1526. void **ppvObject);
  1527. ULONG (STDMETHODCALLTYPE *AddRef)(
  1528. IWSManConnectionOptionsEx *This);
  1529. ULONG (STDMETHODCALLTYPE *Release)(
  1530. IWSManConnectionOptionsEx *This);
  1531. /*** IDispatch methods ***/
  1532. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1533. IWSManConnectionOptionsEx *This,
  1534. UINT *pctinfo);
  1535. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1536. IWSManConnectionOptionsEx *This,
  1537. UINT iTInfo,
  1538. LCID lcid,
  1539. ITypeInfo **ppTInfo);
  1540. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1541. IWSManConnectionOptionsEx *This,
  1542. REFIID riid,
  1543. LPOLESTR *rgszNames,
  1544. UINT cNames,
  1545. LCID lcid,
  1546. DISPID *rgDispId);
  1547. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1548. IWSManConnectionOptionsEx *This,
  1549. DISPID dispIdMember,
  1550. REFIID riid,
  1551. LCID lcid,
  1552. WORD wFlags,
  1553. DISPPARAMS *pDispParams,
  1554. VARIANT *pVarResult,
  1555. EXCEPINFO *pExcepInfo,
  1556. UINT *puArgErr);
  1557. /*** IWSManConnectionOptions methods ***/
  1558. HRESULT (STDMETHODCALLTYPE *get_UserName)(
  1559. IWSManConnectionOptionsEx *This,
  1560. BSTR *name);
  1561. HRESULT (STDMETHODCALLTYPE *put_UserName)(
  1562. IWSManConnectionOptionsEx *This,
  1563. BSTR name);
  1564. HRESULT (STDMETHODCALLTYPE *put_Password)(
  1565. IWSManConnectionOptionsEx *This,
  1566. BSTR password);
  1567. /*** IWSManConnectionOptionsEx methods ***/
  1568. HRESULT (STDMETHODCALLTYPE *get_CertificateThumbprint)(
  1569. IWSManConnectionOptionsEx *This,
  1570. BSTR *thumbprint);
  1571. HRESULT (STDMETHODCALLTYPE *put_CertificateThumbprint)(
  1572. IWSManConnectionOptionsEx *This,
  1573. BSTR thumbprint);
  1574. END_INTERFACE
  1575. } IWSManConnectionOptionsExVtbl;
  1576. interface IWSManConnectionOptionsEx {
  1577. CONST_VTBL IWSManConnectionOptionsExVtbl* lpVtbl;
  1578. };
  1579. #ifdef COBJMACROS
  1580. #ifndef WIDL_C_INLINE_WRAPPERS
  1581. /*** IUnknown methods ***/
  1582. #define IWSManConnectionOptionsEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1583. #define IWSManConnectionOptionsEx_AddRef(This) (This)->lpVtbl->AddRef(This)
  1584. #define IWSManConnectionOptionsEx_Release(This) (This)->lpVtbl->Release(This)
  1585. /*** IDispatch methods ***/
  1586. #define IWSManConnectionOptionsEx_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1587. #define IWSManConnectionOptionsEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1588. #define IWSManConnectionOptionsEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1589. #define IWSManConnectionOptionsEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1590. /*** IWSManConnectionOptions methods ***/
  1591. #define IWSManConnectionOptionsEx_get_UserName(This,name) (This)->lpVtbl->get_UserName(This,name)
  1592. #define IWSManConnectionOptionsEx_put_UserName(This,name) (This)->lpVtbl->put_UserName(This,name)
  1593. #define IWSManConnectionOptionsEx_put_Password(This,password) (This)->lpVtbl->put_Password(This,password)
  1594. /*** IWSManConnectionOptionsEx methods ***/
  1595. #define IWSManConnectionOptionsEx_get_CertificateThumbprint(This,thumbprint) (This)->lpVtbl->get_CertificateThumbprint(This,thumbprint)
  1596. #define IWSManConnectionOptionsEx_put_CertificateThumbprint(This,thumbprint) (This)->lpVtbl->put_CertificateThumbprint(This,thumbprint)
  1597. #else
  1598. /*** IUnknown methods ***/
  1599. static FORCEINLINE HRESULT IWSManConnectionOptionsEx_QueryInterface(IWSManConnectionOptionsEx* This,REFIID riid,void **ppvObject) {
  1600. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1601. }
  1602. static FORCEINLINE ULONG IWSManConnectionOptionsEx_AddRef(IWSManConnectionOptionsEx* This) {
  1603. return This->lpVtbl->AddRef(This);
  1604. }
  1605. static FORCEINLINE ULONG IWSManConnectionOptionsEx_Release(IWSManConnectionOptionsEx* This) {
  1606. return This->lpVtbl->Release(This);
  1607. }
  1608. /*** IDispatch methods ***/
  1609. static FORCEINLINE HRESULT IWSManConnectionOptionsEx_GetTypeInfoCount(IWSManConnectionOptionsEx* This,UINT *pctinfo) {
  1610. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1611. }
  1612. static FORCEINLINE HRESULT IWSManConnectionOptionsEx_GetTypeInfo(IWSManConnectionOptionsEx* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1613. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1614. }
  1615. static FORCEINLINE HRESULT IWSManConnectionOptionsEx_GetIDsOfNames(IWSManConnectionOptionsEx* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1616. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1617. }
  1618. static FORCEINLINE HRESULT IWSManConnectionOptionsEx_Invoke(IWSManConnectionOptionsEx* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1619. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1620. }
  1621. /*** IWSManConnectionOptions methods ***/
  1622. static FORCEINLINE HRESULT IWSManConnectionOptionsEx_get_UserName(IWSManConnectionOptionsEx* This,BSTR *name) {
  1623. return This->lpVtbl->get_UserName(This,name);
  1624. }
  1625. static FORCEINLINE HRESULT IWSManConnectionOptionsEx_put_UserName(IWSManConnectionOptionsEx* This,BSTR name) {
  1626. return This->lpVtbl->put_UserName(This,name);
  1627. }
  1628. static FORCEINLINE HRESULT IWSManConnectionOptionsEx_put_Password(IWSManConnectionOptionsEx* This,BSTR password) {
  1629. return This->lpVtbl->put_Password(This,password);
  1630. }
  1631. /*** IWSManConnectionOptionsEx methods ***/
  1632. static FORCEINLINE HRESULT IWSManConnectionOptionsEx_get_CertificateThumbprint(IWSManConnectionOptionsEx* This,BSTR *thumbprint) {
  1633. return This->lpVtbl->get_CertificateThumbprint(This,thumbprint);
  1634. }
  1635. static FORCEINLINE HRESULT IWSManConnectionOptionsEx_put_CertificateThumbprint(IWSManConnectionOptionsEx* This,BSTR thumbprint) {
  1636. return This->lpVtbl->put_CertificateThumbprint(This,thumbprint);
  1637. }
  1638. #endif
  1639. #endif
  1640. #endif
  1641. #endif /* __IWSManConnectionOptionsEx_INTERFACE_DEFINED__ */
  1642. /*****************************************************************************
  1643. * IWSManConnectionOptionsEx2 interface
  1644. */
  1645. #ifndef __IWSManConnectionOptionsEx2_INTERFACE_DEFINED__
  1646. #define __IWSManConnectionOptionsEx2_INTERFACE_DEFINED__
  1647. DEFINE_GUID(IID_IWSManConnectionOptionsEx2, 0xf500c9ec, 0x24ee, 0x48ab, 0xb3,0x8d, 0xfc,0x9a,0x16,0x4c,0x65,0x8e);
  1648. #if defined(__cplusplus) && !defined(CINTERFACE)
  1649. MIDL_INTERFACE("f500c9ec-24ee-48ab-b38d-fc9a164c658e")
  1650. IWSManConnectionOptionsEx2 : public IWSManConnectionOptionsEx
  1651. {
  1652. virtual HRESULT STDMETHODCALLTYPE SetProxy(
  1653. LONG accessType = 0,
  1654. LONG authenticationMechanism = 0,
  1655. BSTR userName = L"",
  1656. BSTR password = L"") = 0;
  1657. virtual HRESULT STDMETHODCALLTYPE ProxyIEConfig(
  1658. LONG *value) = 0;
  1659. virtual HRESULT STDMETHODCALLTYPE ProxyWinHttpConfig(
  1660. LONG *value) = 0;
  1661. virtual HRESULT STDMETHODCALLTYPE ProxyAutoDetect(
  1662. LONG *value) = 0;
  1663. virtual HRESULT STDMETHODCALLTYPE ProxyNoProxyServer(
  1664. LONG *value) = 0;
  1665. virtual HRESULT STDMETHODCALLTYPE ProxyAuthenticationUseNegotiate(
  1666. LONG *value) = 0;
  1667. virtual HRESULT STDMETHODCALLTYPE ProxyAuthenticationUseBasic(
  1668. LONG *value) = 0;
  1669. virtual HRESULT STDMETHODCALLTYPE ProxyAuthenticationUseDigest(
  1670. LONG *value) = 0;
  1671. };
  1672. #ifdef __CRT_UUID_DECL
  1673. __CRT_UUID_DECL(IWSManConnectionOptionsEx2, 0xf500c9ec, 0x24ee, 0x48ab, 0xb3,0x8d, 0xfc,0x9a,0x16,0x4c,0x65,0x8e)
  1674. #endif
  1675. #else
  1676. typedef struct IWSManConnectionOptionsEx2Vtbl {
  1677. BEGIN_INTERFACE
  1678. /*** IUnknown methods ***/
  1679. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1680. IWSManConnectionOptionsEx2 *This,
  1681. REFIID riid,
  1682. void **ppvObject);
  1683. ULONG (STDMETHODCALLTYPE *AddRef)(
  1684. IWSManConnectionOptionsEx2 *This);
  1685. ULONG (STDMETHODCALLTYPE *Release)(
  1686. IWSManConnectionOptionsEx2 *This);
  1687. /*** IDispatch methods ***/
  1688. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1689. IWSManConnectionOptionsEx2 *This,
  1690. UINT *pctinfo);
  1691. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1692. IWSManConnectionOptionsEx2 *This,
  1693. UINT iTInfo,
  1694. LCID lcid,
  1695. ITypeInfo **ppTInfo);
  1696. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1697. IWSManConnectionOptionsEx2 *This,
  1698. REFIID riid,
  1699. LPOLESTR *rgszNames,
  1700. UINT cNames,
  1701. LCID lcid,
  1702. DISPID *rgDispId);
  1703. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1704. IWSManConnectionOptionsEx2 *This,
  1705. DISPID dispIdMember,
  1706. REFIID riid,
  1707. LCID lcid,
  1708. WORD wFlags,
  1709. DISPPARAMS *pDispParams,
  1710. VARIANT *pVarResult,
  1711. EXCEPINFO *pExcepInfo,
  1712. UINT *puArgErr);
  1713. /*** IWSManConnectionOptions methods ***/
  1714. HRESULT (STDMETHODCALLTYPE *get_UserName)(
  1715. IWSManConnectionOptionsEx2 *This,
  1716. BSTR *name);
  1717. HRESULT (STDMETHODCALLTYPE *put_UserName)(
  1718. IWSManConnectionOptionsEx2 *This,
  1719. BSTR name);
  1720. HRESULT (STDMETHODCALLTYPE *put_Password)(
  1721. IWSManConnectionOptionsEx2 *This,
  1722. BSTR password);
  1723. /*** IWSManConnectionOptionsEx methods ***/
  1724. HRESULT (STDMETHODCALLTYPE *get_CertificateThumbprint)(
  1725. IWSManConnectionOptionsEx2 *This,
  1726. BSTR *thumbprint);
  1727. HRESULT (STDMETHODCALLTYPE *put_CertificateThumbprint)(
  1728. IWSManConnectionOptionsEx2 *This,
  1729. BSTR thumbprint);
  1730. /*** IWSManConnectionOptionsEx2 methods ***/
  1731. HRESULT (STDMETHODCALLTYPE *SetProxy)(
  1732. IWSManConnectionOptionsEx2 *This,
  1733. LONG accessType,
  1734. LONG authenticationMechanism,
  1735. BSTR userName,
  1736. BSTR password);
  1737. HRESULT (STDMETHODCALLTYPE *ProxyIEConfig)(
  1738. IWSManConnectionOptionsEx2 *This,
  1739. LONG *value);
  1740. HRESULT (STDMETHODCALLTYPE *ProxyWinHttpConfig)(
  1741. IWSManConnectionOptionsEx2 *This,
  1742. LONG *value);
  1743. HRESULT (STDMETHODCALLTYPE *ProxyAutoDetect)(
  1744. IWSManConnectionOptionsEx2 *This,
  1745. LONG *value);
  1746. HRESULT (STDMETHODCALLTYPE *ProxyNoProxyServer)(
  1747. IWSManConnectionOptionsEx2 *This,
  1748. LONG *value);
  1749. HRESULT (STDMETHODCALLTYPE *ProxyAuthenticationUseNegotiate)(
  1750. IWSManConnectionOptionsEx2 *This,
  1751. LONG *value);
  1752. HRESULT (STDMETHODCALLTYPE *ProxyAuthenticationUseBasic)(
  1753. IWSManConnectionOptionsEx2 *This,
  1754. LONG *value);
  1755. HRESULT (STDMETHODCALLTYPE *ProxyAuthenticationUseDigest)(
  1756. IWSManConnectionOptionsEx2 *This,
  1757. LONG *value);
  1758. END_INTERFACE
  1759. } IWSManConnectionOptionsEx2Vtbl;
  1760. interface IWSManConnectionOptionsEx2 {
  1761. CONST_VTBL IWSManConnectionOptionsEx2Vtbl* lpVtbl;
  1762. };
  1763. #ifdef COBJMACROS
  1764. #ifndef WIDL_C_INLINE_WRAPPERS
  1765. /*** IUnknown methods ***/
  1766. #define IWSManConnectionOptionsEx2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1767. #define IWSManConnectionOptionsEx2_AddRef(This) (This)->lpVtbl->AddRef(This)
  1768. #define IWSManConnectionOptionsEx2_Release(This) (This)->lpVtbl->Release(This)
  1769. /*** IDispatch methods ***/
  1770. #define IWSManConnectionOptionsEx2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1771. #define IWSManConnectionOptionsEx2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1772. #define IWSManConnectionOptionsEx2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1773. #define IWSManConnectionOptionsEx2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1774. /*** IWSManConnectionOptions methods ***/
  1775. #define IWSManConnectionOptionsEx2_get_UserName(This,name) (This)->lpVtbl->get_UserName(This,name)
  1776. #define IWSManConnectionOptionsEx2_put_UserName(This,name) (This)->lpVtbl->put_UserName(This,name)
  1777. #define IWSManConnectionOptionsEx2_put_Password(This,password) (This)->lpVtbl->put_Password(This,password)
  1778. /*** IWSManConnectionOptionsEx methods ***/
  1779. #define IWSManConnectionOptionsEx2_get_CertificateThumbprint(This,thumbprint) (This)->lpVtbl->get_CertificateThumbprint(This,thumbprint)
  1780. #define IWSManConnectionOptionsEx2_put_CertificateThumbprint(This,thumbprint) (This)->lpVtbl->put_CertificateThumbprint(This,thumbprint)
  1781. /*** IWSManConnectionOptionsEx2 methods ***/
  1782. #define IWSManConnectionOptionsEx2_SetProxy(This,accessType,authenticationMechanism,userName,password) (This)->lpVtbl->SetProxy(This,accessType,authenticationMechanism,userName,password)
  1783. #define IWSManConnectionOptionsEx2_ProxyIEConfig(This,value) (This)->lpVtbl->ProxyIEConfig(This,value)
  1784. #define IWSManConnectionOptionsEx2_ProxyWinHttpConfig(This,value) (This)->lpVtbl->ProxyWinHttpConfig(This,value)
  1785. #define IWSManConnectionOptionsEx2_ProxyAutoDetect(This,value) (This)->lpVtbl->ProxyAutoDetect(This,value)
  1786. #define IWSManConnectionOptionsEx2_ProxyNoProxyServer(This,value) (This)->lpVtbl->ProxyNoProxyServer(This,value)
  1787. #define IWSManConnectionOptionsEx2_ProxyAuthenticationUseNegotiate(This,value) (This)->lpVtbl->ProxyAuthenticationUseNegotiate(This,value)
  1788. #define IWSManConnectionOptionsEx2_ProxyAuthenticationUseBasic(This,value) (This)->lpVtbl->ProxyAuthenticationUseBasic(This,value)
  1789. #define IWSManConnectionOptionsEx2_ProxyAuthenticationUseDigest(This,value) (This)->lpVtbl->ProxyAuthenticationUseDigest(This,value)
  1790. #else
  1791. /*** IUnknown methods ***/
  1792. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_QueryInterface(IWSManConnectionOptionsEx2* This,REFIID riid,void **ppvObject) {
  1793. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1794. }
  1795. static FORCEINLINE ULONG IWSManConnectionOptionsEx2_AddRef(IWSManConnectionOptionsEx2* This) {
  1796. return This->lpVtbl->AddRef(This);
  1797. }
  1798. static FORCEINLINE ULONG IWSManConnectionOptionsEx2_Release(IWSManConnectionOptionsEx2* This) {
  1799. return This->lpVtbl->Release(This);
  1800. }
  1801. /*** IDispatch methods ***/
  1802. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_GetTypeInfoCount(IWSManConnectionOptionsEx2* This,UINT *pctinfo) {
  1803. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1804. }
  1805. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_GetTypeInfo(IWSManConnectionOptionsEx2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1806. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1807. }
  1808. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_GetIDsOfNames(IWSManConnectionOptionsEx2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1809. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1810. }
  1811. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_Invoke(IWSManConnectionOptionsEx2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1812. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1813. }
  1814. /*** IWSManConnectionOptions methods ***/
  1815. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_get_UserName(IWSManConnectionOptionsEx2* This,BSTR *name) {
  1816. return This->lpVtbl->get_UserName(This,name);
  1817. }
  1818. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_put_UserName(IWSManConnectionOptionsEx2* This,BSTR name) {
  1819. return This->lpVtbl->put_UserName(This,name);
  1820. }
  1821. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_put_Password(IWSManConnectionOptionsEx2* This,BSTR password) {
  1822. return This->lpVtbl->put_Password(This,password);
  1823. }
  1824. /*** IWSManConnectionOptionsEx methods ***/
  1825. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_get_CertificateThumbprint(IWSManConnectionOptionsEx2* This,BSTR *thumbprint) {
  1826. return This->lpVtbl->get_CertificateThumbprint(This,thumbprint);
  1827. }
  1828. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_put_CertificateThumbprint(IWSManConnectionOptionsEx2* This,BSTR thumbprint) {
  1829. return This->lpVtbl->put_CertificateThumbprint(This,thumbprint);
  1830. }
  1831. /*** IWSManConnectionOptionsEx2 methods ***/
  1832. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_SetProxy(IWSManConnectionOptionsEx2* This,LONG accessType,LONG authenticationMechanism,BSTR userName,BSTR password) {
  1833. return This->lpVtbl->SetProxy(This,accessType,authenticationMechanism,userName,password);
  1834. }
  1835. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyIEConfig(IWSManConnectionOptionsEx2* This,LONG *value) {
  1836. return This->lpVtbl->ProxyIEConfig(This,value);
  1837. }
  1838. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyWinHttpConfig(IWSManConnectionOptionsEx2* This,LONG *value) {
  1839. return This->lpVtbl->ProxyWinHttpConfig(This,value);
  1840. }
  1841. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyAutoDetect(IWSManConnectionOptionsEx2* This,LONG *value) {
  1842. return This->lpVtbl->ProxyAutoDetect(This,value);
  1843. }
  1844. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyNoProxyServer(IWSManConnectionOptionsEx2* This,LONG *value) {
  1845. return This->lpVtbl->ProxyNoProxyServer(This,value);
  1846. }
  1847. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyAuthenticationUseNegotiate(IWSManConnectionOptionsEx2* This,LONG *value) {
  1848. return This->lpVtbl->ProxyAuthenticationUseNegotiate(This,value);
  1849. }
  1850. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyAuthenticationUseBasic(IWSManConnectionOptionsEx2* This,LONG *value) {
  1851. return This->lpVtbl->ProxyAuthenticationUseBasic(This,value);
  1852. }
  1853. static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyAuthenticationUseDigest(IWSManConnectionOptionsEx2* This,LONG *value) {
  1854. return This->lpVtbl->ProxyAuthenticationUseDigest(This,value);
  1855. }
  1856. #endif
  1857. #endif
  1858. #endif
  1859. #endif /* __IWSManConnectionOptionsEx2_INTERFACE_DEFINED__ */
  1860. /*****************************************************************************
  1861. * IWSManSession interface
  1862. */
  1863. #ifndef __IWSManSession_INTERFACE_DEFINED__
  1864. #define __IWSManSession_INTERFACE_DEFINED__
  1865. DEFINE_GUID(IID_IWSManSession, 0xfc84dc58, 0x1286, 0x40c4, 0x9d,0xa0, 0xc8,0xef,0x6e,0xc2,0x41,0xe0);
  1866. #if defined(__cplusplus) && !defined(CINTERFACE)
  1867. MIDL_INTERFACE("fc84dc58-1286-40c4-9da0-c8ef6ec241e0")
  1868. IWSManSession : public IDispatch
  1869. {
  1870. virtual HRESULT STDMETHODCALLTYPE Get(
  1871. VARIANT resourceUri,
  1872. LONG flags,
  1873. BSTR *resource) = 0;
  1874. virtual HRESULT STDMETHODCALLTYPE Put(
  1875. VARIANT resourceUri,
  1876. BSTR resource,
  1877. LONG flags,
  1878. BSTR *resultResource) = 0;
  1879. virtual HRESULT STDMETHODCALLTYPE Create(
  1880. VARIANT resourceUri,
  1881. BSTR resource,
  1882. LONG flags,
  1883. BSTR *newUri) = 0;
  1884. virtual HRESULT STDMETHODCALLTYPE Delete(
  1885. VARIANT resourceUri,
  1886. LONG flags = 0) = 0;
  1887. virtual HRESULT STDMETHODCALLTYPE Invoke(
  1888. BSTR actionUri,
  1889. VARIANT resourceUri,
  1890. BSTR parameters,
  1891. LONG flags,
  1892. BSTR *result) = 0;
  1893. virtual HRESULT STDMETHODCALLTYPE Enumerate(
  1894. VARIANT resourceUri,
  1895. BSTR filter,
  1896. BSTR dialect,
  1897. LONG flags,
  1898. IDispatch **resultSet) = 0;
  1899. virtual HRESULT STDMETHODCALLTYPE Identify(
  1900. LONG flags,
  1901. BSTR *result) = 0;
  1902. virtual HRESULT STDMETHODCALLTYPE get_Error(
  1903. BSTR *value) = 0;
  1904. virtual HRESULT STDMETHODCALLTYPE get_BatchItems(
  1905. LONG *value) = 0;
  1906. virtual HRESULT STDMETHODCALLTYPE put_BatchItems(
  1907. LONG value) = 0;
  1908. virtual HRESULT STDMETHODCALLTYPE get_Timeout(
  1909. LONG *value) = 0;
  1910. virtual HRESULT STDMETHODCALLTYPE put_Timeout(
  1911. LONG value) = 0;
  1912. };
  1913. #ifdef __CRT_UUID_DECL
  1914. __CRT_UUID_DECL(IWSManSession, 0xfc84dc58, 0x1286, 0x40c4, 0x9d,0xa0, 0xc8,0xef,0x6e,0xc2,0x41,0xe0)
  1915. #endif
  1916. #else
  1917. typedef struct IWSManSessionVtbl {
  1918. BEGIN_INTERFACE
  1919. /*** IUnknown methods ***/
  1920. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1921. IWSManSession *This,
  1922. REFIID riid,
  1923. void **ppvObject);
  1924. ULONG (STDMETHODCALLTYPE *AddRef)(
  1925. IWSManSession *This);
  1926. ULONG (STDMETHODCALLTYPE *Release)(
  1927. IWSManSession *This);
  1928. /*** IDispatch methods ***/
  1929. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1930. IWSManSession *This,
  1931. UINT *pctinfo);
  1932. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1933. IWSManSession *This,
  1934. UINT iTInfo,
  1935. LCID lcid,
  1936. ITypeInfo **ppTInfo);
  1937. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1938. IWSManSession *This,
  1939. REFIID riid,
  1940. LPOLESTR *rgszNames,
  1941. UINT cNames,
  1942. LCID lcid,
  1943. DISPID *rgDispId);
  1944. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1945. IWSManSession *This,
  1946. DISPID dispIdMember,
  1947. REFIID riid,
  1948. LCID lcid,
  1949. WORD wFlags,
  1950. DISPPARAMS *pDispParams,
  1951. VARIANT *pVarResult,
  1952. EXCEPINFO *pExcepInfo,
  1953. UINT *puArgErr);
  1954. /*** IWSManSession methods ***/
  1955. HRESULT (STDMETHODCALLTYPE *Get)(
  1956. IWSManSession *This,
  1957. VARIANT resourceUri,
  1958. LONG flags,
  1959. BSTR *resource);
  1960. HRESULT (STDMETHODCALLTYPE *Put)(
  1961. IWSManSession *This,
  1962. VARIANT resourceUri,
  1963. BSTR resource,
  1964. LONG flags,
  1965. BSTR *resultResource);
  1966. HRESULT (STDMETHODCALLTYPE *Create)(
  1967. IWSManSession *This,
  1968. VARIANT resourceUri,
  1969. BSTR resource,
  1970. LONG flags,
  1971. BSTR *newUri);
  1972. HRESULT (STDMETHODCALLTYPE *Delete)(
  1973. IWSManSession *This,
  1974. VARIANT resourceUri,
  1975. LONG flags);
  1976. HRESULT (STDMETHODCALLTYPE *IWSManSession_Invoke)(
  1977. IWSManSession *This,
  1978. BSTR actionUri,
  1979. VARIANT resourceUri,
  1980. BSTR parameters,
  1981. LONG flags,
  1982. BSTR *result);
  1983. HRESULT (STDMETHODCALLTYPE *Enumerate)(
  1984. IWSManSession *This,
  1985. VARIANT resourceUri,
  1986. BSTR filter,
  1987. BSTR dialect,
  1988. LONG flags,
  1989. IDispatch **resultSet);
  1990. HRESULT (STDMETHODCALLTYPE *Identify)(
  1991. IWSManSession *This,
  1992. LONG flags,
  1993. BSTR *result);
  1994. HRESULT (STDMETHODCALLTYPE *get_Error)(
  1995. IWSManSession *This,
  1996. BSTR *value);
  1997. HRESULT (STDMETHODCALLTYPE *get_BatchItems)(
  1998. IWSManSession *This,
  1999. LONG *value);
  2000. HRESULT (STDMETHODCALLTYPE *put_BatchItems)(
  2001. IWSManSession *This,
  2002. LONG value);
  2003. HRESULT (STDMETHODCALLTYPE *get_Timeout)(
  2004. IWSManSession *This,
  2005. LONG *value);
  2006. HRESULT (STDMETHODCALLTYPE *put_Timeout)(
  2007. IWSManSession *This,
  2008. LONG value);
  2009. END_INTERFACE
  2010. } IWSManSessionVtbl;
  2011. interface IWSManSession {
  2012. CONST_VTBL IWSManSessionVtbl* lpVtbl;
  2013. };
  2014. #ifdef COBJMACROS
  2015. #ifndef WIDL_C_INLINE_WRAPPERS
  2016. /*** IUnknown methods ***/
  2017. #define IWSManSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2018. #define IWSManSession_AddRef(This) (This)->lpVtbl->AddRef(This)
  2019. #define IWSManSession_Release(This) (This)->lpVtbl->Release(This)
  2020. /*** IDispatch methods ***/
  2021. #define IWSManSession_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  2022. #define IWSManSession_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2023. #define IWSManSession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2024. /*** IWSManSession methods ***/
  2025. #define IWSManSession_Get(This,resourceUri,flags,resource) (This)->lpVtbl->Get(This,resourceUri,flags,resource)
  2026. #define IWSManSession_Put(This,resourceUri,resource,flags,resultResource) (This)->lpVtbl->Put(This,resourceUri,resource,flags,resultResource)
  2027. #define IWSManSession_Create(This,resourceUri,resource,flags,newUri) (This)->lpVtbl->Create(This,resourceUri,resource,flags,newUri)
  2028. #define IWSManSession_Delete(This,resourceUri,flags) (This)->lpVtbl->Delete(This,resourceUri,flags)
  2029. #define IWSManSession_Invoke(This,actionUri,resourceUri,parameters,flags,result) (This)->lpVtbl->IWSManSession_Invoke(This,actionUri,resourceUri,parameters,flags,result)
  2030. #define IWSManSession_Enumerate(This,resourceUri,filter,dialect,flags,resultSet) (This)->lpVtbl->Enumerate(This,resourceUri,filter,dialect,flags,resultSet)
  2031. #define IWSManSession_Identify(This,flags,result) (This)->lpVtbl->Identify(This,flags,result)
  2032. #define IWSManSession_get_Error(This,value) (This)->lpVtbl->get_Error(This,value)
  2033. #define IWSManSession_get_BatchItems(This,value) (This)->lpVtbl->get_BatchItems(This,value)
  2034. #define IWSManSession_put_BatchItems(This,value) (This)->lpVtbl->put_BatchItems(This,value)
  2035. #define IWSManSession_get_Timeout(This,value) (This)->lpVtbl->get_Timeout(This,value)
  2036. #define IWSManSession_put_Timeout(This,value) (This)->lpVtbl->put_Timeout(This,value)
  2037. #else
  2038. /*** IUnknown methods ***/
  2039. static FORCEINLINE HRESULT IWSManSession_QueryInterface(IWSManSession* This,REFIID riid,void **ppvObject) {
  2040. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2041. }
  2042. static FORCEINLINE ULONG IWSManSession_AddRef(IWSManSession* This) {
  2043. return This->lpVtbl->AddRef(This);
  2044. }
  2045. static FORCEINLINE ULONG IWSManSession_Release(IWSManSession* This) {
  2046. return This->lpVtbl->Release(This);
  2047. }
  2048. /*** IDispatch methods ***/
  2049. static FORCEINLINE HRESULT IWSManSession_GetTypeInfoCount(IWSManSession* This,UINT *pctinfo) {
  2050. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  2051. }
  2052. static FORCEINLINE HRESULT IWSManSession_GetTypeInfo(IWSManSession* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  2053. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  2054. }
  2055. static FORCEINLINE HRESULT IWSManSession_GetIDsOfNames(IWSManSession* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  2056. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  2057. }
  2058. /*** IWSManSession methods ***/
  2059. static FORCEINLINE HRESULT IWSManSession_Get(IWSManSession* This,VARIANT resourceUri,LONG flags,BSTR *resource) {
  2060. return This->lpVtbl->Get(This,resourceUri,flags,resource);
  2061. }
  2062. static FORCEINLINE HRESULT IWSManSession_Put(IWSManSession* This,VARIANT resourceUri,BSTR resource,LONG flags,BSTR *resultResource) {
  2063. return This->lpVtbl->Put(This,resourceUri,resource,flags,resultResource);
  2064. }
  2065. static FORCEINLINE HRESULT IWSManSession_Create(IWSManSession* This,VARIANT resourceUri,BSTR resource,LONG flags,BSTR *newUri) {
  2066. return This->lpVtbl->Create(This,resourceUri,resource,flags,newUri);
  2067. }
  2068. static FORCEINLINE HRESULT IWSManSession_Delete(IWSManSession* This,VARIANT resourceUri,LONG flags) {
  2069. return This->lpVtbl->Delete(This,resourceUri,flags);
  2070. }
  2071. static FORCEINLINE HRESULT IWSManSession_Invoke(IWSManSession* This,BSTR actionUri,VARIANT resourceUri,BSTR parameters,LONG flags,BSTR *result) {
  2072. return This->lpVtbl->IWSManSession_Invoke(This,actionUri,resourceUri,parameters,flags,result);
  2073. }
  2074. static FORCEINLINE HRESULT IWSManSession_Enumerate(IWSManSession* This,VARIANT resourceUri,BSTR filter,BSTR dialect,LONG flags,IDispatch **resultSet) {
  2075. return This->lpVtbl->Enumerate(This,resourceUri,filter,dialect,flags,resultSet);
  2076. }
  2077. static FORCEINLINE HRESULT IWSManSession_Identify(IWSManSession* This,LONG flags,BSTR *result) {
  2078. return This->lpVtbl->Identify(This,flags,result);
  2079. }
  2080. static FORCEINLINE HRESULT IWSManSession_get_Error(IWSManSession* This,BSTR *value) {
  2081. return This->lpVtbl->get_Error(This,value);
  2082. }
  2083. static FORCEINLINE HRESULT IWSManSession_get_BatchItems(IWSManSession* This,LONG *value) {
  2084. return This->lpVtbl->get_BatchItems(This,value);
  2085. }
  2086. static FORCEINLINE HRESULT IWSManSession_put_BatchItems(IWSManSession* This,LONG value) {
  2087. return This->lpVtbl->put_BatchItems(This,value);
  2088. }
  2089. static FORCEINLINE HRESULT IWSManSession_get_Timeout(IWSManSession* This,LONG *value) {
  2090. return This->lpVtbl->get_Timeout(This,value);
  2091. }
  2092. static FORCEINLINE HRESULT IWSManSession_put_Timeout(IWSManSession* This,LONG value) {
  2093. return This->lpVtbl->put_Timeout(This,value);
  2094. }
  2095. #endif
  2096. #endif
  2097. #endif
  2098. #endif /* __IWSManSession_INTERFACE_DEFINED__ */
  2099. /*****************************************************************************
  2100. * IWSManEnumerator interface
  2101. */
  2102. #ifndef __IWSManEnumerator_INTERFACE_DEFINED__
  2103. #define __IWSManEnumerator_INTERFACE_DEFINED__
  2104. DEFINE_GUID(IID_IWSManEnumerator, 0xf3457ca9, 0xabb9, 0x4fa5, 0xb8,0x50, 0x90,0xe8,0xca,0x30,0x0e,0x7f);
  2105. #if defined(__cplusplus) && !defined(CINTERFACE)
  2106. MIDL_INTERFACE("f3457ca9-abb9-4fa5-b850-90e8ca300e7f")
  2107. IWSManEnumerator : public IDispatch
  2108. {
  2109. virtual HRESULT STDMETHODCALLTYPE ReadItem(
  2110. BSTR *resource) = 0;
  2111. virtual HRESULT STDMETHODCALLTYPE get_AtEndOfStream(
  2112. VARIANT_BOOL *eos) = 0;
  2113. virtual HRESULT STDMETHODCALLTYPE get_Error(
  2114. BSTR *value) = 0;
  2115. };
  2116. #ifdef __CRT_UUID_DECL
  2117. __CRT_UUID_DECL(IWSManEnumerator, 0xf3457ca9, 0xabb9, 0x4fa5, 0xb8,0x50, 0x90,0xe8,0xca,0x30,0x0e,0x7f)
  2118. #endif
  2119. #else
  2120. typedef struct IWSManEnumeratorVtbl {
  2121. BEGIN_INTERFACE
  2122. /*** IUnknown methods ***/
  2123. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2124. IWSManEnumerator *This,
  2125. REFIID riid,
  2126. void **ppvObject);
  2127. ULONG (STDMETHODCALLTYPE *AddRef)(
  2128. IWSManEnumerator *This);
  2129. ULONG (STDMETHODCALLTYPE *Release)(
  2130. IWSManEnumerator *This);
  2131. /*** IDispatch methods ***/
  2132. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  2133. IWSManEnumerator *This,
  2134. UINT *pctinfo);
  2135. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  2136. IWSManEnumerator *This,
  2137. UINT iTInfo,
  2138. LCID lcid,
  2139. ITypeInfo **ppTInfo);
  2140. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  2141. IWSManEnumerator *This,
  2142. REFIID riid,
  2143. LPOLESTR *rgszNames,
  2144. UINT cNames,
  2145. LCID lcid,
  2146. DISPID *rgDispId);
  2147. HRESULT (STDMETHODCALLTYPE *Invoke)(
  2148. IWSManEnumerator *This,
  2149. DISPID dispIdMember,
  2150. REFIID riid,
  2151. LCID lcid,
  2152. WORD wFlags,
  2153. DISPPARAMS *pDispParams,
  2154. VARIANT *pVarResult,
  2155. EXCEPINFO *pExcepInfo,
  2156. UINT *puArgErr);
  2157. /*** IWSManEnumerator methods ***/
  2158. HRESULT (STDMETHODCALLTYPE *ReadItem)(
  2159. IWSManEnumerator *This,
  2160. BSTR *resource);
  2161. HRESULT (STDMETHODCALLTYPE *get_AtEndOfStream)(
  2162. IWSManEnumerator *This,
  2163. VARIANT_BOOL *eos);
  2164. HRESULT (STDMETHODCALLTYPE *get_Error)(
  2165. IWSManEnumerator *This,
  2166. BSTR *value);
  2167. END_INTERFACE
  2168. } IWSManEnumeratorVtbl;
  2169. interface IWSManEnumerator {
  2170. CONST_VTBL IWSManEnumeratorVtbl* lpVtbl;
  2171. };
  2172. #ifdef COBJMACROS
  2173. #ifndef WIDL_C_INLINE_WRAPPERS
  2174. /*** IUnknown methods ***/
  2175. #define IWSManEnumerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2176. #define IWSManEnumerator_AddRef(This) (This)->lpVtbl->AddRef(This)
  2177. #define IWSManEnumerator_Release(This) (This)->lpVtbl->Release(This)
  2178. /*** IDispatch methods ***/
  2179. #define IWSManEnumerator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  2180. #define IWSManEnumerator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2181. #define IWSManEnumerator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2182. #define IWSManEnumerator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2183. /*** IWSManEnumerator methods ***/
  2184. #define IWSManEnumerator_ReadItem(This,resource) (This)->lpVtbl->ReadItem(This,resource)
  2185. #define IWSManEnumerator_get_AtEndOfStream(This,eos) (This)->lpVtbl->get_AtEndOfStream(This,eos)
  2186. #define IWSManEnumerator_get_Error(This,value) (This)->lpVtbl->get_Error(This,value)
  2187. #else
  2188. /*** IUnknown methods ***/
  2189. static FORCEINLINE HRESULT IWSManEnumerator_QueryInterface(IWSManEnumerator* This,REFIID riid,void **ppvObject) {
  2190. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2191. }
  2192. static FORCEINLINE ULONG IWSManEnumerator_AddRef(IWSManEnumerator* This) {
  2193. return This->lpVtbl->AddRef(This);
  2194. }
  2195. static FORCEINLINE ULONG IWSManEnumerator_Release(IWSManEnumerator* This) {
  2196. return This->lpVtbl->Release(This);
  2197. }
  2198. /*** IDispatch methods ***/
  2199. static FORCEINLINE HRESULT IWSManEnumerator_GetTypeInfoCount(IWSManEnumerator* This,UINT *pctinfo) {
  2200. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  2201. }
  2202. static FORCEINLINE HRESULT IWSManEnumerator_GetTypeInfo(IWSManEnumerator* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  2203. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  2204. }
  2205. static FORCEINLINE HRESULT IWSManEnumerator_GetIDsOfNames(IWSManEnumerator* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  2206. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  2207. }
  2208. static FORCEINLINE HRESULT IWSManEnumerator_Invoke(IWSManEnumerator* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  2209. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  2210. }
  2211. /*** IWSManEnumerator methods ***/
  2212. static FORCEINLINE HRESULT IWSManEnumerator_ReadItem(IWSManEnumerator* This,BSTR *resource) {
  2213. return This->lpVtbl->ReadItem(This,resource);
  2214. }
  2215. static FORCEINLINE HRESULT IWSManEnumerator_get_AtEndOfStream(IWSManEnumerator* This,VARIANT_BOOL *eos) {
  2216. return This->lpVtbl->get_AtEndOfStream(This,eos);
  2217. }
  2218. static FORCEINLINE HRESULT IWSManEnumerator_get_Error(IWSManEnumerator* This,BSTR *value) {
  2219. return This->lpVtbl->get_Error(This,value);
  2220. }
  2221. #endif
  2222. #endif
  2223. #endif
  2224. #endif /* __IWSManEnumerator_INTERFACE_DEFINED__ */
  2225. /*****************************************************************************
  2226. * IWSManResourceLocator interface
  2227. */
  2228. #ifndef __IWSManResourceLocator_INTERFACE_DEFINED__
  2229. #define __IWSManResourceLocator_INTERFACE_DEFINED__
  2230. DEFINE_GUID(IID_IWSManResourceLocator, 0xa7a1ba28, 0xde41, 0x466a, 0xad,0x0a, 0xc4,0x05,0x9e,0xad,0x74,0x28);
  2231. #if defined(__cplusplus) && !defined(CINTERFACE)
  2232. MIDL_INTERFACE("a7a1ba28-de41-466a-ad0a-c4059ead7428")
  2233. IWSManResourceLocator : public IDispatch
  2234. {
  2235. virtual HRESULT STDMETHODCALLTYPE put_ResourceURI(
  2236. BSTR uri) = 0;
  2237. virtual HRESULT STDMETHODCALLTYPE get_ResourceURI(
  2238. BSTR *uri) = 0;
  2239. virtual HRESULT STDMETHODCALLTYPE AddSelector(
  2240. BSTR resourceSelName,
  2241. VARIANT selValue) = 0;
  2242. virtual HRESULT STDMETHODCALLTYPE ClearSelectors(
  2243. ) = 0;
  2244. virtual HRESULT STDMETHODCALLTYPE get_FragmentPath(
  2245. BSTR *text) = 0;
  2246. virtual HRESULT STDMETHODCALLTYPE put_FragmentPath(
  2247. BSTR text) = 0;
  2248. virtual HRESULT STDMETHODCALLTYPE get_FragmentDialect(
  2249. BSTR *text) = 0;
  2250. virtual HRESULT STDMETHODCALLTYPE put_FragmentDialect(
  2251. BSTR text) = 0;
  2252. virtual HRESULT STDMETHODCALLTYPE AddOption(
  2253. BSTR OptionName,
  2254. VARIANT OptionValue,
  2255. WINBOOL mustComply = 0) = 0;
  2256. virtual HRESULT STDMETHODCALLTYPE put_MustUnderstandOptions(
  2257. WINBOOL mustUnderstand) = 0;
  2258. virtual HRESULT STDMETHODCALLTYPE get_MustUnderstandOptions(
  2259. WINBOOL *mustUnderstand) = 0;
  2260. virtual HRESULT STDMETHODCALLTYPE ClearOptions(
  2261. ) = 0;
  2262. virtual HRESULT STDMETHODCALLTYPE get_Error(
  2263. BSTR *value) = 0;
  2264. };
  2265. #ifdef __CRT_UUID_DECL
  2266. __CRT_UUID_DECL(IWSManResourceLocator, 0xa7a1ba28, 0xde41, 0x466a, 0xad,0x0a, 0xc4,0x05,0x9e,0xad,0x74,0x28)
  2267. #endif
  2268. #else
  2269. typedef struct IWSManResourceLocatorVtbl {
  2270. BEGIN_INTERFACE
  2271. /*** IUnknown methods ***/
  2272. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2273. IWSManResourceLocator *This,
  2274. REFIID riid,
  2275. void **ppvObject);
  2276. ULONG (STDMETHODCALLTYPE *AddRef)(
  2277. IWSManResourceLocator *This);
  2278. ULONG (STDMETHODCALLTYPE *Release)(
  2279. IWSManResourceLocator *This);
  2280. /*** IDispatch methods ***/
  2281. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  2282. IWSManResourceLocator *This,
  2283. UINT *pctinfo);
  2284. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  2285. IWSManResourceLocator *This,
  2286. UINT iTInfo,
  2287. LCID lcid,
  2288. ITypeInfo **ppTInfo);
  2289. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  2290. IWSManResourceLocator *This,
  2291. REFIID riid,
  2292. LPOLESTR *rgszNames,
  2293. UINT cNames,
  2294. LCID lcid,
  2295. DISPID *rgDispId);
  2296. HRESULT (STDMETHODCALLTYPE *Invoke)(
  2297. IWSManResourceLocator *This,
  2298. DISPID dispIdMember,
  2299. REFIID riid,
  2300. LCID lcid,
  2301. WORD wFlags,
  2302. DISPPARAMS *pDispParams,
  2303. VARIANT *pVarResult,
  2304. EXCEPINFO *pExcepInfo,
  2305. UINT *puArgErr);
  2306. /*** IWSManResourceLocator methods ***/
  2307. HRESULT (STDMETHODCALLTYPE *put_ResourceURI)(
  2308. IWSManResourceLocator *This,
  2309. BSTR uri);
  2310. HRESULT (STDMETHODCALLTYPE *get_ResourceURI)(
  2311. IWSManResourceLocator *This,
  2312. BSTR *uri);
  2313. HRESULT (STDMETHODCALLTYPE *AddSelector)(
  2314. IWSManResourceLocator *This,
  2315. BSTR resourceSelName,
  2316. VARIANT selValue);
  2317. HRESULT (STDMETHODCALLTYPE *ClearSelectors)(
  2318. IWSManResourceLocator *This);
  2319. HRESULT (STDMETHODCALLTYPE *get_FragmentPath)(
  2320. IWSManResourceLocator *This,
  2321. BSTR *text);
  2322. HRESULT (STDMETHODCALLTYPE *put_FragmentPath)(
  2323. IWSManResourceLocator *This,
  2324. BSTR text);
  2325. HRESULT (STDMETHODCALLTYPE *get_FragmentDialect)(
  2326. IWSManResourceLocator *This,
  2327. BSTR *text);
  2328. HRESULT (STDMETHODCALLTYPE *put_FragmentDialect)(
  2329. IWSManResourceLocator *This,
  2330. BSTR text);
  2331. HRESULT (STDMETHODCALLTYPE *AddOption)(
  2332. IWSManResourceLocator *This,
  2333. BSTR OptionName,
  2334. VARIANT OptionValue,
  2335. WINBOOL mustComply);
  2336. HRESULT (STDMETHODCALLTYPE *put_MustUnderstandOptions)(
  2337. IWSManResourceLocator *This,
  2338. WINBOOL mustUnderstand);
  2339. HRESULT (STDMETHODCALLTYPE *get_MustUnderstandOptions)(
  2340. IWSManResourceLocator *This,
  2341. WINBOOL *mustUnderstand);
  2342. HRESULT (STDMETHODCALLTYPE *ClearOptions)(
  2343. IWSManResourceLocator *This);
  2344. HRESULT (STDMETHODCALLTYPE *get_Error)(
  2345. IWSManResourceLocator *This,
  2346. BSTR *value);
  2347. END_INTERFACE
  2348. } IWSManResourceLocatorVtbl;
  2349. interface IWSManResourceLocator {
  2350. CONST_VTBL IWSManResourceLocatorVtbl* lpVtbl;
  2351. };
  2352. #ifdef COBJMACROS
  2353. #ifndef WIDL_C_INLINE_WRAPPERS
  2354. /*** IUnknown methods ***/
  2355. #define IWSManResourceLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2356. #define IWSManResourceLocator_AddRef(This) (This)->lpVtbl->AddRef(This)
  2357. #define IWSManResourceLocator_Release(This) (This)->lpVtbl->Release(This)
  2358. /*** IDispatch methods ***/
  2359. #define IWSManResourceLocator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  2360. #define IWSManResourceLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2361. #define IWSManResourceLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2362. #define IWSManResourceLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2363. /*** IWSManResourceLocator methods ***/
  2364. #define IWSManResourceLocator_put_ResourceURI(This,uri) (This)->lpVtbl->put_ResourceURI(This,uri)
  2365. #define IWSManResourceLocator_get_ResourceURI(This,uri) (This)->lpVtbl->get_ResourceURI(This,uri)
  2366. #define IWSManResourceLocator_AddSelector(This,resourceSelName,selValue) (This)->lpVtbl->AddSelector(This,resourceSelName,selValue)
  2367. #define IWSManResourceLocator_ClearSelectors(This) (This)->lpVtbl->ClearSelectors(This)
  2368. #define IWSManResourceLocator_get_FragmentPath(This,text) (This)->lpVtbl->get_FragmentPath(This,text)
  2369. #define IWSManResourceLocator_put_FragmentPath(This,text) (This)->lpVtbl->put_FragmentPath(This,text)
  2370. #define IWSManResourceLocator_get_FragmentDialect(This,text) (This)->lpVtbl->get_FragmentDialect(This,text)
  2371. #define IWSManResourceLocator_put_FragmentDialect(This,text) (This)->lpVtbl->put_FragmentDialect(This,text)
  2372. #define IWSManResourceLocator_AddOption(This,OptionName,OptionValue,mustComply) (This)->lpVtbl->AddOption(This,OptionName,OptionValue,mustComply)
  2373. #define IWSManResourceLocator_put_MustUnderstandOptions(This,mustUnderstand) (This)->lpVtbl->put_MustUnderstandOptions(This,mustUnderstand)
  2374. #define IWSManResourceLocator_get_MustUnderstandOptions(This,mustUnderstand) (This)->lpVtbl->get_MustUnderstandOptions(This,mustUnderstand)
  2375. #define IWSManResourceLocator_ClearOptions(This) (This)->lpVtbl->ClearOptions(This)
  2376. #define IWSManResourceLocator_get_Error(This,value) (This)->lpVtbl->get_Error(This,value)
  2377. #else
  2378. /*** IUnknown methods ***/
  2379. static FORCEINLINE HRESULT IWSManResourceLocator_QueryInterface(IWSManResourceLocator* This,REFIID riid,void **ppvObject) {
  2380. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2381. }
  2382. static FORCEINLINE ULONG IWSManResourceLocator_AddRef(IWSManResourceLocator* This) {
  2383. return This->lpVtbl->AddRef(This);
  2384. }
  2385. static FORCEINLINE ULONG IWSManResourceLocator_Release(IWSManResourceLocator* This) {
  2386. return This->lpVtbl->Release(This);
  2387. }
  2388. /*** IDispatch methods ***/
  2389. static FORCEINLINE HRESULT IWSManResourceLocator_GetTypeInfoCount(IWSManResourceLocator* This,UINT *pctinfo) {
  2390. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  2391. }
  2392. static FORCEINLINE HRESULT IWSManResourceLocator_GetTypeInfo(IWSManResourceLocator* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  2393. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  2394. }
  2395. static FORCEINLINE HRESULT IWSManResourceLocator_GetIDsOfNames(IWSManResourceLocator* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  2396. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  2397. }
  2398. static FORCEINLINE HRESULT IWSManResourceLocator_Invoke(IWSManResourceLocator* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  2399. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  2400. }
  2401. /*** IWSManResourceLocator methods ***/
  2402. static FORCEINLINE HRESULT IWSManResourceLocator_put_ResourceURI(IWSManResourceLocator* This,BSTR uri) {
  2403. return This->lpVtbl->put_ResourceURI(This,uri);
  2404. }
  2405. static FORCEINLINE HRESULT IWSManResourceLocator_get_ResourceURI(IWSManResourceLocator* This,BSTR *uri) {
  2406. return This->lpVtbl->get_ResourceURI(This,uri);
  2407. }
  2408. static FORCEINLINE HRESULT IWSManResourceLocator_AddSelector(IWSManResourceLocator* This,BSTR resourceSelName,VARIANT selValue) {
  2409. return This->lpVtbl->AddSelector(This,resourceSelName,selValue);
  2410. }
  2411. static FORCEINLINE HRESULT IWSManResourceLocator_ClearSelectors(IWSManResourceLocator* This) {
  2412. return This->lpVtbl->ClearSelectors(This);
  2413. }
  2414. static FORCEINLINE HRESULT IWSManResourceLocator_get_FragmentPath(IWSManResourceLocator* This,BSTR *text) {
  2415. return This->lpVtbl->get_FragmentPath(This,text);
  2416. }
  2417. static FORCEINLINE HRESULT IWSManResourceLocator_put_FragmentPath(IWSManResourceLocator* This,BSTR text) {
  2418. return This->lpVtbl->put_FragmentPath(This,text);
  2419. }
  2420. static FORCEINLINE HRESULT IWSManResourceLocator_get_FragmentDialect(IWSManResourceLocator* This,BSTR *text) {
  2421. return This->lpVtbl->get_FragmentDialect(This,text);
  2422. }
  2423. static FORCEINLINE HRESULT IWSManResourceLocator_put_FragmentDialect(IWSManResourceLocator* This,BSTR text) {
  2424. return This->lpVtbl->put_FragmentDialect(This,text);
  2425. }
  2426. static FORCEINLINE HRESULT IWSManResourceLocator_AddOption(IWSManResourceLocator* This,BSTR OptionName,VARIANT OptionValue,WINBOOL mustComply) {
  2427. return This->lpVtbl->AddOption(This,OptionName,OptionValue,mustComply);
  2428. }
  2429. static FORCEINLINE HRESULT IWSManResourceLocator_put_MustUnderstandOptions(IWSManResourceLocator* This,WINBOOL mustUnderstand) {
  2430. return This->lpVtbl->put_MustUnderstandOptions(This,mustUnderstand);
  2431. }
  2432. static FORCEINLINE HRESULT IWSManResourceLocator_get_MustUnderstandOptions(IWSManResourceLocator* This,WINBOOL *mustUnderstand) {
  2433. return This->lpVtbl->get_MustUnderstandOptions(This,mustUnderstand);
  2434. }
  2435. static FORCEINLINE HRESULT IWSManResourceLocator_ClearOptions(IWSManResourceLocator* This) {
  2436. return This->lpVtbl->ClearOptions(This);
  2437. }
  2438. static FORCEINLINE HRESULT IWSManResourceLocator_get_Error(IWSManResourceLocator* This,BSTR *value) {
  2439. return This->lpVtbl->get_Error(This,value);
  2440. }
  2441. #endif
  2442. #endif
  2443. #endif
  2444. #endif /* __IWSManResourceLocator_INTERFACE_DEFINED__ */
  2445. /*****************************************************************************
  2446. * IWSManResourceLocatorInternal interface
  2447. */
  2448. #ifndef __IWSManResourceLocatorInternal_INTERFACE_DEFINED__
  2449. #define __IWSManResourceLocatorInternal_INTERFACE_DEFINED__
  2450. DEFINE_GUID(IID_IWSManResourceLocatorInternal, 0xeffaead7, 0x7ec8, 0x4716, 0xb9,0xbe, 0xf2,0xe7,0xe9,0xfb,0x4a,0xdb);
  2451. #if defined(__cplusplus) && !defined(CINTERFACE)
  2452. MIDL_INTERFACE("effaead7-7ec8-4716-b9be-f2e7e9fb4adb")
  2453. IWSManResourceLocatorInternal : public IUnknown
  2454. {
  2455. };
  2456. #ifdef __CRT_UUID_DECL
  2457. __CRT_UUID_DECL(IWSManResourceLocatorInternal, 0xeffaead7, 0x7ec8, 0x4716, 0xb9,0xbe, 0xf2,0xe7,0xe9,0xfb,0x4a,0xdb)
  2458. #endif
  2459. #else
  2460. typedef struct IWSManResourceLocatorInternalVtbl {
  2461. BEGIN_INTERFACE
  2462. /*** IUnknown methods ***/
  2463. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2464. IWSManResourceLocatorInternal *This,
  2465. REFIID riid,
  2466. void **ppvObject);
  2467. ULONG (STDMETHODCALLTYPE *AddRef)(
  2468. IWSManResourceLocatorInternal *This);
  2469. ULONG (STDMETHODCALLTYPE *Release)(
  2470. IWSManResourceLocatorInternal *This);
  2471. END_INTERFACE
  2472. } IWSManResourceLocatorInternalVtbl;
  2473. interface IWSManResourceLocatorInternal {
  2474. CONST_VTBL IWSManResourceLocatorInternalVtbl* lpVtbl;
  2475. };
  2476. #ifdef COBJMACROS
  2477. #ifndef WIDL_C_INLINE_WRAPPERS
  2478. /*** IUnknown methods ***/
  2479. #define IWSManResourceLocatorInternal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2480. #define IWSManResourceLocatorInternal_AddRef(This) (This)->lpVtbl->AddRef(This)
  2481. #define IWSManResourceLocatorInternal_Release(This) (This)->lpVtbl->Release(This)
  2482. #else
  2483. /*** IUnknown methods ***/
  2484. static FORCEINLINE HRESULT IWSManResourceLocatorInternal_QueryInterface(IWSManResourceLocatorInternal* This,REFIID riid,void **ppvObject) {
  2485. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2486. }
  2487. static FORCEINLINE ULONG IWSManResourceLocatorInternal_AddRef(IWSManResourceLocatorInternal* This) {
  2488. return This->lpVtbl->AddRef(This);
  2489. }
  2490. static FORCEINLINE ULONG IWSManResourceLocatorInternal_Release(IWSManResourceLocatorInternal* This) {
  2491. return This->lpVtbl->Release(This);
  2492. }
  2493. #endif
  2494. #endif
  2495. #endif
  2496. #endif /* __IWSManResourceLocatorInternal_INTERFACE_DEFINED__ */
  2497. /*****************************************************************************
  2498. * IWSManInternal interface
  2499. */
  2500. #ifndef __IWSManInternal_INTERFACE_DEFINED__
  2501. #define __IWSManInternal_INTERFACE_DEFINED__
  2502. DEFINE_GUID(IID_IWSManInternal, 0x04ae2b1d, 0x9954, 0x4d99, 0x94,0xa9, 0xa9,0x61,0xe7,0x2c,0x3a,0x13);
  2503. #if defined(__cplusplus) && !defined(CINTERFACE)
  2504. MIDL_INTERFACE("04ae2b1d-9954-4d99-94a9-a961e72c3a13")
  2505. IWSManInternal : public IDispatch
  2506. {
  2507. virtual HRESULT STDMETHODCALLTYPE ConfigSDDL(
  2508. IDispatch *session,
  2509. VARIANT resourceUri,
  2510. LONG flags,
  2511. BSTR *resource) = 0;
  2512. };
  2513. #ifdef __CRT_UUID_DECL
  2514. __CRT_UUID_DECL(IWSManInternal, 0x04ae2b1d, 0x9954, 0x4d99, 0x94,0xa9, 0xa9,0x61,0xe7,0x2c,0x3a,0x13)
  2515. #endif
  2516. #else
  2517. typedef struct IWSManInternalVtbl {
  2518. BEGIN_INTERFACE
  2519. /*** IUnknown methods ***/
  2520. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2521. IWSManInternal *This,
  2522. REFIID riid,
  2523. void **ppvObject);
  2524. ULONG (STDMETHODCALLTYPE *AddRef)(
  2525. IWSManInternal *This);
  2526. ULONG (STDMETHODCALLTYPE *Release)(
  2527. IWSManInternal *This);
  2528. /*** IDispatch methods ***/
  2529. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  2530. IWSManInternal *This,
  2531. UINT *pctinfo);
  2532. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  2533. IWSManInternal *This,
  2534. UINT iTInfo,
  2535. LCID lcid,
  2536. ITypeInfo **ppTInfo);
  2537. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  2538. IWSManInternal *This,
  2539. REFIID riid,
  2540. LPOLESTR *rgszNames,
  2541. UINT cNames,
  2542. LCID lcid,
  2543. DISPID *rgDispId);
  2544. HRESULT (STDMETHODCALLTYPE *Invoke)(
  2545. IWSManInternal *This,
  2546. DISPID dispIdMember,
  2547. REFIID riid,
  2548. LCID lcid,
  2549. WORD wFlags,
  2550. DISPPARAMS *pDispParams,
  2551. VARIANT *pVarResult,
  2552. EXCEPINFO *pExcepInfo,
  2553. UINT *puArgErr);
  2554. /*** IWSManInternal methods ***/
  2555. HRESULT (STDMETHODCALLTYPE *ConfigSDDL)(
  2556. IWSManInternal *This,
  2557. IDispatch *session,
  2558. VARIANT resourceUri,
  2559. LONG flags,
  2560. BSTR *resource);
  2561. END_INTERFACE
  2562. } IWSManInternalVtbl;
  2563. interface IWSManInternal {
  2564. CONST_VTBL IWSManInternalVtbl* lpVtbl;
  2565. };
  2566. #ifdef COBJMACROS
  2567. #ifndef WIDL_C_INLINE_WRAPPERS
  2568. /*** IUnknown methods ***/
  2569. #define IWSManInternal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2570. #define IWSManInternal_AddRef(This) (This)->lpVtbl->AddRef(This)
  2571. #define IWSManInternal_Release(This) (This)->lpVtbl->Release(This)
  2572. /*** IDispatch methods ***/
  2573. #define IWSManInternal_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  2574. #define IWSManInternal_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2575. #define IWSManInternal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2576. #define IWSManInternal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2577. /*** IWSManInternal methods ***/
  2578. #define IWSManInternal_ConfigSDDL(This,session,resourceUri,flags,resource) (This)->lpVtbl->ConfigSDDL(This,session,resourceUri,flags,resource)
  2579. #else
  2580. /*** IUnknown methods ***/
  2581. static FORCEINLINE HRESULT IWSManInternal_QueryInterface(IWSManInternal* This,REFIID riid,void **ppvObject) {
  2582. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2583. }
  2584. static FORCEINLINE ULONG IWSManInternal_AddRef(IWSManInternal* This) {
  2585. return This->lpVtbl->AddRef(This);
  2586. }
  2587. static FORCEINLINE ULONG IWSManInternal_Release(IWSManInternal* This) {
  2588. return This->lpVtbl->Release(This);
  2589. }
  2590. /*** IDispatch methods ***/
  2591. static FORCEINLINE HRESULT IWSManInternal_GetTypeInfoCount(IWSManInternal* This,UINT *pctinfo) {
  2592. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  2593. }
  2594. static FORCEINLINE HRESULT IWSManInternal_GetTypeInfo(IWSManInternal* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  2595. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  2596. }
  2597. static FORCEINLINE HRESULT IWSManInternal_GetIDsOfNames(IWSManInternal* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  2598. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  2599. }
  2600. static FORCEINLINE HRESULT IWSManInternal_Invoke(IWSManInternal* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  2601. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  2602. }
  2603. /*** IWSManInternal methods ***/
  2604. static FORCEINLINE HRESULT IWSManInternal_ConfigSDDL(IWSManInternal* This,IDispatch *session,VARIANT resourceUri,LONG flags,BSTR *resource) {
  2605. return This->lpVtbl->ConfigSDDL(This,session,resourceUri,flags,resource);
  2606. }
  2607. #endif
  2608. #endif
  2609. #endif
  2610. #endif /* __IWSManInternal_INTERFACE_DEFINED__ */
  2611. #endif
  2612. /* Begin additional prototypes for all interfaces */
  2613. /* End additional prototypes */
  2614. #ifdef __cplusplus
  2615. }
  2616. #endif
  2617. #endif /* __wsmandisp_h__ */