napcommon.h 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691
  1. /*** Autogenerated by WIDL 7.7 from include/napcommon.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 __napcommon_h__
  14. #define __napcommon_h__
  15. /* Forward declarations */
  16. #ifndef __INapComponentConfig_FWD_DEFINED__
  17. #define __INapComponentConfig_FWD_DEFINED__
  18. typedef interface INapComponentConfig INapComponentConfig;
  19. #ifdef __cplusplus
  20. interface INapComponentConfig;
  21. #endif /* __cplusplus */
  22. #endif
  23. #ifndef __INapComponentInfo_FWD_DEFINED__
  24. #define __INapComponentInfo_FWD_DEFINED__
  25. typedef interface INapComponentInfo INapComponentInfo;
  26. #ifdef __cplusplus
  27. interface INapComponentInfo;
  28. #endif /* __cplusplus */
  29. #endif
  30. #ifndef __INapComponentConfig2_FWD_DEFINED__
  31. #define __INapComponentConfig2_FWD_DEFINED__
  32. typedef interface INapComponentConfig2 INapComponentConfig2;
  33. #ifdef __cplusplus
  34. interface INapComponentConfig2;
  35. #endif /* __cplusplus */
  36. #endif
  37. #ifndef __INapComponentConfig3_FWD_DEFINED__
  38. #define __INapComponentConfig3_FWD_DEFINED__
  39. typedef interface INapComponentConfig3 INapComponentConfig3;
  40. #ifdef __cplusplus
  41. interface INapComponentConfig3;
  42. #endif /* __cplusplus */
  43. #endif
  44. /* Headers for imported files */
  45. #include <naptypes.h>
  46. #include <unknwn.h>
  47. #ifdef __cplusplus
  48. extern "C" {
  49. #endif
  50. #include <winapifamily.h>
  51. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  52. /*****************************************************************************
  53. * INapComponentConfig interface
  54. */
  55. #ifndef __INapComponentConfig_INTERFACE_DEFINED__
  56. #define __INapComponentConfig_INTERFACE_DEFINED__
  57. DEFINE_GUID(IID_INapComponentConfig, 0xa9e0af1a, 0x3713, 0x478e, 0xae,0x03, 0x8e,0xdd,0x27,0x2d,0x21,0xfa);
  58. #if defined(__cplusplus) && !defined(CINTERFACE)
  59. MIDL_INTERFACE("a9e0af1a-3713-478e-ae03-8edd272d21fa")
  60. INapComponentConfig : public IUnknown
  61. {
  62. virtual HRESULT STDMETHODCALLTYPE IsUISupported(
  63. WINBOOL *isSupported) = 0;
  64. virtual HRESULT STDMETHODCALLTYPE InvokeUI(
  65. HWND hwndParent) = 0;
  66. virtual HRESULT STDMETHODCALLTYPE GetConfig(
  67. UINT16 *bCount,
  68. BYTE **data) = 0;
  69. virtual HRESULT STDMETHODCALLTYPE SetConfig(
  70. UINT16 bCount,
  71. BYTE *data) = 0;
  72. };
  73. #ifdef __CRT_UUID_DECL
  74. __CRT_UUID_DECL(INapComponentConfig, 0xa9e0af1a, 0x3713, 0x478e, 0xae,0x03, 0x8e,0xdd,0x27,0x2d,0x21,0xfa)
  75. #endif
  76. #else
  77. typedef struct INapComponentConfigVtbl {
  78. BEGIN_INTERFACE
  79. /*** IUnknown methods ***/
  80. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  81. INapComponentConfig *This,
  82. REFIID riid,
  83. void **ppvObject);
  84. ULONG (STDMETHODCALLTYPE *AddRef)(
  85. INapComponentConfig *This);
  86. ULONG (STDMETHODCALLTYPE *Release)(
  87. INapComponentConfig *This);
  88. /*** INapComponentConfig methods ***/
  89. HRESULT (STDMETHODCALLTYPE *IsUISupported)(
  90. INapComponentConfig *This,
  91. WINBOOL *isSupported);
  92. HRESULT (STDMETHODCALLTYPE *InvokeUI)(
  93. INapComponentConfig *This,
  94. HWND hwndParent);
  95. HRESULT (STDMETHODCALLTYPE *GetConfig)(
  96. INapComponentConfig *This,
  97. UINT16 *bCount,
  98. BYTE **data);
  99. HRESULT (STDMETHODCALLTYPE *SetConfig)(
  100. INapComponentConfig *This,
  101. UINT16 bCount,
  102. BYTE *data);
  103. END_INTERFACE
  104. } INapComponentConfigVtbl;
  105. interface INapComponentConfig {
  106. CONST_VTBL INapComponentConfigVtbl* lpVtbl;
  107. };
  108. #ifdef COBJMACROS
  109. #ifndef WIDL_C_INLINE_WRAPPERS
  110. /*** IUnknown methods ***/
  111. #define INapComponentConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  112. #define INapComponentConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
  113. #define INapComponentConfig_Release(This) (This)->lpVtbl->Release(This)
  114. /*** INapComponentConfig methods ***/
  115. #define INapComponentConfig_IsUISupported(This,isSupported) (This)->lpVtbl->IsUISupported(This,isSupported)
  116. #define INapComponentConfig_InvokeUI(This,hwndParent) (This)->lpVtbl->InvokeUI(This,hwndParent)
  117. #define INapComponentConfig_GetConfig(This,bCount,data) (This)->lpVtbl->GetConfig(This,bCount,data)
  118. #define INapComponentConfig_SetConfig(This,bCount,data) (This)->lpVtbl->SetConfig(This,bCount,data)
  119. #else
  120. /*** IUnknown methods ***/
  121. static FORCEINLINE HRESULT INapComponentConfig_QueryInterface(INapComponentConfig* This,REFIID riid,void **ppvObject) {
  122. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  123. }
  124. static FORCEINLINE ULONG INapComponentConfig_AddRef(INapComponentConfig* This) {
  125. return This->lpVtbl->AddRef(This);
  126. }
  127. static FORCEINLINE ULONG INapComponentConfig_Release(INapComponentConfig* This) {
  128. return This->lpVtbl->Release(This);
  129. }
  130. /*** INapComponentConfig methods ***/
  131. static FORCEINLINE HRESULT INapComponentConfig_IsUISupported(INapComponentConfig* This,WINBOOL *isSupported) {
  132. return This->lpVtbl->IsUISupported(This,isSupported);
  133. }
  134. static FORCEINLINE HRESULT INapComponentConfig_InvokeUI(INapComponentConfig* This,HWND hwndParent) {
  135. return This->lpVtbl->InvokeUI(This,hwndParent);
  136. }
  137. static FORCEINLINE HRESULT INapComponentConfig_GetConfig(INapComponentConfig* This,UINT16 *bCount,BYTE **data) {
  138. return This->lpVtbl->GetConfig(This,bCount,data);
  139. }
  140. static FORCEINLINE HRESULT INapComponentConfig_SetConfig(INapComponentConfig* This,UINT16 bCount,BYTE *data) {
  141. return This->lpVtbl->SetConfig(This,bCount,data);
  142. }
  143. #endif
  144. #endif
  145. #endif
  146. #endif /* __INapComponentConfig_INTERFACE_DEFINED__ */
  147. /*****************************************************************************
  148. * INapComponentInfo interface
  149. */
  150. #ifndef __INapComponentInfo_INTERFACE_DEFINED__
  151. #define __INapComponentInfo_INTERFACE_DEFINED__
  152. DEFINE_GUID(IID_INapComponentInfo, 0xb475f925, 0xe3f7, 0x414c, 0x8c,0x72, 0x1c,0xee,0x64,0xb9,0xd8,0xf6);
  153. #if defined(__cplusplus) && !defined(CINTERFACE)
  154. MIDL_INTERFACE("b475f925-e3f7-414c-8c72-1cee64b9d8f6")
  155. INapComponentInfo : public IUnknown
  156. {
  157. virtual HRESULT STDMETHODCALLTYPE GetFriendlyName(
  158. MessageId *friendlyName) = 0;
  159. virtual HRESULT STDMETHODCALLTYPE GetDescription(
  160. MessageId *description) = 0;
  161. virtual HRESULT STDMETHODCALLTYPE GetVendorName(
  162. MessageId *vendorName) = 0;
  163. virtual HRESULT STDMETHODCALLTYPE GetVersion(
  164. MessageId *version) = 0;
  165. virtual HRESULT STDMETHODCALLTYPE GetIcon(
  166. CountedString **dllFilePath,
  167. UINT32 *iconResourceId) = 0;
  168. virtual HRESULT STDMETHODCALLTYPE ConvertErrorCodeToMessageId(
  169. HRESULT errorCode,
  170. MessageId *msgId) = 0;
  171. virtual HRESULT STDMETHODCALLTYPE GetLocalizedString(
  172. MessageId msgId,
  173. CountedString **string) = 0;
  174. };
  175. #ifdef __CRT_UUID_DECL
  176. __CRT_UUID_DECL(INapComponentInfo, 0xb475f925, 0xe3f7, 0x414c, 0x8c,0x72, 0x1c,0xee,0x64,0xb9,0xd8,0xf6)
  177. #endif
  178. #else
  179. typedef struct INapComponentInfoVtbl {
  180. BEGIN_INTERFACE
  181. /*** IUnknown methods ***/
  182. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  183. INapComponentInfo *This,
  184. REFIID riid,
  185. void **ppvObject);
  186. ULONG (STDMETHODCALLTYPE *AddRef)(
  187. INapComponentInfo *This);
  188. ULONG (STDMETHODCALLTYPE *Release)(
  189. INapComponentInfo *This);
  190. /*** INapComponentInfo methods ***/
  191. HRESULT (STDMETHODCALLTYPE *GetFriendlyName)(
  192. INapComponentInfo *This,
  193. MessageId *friendlyName);
  194. HRESULT (STDMETHODCALLTYPE *GetDescription)(
  195. INapComponentInfo *This,
  196. MessageId *description);
  197. HRESULT (STDMETHODCALLTYPE *GetVendorName)(
  198. INapComponentInfo *This,
  199. MessageId *vendorName);
  200. HRESULT (STDMETHODCALLTYPE *GetVersion)(
  201. INapComponentInfo *This,
  202. MessageId *version);
  203. HRESULT (STDMETHODCALLTYPE *GetIcon)(
  204. INapComponentInfo *This,
  205. CountedString **dllFilePath,
  206. UINT32 *iconResourceId);
  207. HRESULT (STDMETHODCALLTYPE *ConvertErrorCodeToMessageId)(
  208. INapComponentInfo *This,
  209. HRESULT errorCode,
  210. MessageId *msgId);
  211. HRESULT (STDMETHODCALLTYPE *GetLocalizedString)(
  212. INapComponentInfo *This,
  213. MessageId msgId,
  214. CountedString **string);
  215. END_INTERFACE
  216. } INapComponentInfoVtbl;
  217. interface INapComponentInfo {
  218. CONST_VTBL INapComponentInfoVtbl* lpVtbl;
  219. };
  220. #ifdef COBJMACROS
  221. #ifndef WIDL_C_INLINE_WRAPPERS
  222. /*** IUnknown methods ***/
  223. #define INapComponentInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  224. #define INapComponentInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
  225. #define INapComponentInfo_Release(This) (This)->lpVtbl->Release(This)
  226. /*** INapComponentInfo methods ***/
  227. #define INapComponentInfo_GetFriendlyName(This,friendlyName) (This)->lpVtbl->GetFriendlyName(This,friendlyName)
  228. #define INapComponentInfo_GetDescription(This,description) (This)->lpVtbl->GetDescription(This,description)
  229. #define INapComponentInfo_GetVendorName(This,vendorName) (This)->lpVtbl->GetVendorName(This,vendorName)
  230. #define INapComponentInfo_GetVersion(This,version) (This)->lpVtbl->GetVersion(This,version)
  231. #define INapComponentInfo_GetIcon(This,dllFilePath,iconResourceId) (This)->lpVtbl->GetIcon(This,dllFilePath,iconResourceId)
  232. #define INapComponentInfo_ConvertErrorCodeToMessageId(This,errorCode,msgId) (This)->lpVtbl->ConvertErrorCodeToMessageId(This,errorCode,msgId)
  233. #define INapComponentInfo_GetLocalizedString(This,msgId,string) (This)->lpVtbl->GetLocalizedString(This,msgId,string)
  234. #else
  235. /*** IUnknown methods ***/
  236. static FORCEINLINE HRESULT INapComponentInfo_QueryInterface(INapComponentInfo* This,REFIID riid,void **ppvObject) {
  237. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  238. }
  239. static FORCEINLINE ULONG INapComponentInfo_AddRef(INapComponentInfo* This) {
  240. return This->lpVtbl->AddRef(This);
  241. }
  242. static FORCEINLINE ULONG INapComponentInfo_Release(INapComponentInfo* This) {
  243. return This->lpVtbl->Release(This);
  244. }
  245. /*** INapComponentInfo methods ***/
  246. static FORCEINLINE HRESULT INapComponentInfo_GetFriendlyName(INapComponentInfo* This,MessageId *friendlyName) {
  247. return This->lpVtbl->GetFriendlyName(This,friendlyName);
  248. }
  249. static FORCEINLINE HRESULT INapComponentInfo_GetDescription(INapComponentInfo* This,MessageId *description) {
  250. return This->lpVtbl->GetDescription(This,description);
  251. }
  252. static FORCEINLINE HRESULT INapComponentInfo_GetVendorName(INapComponentInfo* This,MessageId *vendorName) {
  253. return This->lpVtbl->GetVendorName(This,vendorName);
  254. }
  255. static FORCEINLINE HRESULT INapComponentInfo_GetVersion(INapComponentInfo* This,MessageId *version) {
  256. return This->lpVtbl->GetVersion(This,version);
  257. }
  258. static FORCEINLINE HRESULT INapComponentInfo_GetIcon(INapComponentInfo* This,CountedString **dllFilePath,UINT32 *iconResourceId) {
  259. return This->lpVtbl->GetIcon(This,dllFilePath,iconResourceId);
  260. }
  261. static FORCEINLINE HRESULT INapComponentInfo_ConvertErrorCodeToMessageId(INapComponentInfo* This,HRESULT errorCode,MessageId *msgId) {
  262. return This->lpVtbl->ConvertErrorCodeToMessageId(This,errorCode,msgId);
  263. }
  264. static FORCEINLINE HRESULT INapComponentInfo_GetLocalizedString(INapComponentInfo* This,MessageId msgId,CountedString **string) {
  265. return This->lpVtbl->GetLocalizedString(This,msgId,string);
  266. }
  267. #endif
  268. #endif
  269. #endif
  270. #endif /* __INapComponentInfo_INTERFACE_DEFINED__ */
  271. /*****************************************************************************
  272. * INapComponentConfig2 interface
  273. */
  274. #ifndef __INapComponentConfig2_INTERFACE_DEFINED__
  275. #define __INapComponentConfig2_INTERFACE_DEFINED__
  276. DEFINE_GUID(IID_INapComponentConfig2, 0x47cbdb9e, 0x1972, 0x4f5e, 0xbd,0x3c, 0x5e,0xb6,0x23,0x06,0x14,0xb5);
  277. #if defined(__cplusplus) && !defined(CINTERFACE)
  278. MIDL_INTERFACE("47cbdb9e-1972-4f5e-bd3c-5eb6230614b5")
  279. INapComponentConfig2 : public INapComponentConfig
  280. {
  281. virtual HRESULT STDMETHODCALLTYPE IsRemoteConfigSupported(
  282. WINBOOL *isSupported,
  283. UINT8 *remoteConfigType) = 0;
  284. virtual HRESULT STDMETHODCALLTYPE InvokeUIForMachine(
  285. HWND hwndParent,
  286. CountedString *machineName) = 0;
  287. virtual HRESULT STDMETHODCALLTYPE InvokeUIFromConfigBlob(
  288. HWND hwndParent,
  289. UINT16 inbCount,
  290. BYTE *inData,
  291. UINT16 *outbCount,
  292. BYTE **outdata,
  293. WINBOOL *fConfigChanged) = 0;
  294. };
  295. #ifdef __CRT_UUID_DECL
  296. __CRT_UUID_DECL(INapComponentConfig2, 0x47cbdb9e, 0x1972, 0x4f5e, 0xbd,0x3c, 0x5e,0xb6,0x23,0x06,0x14,0xb5)
  297. #endif
  298. #else
  299. typedef struct INapComponentConfig2Vtbl {
  300. BEGIN_INTERFACE
  301. /*** IUnknown methods ***/
  302. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  303. INapComponentConfig2 *This,
  304. REFIID riid,
  305. void **ppvObject);
  306. ULONG (STDMETHODCALLTYPE *AddRef)(
  307. INapComponentConfig2 *This);
  308. ULONG (STDMETHODCALLTYPE *Release)(
  309. INapComponentConfig2 *This);
  310. /*** INapComponentConfig methods ***/
  311. HRESULT (STDMETHODCALLTYPE *IsUISupported)(
  312. INapComponentConfig2 *This,
  313. WINBOOL *isSupported);
  314. HRESULT (STDMETHODCALLTYPE *InvokeUI)(
  315. INapComponentConfig2 *This,
  316. HWND hwndParent);
  317. HRESULT (STDMETHODCALLTYPE *GetConfig)(
  318. INapComponentConfig2 *This,
  319. UINT16 *bCount,
  320. BYTE **data);
  321. HRESULT (STDMETHODCALLTYPE *SetConfig)(
  322. INapComponentConfig2 *This,
  323. UINT16 bCount,
  324. BYTE *data);
  325. /*** INapComponentConfig2 methods ***/
  326. HRESULT (STDMETHODCALLTYPE *IsRemoteConfigSupported)(
  327. INapComponentConfig2 *This,
  328. WINBOOL *isSupported,
  329. UINT8 *remoteConfigType);
  330. HRESULT (STDMETHODCALLTYPE *InvokeUIForMachine)(
  331. INapComponentConfig2 *This,
  332. HWND hwndParent,
  333. CountedString *machineName);
  334. HRESULT (STDMETHODCALLTYPE *InvokeUIFromConfigBlob)(
  335. INapComponentConfig2 *This,
  336. HWND hwndParent,
  337. UINT16 inbCount,
  338. BYTE *inData,
  339. UINT16 *outbCount,
  340. BYTE **outdata,
  341. WINBOOL *fConfigChanged);
  342. END_INTERFACE
  343. } INapComponentConfig2Vtbl;
  344. interface INapComponentConfig2 {
  345. CONST_VTBL INapComponentConfig2Vtbl* lpVtbl;
  346. };
  347. #ifdef COBJMACROS
  348. #ifndef WIDL_C_INLINE_WRAPPERS
  349. /*** IUnknown methods ***/
  350. #define INapComponentConfig2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  351. #define INapComponentConfig2_AddRef(This) (This)->lpVtbl->AddRef(This)
  352. #define INapComponentConfig2_Release(This) (This)->lpVtbl->Release(This)
  353. /*** INapComponentConfig methods ***/
  354. #define INapComponentConfig2_IsUISupported(This,isSupported) (This)->lpVtbl->IsUISupported(This,isSupported)
  355. #define INapComponentConfig2_InvokeUI(This,hwndParent) (This)->lpVtbl->InvokeUI(This,hwndParent)
  356. #define INapComponentConfig2_GetConfig(This,bCount,data) (This)->lpVtbl->GetConfig(This,bCount,data)
  357. #define INapComponentConfig2_SetConfig(This,bCount,data) (This)->lpVtbl->SetConfig(This,bCount,data)
  358. /*** INapComponentConfig2 methods ***/
  359. #define INapComponentConfig2_IsRemoteConfigSupported(This,isSupported,remoteConfigType) (This)->lpVtbl->IsRemoteConfigSupported(This,isSupported,remoteConfigType)
  360. #define INapComponentConfig2_InvokeUIForMachine(This,hwndParent,machineName) (This)->lpVtbl->InvokeUIForMachine(This,hwndParent,machineName)
  361. #define INapComponentConfig2_InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged) (This)->lpVtbl->InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged)
  362. #else
  363. /*** IUnknown methods ***/
  364. static FORCEINLINE HRESULT INapComponentConfig2_QueryInterface(INapComponentConfig2* This,REFIID riid,void **ppvObject) {
  365. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  366. }
  367. static FORCEINLINE ULONG INapComponentConfig2_AddRef(INapComponentConfig2* This) {
  368. return This->lpVtbl->AddRef(This);
  369. }
  370. static FORCEINLINE ULONG INapComponentConfig2_Release(INapComponentConfig2* This) {
  371. return This->lpVtbl->Release(This);
  372. }
  373. /*** INapComponentConfig methods ***/
  374. static FORCEINLINE HRESULT INapComponentConfig2_IsUISupported(INapComponentConfig2* This,WINBOOL *isSupported) {
  375. return This->lpVtbl->IsUISupported(This,isSupported);
  376. }
  377. static FORCEINLINE HRESULT INapComponentConfig2_InvokeUI(INapComponentConfig2* This,HWND hwndParent) {
  378. return This->lpVtbl->InvokeUI(This,hwndParent);
  379. }
  380. static FORCEINLINE HRESULT INapComponentConfig2_GetConfig(INapComponentConfig2* This,UINT16 *bCount,BYTE **data) {
  381. return This->lpVtbl->GetConfig(This,bCount,data);
  382. }
  383. static FORCEINLINE HRESULT INapComponentConfig2_SetConfig(INapComponentConfig2* This,UINT16 bCount,BYTE *data) {
  384. return This->lpVtbl->SetConfig(This,bCount,data);
  385. }
  386. /*** INapComponentConfig2 methods ***/
  387. static FORCEINLINE HRESULT INapComponentConfig2_IsRemoteConfigSupported(INapComponentConfig2* This,WINBOOL *isSupported,UINT8 *remoteConfigType) {
  388. return This->lpVtbl->IsRemoteConfigSupported(This,isSupported,remoteConfigType);
  389. }
  390. static FORCEINLINE HRESULT INapComponentConfig2_InvokeUIForMachine(INapComponentConfig2* This,HWND hwndParent,CountedString *machineName) {
  391. return This->lpVtbl->InvokeUIForMachine(This,hwndParent,machineName);
  392. }
  393. static FORCEINLINE HRESULT INapComponentConfig2_InvokeUIFromConfigBlob(INapComponentConfig2* This,HWND hwndParent,UINT16 inbCount,BYTE *inData,UINT16 *outbCount,BYTE **outdata,WINBOOL *fConfigChanged) {
  394. return This->lpVtbl->InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged);
  395. }
  396. #endif
  397. #endif
  398. #endif
  399. #endif /* __INapComponentConfig2_INTERFACE_DEFINED__ */
  400. /*****************************************************************************
  401. * INapComponentConfig3 interface
  402. */
  403. #ifndef __INapComponentConfig3_INTERFACE_DEFINED__
  404. #define __INapComponentConfig3_INTERFACE_DEFINED__
  405. DEFINE_GUID(IID_INapComponentConfig3, 0x9c4a8101, 0x8cfe, 0x4332, 0x87,0x6e, 0xc4,0xa4,0x9d,0x1d,0x3f,0x77);
  406. #if defined(__cplusplus) && !defined(CINTERFACE)
  407. MIDL_INTERFACE("9c4a8101-8cfe-4332-876e-c4a49d1d3f77")
  408. INapComponentConfig3 : public INapComponentConfig2
  409. {
  410. virtual HRESULT STDMETHODCALLTYPE NewConfig(
  411. UINT32 configID) = 0;
  412. virtual HRESULT STDMETHODCALLTYPE DeleteConfig(
  413. UINT32 configID) = 0;
  414. virtual HRESULT STDMETHODCALLTYPE DeleteAllConfig(
  415. ) = 0;
  416. virtual HRESULT STDMETHODCALLTYPE GetConfigFromID(
  417. UINT32 configID,
  418. UINT16 *count,
  419. BYTE **outdata) = 0;
  420. virtual HRESULT STDMETHODCALLTYPE SetConfigToID(
  421. UINT32 configID,
  422. UINT16 count,
  423. BYTE *data) = 0;
  424. };
  425. #ifdef __CRT_UUID_DECL
  426. __CRT_UUID_DECL(INapComponentConfig3, 0x9c4a8101, 0x8cfe, 0x4332, 0x87,0x6e, 0xc4,0xa4,0x9d,0x1d,0x3f,0x77)
  427. #endif
  428. #else
  429. typedef struct INapComponentConfig3Vtbl {
  430. BEGIN_INTERFACE
  431. /*** IUnknown methods ***/
  432. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  433. INapComponentConfig3 *This,
  434. REFIID riid,
  435. void **ppvObject);
  436. ULONG (STDMETHODCALLTYPE *AddRef)(
  437. INapComponentConfig3 *This);
  438. ULONG (STDMETHODCALLTYPE *Release)(
  439. INapComponentConfig3 *This);
  440. /*** INapComponentConfig methods ***/
  441. HRESULT (STDMETHODCALLTYPE *IsUISupported)(
  442. INapComponentConfig3 *This,
  443. WINBOOL *isSupported);
  444. HRESULT (STDMETHODCALLTYPE *InvokeUI)(
  445. INapComponentConfig3 *This,
  446. HWND hwndParent);
  447. HRESULT (STDMETHODCALLTYPE *GetConfig)(
  448. INapComponentConfig3 *This,
  449. UINT16 *bCount,
  450. BYTE **data);
  451. HRESULT (STDMETHODCALLTYPE *SetConfig)(
  452. INapComponentConfig3 *This,
  453. UINT16 bCount,
  454. BYTE *data);
  455. /*** INapComponentConfig2 methods ***/
  456. HRESULT (STDMETHODCALLTYPE *IsRemoteConfigSupported)(
  457. INapComponentConfig3 *This,
  458. WINBOOL *isSupported,
  459. UINT8 *remoteConfigType);
  460. HRESULT (STDMETHODCALLTYPE *InvokeUIForMachine)(
  461. INapComponentConfig3 *This,
  462. HWND hwndParent,
  463. CountedString *machineName);
  464. HRESULT (STDMETHODCALLTYPE *InvokeUIFromConfigBlob)(
  465. INapComponentConfig3 *This,
  466. HWND hwndParent,
  467. UINT16 inbCount,
  468. BYTE *inData,
  469. UINT16 *outbCount,
  470. BYTE **outdata,
  471. WINBOOL *fConfigChanged);
  472. /*** INapComponentConfig3 methods ***/
  473. HRESULT (STDMETHODCALLTYPE *NewConfig)(
  474. INapComponentConfig3 *This,
  475. UINT32 configID);
  476. HRESULT (STDMETHODCALLTYPE *DeleteConfig)(
  477. INapComponentConfig3 *This,
  478. UINT32 configID);
  479. HRESULT (STDMETHODCALLTYPE *DeleteAllConfig)(
  480. INapComponentConfig3 *This);
  481. HRESULT (STDMETHODCALLTYPE *GetConfigFromID)(
  482. INapComponentConfig3 *This,
  483. UINT32 configID,
  484. UINT16 *count,
  485. BYTE **outdata);
  486. HRESULT (STDMETHODCALLTYPE *SetConfigToID)(
  487. INapComponentConfig3 *This,
  488. UINT32 configID,
  489. UINT16 count,
  490. BYTE *data);
  491. END_INTERFACE
  492. } INapComponentConfig3Vtbl;
  493. interface INapComponentConfig3 {
  494. CONST_VTBL INapComponentConfig3Vtbl* lpVtbl;
  495. };
  496. #ifdef COBJMACROS
  497. #ifndef WIDL_C_INLINE_WRAPPERS
  498. /*** IUnknown methods ***/
  499. #define INapComponentConfig3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  500. #define INapComponentConfig3_AddRef(This) (This)->lpVtbl->AddRef(This)
  501. #define INapComponentConfig3_Release(This) (This)->lpVtbl->Release(This)
  502. /*** INapComponentConfig methods ***/
  503. #define INapComponentConfig3_IsUISupported(This,isSupported) (This)->lpVtbl->IsUISupported(This,isSupported)
  504. #define INapComponentConfig3_InvokeUI(This,hwndParent) (This)->lpVtbl->InvokeUI(This,hwndParent)
  505. #define INapComponentConfig3_GetConfig(This,bCount,data) (This)->lpVtbl->GetConfig(This,bCount,data)
  506. #define INapComponentConfig3_SetConfig(This,bCount,data) (This)->lpVtbl->SetConfig(This,bCount,data)
  507. /*** INapComponentConfig2 methods ***/
  508. #define INapComponentConfig3_IsRemoteConfigSupported(This,isSupported,remoteConfigType) (This)->lpVtbl->IsRemoteConfigSupported(This,isSupported,remoteConfigType)
  509. #define INapComponentConfig3_InvokeUIForMachine(This,hwndParent,machineName) (This)->lpVtbl->InvokeUIForMachine(This,hwndParent,machineName)
  510. #define INapComponentConfig3_InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged) (This)->lpVtbl->InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged)
  511. /*** INapComponentConfig3 methods ***/
  512. #define INapComponentConfig3_NewConfig(This,configID) (This)->lpVtbl->NewConfig(This,configID)
  513. #define INapComponentConfig3_DeleteConfig(This,configID) (This)->lpVtbl->DeleteConfig(This,configID)
  514. #define INapComponentConfig3_DeleteAllConfig(This) (This)->lpVtbl->DeleteAllConfig(This)
  515. #define INapComponentConfig3_GetConfigFromID(This,configID,count,outdata) (This)->lpVtbl->GetConfigFromID(This,configID,count,outdata)
  516. #define INapComponentConfig3_SetConfigToID(This,configID,count,data) (This)->lpVtbl->SetConfigToID(This,configID,count,data)
  517. #else
  518. /*** IUnknown methods ***/
  519. static FORCEINLINE HRESULT INapComponentConfig3_QueryInterface(INapComponentConfig3* This,REFIID riid,void **ppvObject) {
  520. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  521. }
  522. static FORCEINLINE ULONG INapComponentConfig3_AddRef(INapComponentConfig3* This) {
  523. return This->lpVtbl->AddRef(This);
  524. }
  525. static FORCEINLINE ULONG INapComponentConfig3_Release(INapComponentConfig3* This) {
  526. return This->lpVtbl->Release(This);
  527. }
  528. /*** INapComponentConfig methods ***/
  529. static FORCEINLINE HRESULT INapComponentConfig3_IsUISupported(INapComponentConfig3* This,WINBOOL *isSupported) {
  530. return This->lpVtbl->IsUISupported(This,isSupported);
  531. }
  532. static FORCEINLINE HRESULT INapComponentConfig3_InvokeUI(INapComponentConfig3* This,HWND hwndParent) {
  533. return This->lpVtbl->InvokeUI(This,hwndParent);
  534. }
  535. static FORCEINLINE HRESULT INapComponentConfig3_GetConfig(INapComponentConfig3* This,UINT16 *bCount,BYTE **data) {
  536. return This->lpVtbl->GetConfig(This,bCount,data);
  537. }
  538. static FORCEINLINE HRESULT INapComponentConfig3_SetConfig(INapComponentConfig3* This,UINT16 bCount,BYTE *data) {
  539. return This->lpVtbl->SetConfig(This,bCount,data);
  540. }
  541. /*** INapComponentConfig2 methods ***/
  542. static FORCEINLINE HRESULT INapComponentConfig3_IsRemoteConfigSupported(INapComponentConfig3* This,WINBOOL *isSupported,UINT8 *remoteConfigType) {
  543. return This->lpVtbl->IsRemoteConfigSupported(This,isSupported,remoteConfigType);
  544. }
  545. static FORCEINLINE HRESULT INapComponentConfig3_InvokeUIForMachine(INapComponentConfig3* This,HWND hwndParent,CountedString *machineName) {
  546. return This->lpVtbl->InvokeUIForMachine(This,hwndParent,machineName);
  547. }
  548. static FORCEINLINE HRESULT INapComponentConfig3_InvokeUIFromConfigBlob(INapComponentConfig3* This,HWND hwndParent,UINT16 inbCount,BYTE *inData,UINT16 *outbCount,BYTE **outdata,WINBOOL *fConfigChanged) {
  549. return This->lpVtbl->InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged);
  550. }
  551. /*** INapComponentConfig3 methods ***/
  552. static FORCEINLINE HRESULT INapComponentConfig3_NewConfig(INapComponentConfig3* This,UINT32 configID) {
  553. return This->lpVtbl->NewConfig(This,configID);
  554. }
  555. static FORCEINLINE HRESULT INapComponentConfig3_DeleteConfig(INapComponentConfig3* This,UINT32 configID) {
  556. return This->lpVtbl->DeleteConfig(This,configID);
  557. }
  558. static FORCEINLINE HRESULT INapComponentConfig3_DeleteAllConfig(INapComponentConfig3* This) {
  559. return This->lpVtbl->DeleteAllConfig(This);
  560. }
  561. static FORCEINLINE HRESULT INapComponentConfig3_GetConfigFromID(INapComponentConfig3* This,UINT32 configID,UINT16 *count,BYTE **outdata) {
  562. return This->lpVtbl->GetConfigFromID(This,configID,count,outdata);
  563. }
  564. static FORCEINLINE HRESULT INapComponentConfig3_SetConfigToID(INapComponentConfig3* This,UINT32 configID,UINT16 count,BYTE *data) {
  565. return This->lpVtbl->SetConfigToID(This,configID,count,data);
  566. }
  567. #endif
  568. #endif
  569. #endif
  570. #endif /* __INapComponentConfig3_INTERFACE_DEFINED__ */
  571. #endif
  572. /* Begin additional prototypes for all interfaces */
  573. ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *);
  574. unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *);
  575. unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
  576. void __RPC_USER HWND_UserFree (ULONG *, HWND *);
  577. /* End additional prototypes */
  578. #ifdef __cplusplus
  579. }
  580. #endif
  581. #endif /* __napcommon_h__ */