Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2203 lines
74 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for imnact.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __imnact_h__
  27. #define __imnact_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IImnAdviseAccount_FWD_DEFINED__
  33. #define __IImnAdviseAccount_FWD_DEFINED__
  34. typedef interface IImnAdviseAccount IImnAdviseAccount;
  35. #endif /* __IImnAdviseAccount_FWD_DEFINED__ */
  36. #ifndef __IImnAdviseMigrateServer_FWD_DEFINED__
  37. #define __IImnAdviseMigrateServer_FWD_DEFINED__
  38. typedef interface IImnAdviseMigrateServer IImnAdviseMigrateServer;
  39. #endif /* __IImnAdviseMigrateServer_FWD_DEFINED__ */
  40. #ifndef __IImnEnumAccounts_FWD_DEFINED__
  41. #define __IImnEnumAccounts_FWD_DEFINED__
  42. typedef interface IImnEnumAccounts IImnEnumAccounts;
  43. #endif /* __IImnEnumAccounts_FWD_DEFINED__ */
  44. #ifndef __IImnAccountManager_FWD_DEFINED__
  45. #define __IImnAccountManager_FWD_DEFINED__
  46. typedef interface IImnAccountManager IImnAccountManager;
  47. #endif /* __IImnAccountManager_FWD_DEFINED__ */
  48. #ifndef __IImnAccountManager2_FWD_DEFINED__
  49. #define __IImnAccountManager2_FWD_DEFINED__
  50. typedef interface IImnAccountManager2 IImnAccountManager2;
  51. #endif /* __IImnAccountManager2_FWD_DEFINED__ */
  52. #ifndef __IPropertyContainer_FWD_DEFINED__
  53. #define __IPropertyContainer_FWD_DEFINED__
  54. typedef interface IPropertyContainer IPropertyContainer;
  55. #endif /* __IPropertyContainer_FWD_DEFINED__ */
  56. #ifndef __IImnAccount_FWD_DEFINED__
  57. #define __IImnAccount_FWD_DEFINED__
  58. typedef interface IImnAccount IImnAccount;
  59. #endif /* __IImnAccount_FWD_DEFINED__ */
  60. /* header files for imported files */
  61. #include "objidl.h"
  62. #ifdef __cplusplus
  63. extern "C"{
  64. #endif
  65. void * __RPC_USER MIDL_user_allocate(size_t);
  66. void __RPC_USER MIDL_user_free( void * );
  67. /* interface __MIDL_itf_imnact_0000 */
  68. /* [local] */
  69. //=--------------------------------------------------------------------------=
  70. // Imnact.h
  71. //=--------------------------------------------------------------------------=
  72. // (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.
  73. //
  74. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  75. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  76. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  77. // PARTICULAR PURPOSE.
  78. //=--------------------------------------------------------------------------=
  79. #pragma comment(lib,"uuid.lib")
  80. //---------------------------------------------------------------------------=
  81. // Internet Mail and News Account Manager Interfaces.
  82. // --------------------------------------------------------------------------------
  83. // GUIDS
  84. // --------------------------------------------------------------------------------
  85. #if !defined( WIN16 ) || defined( __cplusplus )
  86. // {8D4B04E1-1331-11d0-81B8-00C04FD85AB4}
  87. DEFINE_GUID(CLSID_ImnAccountManager, 0x8d4b04e1, 0x1331, 0x11d0, 0x81, 0xb8, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);
  88. // {FD465484-1384-11d0-ABBD-0020AFDFD10A}
  89. DEFINE_GUID(IID_IPropertyContainer, 0xfd465484, 0x1384, 0x11d0, 0xab, 0xbd, 0x0, 0x20, 0xaf, 0xdf, 0xd1, 0xa);
  90. // {FD465481-1384-11d0-ABBD-0020AFDFD10A}
  91. DEFINE_GUID(IID_IImnAccountManager, 0xfd465481, 0x1384, 0x11d0, 0xab, 0xbd, 0x0, 0x20, 0xaf, 0xdf, 0xd1, 0xa);
  92. // {C43DFC6F-62BB-11d2-A727-00C04F79E7C8}
  93. DEFINE_GUID(IID_IImnAccountManager2, 0xc43dfc6f, 0x62bb, 0x11d2, 0xa7, 0x27, 0x0, 0xc0, 0x4f, 0x79, 0xe7, 0xc8);
  94. // {FD465482-1384-11d0-ABBD-0020AFDFD10A}
  95. DEFINE_GUID(IID_IImnAccount, 0xfd465482, 0x1384, 0x11d0, 0xab, 0xbd, 0x0, 0x20, 0xaf, 0xdf, 0xd1, 0xa);
  96. // {FD465483-1384-11d0-ABBD-0020AFDFD10A}
  97. DEFINE_GUID(IID_IImnEnumAccounts, 0xfd465483, 0x1384, 0x11d0, 0xab, 0xbd, 0x0, 0x20, 0xaf, 0xdf, 0xd1, 0xa);
  98. // {8D0AED11-1638-11d0-81B9-00C04FD85AB4}
  99. DEFINE_GUID(IID_IImnAdviseMigrateServer, 0x8d0aed11, 0x1638, 0x11d0, 0x81, 0xb9, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);
  100. // {0A06BD31-166F-11d0-81B9-00C04FD85AB4}
  101. DEFINE_GUID(IID_IImnAdviseAccount, 0xa06bd31, 0x166f, 0x11d0, 0x81, 0xb9, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);
  102. #endif //!WIN16 || __cplusplus
  103. // --------------------------------------------------------------------------------
  104. // Exported C Functions
  105. // --------------------------------------------------------------------------------
  106. #if !defined(_IMNACCT_)
  107. #define IMNACCTAPI DECLSPEC_IMPORT HRESULT WINAPI
  108. #define IMNACCTAPI_(_type_) DECLSPEC_IMPORT _type_ WINAPI
  109. #else
  110. #define IMNACCTAPI HRESULT WINAPI
  111. #define IMNACCTAPI_(_type_) _type_ WINAPI
  112. #endif
  113. #ifdef __cplusplus
  114. extern "C" {
  115. #endif
  116. IMNACCTAPI HrCreateAccountManager(IImnAccountManager **ppAccountManager);
  117. IMNACCTAPI ValidEmailAddress(LPSTR lpAddress);
  118. #ifdef __cplusplus
  119. }
  120. #endif
  121. // --------------------------------------------------------------------------------
  122. // Errors
  123. // --------------------------------------------------------------------------------
  124. #ifndef FACILITY_INTERNET
  125. #define FACILITY_INTERNET 12
  126. #endif
  127. #ifndef HR_E
  128. #define HR_E(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_INTERNET, n)
  129. #endif
  130. #ifndef HR_S
  131. #define HR_S(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_INTERNET, n)
  132. #endif
  133. #ifndef HR_CODE
  134. #define HR_CODE(hr) (INT)(hr & 0xffff)
  135. #endif
  136. // --------------------------------------------------------------------------------
  137. // General Errors
  138. // --------------------------------------------------------------------------------
  139. #define E_RegCreateKeyFailed HR_E(0xCD00)
  140. #define E_RegQueryInfoKeyFailed HR_E(0xCD01)
  141. #define E_UserCancel HR_E(0xCD02)
  142. #define E_RegOpenKeyFailed HR_E(0xCD03)
  143. #define E_RegSetValueFailed HR_E(0xCD04)
  144. #define E_RegDeleteKeyFailed HR_E(0xCD05)
  145. #define E_DuplicateAccountName HR_E(0xCD06)
  146. #define S_NonStandardValue HR_S(0xCD07)
  147. #define E_InvalidValue HR_E(0xCD08)
  148. #define S_AlreadyInitialized HR_S(0xCD09)
  149. // --------------------------------------------------------------------------------
  150. // IPropertyContainer Errors
  151. // --------------------------------------------------------------------------------
  152. #define E_NoPropData HR_E(0xCDA0)
  153. #define E_BufferTooSmall HR_E(0xCDA1)
  154. #define E_BadPropType HR_E(0xCDA2)
  155. #define E_BufferSizeMismatch HR_E(0xCDA3)
  156. #define E_InvalidBooleanValue HR_E(0xCDA4)
  157. #define E_InvalidMinMaxValue HR_E(0xCDA5)
  158. #define E_PropNotFound HR_E(0xCDA6)
  159. #define E_InvalidPropTag HR_E(0xCDA7)
  160. #define E_InvalidPropertySet HR_E(0xCDA8)
  161. #define E_EnumFinished HR_E(0xCDA9)
  162. #define S_NoSaveNeeded HR_S(0xCDAA)
  163. #define S_PasswordDeleted HR_S(0xCDAB)
  164. #define S_PasswordNotFound HR_S(0xCDAC)
  165. // --------------------------------------------------------------------------------
  166. // ImnAccountManager errors
  167. // --------------------------------------------------------------------------------
  168. #define E_NoAccounts HR_E(0xCDD0)
  169. #define E_BadFriendlyName HR_E(0xCDD1)
  170. #define E_NoIdentities HR_E(0xCDD2)
  171. // --------------------------------------------------------------------------------
  172. // RAS Connection Types
  173. // --------------------------------------------------------------------------------
  174. #define CF_AUTO_CONNECT FLAG02 // Automatically connect
  175. // --------------------------------------------------------------------------------
  176. // Property Macros
  177. // --------------------------------------------------------------------------------
  178. #define PROPTAG_MASK ((ULONG)0x0000FFFF)
  179. #define PROPTAG_TYPE(ulPropTag) (PROPTYPE)(((ULONG)(ulPropTag)) & PROPTAG_MASK)
  180. #define PROPTAG_ID(ulPropTag) (((ULONG)(ulPropTag))>>16)
  181. #define PROPTAG(ulPropType,ulPropID) ((((ULONG)(ulPropID))<<16)|((ULONG)(ulPropType)))
  182. #define MAX_PROPID ((ULONG) 0xFFFF)
  183. // --------------------------------------------------------------------------------
  184. // IImnAccount Properties
  185. // --------------------------------------------------------------------------------
  186. #define AP_FIRST 0X1234
  187. // per account properties
  188. #define AP_ACCOUNT_NAME PROPTAG(TYPE_STRING, AP_FIRST+1)
  189. #define AP_ACCOUNT_FIRST AP_ACCOUNT_NAME
  190. #define AP_TEMP_ACCOUNT PROPTAG(TYPE_DWORD, AP_FIRST+3)
  191. #define AP_LAST_UPDATED PROPTAG(TYPE_FILETIME, AP_FIRST+4)
  192. #define AP_RAS_CONNECTION_TYPE PROPTAG(TYPE_DWORD, AP_FIRST+5)
  193. #define AP_RAS_CONNECTOID PROPTAG(TYPE_STRING, AP_FIRST+6)
  194. #define AP_RAS_CONNECTION_FLAGS PROPTAG(TYPE_DWORD, AP_FIRST+7)
  195. #define AP_ACCOUNT_ID PROPTAG(TYPE_STRING, AP_FIRST+9)
  196. #define AP_RAS_BACKUP_CONNECTOID PROPTAG(TYPE_STRING, AP_FIRST+10)
  197. #define AP_SERVICE PROPTAG(TYPE_STRING, AP_FIRST+11)
  198. #define AP_AVAIL_OFFLINE PROPTAG(TYPE_DWORD, AP_FIRST+12)
  199. #define AP_UNIQUE_ID PROPTAG(TYPE_BINARY, AP_FIRST+13)
  200. #define AP_SERVER_READ_ONLY PROPTAG(TYPE_BOOL, AP_FIRST+14)
  201. #define AP_ACCOUNT_LAST AP_SERVER_READ_ONLY
  202. // IMAP properties
  203. #define AP_IMAP_SERVER PROPTAG(TYPE_STRING, AP_FIRST+100)
  204. #define AP_IMAP_FIRST AP_IMAP_SERVER
  205. #define AP_IMAP_USERNAME PROPTAG(TYPE_STRING, AP_FIRST+101)
  206. #define AP_IMAP_PASSWORD PROPTAG(TYPE_PASS, AP_FIRST+102)
  207. #define AP_IMAP_USE_SICILY PROPTAG(TYPE_BOOL, AP_FIRST+104)
  208. #define AP_IMAP_PORT PROPTAG(TYPE_DWORD, AP_FIRST+105)
  209. #define AP_IMAP_SSL PROPTAG(TYPE_BOOL, AP_FIRST+106)
  210. #define AP_IMAP_TIMEOUT PROPTAG(TYPE_DWORD, AP_FIRST+107)
  211. #define AP_IMAP_ROOT_FOLDER PROPTAG(TYPE_STRING, AP_FIRST+108)
  212. #define AP_IMAP_DATA_DIR PROPTAG(TYPE_STRING, AP_FIRST+109)
  213. #define AP_IMAP_USE_LSUB PROPTAG(TYPE_BOOL, AP_FIRST+111)
  214. #define AP_IMAP_POLL PROPTAG(TYPE_BOOL, AP_FIRST+112)
  215. #define AP_IMAP_FULL_LIST PROPTAG(TYPE_BOOL, AP_FIRST+113)
  216. #define AP_IMAP_NOOP_INTERVAL PROPTAG(TYPE_DWORD, AP_FIRST+114)
  217. #define AP_IMAP_SVRSPECIALFLDRS PROPTAG(TYPE_BOOL, AP_FIRST+116)
  218. #define AP_IMAP_SENTITEMSFLDR PROPTAG(TYPE_STRING, AP_FIRST+117)
  219. #define AP_IMAP_DRAFTSFLDR PROPTAG(TYPE_STRING, AP_FIRST+119)
  220. #define AP_IMAP_PROMPT_PASSWORD PROPTAG(TYPE_BOOL, AP_FIRST+124)
  221. #define AP_IMAP_DIRTY PROPTAG(TYPE_DWORD, AP_FIRST+125)
  222. #define AP_IMAP_POLL_ALL_FOLDERS PROPTAG(TYPE_BOOL, AP_FIRST+126)
  223. #define AP_IMAP_LAST AP_IMAP_POLL_ALL_FOLDERS
  224. // LDAP properties
  225. #define AP_LDAP_SERVER PROPTAG(TYPE_STRING, AP_FIRST+200)
  226. #define AP_LDAP_FIRST AP_LDAP_SERVER
  227. #define AP_LDAP_USERNAME PROPTAG(TYPE_STRING, AP_FIRST+201)
  228. #define AP_LDAP_PASSWORD PROPTAG(TYPE_PASS, AP_FIRST+202)
  229. #define AP_LDAP_AUTHENTICATION PROPTAG(TYPE_DWORD, AP_FIRST+203)
  230. #define AP_LDAP_TIMEOUT PROPTAG(TYPE_DWORD, AP_FIRST+204)
  231. #define AP_LDAP_SEARCH_RETURN PROPTAG(TYPE_DWORD, AP_FIRST+205)
  232. #define AP_LDAP_SEARCH_BASE PROPTAG(TYPE_STRING, AP_FIRST+206)
  233. #define AP_LDAP_SERVER_ID PROPTAG(TYPE_DWORD, AP_FIRST+207)
  234. #define AP_LDAP_RESOLVE_FLAG PROPTAG(TYPE_DWORD, AP_FIRST+208)
  235. #define AP_LDAP_URL PROPTAG(TYPE_STRING, AP_FIRST+209)
  236. #define AP_LDAP_PORT PROPTAG(TYPE_DWORD, AP_FIRST+210)
  237. #define AP_LDAP_SSL PROPTAG(TYPE_BOOL, AP_FIRST+211)
  238. #define AP_LDAP_LOGO PROPTAG(TYPE_STRING, AP_FIRST+212)
  239. #define AP_LDAP_USE_BIND_DN PROPTAG(TYPE_DWORD, AP_FIRST+213)
  240. #define AP_LDAP_SIMPLE_SEARCH PROPTAG(TYPE_DWORD, AP_FIRST+214)
  241. #define AP_LDAP_ADVANCED_SEARCH_ATTR PROPTAG(TYPE_STRING, AP_FIRST+215)
  242. #define AP_LDAP_PAGED_RESULTS PROPTAG(TYPE_DWORD, AP_FIRST+216)
  243. #define AP_LDAP_NTDS PROPTAG(TYPE_DWORD, AP_FIRST+217)
  244. #define AP_LDAP_LAST AP_LDAP_NTDS
  245. // HTTPMail properties
  246. #define AP_HTTPMAIL_SERVER PROPTAG(TYPE_STRING, AP_FIRST+250)
  247. #define AP_HTTPMAIL_FIRST AP_HTTPMAIL_SERVER
  248. #define AP_HTTPMAIL_USERNAME PROPTAG(TYPE_STRING, AP_FIRST+251)
  249. #define AP_HTTPMAIL_PASSWORD PROPTAG(TYPE_PASS, AP_FIRST+252)
  250. #define AP_HTTPMAIL_PROMPT_PASSWORD PROPTAG(TYPE_BOOL, AP_FIRST+253)
  251. #define AP_HTTPMAIL_USE_SICILY PROPTAG(TYPE_DWORD, AP_FIRST+254)
  252. #define AP_HTTPMAIL_FRIENDLY_NAME PROPTAG(TYPE_STRING, AP_FIRST+255)
  253. #define AP_HTTPMAIL_DOMAIN_MSN PROPTAG(TYPE_BOOL, AP_FIRST+256)
  254. #define AP_HTTPMAIL_POLL PROPTAG(TYPE_BOOL, AP_FIRST+257)
  255. #define AP_HTTPMAIL_LAST AP_HTTPMAIL_POLL
  256. // NNTP properties
  257. #define AP_NNTP_SERVER PROPTAG(TYPE_STRING, AP_FIRST+300)
  258. #define AP_NNTP_FIRST AP_NNTP_SERVER
  259. #define AP_NNTP_USERNAME PROPTAG(TYPE_STRING, AP_FIRST+301)
  260. #define AP_NNTP_PASSWORD PROPTAG(TYPE_PASS, AP_FIRST+302)
  261. #define AP_NNTP_USE_SICILY PROPTAG(TYPE_BOOL, AP_FIRST+304)
  262. #define AP_NNTP_PORT PROPTAG(TYPE_DWORD, AP_FIRST+305)
  263. #define AP_NNTP_SSL PROPTAG(TYPE_BOOL, AP_FIRST+306)
  264. #define AP_NNTP_TIMEOUT PROPTAG(TYPE_DWORD, AP_FIRST+307)
  265. #define AP_NNTP_DISPLAY_NAME PROPTAG(TYPE_STRING, AP_FIRST+308)
  266. #define AP_NNTP_ORG_NAME PROPTAG(TYPE_STRING, AP_FIRST+309)
  267. #define AP_NNTP_EMAIL_ADDRESS PROPTAG(TYPE_STRING, AP_FIRST+310)
  268. #define AP_NNTP_REPLY_EMAIL_ADDRESS PROPTAG(TYPE_STRING, AP_FIRST+311)
  269. #define AP_NNTP_SPLIT_MESSAGES PROPTAG(TYPE_BOOL, AP_FIRST+312)
  270. #define AP_NNTP_SPLIT_SIZE PROPTAG(TYPE_DWORD, AP_FIRST+313)
  271. #define AP_NNTP_USE_DESCRIPTIONS PROPTAG(TYPE_BOOL, AP_FIRST+314)
  272. #define AP_NNTP_DATA_DIR PROPTAG(TYPE_STRING, AP_FIRST+315)
  273. #define AP_NNTP_POLL PROPTAG(TYPE_BOOL, AP_FIRST+316)
  274. #define AP_NNTP_POST_FORMAT PROPTAG(TYPE_DWORD, AP_FIRST+317)
  275. #define AP_NNTP_SIGNATURE PROPTAG(TYPE_STRING, AP_FIRST+318)
  276. #define AP_NNTP_PROMPT_PASSWORD PROPTAG(TYPE_BOOL, AP_FIRST+319)
  277. #define AP_NNTP_LAST AP_NNTP_PROMPT_PASSWORD
  278. // POP3 properties
  279. #define AP_POP3_SERVER PROPTAG(TYPE_STRING, AP_FIRST+400)
  280. #define AP_POP3_FIRST AP_POP3_SERVER
  281. #define AP_POP3_USERNAME PROPTAG(TYPE_STRING, AP_FIRST+401)
  282. #define AP_POP3_PASSWORD PROPTAG(TYPE_PASS, AP_FIRST+402)
  283. #define AP_POP3_USE_SICILY PROPTAG(TYPE_BOOL, AP_FIRST+404)
  284. #define AP_POP3_PORT PROPTAG(TYPE_DWORD, AP_FIRST+405)
  285. #define AP_POP3_SSL PROPTAG(TYPE_BOOL, AP_FIRST+406)
  286. #define AP_POP3_TIMEOUT PROPTAG(TYPE_DWORD, AP_FIRST+407)
  287. #define AP_POP3_LEAVE_ON_SERVER PROPTAG(TYPE_BOOL, AP_FIRST+408)
  288. #define AP_POP3_REMOVE_DELETED PROPTAG(TYPE_BOOL, AP_FIRST+409)
  289. #define AP_POP3_REMOVE_EXPIRED PROPTAG(TYPE_BOOL, AP_FIRST+410)
  290. #define AP_POP3_EXPIRE_DAYS PROPTAG(TYPE_DWORD, AP_FIRST+411)
  291. #define AP_POP3_SKIP PROPTAG(TYPE_BOOL, AP_FIRST+412)
  292. #define AP_POP3_OUTLOOK_CACHE_NAME PROPTAG(TYPE_STRING, AP_FIRST+413)
  293. #define AP_POP3_PROMPT_PASSWORD PROPTAG(TYPE_BOOL, AP_FIRST+414)
  294. #define AP_POP3_LAST AP_POP3_PROMPT_PASSWORD
  295. // SMTP properties
  296. #define AP_SMTP_SERVER PROPTAG(TYPE_STRING, AP_FIRST+500)
  297. #define AP_SMTP_FIRST AP_SMTP_SERVER
  298. #define AP_SMTP_USERNAME PROPTAG(TYPE_STRING, AP_FIRST+501)
  299. #define AP_SMTP_PASSWORD PROPTAG(TYPE_PASS, AP_FIRST+502)
  300. #define AP_SMTP_USE_SICILY PROPTAG(TYPE_DWORD, AP_FIRST+504) // SMTPAUTHTYEP
  301. #define AP_SMTP_PORT PROPTAG(TYPE_DWORD, AP_FIRST+505)
  302. #define AP_SMTP_SSL PROPTAG(TYPE_BOOL, AP_FIRST+506)
  303. #define AP_SMTP_TIMEOUT PROPTAG(TYPE_DWORD, AP_FIRST+507)
  304. #define AP_SMTP_DISPLAY_NAME PROPTAG(TYPE_STRING, AP_FIRST+508)
  305. #define AP_SMTP_ORG_NAME PROPTAG(TYPE_STRING, AP_FIRST+509)
  306. #define AP_SMTP_EMAIL_ADDRESS PROPTAG(TYPE_STRING, AP_FIRST+510)
  307. #define AP_SMTP_REPLY_EMAIL_ADDRESS PROPTAG(TYPE_STRING, AP_FIRST+511)
  308. #define AP_SMTP_SPLIT_MESSAGES PROPTAG(TYPE_BOOL, AP_FIRST+512)
  309. #define AP_SMTP_SPLIT_SIZE PROPTAG(TYPE_DWORD, AP_FIRST+513)
  310. #define AP_SMTP_CERTIFICATE PROPTAG(TYPE_BINARY, AP_FIRST+514)
  311. #define AP_SMTP_SIGNATURE PROPTAG(TYPE_STRING, AP_FIRST+515)
  312. #define AP_SMTP_PROMPT_PASSWORD PROPTAG(TYPE_BOOL, AP_FIRST+516)
  313. #define AP_SMTP_LAST AP_SMTP_PROMPT_PASSWORD
  314. // --------------------------------------------------------------------------------
  315. // Account Flags
  316. // --------------------------------------------------------------------------------
  317. #define ACCT_FLAG_NEWS ((DWORD)1)
  318. #define ACCT_FLAG_MAIL ((DWORD)2)
  319. #define ACCT_FLAG_DIR_SERV ((DWORD)4)
  320. #define ACCT_FLAG_ALL (ACCT_FLAG_NEWS | ACCT_FLAG_MAIL | ACCT_FLAG_DIR_SERV)
  321. // --------------------------------------------------------------------------------
  322. // Server Types
  323. // --------------------------------------------------------------------------------
  324. #define SRV_NNTP ((DWORD)1)
  325. #define SRV_IMAP ((DWORD)2)
  326. #define SRV_POP3 ((DWORD)4)
  327. #define SRV_SMTP ((DWORD)8)
  328. #define SRV_LDAP ((DWORD)16)
  329. #define SRV_HTTPMAIL ((DWORD)32)
  330. #define SRV_MAIL ((DWORD)(SRV_IMAP | SRV_POP3 | SRV_SMTP | SRV_HTTPMAIL))
  331. #define SRV_ALL ((DWORD)(SRV_NNTP | SRV_IMAP | SRV_POP3 | SRV_SMTP | SRV_LDAP | SRV_HTTPMAIL))
  332. // --------------------------------------------------------------------------------
  333. // LDAP Authentication Types
  334. // --------------------------------------------------------------------------------
  335. #define LDAP_AUTH_ANONYMOUS ((DWORD)0)
  336. #define LDAP_AUTH_PASSWORD ((DWORD)1)
  337. #define LDAP_AUTH_MEMBER_SYSTEM ((DWORD)2)
  338. #define LDAP_AUTH_MAX ((DWORD)2)
  339. // --------------------------------------------------------------------------------
  340. // LDAP Paged Result Support Types
  341. // --------------------------------------------------------------------------------
  342. #define LDAP_PRESULT_UNKNOWN ((DWORD)0)
  343. #define LDAP_PRESULT_SUPPORTED ((DWORD)1)
  344. #define LDAP_PRESULT_NOTSUPPORTED ((DWORD)2)
  345. #define LDAP_PRESULT_MAX ((DWORD)2)
  346. // --------------------------------------------------------------------------------
  347. // LDAP NTDS Types
  348. // --------------------------------------------------------------------------------
  349. #define LDAP_NTDS_UNKNOWN ((DWORD)0)
  350. #define LDAP_NTDS_IS ((DWORD)1)
  351. #define LDAP_NTDS_ISNOT ((DWORD)2)
  352. #define LDAP_NTDS_MAX ((DWORD)2)
  353. // --------------------------------------------------------------------------------
  354. // AP_NNTP_POST_FORMAT types
  355. // --------------------------------------------------------------------------------
  356. #define POST_USE_DEFAULT ((DWORD)0)
  357. #define POST_USE_PLAIN_TEXT ((DWORD)1)
  358. #define POST_USE_HTML ((DWORD)2)
  359. // -----------------------------------------------------------------------------
  360. // Account Manager Notification Types
  361. // -----------------------------------------------------------------------------
  362. #define AN_ACCOUNT_DELETED WM_USER + 1
  363. #define AN_ACCOUNT_ADDED WM_USER + 2
  364. #define AN_ACCOUNT_CHANGED WM_USER + 3
  365. #define AN_DEFAULT_CHANGED WM_USER + 4
  366. #define AN_SERVERTYPES_CHANGED WM_USER + 5
  367. #define AN_ACCOUNT_PREDELETE WM_USER + 6
  368. // IImnAccountManager::AccountListDialog flags
  369. // IImnAccount::ShowProperties flags
  370. #define ACCTDLG_NO_IMAP 0x0001
  371. #define ACCTDLG_NO_REMOVEDELETE 0x0002
  372. #define ACCTDLG_NO_BREAKMESSAGES 0x0004
  373. #define ACCTDLG_NO_REMOVEAFTER 0x0008
  374. #define ACCTDLG_NO_SENDRECEIVE 0x0010
  375. #define ACCTDLG_NO_NEWSPOLL 0x0020
  376. #define ACCTDLG_NO_SECURITY 0x0040
  377. #define ACCTDLG_BACKUP_CONNECT 0x0080
  378. #define ACCTDLG_NO_IMAPPOLL 0x0100
  379. #define ACCTDLG_NO_NEW_POP 0x0200
  380. #define ACCTDLG_SHOWIMAPSPECIAL 0x0400
  381. #define ACCTDLG_INTERNETCONNECTION 0x0800
  382. #define ACCTDLG_HTTPMAIL 0x1000
  383. #define ACCTDLG_REVOCATION 0x2000
  384. #define ACCTDLG_OE 0x4000
  385. #define ACCTDLG_ALL 0x7fff
  386. // AP_RAS_CONNECTION_TYPE values
  387. #define CONNECTION_TYPE_LAN 0
  388. #define CONNECTION_TYPE_MANUAL 1
  389. #define CONNECTION_TYPE_RAS 2
  390. #define CONNECTION_TYPE_INETSETTINGS 3
  391. // IImnAccount::DoWizard flags
  392. #define ACCT_WIZ_MIGRATE 0x0001
  393. #define ACCT_WIZ_MAILIMPORT 0x0002
  394. #define ACCT_WIZ_OUTLOOK 0x0004
  395. #define ACCT_WIZ_NEWSIMPORT 0x0008
  396. #define ACCT_WIZ_NO_NEW_POP 0x0010
  397. #define ACCT_WIZ_INTERNETCONNECTION 0x0020
  398. #define ACCT_WIZ_HTTPMAIL 0x0040
  399. #define ACCT_WIZ_OE 0x0080
  400. // IImnAccount::InitEx flags
  401. #define ACCT_INIT_ATHENA 0x0001
  402. #define ACCT_INIT_OUTLOOK 0x0002
  403. // AP_IMAP_DIRTY flags
  404. #define IMAP_FLDRLIST_DIRTY 0x0001
  405. #define IMAP_OE4MIGRATE_DIRTY 0x0002
  406. #define IMAP_SENTITEMS_DIRTY 0x0004
  407. #define IMAP_DRAFTS_DIRTY 0x0008
  408. typedef
  409. enum tagSMTPAUTHTYPE
  410. { SMTP_AUTH_NONE = 0,
  411. SMTP_AUTH_SICILY = SMTP_AUTH_NONE + 1,
  412. SMTP_AUTH_USE_POP3ORIMAP_SETTINGS = SMTP_AUTH_SICILY + 1,
  413. SMTP_AUTH_USE_SMTP_SETTINGS = SMTP_AUTH_USE_POP3ORIMAP_SETTINGS + 1
  414. } SMTPAUTHTYPE;
  415. #define CCHMAX_ORG_NAME ( 256 )
  416. #define CCHMAX_DISPLAY_NAME ( 256 )
  417. #define CCHMAX_ACCOUNT_NAME ( 256 )
  418. #define CCHMAX_SERVER_NAME ( 256 )
  419. #define CCHMAX_PASSWORD ( 256 )
  420. #define CCHMAX_USERNAME ( 256 )
  421. #define CCHMAX_EMAIL_ADDRESS ( 256 )
  422. #define CCHMAX_CONNECTOID ( 256 )
  423. #define CCHMAX_SEARCH_BASE ( 256 )
  424. #define CCHMAX_ROOT_FOLDER ( 256 )
  425. #define CCHMAX_SIGNATURE ( 16 )
  426. #define CCHMAX_SERVICE ( 256 )
  427. extern RPC_IF_HANDLE __MIDL_itf_imnact_0000_v0_0_c_ifspec;
  428. extern RPC_IF_HANDLE __MIDL_itf_imnact_0000_v0_0_s_ifspec;
  429. #ifndef __IImnAdviseAccount_INTERFACE_DEFINED__
  430. #define __IImnAdviseAccount_INTERFACE_DEFINED__
  431. /* interface IImnAdviseAccount */
  432. /* [unique][uuid][object] */
  433. typedef /* [public][public][public][public][public][public][public][public][public][public][public][public] */
  434. enum __MIDL_IImnAdviseAccount_0001
  435. { ACCT_NEWS = 0,
  436. ACCT_MAIL = ACCT_NEWS + 1,
  437. ACCT_DIR_SERV = ACCT_MAIL + 1,
  438. ACCT_LAST = ACCT_DIR_SERV + 1
  439. } ACCTTYPE;
  440. typedef struct tagAccountContext
  441. {
  442. ACCTTYPE AcctType;
  443. LPSTR pszAccountID;
  444. LPSTR pszOldName;
  445. DWORD dwServerType;
  446. } ACTX;
  447. EXTERN_C const IID IID_IImnAdviseAccount;
  448. #if defined(__cplusplus) && !defined(CINTERFACE)
  449. MIDL_INTERFACE("0A06BD31-166F-11d0-81B9-00C04FD85AB4")
  450. IImnAdviseAccount : public IUnknown
  451. {
  452. public:
  453. virtual HRESULT STDMETHODCALLTYPE AdviseAccount(
  454. /* [in] */ DWORD dwAdviseType,
  455. /* [in] */ ACTX *pAcctCtx) = 0;
  456. };
  457. #else /* C style interface */
  458. typedef struct IImnAdviseAccountVtbl
  459. {
  460. BEGIN_INTERFACE
  461. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  462. IImnAdviseAccount * This,
  463. /* [in] */ REFIID riid,
  464. /* [iid_is][out] */ void **ppvObject);
  465. ULONG ( STDMETHODCALLTYPE *AddRef )(
  466. IImnAdviseAccount * This);
  467. ULONG ( STDMETHODCALLTYPE *Release )(
  468. IImnAdviseAccount * This);
  469. HRESULT ( STDMETHODCALLTYPE *AdviseAccount )(
  470. IImnAdviseAccount * This,
  471. /* [in] */ DWORD dwAdviseType,
  472. /* [in] */ ACTX *pAcctCtx);
  473. END_INTERFACE
  474. } IImnAdviseAccountVtbl;
  475. interface IImnAdviseAccount
  476. {
  477. CONST_VTBL struct IImnAdviseAccountVtbl *lpVtbl;
  478. };
  479. #ifdef COBJMACROS
  480. #define IImnAdviseAccount_QueryInterface(This,riid,ppvObject) \
  481. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  482. #define IImnAdviseAccount_AddRef(This) \
  483. (This)->lpVtbl -> AddRef(This)
  484. #define IImnAdviseAccount_Release(This) \
  485. (This)->lpVtbl -> Release(This)
  486. #define IImnAdviseAccount_AdviseAccount(This,dwAdviseType,pAcctCtx) \
  487. (This)->lpVtbl -> AdviseAccount(This,dwAdviseType,pAcctCtx)
  488. #endif /* COBJMACROS */
  489. #endif /* C style interface */
  490. HRESULT STDMETHODCALLTYPE IImnAdviseAccount_AdviseAccount_Proxy(
  491. IImnAdviseAccount * This,
  492. /* [in] */ DWORD dwAdviseType,
  493. /* [in] */ ACTX *pAcctCtx);
  494. void __RPC_STUB IImnAdviseAccount_AdviseAccount_Stub(
  495. IRpcStubBuffer *This,
  496. IRpcChannelBuffer *_pRpcChannelBuffer,
  497. PRPC_MESSAGE _pRpcMessage,
  498. DWORD *_pdwStubPhase);
  499. #endif /* __IImnAdviseAccount_INTERFACE_DEFINED__ */
  500. #ifndef __IImnAdviseMigrateServer_INTERFACE_DEFINED__
  501. #define __IImnAdviseMigrateServer_INTERFACE_DEFINED__
  502. /* interface IImnAdviseMigrateServer */
  503. /* [unique][uuid][object] */
  504. EXTERN_C const IID IID_IImnAdviseMigrateServer;
  505. #if defined(__cplusplus) && !defined(CINTERFACE)
  506. MIDL_INTERFACE("8D0AED11-1638-11d0-81B9-00C04FD85AB4")
  507. IImnAdviseMigrateServer : public IUnknown
  508. {
  509. public:
  510. virtual HRESULT STDMETHODCALLTYPE MigrateServer(
  511. /* [in] */ DWORD dwSrvType,
  512. /* [in] */ IImnAccount *pAccount) = 0;
  513. };
  514. #else /* C style interface */
  515. typedef struct IImnAdviseMigrateServerVtbl
  516. {
  517. BEGIN_INTERFACE
  518. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  519. IImnAdviseMigrateServer * This,
  520. /* [in] */ REFIID riid,
  521. /* [iid_is][out] */ void **ppvObject);
  522. ULONG ( STDMETHODCALLTYPE *AddRef )(
  523. IImnAdviseMigrateServer * This);
  524. ULONG ( STDMETHODCALLTYPE *Release )(
  525. IImnAdviseMigrateServer * This);
  526. HRESULT ( STDMETHODCALLTYPE *MigrateServer )(
  527. IImnAdviseMigrateServer * This,
  528. /* [in] */ DWORD dwSrvType,
  529. /* [in] */ IImnAccount *pAccount);
  530. END_INTERFACE
  531. } IImnAdviseMigrateServerVtbl;
  532. interface IImnAdviseMigrateServer
  533. {
  534. CONST_VTBL struct IImnAdviseMigrateServerVtbl *lpVtbl;
  535. };
  536. #ifdef COBJMACROS
  537. #define IImnAdviseMigrateServer_QueryInterface(This,riid,ppvObject) \
  538. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  539. #define IImnAdviseMigrateServer_AddRef(This) \
  540. (This)->lpVtbl -> AddRef(This)
  541. #define IImnAdviseMigrateServer_Release(This) \
  542. (This)->lpVtbl -> Release(This)
  543. #define IImnAdviseMigrateServer_MigrateServer(This,dwSrvType,pAccount) \
  544. (This)->lpVtbl -> MigrateServer(This,dwSrvType,pAccount)
  545. #endif /* COBJMACROS */
  546. #endif /* C style interface */
  547. HRESULT STDMETHODCALLTYPE IImnAdviseMigrateServer_MigrateServer_Proxy(
  548. IImnAdviseMigrateServer * This,
  549. /* [in] */ DWORD dwSrvType,
  550. /* [in] */ IImnAccount *pAccount);
  551. void __RPC_STUB IImnAdviseMigrateServer_MigrateServer_Stub(
  552. IRpcStubBuffer *This,
  553. IRpcChannelBuffer *_pRpcChannelBuffer,
  554. PRPC_MESSAGE _pRpcMessage,
  555. DWORD *_pdwStubPhase);
  556. #endif /* __IImnAdviseMigrateServer_INTERFACE_DEFINED__ */
  557. #ifndef __IImnEnumAccounts_INTERFACE_DEFINED__
  558. #define __IImnEnumAccounts_INTERFACE_DEFINED__
  559. /* interface IImnEnumAccounts */
  560. /* [unique][uuid][object] */
  561. EXTERN_C const IID IID_IImnEnumAccounts;
  562. #if defined(__cplusplus) && !defined(CINTERFACE)
  563. MIDL_INTERFACE("FD465483-1384-11d0-ABBD-0020AFDFD10A")
  564. IImnEnumAccounts : public IUnknown
  565. {
  566. public:
  567. virtual HRESULT STDMETHODCALLTYPE GetCount(
  568. /* [out] */ ULONG *pcItems) = 0;
  569. virtual HRESULT STDMETHODCALLTYPE SortByAccountName( void) = 0;
  570. virtual HRESULT STDMETHODCALLTYPE GetNext(
  571. /* [out] */ IImnAccount **ppAccount) = 0;
  572. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  573. };
  574. #else /* C style interface */
  575. typedef struct IImnEnumAccountsVtbl
  576. {
  577. BEGIN_INTERFACE
  578. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  579. IImnEnumAccounts * This,
  580. /* [in] */ REFIID riid,
  581. /* [iid_is][out] */ void **ppvObject);
  582. ULONG ( STDMETHODCALLTYPE *AddRef )(
  583. IImnEnumAccounts * This);
  584. ULONG ( STDMETHODCALLTYPE *Release )(
  585. IImnEnumAccounts * This);
  586. HRESULT ( STDMETHODCALLTYPE *GetCount )(
  587. IImnEnumAccounts * This,
  588. /* [out] */ ULONG *pcItems);
  589. HRESULT ( STDMETHODCALLTYPE *SortByAccountName )(
  590. IImnEnumAccounts * This);
  591. HRESULT ( STDMETHODCALLTYPE *GetNext )(
  592. IImnEnumAccounts * This,
  593. /* [out] */ IImnAccount **ppAccount);
  594. HRESULT ( STDMETHODCALLTYPE *Reset )(
  595. IImnEnumAccounts * This);
  596. END_INTERFACE
  597. } IImnEnumAccountsVtbl;
  598. interface IImnEnumAccounts
  599. {
  600. CONST_VTBL struct IImnEnumAccountsVtbl *lpVtbl;
  601. };
  602. #ifdef COBJMACROS
  603. #define IImnEnumAccounts_QueryInterface(This,riid,ppvObject) \
  604. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  605. #define IImnEnumAccounts_AddRef(This) \
  606. (This)->lpVtbl -> AddRef(This)
  607. #define IImnEnumAccounts_Release(This) \
  608. (This)->lpVtbl -> Release(This)
  609. #define IImnEnumAccounts_GetCount(This,pcItems) \
  610. (This)->lpVtbl -> GetCount(This,pcItems)
  611. #define IImnEnumAccounts_SortByAccountName(This) \
  612. (This)->lpVtbl -> SortByAccountName(This)
  613. #define IImnEnumAccounts_GetNext(This,ppAccount) \
  614. (This)->lpVtbl -> GetNext(This,ppAccount)
  615. #define IImnEnumAccounts_Reset(This) \
  616. (This)->lpVtbl -> Reset(This)
  617. #endif /* COBJMACROS */
  618. #endif /* C style interface */
  619. HRESULT STDMETHODCALLTYPE IImnEnumAccounts_GetCount_Proxy(
  620. IImnEnumAccounts * This,
  621. /* [out] */ ULONG *pcItems);
  622. void __RPC_STUB IImnEnumAccounts_GetCount_Stub(
  623. IRpcStubBuffer *This,
  624. IRpcChannelBuffer *_pRpcChannelBuffer,
  625. PRPC_MESSAGE _pRpcMessage,
  626. DWORD *_pdwStubPhase);
  627. HRESULT STDMETHODCALLTYPE IImnEnumAccounts_SortByAccountName_Proxy(
  628. IImnEnumAccounts * This);
  629. void __RPC_STUB IImnEnumAccounts_SortByAccountName_Stub(
  630. IRpcStubBuffer *This,
  631. IRpcChannelBuffer *_pRpcChannelBuffer,
  632. PRPC_MESSAGE _pRpcMessage,
  633. DWORD *_pdwStubPhase);
  634. HRESULT STDMETHODCALLTYPE IImnEnumAccounts_GetNext_Proxy(
  635. IImnEnumAccounts * This,
  636. /* [out] */ IImnAccount **ppAccount);
  637. void __RPC_STUB IImnEnumAccounts_GetNext_Stub(
  638. IRpcStubBuffer *This,
  639. IRpcChannelBuffer *_pRpcChannelBuffer,
  640. PRPC_MESSAGE _pRpcMessage,
  641. DWORD *_pdwStubPhase);
  642. HRESULT STDMETHODCALLTYPE IImnEnumAccounts_Reset_Proxy(
  643. IImnEnumAccounts * This);
  644. void __RPC_STUB IImnEnumAccounts_Reset_Stub(
  645. IRpcStubBuffer *This,
  646. IRpcChannelBuffer *_pRpcChannelBuffer,
  647. PRPC_MESSAGE _pRpcMessage,
  648. DWORD *_pdwStubPhase);
  649. #endif /* __IImnEnumAccounts_INTERFACE_DEFINED__ */
  650. #ifndef __IImnAccountManager_INTERFACE_DEFINED__
  651. #define __IImnAccountManager_INTERFACE_DEFINED__
  652. /* interface IImnAccountManager */
  653. /* [unique][uuid][object] */
  654. typedef struct tagACCTLISTINFO
  655. {
  656. DWORD cbSize;
  657. ACCTTYPE AcctTypeInit;
  658. DWORD dwAcctFlags;
  659. DWORD dwFlags;
  660. } ACCTLISTINFO;
  661. EXTERN_C const IID IID_IImnAccountManager;
  662. #if defined(__cplusplus) && !defined(CINTERFACE)
  663. MIDL_INTERFACE("FD465481-1384-11d0-ABBD-0020AFDFD10A")
  664. IImnAccountManager : public IUnknown
  665. {
  666. public:
  667. virtual HRESULT STDMETHODCALLTYPE Init(
  668. /* [in] */ IImnAdviseMigrateServer *pAdviseMigrateServer) = 0;
  669. virtual HRESULT STDMETHODCALLTYPE CreateAccountObject(
  670. /* [in] */ ACCTTYPE AcctType,
  671. /* [out] */ IImnAccount **ppAccount) = 0;
  672. virtual HRESULT STDMETHODCALLTYPE Enumerate(
  673. /* [in] */ DWORD dwSrvTypes,
  674. /* [out] */ IImnEnumAccounts **ppEnumAccounts) = 0;
  675. virtual HRESULT STDMETHODCALLTYPE GetAccountCount(
  676. /* [in] */ ACCTTYPE AcctType,
  677. /* [out] */ ULONG *pcServers) = 0;
  678. virtual HRESULT STDMETHODCALLTYPE FindAccount(
  679. /* [in] */ DWORD dwPropTag,
  680. /* [in] */ LPCSTR pszSearchData,
  681. /* [out] */ IImnAccount **ppAccount) = 0;
  682. virtual HRESULT STDMETHODCALLTYPE GetDefaultAccount(
  683. /* [in] */ ACCTTYPE AcctType,
  684. /* [out] */ IImnAccount **ppAccount) = 0;
  685. virtual HRESULT STDMETHODCALLTYPE GetDefaultAccountName(
  686. /* [in] */ ACCTTYPE AcctType,
  687. /* [ref][in] */ LPSTR pszAccount,
  688. /* [in] */ ULONG cchMax) = 0;
  689. virtual HRESULT STDMETHODCALLTYPE ProcessNotification(
  690. /* [in] */ UINT uMsg,
  691. /* [in] */ WPARAM wParam,
  692. /* [in] */ LPARAM lParam) = 0;
  693. virtual HRESULT STDMETHODCALLTYPE ValidateDefaultSendAccount( void) = 0;
  694. virtual HRESULT STDMETHODCALLTYPE AccountListDialog(
  695. /* [in] */ HWND hwnd,
  696. /* [in] */ ACCTLISTINFO *pinfo) = 0;
  697. virtual HRESULT STDMETHODCALLTYPE Advise(
  698. /* [in] */ IImnAdviseAccount *pAdviseAccount,
  699. /* [out] */ DWORD *pdwConnection) = 0;
  700. virtual HRESULT STDMETHODCALLTYPE Unadvise(
  701. /* [in] */ DWORD dwConnection) = 0;
  702. virtual HRESULT STDMETHODCALLTYPE GetUniqueAccountName(
  703. /* [in] */ LPSTR szName,
  704. /* [in] */ UINT cch) = 0;
  705. virtual HRESULT STDMETHODCALLTYPE InitEx(
  706. /* [in] */ IImnAdviseMigrateServer *pAdviseMigrateServer,
  707. /* [in] */ DWORD dwFlags) = 0;
  708. };
  709. #else /* C style interface */
  710. typedef struct IImnAccountManagerVtbl
  711. {
  712. BEGIN_INTERFACE
  713. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  714. IImnAccountManager * This,
  715. /* [in] */ REFIID riid,
  716. /* [iid_is][out] */ void **ppvObject);
  717. ULONG ( STDMETHODCALLTYPE *AddRef )(
  718. IImnAccountManager * This);
  719. ULONG ( STDMETHODCALLTYPE *Release )(
  720. IImnAccountManager * This);
  721. HRESULT ( STDMETHODCALLTYPE *Init )(
  722. IImnAccountManager * This,
  723. /* [in] */ IImnAdviseMigrateServer *pAdviseMigrateServer);
  724. HRESULT ( STDMETHODCALLTYPE *CreateAccountObject )(
  725. IImnAccountManager * This,
  726. /* [in] */ ACCTTYPE AcctType,
  727. /* [out] */ IImnAccount **ppAccount);
  728. HRESULT ( STDMETHODCALLTYPE *Enumerate )(
  729. IImnAccountManager * This,
  730. /* [in] */ DWORD dwSrvTypes,
  731. /* [out] */ IImnEnumAccounts **ppEnumAccounts);
  732. HRESULT ( STDMETHODCALLTYPE *GetAccountCount )(
  733. IImnAccountManager * This,
  734. /* [in] */ ACCTTYPE AcctType,
  735. /* [out] */ ULONG *pcServers);
  736. HRESULT ( STDMETHODCALLTYPE *FindAccount )(
  737. IImnAccountManager * This,
  738. /* [in] */ DWORD dwPropTag,
  739. /* [in] */ LPCSTR pszSearchData,
  740. /* [out] */ IImnAccount **ppAccount);
  741. HRESULT ( STDMETHODCALLTYPE *GetDefaultAccount )(
  742. IImnAccountManager * This,
  743. /* [in] */ ACCTTYPE AcctType,
  744. /* [out] */ IImnAccount **ppAccount);
  745. HRESULT ( STDMETHODCALLTYPE *GetDefaultAccountName )(
  746. IImnAccountManager * This,
  747. /* [in] */ ACCTTYPE AcctType,
  748. /* [ref][in] */ LPSTR pszAccount,
  749. /* [in] */ ULONG cchMax);
  750. HRESULT ( STDMETHODCALLTYPE *ProcessNotification )(
  751. IImnAccountManager * This,
  752. /* [in] */ UINT uMsg,
  753. /* [in] */ WPARAM wParam,
  754. /* [in] */ LPARAM lParam);
  755. HRESULT ( STDMETHODCALLTYPE *ValidateDefaultSendAccount )(
  756. IImnAccountManager * This);
  757. HRESULT ( STDMETHODCALLTYPE *AccountListDialog )(
  758. IImnAccountManager * This,
  759. /* [in] */ HWND hwnd,
  760. /* [in] */ ACCTLISTINFO *pinfo);
  761. HRESULT ( STDMETHODCALLTYPE *Advise )(
  762. IImnAccountManager * This,
  763. /* [in] */ IImnAdviseAccount *pAdviseAccount,
  764. /* [out] */ DWORD *pdwConnection);
  765. HRESULT ( STDMETHODCALLTYPE *Unadvise )(
  766. IImnAccountManager * This,
  767. /* [in] */ DWORD dwConnection);
  768. HRESULT ( STDMETHODCALLTYPE *GetUniqueAccountName )(
  769. IImnAccountManager * This,
  770. /* [in] */ LPSTR szName,
  771. /* [in] */ UINT cch);
  772. HRESULT ( STDMETHODCALLTYPE *InitEx )(
  773. IImnAccountManager * This,
  774. /* [in] */ IImnAdviseMigrateServer *pAdviseMigrateServer,
  775. /* [in] */ DWORD dwFlags);
  776. END_INTERFACE
  777. } IImnAccountManagerVtbl;
  778. interface IImnAccountManager
  779. {
  780. CONST_VTBL struct IImnAccountManagerVtbl *lpVtbl;
  781. };
  782. #ifdef COBJMACROS
  783. #define IImnAccountManager_QueryInterface(This,riid,ppvObject) \
  784. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  785. #define IImnAccountManager_AddRef(This) \
  786. (This)->lpVtbl -> AddRef(This)
  787. #define IImnAccountManager_Release(This) \
  788. (This)->lpVtbl -> Release(This)
  789. #define IImnAccountManager_Init(This,pAdviseMigrateServer) \
  790. (This)->lpVtbl -> Init(This,pAdviseMigrateServer)
  791. #define IImnAccountManager_CreateAccountObject(This,AcctType,ppAccount) \
  792. (This)->lpVtbl -> CreateAccountObject(This,AcctType,ppAccount)
  793. #define IImnAccountManager_Enumerate(This,dwSrvTypes,ppEnumAccounts) \
  794. (This)->lpVtbl -> Enumerate(This,dwSrvTypes,ppEnumAccounts)
  795. #define IImnAccountManager_GetAccountCount(This,AcctType,pcServers) \
  796. (This)->lpVtbl -> GetAccountCount(This,AcctType,pcServers)
  797. #define IImnAccountManager_FindAccount(This,dwPropTag,pszSearchData,ppAccount) \
  798. (This)->lpVtbl -> FindAccount(This,dwPropTag,pszSearchData,ppAccount)
  799. #define IImnAccountManager_GetDefaultAccount(This,AcctType,ppAccount) \
  800. (This)->lpVtbl -> GetDefaultAccount(This,AcctType,ppAccount)
  801. #define IImnAccountManager_GetDefaultAccountName(This,AcctType,pszAccount,cchMax) \
  802. (This)->lpVtbl -> GetDefaultAccountName(This,AcctType,pszAccount,cchMax)
  803. #define IImnAccountManager_ProcessNotification(This,uMsg,wParam,lParam) \
  804. (This)->lpVtbl -> ProcessNotification(This,uMsg,wParam,lParam)
  805. #define IImnAccountManager_ValidateDefaultSendAccount(This) \
  806. (This)->lpVtbl -> ValidateDefaultSendAccount(This)
  807. #define IImnAccountManager_AccountListDialog(This,hwnd,pinfo) \
  808. (This)->lpVtbl -> AccountListDialog(This,hwnd,pinfo)
  809. #define IImnAccountManager_Advise(This,pAdviseAccount,pdwConnection) \
  810. (This)->lpVtbl -> Advise(This,pAdviseAccount,pdwConnection)
  811. #define IImnAccountManager_Unadvise(This,dwConnection) \
  812. (This)->lpVtbl -> Unadvise(This,dwConnection)
  813. #define IImnAccountManager_GetUniqueAccountName(This,szName,cch) \
  814. (This)->lpVtbl -> GetUniqueAccountName(This,szName,cch)
  815. #define IImnAccountManager_InitEx(This,pAdviseMigrateServer,dwFlags) \
  816. (This)->lpVtbl -> InitEx(This,pAdviseMigrateServer,dwFlags)
  817. #endif /* COBJMACROS */
  818. #endif /* C style interface */
  819. HRESULT STDMETHODCALLTYPE IImnAccountManager_Init_Proxy(
  820. IImnAccountManager * This,
  821. /* [in] */ IImnAdviseMigrateServer *pAdviseMigrateServer);
  822. void __RPC_STUB IImnAccountManager_Init_Stub(
  823. IRpcStubBuffer *This,
  824. IRpcChannelBuffer *_pRpcChannelBuffer,
  825. PRPC_MESSAGE _pRpcMessage,
  826. DWORD *_pdwStubPhase);
  827. HRESULT STDMETHODCALLTYPE IImnAccountManager_CreateAccountObject_Proxy(
  828. IImnAccountManager * This,
  829. /* [in] */ ACCTTYPE AcctType,
  830. /* [out] */ IImnAccount **ppAccount);
  831. void __RPC_STUB IImnAccountManager_CreateAccountObject_Stub(
  832. IRpcStubBuffer *This,
  833. IRpcChannelBuffer *_pRpcChannelBuffer,
  834. PRPC_MESSAGE _pRpcMessage,
  835. DWORD *_pdwStubPhase);
  836. HRESULT STDMETHODCALLTYPE IImnAccountManager_Enumerate_Proxy(
  837. IImnAccountManager * This,
  838. /* [in] */ DWORD dwSrvTypes,
  839. /* [out] */ IImnEnumAccounts **ppEnumAccounts);
  840. void __RPC_STUB IImnAccountManager_Enumerate_Stub(
  841. IRpcStubBuffer *This,
  842. IRpcChannelBuffer *_pRpcChannelBuffer,
  843. PRPC_MESSAGE _pRpcMessage,
  844. DWORD *_pdwStubPhase);
  845. HRESULT STDMETHODCALLTYPE IImnAccountManager_GetAccountCount_Proxy(
  846. IImnAccountManager * This,
  847. /* [in] */ ACCTTYPE AcctType,
  848. /* [out] */ ULONG *pcServers);
  849. void __RPC_STUB IImnAccountManager_GetAccountCount_Stub(
  850. IRpcStubBuffer *This,
  851. IRpcChannelBuffer *_pRpcChannelBuffer,
  852. PRPC_MESSAGE _pRpcMessage,
  853. DWORD *_pdwStubPhase);
  854. HRESULT STDMETHODCALLTYPE IImnAccountManager_FindAccount_Proxy(
  855. IImnAccountManager * This,
  856. /* [in] */ DWORD dwPropTag,
  857. /* [in] */ LPCSTR pszSearchData,
  858. /* [out] */ IImnAccount **ppAccount);
  859. void __RPC_STUB IImnAccountManager_FindAccount_Stub(
  860. IRpcStubBuffer *This,
  861. IRpcChannelBuffer *_pRpcChannelBuffer,
  862. PRPC_MESSAGE _pRpcMessage,
  863. DWORD *_pdwStubPhase);
  864. HRESULT STDMETHODCALLTYPE IImnAccountManager_GetDefaultAccount_Proxy(
  865. IImnAccountManager * This,
  866. /* [in] */ ACCTTYPE AcctType,
  867. /* [out] */ IImnAccount **ppAccount);
  868. void __RPC_STUB IImnAccountManager_GetDefaultAccount_Stub(
  869. IRpcStubBuffer *This,
  870. IRpcChannelBuffer *_pRpcChannelBuffer,
  871. PRPC_MESSAGE _pRpcMessage,
  872. DWORD *_pdwStubPhase);
  873. HRESULT STDMETHODCALLTYPE IImnAccountManager_GetDefaultAccountName_Proxy(
  874. IImnAccountManager * This,
  875. /* [in] */ ACCTTYPE AcctType,
  876. /* [ref][in] */ LPSTR pszAccount,
  877. /* [in] */ ULONG cchMax);
  878. void __RPC_STUB IImnAccountManager_GetDefaultAccountName_Stub(
  879. IRpcStubBuffer *This,
  880. IRpcChannelBuffer *_pRpcChannelBuffer,
  881. PRPC_MESSAGE _pRpcMessage,
  882. DWORD *_pdwStubPhase);
  883. HRESULT STDMETHODCALLTYPE IImnAccountManager_ProcessNotification_Proxy(
  884. IImnAccountManager * This,
  885. /* [in] */ UINT uMsg,
  886. /* [in] */ WPARAM wParam,
  887. /* [in] */ LPARAM lParam);
  888. void __RPC_STUB IImnAccountManager_ProcessNotification_Stub(
  889. IRpcStubBuffer *This,
  890. IRpcChannelBuffer *_pRpcChannelBuffer,
  891. PRPC_MESSAGE _pRpcMessage,
  892. DWORD *_pdwStubPhase);
  893. HRESULT STDMETHODCALLTYPE IImnAccountManager_ValidateDefaultSendAccount_Proxy(
  894. IImnAccountManager * This);
  895. void __RPC_STUB IImnAccountManager_ValidateDefaultSendAccount_Stub(
  896. IRpcStubBuffer *This,
  897. IRpcChannelBuffer *_pRpcChannelBuffer,
  898. PRPC_MESSAGE _pRpcMessage,
  899. DWORD *_pdwStubPhase);
  900. HRESULT STDMETHODCALLTYPE IImnAccountManager_AccountListDialog_Proxy(
  901. IImnAccountManager * This,
  902. /* [in] */ HWND hwnd,
  903. /* [in] */ ACCTLISTINFO *pinfo);
  904. void __RPC_STUB IImnAccountManager_AccountListDialog_Stub(
  905. IRpcStubBuffer *This,
  906. IRpcChannelBuffer *_pRpcChannelBuffer,
  907. PRPC_MESSAGE _pRpcMessage,
  908. DWORD *_pdwStubPhase);
  909. HRESULT STDMETHODCALLTYPE IImnAccountManager_Advise_Proxy(
  910. IImnAccountManager * This,
  911. /* [in] */ IImnAdviseAccount *pAdviseAccount,
  912. /* [out] */ DWORD *pdwConnection);
  913. void __RPC_STUB IImnAccountManager_Advise_Stub(
  914. IRpcStubBuffer *This,
  915. IRpcChannelBuffer *_pRpcChannelBuffer,
  916. PRPC_MESSAGE _pRpcMessage,
  917. DWORD *_pdwStubPhase);
  918. HRESULT STDMETHODCALLTYPE IImnAccountManager_Unadvise_Proxy(
  919. IImnAccountManager * This,
  920. /* [in] */ DWORD dwConnection);
  921. void __RPC_STUB IImnAccountManager_Unadvise_Stub(
  922. IRpcStubBuffer *This,
  923. IRpcChannelBuffer *_pRpcChannelBuffer,
  924. PRPC_MESSAGE _pRpcMessage,
  925. DWORD *_pdwStubPhase);
  926. HRESULT STDMETHODCALLTYPE IImnAccountManager_GetUniqueAccountName_Proxy(
  927. IImnAccountManager * This,
  928. /* [in] */ LPSTR szName,
  929. /* [in] */ UINT cch);
  930. void __RPC_STUB IImnAccountManager_GetUniqueAccountName_Stub(
  931. IRpcStubBuffer *This,
  932. IRpcChannelBuffer *_pRpcChannelBuffer,
  933. PRPC_MESSAGE _pRpcMessage,
  934. DWORD *_pdwStubPhase);
  935. HRESULT STDMETHODCALLTYPE IImnAccountManager_InitEx_Proxy(
  936. IImnAccountManager * This,
  937. /* [in] */ IImnAdviseMigrateServer *pAdviseMigrateServer,
  938. /* [in] */ DWORD dwFlags);
  939. void __RPC_STUB IImnAccountManager_InitEx_Stub(
  940. IRpcStubBuffer *This,
  941. IRpcChannelBuffer *_pRpcChannelBuffer,
  942. PRPC_MESSAGE _pRpcMessage,
  943. DWORD *_pdwStubPhase);
  944. #endif /* __IImnAccountManager_INTERFACE_DEFINED__ */
  945. #ifndef __IImnAccountManager2_INTERFACE_DEFINED__
  946. #define __IImnAccountManager2_INTERFACE_DEFINED__
  947. /* interface IImnAccountManager2 */
  948. /* [unique][uuid][object] */
  949. EXTERN_C const IID IID_IImnAccountManager2;
  950. #if defined(__cplusplus) && !defined(CINTERFACE)
  951. MIDL_INTERFACE("C43DFC6F-62BB-11d2-A727-00C04F79E7C8")
  952. IImnAccountManager2 : public IImnAccountManager
  953. {
  954. public:
  955. virtual HRESULT STDMETHODCALLTYPE InitUser(
  956. /* [in] */ IImnAdviseMigrateServer *pAdviseMigrateServer,
  957. /* [in] */ REFGUID rguidID,
  958. /* [in] */ DWORD dwFlags) = 0;
  959. virtual HRESULT STDMETHODCALLTYPE GetIncompleteAccount(
  960. /* [in] */ ACCTTYPE AcctType,
  961. /* [ref][in] */ LPSTR pszAccountId,
  962. /* [in] */ ULONG cchMax) = 0;
  963. virtual HRESULT STDMETHODCALLTYPE SetIncompleteAccount(
  964. /* [in] */ ACCTTYPE AcctType,
  965. /* [in] */ LPCSTR pszAccountId) = 0;
  966. };
  967. #else /* C style interface */
  968. typedef struct IImnAccountManager2Vtbl
  969. {
  970. BEGIN_INTERFACE
  971. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  972. IImnAccountManager2 * This,
  973. /* [in] */ REFIID riid,
  974. /* [iid_is][out] */ void **ppvObject);
  975. ULONG ( STDMETHODCALLTYPE *AddRef )(
  976. IImnAccountManager2 * This);
  977. ULONG ( STDMETHODCALLTYPE *Release )(
  978. IImnAccountManager2 * This);
  979. HRESULT ( STDMETHODCALLTYPE *Init )(
  980. IImnAccountManager2 * This,
  981. /* [in] */ IImnAdviseMigrateServer *pAdviseMigrateServer);
  982. HRESULT ( STDMETHODCALLTYPE *CreateAccountObject )(
  983. IImnAccountManager2 * This,
  984. /* [in] */ ACCTTYPE AcctType,
  985. /* [out] */ IImnAccount **ppAccount);
  986. HRESULT ( STDMETHODCALLTYPE *Enumerate )(
  987. IImnAccountManager2 * This,
  988. /* [in] */ DWORD dwSrvTypes,
  989. /* [out] */ IImnEnumAccounts **ppEnumAccounts);
  990. HRESULT ( STDMETHODCALLTYPE *GetAccountCount )(
  991. IImnAccountManager2 * This,
  992. /* [in] */ ACCTTYPE AcctType,
  993. /* [out] */ ULONG *pcServers);
  994. HRESULT ( STDMETHODCALLTYPE *FindAccount )(
  995. IImnAccountManager2 * This,
  996. /* [in] */ DWORD dwPropTag,
  997. /* [in] */ LPCSTR pszSearchData,
  998. /* [out] */ IImnAccount **ppAccount);
  999. HRESULT ( STDMETHODCALLTYPE *GetDefaultAccount )(
  1000. IImnAccountManager2 * This,
  1001. /* [in] */ ACCTTYPE AcctType,
  1002. /* [out] */ IImnAccount **ppAccount);
  1003. HRESULT ( STDMETHODCALLTYPE *GetDefaultAccountName )(
  1004. IImnAccountManager2 * This,
  1005. /* [in] */ ACCTTYPE AcctType,
  1006. /* [ref][in] */ LPSTR pszAccount,
  1007. /* [in] */ ULONG cchMax);
  1008. HRESULT ( STDMETHODCALLTYPE *ProcessNotification )(
  1009. IImnAccountManager2 * This,
  1010. /* [in] */ UINT uMsg,
  1011. /* [in] */ WPARAM wParam,
  1012. /* [in] */ LPARAM lParam);
  1013. HRESULT ( STDMETHODCALLTYPE *ValidateDefaultSendAccount )(
  1014. IImnAccountManager2 * This);
  1015. HRESULT ( STDMETHODCALLTYPE *AccountListDialog )(
  1016. IImnAccountManager2 * This,
  1017. /* [in] */ HWND hwnd,
  1018. /* [in] */ ACCTLISTINFO *pinfo);
  1019. HRESULT ( STDMETHODCALLTYPE *Advise )(
  1020. IImnAccountManager2 * This,
  1021. /* [in] */ IImnAdviseAccount *pAdviseAccount,
  1022. /* [out] */ DWORD *pdwConnection);
  1023. HRESULT ( STDMETHODCALLTYPE *Unadvise )(
  1024. IImnAccountManager2 * This,
  1025. /* [in] */ DWORD dwConnection);
  1026. HRESULT ( STDMETHODCALLTYPE *GetUniqueAccountName )(
  1027. IImnAccountManager2 * This,
  1028. /* [in] */ LPSTR szName,
  1029. /* [in] */ UINT cch);
  1030. HRESULT ( STDMETHODCALLTYPE *InitEx )(
  1031. IImnAccountManager2 * This,
  1032. /* [in] */ IImnAdviseMigrateServer *pAdviseMigrateServer,
  1033. /* [in] */ DWORD dwFlags);
  1034. HRESULT ( STDMETHODCALLTYPE *InitUser )(
  1035. IImnAccountManager2 * This,
  1036. /* [in] */ IImnAdviseMigrateServer *pAdviseMigrateServer,
  1037. /* [in] */ REFGUID rguidID,
  1038. /* [in] */ DWORD dwFlags);
  1039. HRESULT ( STDMETHODCALLTYPE *GetIncompleteAccount )(
  1040. IImnAccountManager2 * This,
  1041. /* [in] */ ACCTTYPE AcctType,
  1042. /* [ref][in] */ LPSTR pszAccountId,
  1043. /* [in] */ ULONG cchMax);
  1044. HRESULT ( STDMETHODCALLTYPE *SetIncompleteAccount )(
  1045. IImnAccountManager2 * This,
  1046. /* [in] */ ACCTTYPE AcctType,
  1047. /* [in] */ LPCSTR pszAccountId);
  1048. END_INTERFACE
  1049. } IImnAccountManager2Vtbl;
  1050. interface IImnAccountManager2
  1051. {
  1052. CONST_VTBL struct IImnAccountManager2Vtbl *lpVtbl;
  1053. };
  1054. #ifdef COBJMACROS
  1055. #define IImnAccountManager2_QueryInterface(This,riid,ppvObject) \
  1056. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1057. #define IImnAccountManager2_AddRef(This) \
  1058. (This)->lpVtbl -> AddRef(This)
  1059. #define IImnAccountManager2_Release(This) \
  1060. (This)->lpVtbl -> Release(This)
  1061. #define IImnAccountManager2_Init(This,pAdviseMigrateServer) \
  1062. (This)->lpVtbl -> Init(This,pAdviseMigrateServer)
  1063. #define IImnAccountManager2_CreateAccountObject(This,AcctType,ppAccount) \
  1064. (This)->lpVtbl -> CreateAccountObject(This,AcctType,ppAccount)
  1065. #define IImnAccountManager2_Enumerate(This,dwSrvTypes,ppEnumAccounts) \
  1066. (This)->lpVtbl -> Enumerate(This,dwSrvTypes,ppEnumAccounts)
  1067. #define IImnAccountManager2_GetAccountCount(This,AcctType,pcServers) \
  1068. (This)->lpVtbl -> GetAccountCount(This,AcctType,pcServers)
  1069. #define IImnAccountManager2_FindAccount(This,dwPropTag,pszSearchData,ppAccount) \
  1070. (This)->lpVtbl -> FindAccount(This,dwPropTag,pszSearchData,ppAccount)
  1071. #define IImnAccountManager2_GetDefaultAccount(This,AcctType,ppAccount) \
  1072. (This)->lpVtbl -> GetDefaultAccount(This,AcctType,ppAccount)
  1073. #define IImnAccountManager2_GetDefaultAccountName(This,AcctType,pszAccount,cchMax) \
  1074. (This)->lpVtbl -> GetDefaultAccountName(This,AcctType,pszAccount,cchMax)
  1075. #define IImnAccountManager2_ProcessNotification(This,uMsg,wParam,lParam) \
  1076. (This)->lpVtbl -> ProcessNotification(This,uMsg,wParam,lParam)
  1077. #define IImnAccountManager2_ValidateDefaultSendAccount(This) \
  1078. (This)->lpVtbl -> ValidateDefaultSendAccount(This)
  1079. #define IImnAccountManager2_AccountListDialog(This,hwnd,pinfo) \
  1080. (This)->lpVtbl -> AccountListDialog(This,hwnd,pinfo)
  1081. #define IImnAccountManager2_Advise(This,pAdviseAccount,pdwConnection) \
  1082. (This)->lpVtbl -> Advise(This,pAdviseAccount,pdwConnection)
  1083. #define IImnAccountManager2_Unadvise(This,dwConnection) \
  1084. (This)->lpVtbl -> Unadvise(This,dwConnection)
  1085. #define IImnAccountManager2_GetUniqueAccountName(This,szName,cch) \
  1086. (This)->lpVtbl -> GetUniqueAccountName(This,szName,cch)
  1087. #define IImnAccountManager2_InitEx(This,pAdviseMigrateServer,dwFlags) \
  1088. (This)->lpVtbl -> InitEx(This,pAdviseMigrateServer,dwFlags)
  1089. #define IImnAccountManager2_InitUser(This,pAdviseMigrateServer,rguidID,dwFlags) \
  1090. (This)->lpVtbl -> InitUser(This,pAdviseMigrateServer,rguidID,dwFlags)
  1091. #define IImnAccountManager2_GetIncompleteAccount(This,AcctType,pszAccountId,cchMax) \
  1092. (This)->lpVtbl -> GetIncompleteAccount(This,AcctType,pszAccountId,cchMax)
  1093. #define IImnAccountManager2_SetIncompleteAccount(This,AcctType,pszAccountId) \
  1094. (This)->lpVtbl -> SetIncompleteAccount(This,AcctType,pszAccountId)
  1095. #endif /* COBJMACROS */
  1096. #endif /* C style interface */
  1097. HRESULT STDMETHODCALLTYPE IImnAccountManager2_InitUser_Proxy(
  1098. IImnAccountManager2 * This,
  1099. /* [in] */ IImnAdviseMigrateServer *pAdviseMigrateServer,
  1100. /* [in] */ REFGUID rguidID,
  1101. /* [in] */ DWORD dwFlags);
  1102. void __RPC_STUB IImnAccountManager2_InitUser_Stub(
  1103. IRpcStubBuffer *This,
  1104. IRpcChannelBuffer *_pRpcChannelBuffer,
  1105. PRPC_MESSAGE _pRpcMessage,
  1106. DWORD *_pdwStubPhase);
  1107. HRESULT STDMETHODCALLTYPE IImnAccountManager2_GetIncompleteAccount_Proxy(
  1108. IImnAccountManager2 * This,
  1109. /* [in] */ ACCTTYPE AcctType,
  1110. /* [ref][in] */ LPSTR pszAccountId,
  1111. /* [in] */ ULONG cchMax);
  1112. void __RPC_STUB IImnAccountManager2_GetIncompleteAccount_Stub(
  1113. IRpcStubBuffer *This,
  1114. IRpcChannelBuffer *_pRpcChannelBuffer,
  1115. PRPC_MESSAGE _pRpcMessage,
  1116. DWORD *_pdwStubPhase);
  1117. HRESULT STDMETHODCALLTYPE IImnAccountManager2_SetIncompleteAccount_Proxy(
  1118. IImnAccountManager2 * This,
  1119. /* [in] */ ACCTTYPE AcctType,
  1120. /* [in] */ LPCSTR pszAccountId);
  1121. void __RPC_STUB IImnAccountManager2_SetIncompleteAccount_Stub(
  1122. IRpcStubBuffer *This,
  1123. IRpcChannelBuffer *_pRpcChannelBuffer,
  1124. PRPC_MESSAGE _pRpcMessage,
  1125. DWORD *_pdwStubPhase);
  1126. #endif /* __IImnAccountManager2_INTERFACE_DEFINED__ */
  1127. #ifndef __IPropertyContainer_INTERFACE_DEFINED__
  1128. #define __IPropertyContainer_INTERFACE_DEFINED__
  1129. /* interface IPropertyContainer */
  1130. /* [unique][uuid][object] */
  1131. typedef /* [public] */
  1132. enum __MIDL_IPropertyContainer_0001
  1133. { TYPE_ERROR = 1000,
  1134. TYPE_DWORD = TYPE_ERROR + 1,
  1135. TYPE_LONG = TYPE_DWORD + 1,
  1136. TYPE_WORD = TYPE_LONG + 1,
  1137. TYPE_SHORT = TYPE_WORD + 1,
  1138. TYPE_BYTE = TYPE_SHORT + 1,
  1139. TYPE_CHAR = TYPE_BYTE + 1,
  1140. TYPE_FILETIME = TYPE_CHAR + 1,
  1141. TYPE_STRING = TYPE_FILETIME + 1,
  1142. TYPE_BINARY = TYPE_STRING + 1,
  1143. TYPE_FLAGS = TYPE_BINARY + 1,
  1144. TYPE_STREAM = TYPE_FLAGS + 1,
  1145. TYPE_WSTRING = TYPE_STREAM + 1,
  1146. TYPE_BOOL = TYPE_WSTRING + 1,
  1147. TYPE_PASS = TYPE_BOOL + 1,
  1148. TYPE_LAST = TYPE_PASS + 1
  1149. } PROPTYPE;
  1150. EXTERN_C const IID IID_IPropertyContainer;
  1151. #if defined(__cplusplus) && !defined(CINTERFACE)
  1152. MIDL_INTERFACE("FD465484-1384-11d0-ABBD-0020AFDFD10A")
  1153. IPropertyContainer : public IUnknown
  1154. {
  1155. public:
  1156. virtual HRESULT STDMETHODCALLTYPE GetProp(
  1157. /* [in] */ DWORD dwPropTag,
  1158. /* [ref][size_is][in] */ BYTE *pb,
  1159. /* [in] */ ULONG *pcb) = 0;
  1160. virtual HRESULT STDMETHODCALLTYPE GetPropDw(
  1161. /* [in] */ DWORD dwPropTag,
  1162. /* [out] */ DWORD *pdw) = 0;
  1163. virtual HRESULT STDMETHODCALLTYPE GetPropSz(
  1164. /* [in] */ DWORD dwPropTag,
  1165. /* [ref][in] */ LPSTR psz,
  1166. /* [in] */ ULONG cchMax) = 0;
  1167. virtual HRESULT STDMETHODCALLTYPE SetProp(
  1168. /* [in] */ DWORD dwPropTag,
  1169. /* [size_is][in] */ BYTE *pb,
  1170. /* [in] */ ULONG cb) = 0;
  1171. virtual HRESULT STDMETHODCALLTYPE SetPropDw(
  1172. /* [in] */ DWORD dwPropTag,
  1173. /* [in] */ DWORD dw) = 0;
  1174. virtual HRESULT STDMETHODCALLTYPE SetPropSz(
  1175. /* [in] */ DWORD dwPropTag,
  1176. /* [in] */ LPSTR psz) = 0;
  1177. };
  1178. #else /* C style interface */
  1179. typedef struct IPropertyContainerVtbl
  1180. {
  1181. BEGIN_INTERFACE
  1182. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1183. IPropertyContainer * This,
  1184. /* [in] */ REFIID riid,
  1185. /* [iid_is][out] */ void **ppvObject);
  1186. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1187. IPropertyContainer * This);
  1188. ULONG ( STDMETHODCALLTYPE *Release )(
  1189. IPropertyContainer * This);
  1190. HRESULT ( STDMETHODCALLTYPE *GetProp )(
  1191. IPropertyContainer * This,
  1192. /* [in] */ DWORD dwPropTag,
  1193. /* [ref][size_is][in] */ BYTE *pb,
  1194. /* [in] */ ULONG *pcb);
  1195. HRESULT ( STDMETHODCALLTYPE *GetPropDw )(
  1196. IPropertyContainer * This,
  1197. /* [in] */ DWORD dwPropTag,
  1198. /* [out] */ DWORD *pdw);
  1199. HRESULT ( STDMETHODCALLTYPE *GetPropSz )(
  1200. IPropertyContainer * This,
  1201. /* [in] */ DWORD dwPropTag,
  1202. /* [ref][in] */ LPSTR psz,
  1203. /* [in] */ ULONG cchMax);
  1204. HRESULT ( STDMETHODCALLTYPE *SetProp )(
  1205. IPropertyContainer * This,
  1206. /* [in] */ DWORD dwPropTag,
  1207. /* [size_is][in] */ BYTE *pb,
  1208. /* [in] */ ULONG cb);
  1209. HRESULT ( STDMETHODCALLTYPE *SetPropDw )(
  1210. IPropertyContainer * This,
  1211. /* [in] */ DWORD dwPropTag,
  1212. /* [in] */ DWORD dw);
  1213. HRESULT ( STDMETHODCALLTYPE *SetPropSz )(
  1214. IPropertyContainer * This,
  1215. /* [in] */ DWORD dwPropTag,
  1216. /* [in] */ LPSTR psz);
  1217. END_INTERFACE
  1218. } IPropertyContainerVtbl;
  1219. interface IPropertyContainer
  1220. {
  1221. CONST_VTBL struct IPropertyContainerVtbl *lpVtbl;
  1222. };
  1223. #ifdef COBJMACROS
  1224. #define IPropertyContainer_QueryInterface(This,riid,ppvObject) \
  1225. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1226. #define IPropertyContainer_AddRef(This) \
  1227. (This)->lpVtbl -> AddRef(This)
  1228. #define IPropertyContainer_Release(This) \
  1229. (This)->lpVtbl -> Release(This)
  1230. #define IPropertyContainer_GetProp(This,dwPropTag,pb,pcb) \
  1231. (This)->lpVtbl -> GetProp(This,dwPropTag,pb,pcb)
  1232. #define IPropertyContainer_GetPropDw(This,dwPropTag,pdw) \
  1233. (This)->lpVtbl -> GetPropDw(This,dwPropTag,pdw)
  1234. #define IPropertyContainer_GetPropSz(This,dwPropTag,psz,cchMax) \
  1235. (This)->lpVtbl -> GetPropSz(This,dwPropTag,psz,cchMax)
  1236. #define IPropertyContainer_SetProp(This,dwPropTag,pb,cb) \
  1237. (This)->lpVtbl -> SetProp(This,dwPropTag,pb,cb)
  1238. #define IPropertyContainer_SetPropDw(This,dwPropTag,dw) \
  1239. (This)->lpVtbl -> SetPropDw(This,dwPropTag,dw)
  1240. #define IPropertyContainer_SetPropSz(This,dwPropTag,psz) \
  1241. (This)->lpVtbl -> SetPropSz(This,dwPropTag,psz)
  1242. #endif /* COBJMACROS */
  1243. #endif /* C style interface */
  1244. HRESULT STDMETHODCALLTYPE IPropertyContainer_GetProp_Proxy(
  1245. IPropertyContainer * This,
  1246. /* [in] */ DWORD dwPropTag,
  1247. /* [ref][size_is][in] */ BYTE *pb,
  1248. /* [in] */ ULONG *pcb);
  1249. void __RPC_STUB IPropertyContainer_GetProp_Stub(
  1250. IRpcStubBuffer *This,
  1251. IRpcChannelBuffer *_pRpcChannelBuffer,
  1252. PRPC_MESSAGE _pRpcMessage,
  1253. DWORD *_pdwStubPhase);
  1254. HRESULT STDMETHODCALLTYPE IPropertyContainer_GetPropDw_Proxy(
  1255. IPropertyContainer * This,
  1256. /* [in] */ DWORD dwPropTag,
  1257. /* [out] */ DWORD *pdw);
  1258. void __RPC_STUB IPropertyContainer_GetPropDw_Stub(
  1259. IRpcStubBuffer *This,
  1260. IRpcChannelBuffer *_pRpcChannelBuffer,
  1261. PRPC_MESSAGE _pRpcMessage,
  1262. DWORD *_pdwStubPhase);
  1263. HRESULT STDMETHODCALLTYPE IPropertyContainer_GetPropSz_Proxy(
  1264. IPropertyContainer * This,
  1265. /* [in] */ DWORD dwPropTag,
  1266. /* [ref][in] */ LPSTR psz,
  1267. /* [in] */ ULONG cchMax);
  1268. void __RPC_STUB IPropertyContainer_GetPropSz_Stub(
  1269. IRpcStubBuffer *This,
  1270. IRpcChannelBuffer *_pRpcChannelBuffer,
  1271. PRPC_MESSAGE _pRpcMessage,
  1272. DWORD *_pdwStubPhase);
  1273. HRESULT STDMETHODCALLTYPE IPropertyContainer_SetProp_Proxy(
  1274. IPropertyContainer * This,
  1275. /* [in] */ DWORD dwPropTag,
  1276. /* [size_is][in] */ BYTE *pb,
  1277. /* [in] */ ULONG cb);
  1278. void __RPC_STUB IPropertyContainer_SetProp_Stub(
  1279. IRpcStubBuffer *This,
  1280. IRpcChannelBuffer *_pRpcChannelBuffer,
  1281. PRPC_MESSAGE _pRpcMessage,
  1282. DWORD *_pdwStubPhase);
  1283. HRESULT STDMETHODCALLTYPE IPropertyContainer_SetPropDw_Proxy(
  1284. IPropertyContainer * This,
  1285. /* [in] */ DWORD dwPropTag,
  1286. /* [in] */ DWORD dw);
  1287. void __RPC_STUB IPropertyContainer_SetPropDw_Stub(
  1288. IRpcStubBuffer *This,
  1289. IRpcChannelBuffer *_pRpcChannelBuffer,
  1290. PRPC_MESSAGE _pRpcMessage,
  1291. DWORD *_pdwStubPhase);
  1292. HRESULT STDMETHODCALLTYPE IPropertyContainer_SetPropSz_Proxy(
  1293. IPropertyContainer * This,
  1294. /* [in] */ DWORD dwPropTag,
  1295. /* [in] */ LPSTR psz);
  1296. void __RPC_STUB IPropertyContainer_SetPropSz_Stub(
  1297. IRpcStubBuffer *This,
  1298. IRpcChannelBuffer *_pRpcChannelBuffer,
  1299. PRPC_MESSAGE _pRpcMessage,
  1300. DWORD *_pdwStubPhase);
  1301. #endif /* __IPropertyContainer_INTERFACE_DEFINED__ */
  1302. #ifndef __IImnAccount_INTERFACE_DEFINED__
  1303. #define __IImnAccount_INTERFACE_DEFINED__
  1304. /* interface IImnAccount */
  1305. /* [unique][uuid][object] */
  1306. EXTERN_C const IID IID_IImnAccount;
  1307. #if defined(__cplusplus) && !defined(CINTERFACE)
  1308. MIDL_INTERFACE("FD465482-1384-11d0-ABBD-0020AFDFD10A")
  1309. IImnAccount : public IPropertyContainer
  1310. {
  1311. public:
  1312. virtual HRESULT STDMETHODCALLTYPE Exist( void) = 0;
  1313. virtual HRESULT STDMETHODCALLTYPE SetAsDefault( void) = 0;
  1314. virtual HRESULT STDMETHODCALLTYPE Delete( void) = 0;
  1315. virtual HRESULT STDMETHODCALLTYPE SaveChanges( void) = 0;
  1316. virtual HRESULT STDMETHODCALLTYPE GetAccountType(
  1317. /* [out] */ ACCTTYPE *pAcctType) = 0;
  1318. virtual HRESULT STDMETHODCALLTYPE GetServerTypes(
  1319. /* [out] */ DWORD *pdwSrvTypes) = 0;
  1320. virtual HRESULT STDMETHODCALLTYPE ShowProperties(
  1321. /* [in] */ HWND hwnd,
  1322. /* [in] */ DWORD dwFlags) = 0;
  1323. virtual HRESULT STDMETHODCALLTYPE ValidateProperty(
  1324. /* [in] */ DWORD dwPropTag,
  1325. /* [size_is][in] */ BYTE *pb,
  1326. /* [in] */ ULONG cb) = 0;
  1327. virtual HRESULT STDMETHODCALLTYPE DoWizard(
  1328. /* [in] */ HWND hwnd,
  1329. /* [in] */ DWORD dwFlags) = 0;
  1330. virtual HRESULT STDMETHODCALLTYPE DoImportWizard(
  1331. /* [in] */ HWND hwnd,
  1332. /* [in] */ CLSID clsid,
  1333. /* [in] */ DWORD dwFlags) = 0;
  1334. };
  1335. #else /* C style interface */
  1336. typedef struct IImnAccountVtbl
  1337. {
  1338. BEGIN_INTERFACE
  1339. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1340. IImnAccount * This,
  1341. /* [in] */ REFIID riid,
  1342. /* [iid_is][out] */ void **ppvObject);
  1343. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1344. IImnAccount * This);
  1345. ULONG ( STDMETHODCALLTYPE *Release )(
  1346. IImnAccount * This);
  1347. HRESULT ( STDMETHODCALLTYPE *GetProp )(
  1348. IImnAccount * This,
  1349. /* [in] */ DWORD dwPropTag,
  1350. /* [ref][size_is][in] */ BYTE *pb,
  1351. /* [in] */ ULONG *pcb);
  1352. HRESULT ( STDMETHODCALLTYPE *GetPropDw )(
  1353. IImnAccount * This,
  1354. /* [in] */ DWORD dwPropTag,
  1355. /* [out] */ DWORD *pdw);
  1356. HRESULT ( STDMETHODCALLTYPE *GetPropSz )(
  1357. IImnAccount * This,
  1358. /* [in] */ DWORD dwPropTag,
  1359. /* [ref][in] */ LPSTR psz,
  1360. /* [in] */ ULONG cchMax);
  1361. HRESULT ( STDMETHODCALLTYPE *SetProp )(
  1362. IImnAccount * This,
  1363. /* [in] */ DWORD dwPropTag,
  1364. /* [size_is][in] */ BYTE *pb,
  1365. /* [in] */ ULONG cb);
  1366. HRESULT ( STDMETHODCALLTYPE *SetPropDw )(
  1367. IImnAccount * This,
  1368. /* [in] */ DWORD dwPropTag,
  1369. /* [in] */ DWORD dw);
  1370. HRESULT ( STDMETHODCALLTYPE *SetPropSz )(
  1371. IImnAccount * This,
  1372. /* [in] */ DWORD dwPropTag,
  1373. /* [in] */ LPSTR psz);
  1374. HRESULT ( STDMETHODCALLTYPE *Exist )(
  1375. IImnAccount * This);
  1376. HRESULT ( STDMETHODCALLTYPE *SetAsDefault )(
  1377. IImnAccount * This);
  1378. HRESULT ( STDMETHODCALLTYPE *Delete )(
  1379. IImnAccount * This);
  1380. HRESULT ( STDMETHODCALLTYPE *SaveChanges )(
  1381. IImnAccount * This);
  1382. HRESULT ( STDMETHODCALLTYPE *GetAccountType )(
  1383. IImnAccount * This,
  1384. /* [out] */ ACCTTYPE *pAcctType);
  1385. HRESULT ( STDMETHODCALLTYPE *GetServerTypes )(
  1386. IImnAccount * This,
  1387. /* [out] */ DWORD *pdwSrvTypes);
  1388. HRESULT ( STDMETHODCALLTYPE *ShowProperties )(
  1389. IImnAccount * This,
  1390. /* [in] */ HWND hwnd,
  1391. /* [in] */ DWORD dwFlags);
  1392. HRESULT ( STDMETHODCALLTYPE *ValidateProperty )(
  1393. IImnAccount * This,
  1394. /* [in] */ DWORD dwPropTag,
  1395. /* [size_is][in] */ BYTE *pb,
  1396. /* [in] */ ULONG cb);
  1397. HRESULT ( STDMETHODCALLTYPE *DoWizard )(
  1398. IImnAccount * This,
  1399. /* [in] */ HWND hwnd,
  1400. /* [in] */ DWORD dwFlags);
  1401. HRESULT ( STDMETHODCALLTYPE *DoImportWizard )(
  1402. IImnAccount * This,
  1403. /* [in] */ HWND hwnd,
  1404. /* [in] */ CLSID clsid,
  1405. /* [in] */ DWORD dwFlags);
  1406. END_INTERFACE
  1407. } IImnAccountVtbl;
  1408. interface IImnAccount
  1409. {
  1410. CONST_VTBL struct IImnAccountVtbl *lpVtbl;
  1411. };
  1412. #ifdef COBJMACROS
  1413. #define IImnAccount_QueryInterface(This,riid,ppvObject) \
  1414. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1415. #define IImnAccount_AddRef(This) \
  1416. (This)->lpVtbl -> AddRef(This)
  1417. #define IImnAccount_Release(This) \
  1418. (This)->lpVtbl -> Release(This)
  1419. #define IImnAccount_GetProp(This,dwPropTag,pb,pcb) \
  1420. (This)->lpVtbl -> GetProp(This,dwPropTag,pb,pcb)
  1421. #define IImnAccount_GetPropDw(This,dwPropTag,pdw) \
  1422. (This)->lpVtbl -> GetPropDw(This,dwPropTag,pdw)
  1423. #define IImnAccount_GetPropSz(This,dwPropTag,psz,cchMax) \
  1424. (This)->lpVtbl -> GetPropSz(This,dwPropTag,psz,cchMax)
  1425. #define IImnAccount_SetProp(This,dwPropTag,pb,cb) \
  1426. (This)->lpVtbl -> SetProp(This,dwPropTag,pb,cb)
  1427. #define IImnAccount_SetPropDw(This,dwPropTag,dw) \
  1428. (This)->lpVtbl -> SetPropDw(This,dwPropTag,dw)
  1429. #define IImnAccount_SetPropSz(This,dwPropTag,psz) \
  1430. (This)->lpVtbl -> SetPropSz(This,dwPropTag,psz)
  1431. #define IImnAccount_Exist(This) \
  1432. (This)->lpVtbl -> Exist(This)
  1433. #define IImnAccount_SetAsDefault(This) \
  1434. (This)->lpVtbl -> SetAsDefault(This)
  1435. #define IImnAccount_Delete(This) \
  1436. (This)->lpVtbl -> Delete(This)
  1437. #define IImnAccount_SaveChanges(This) \
  1438. (This)->lpVtbl -> SaveChanges(This)
  1439. #define IImnAccount_GetAccountType(This,pAcctType) \
  1440. (This)->lpVtbl -> GetAccountType(This,pAcctType)
  1441. #define IImnAccount_GetServerTypes(This,pdwSrvTypes) \
  1442. (This)->lpVtbl -> GetServerTypes(This,pdwSrvTypes)
  1443. #define IImnAccount_ShowProperties(This,hwnd,dwFlags) \
  1444. (This)->lpVtbl -> ShowProperties(This,hwnd,dwFlags)
  1445. #define IImnAccount_ValidateProperty(This,dwPropTag,pb,cb) \
  1446. (This)->lpVtbl -> ValidateProperty(This,dwPropTag,pb,cb)
  1447. #define IImnAccount_DoWizard(This,hwnd,dwFlags) \
  1448. (This)->lpVtbl -> DoWizard(This,hwnd,dwFlags)
  1449. #define IImnAccount_DoImportWizard(This,hwnd,clsid,dwFlags) \
  1450. (This)->lpVtbl -> DoImportWizard(This,hwnd,clsid,dwFlags)
  1451. #endif /* COBJMACROS */
  1452. #endif /* C style interface */
  1453. HRESULT STDMETHODCALLTYPE IImnAccount_Exist_Proxy(
  1454. IImnAccount * This);
  1455. void __RPC_STUB IImnAccount_Exist_Stub(
  1456. IRpcStubBuffer *This,
  1457. IRpcChannelBuffer *_pRpcChannelBuffer,
  1458. PRPC_MESSAGE _pRpcMessage,
  1459. DWORD *_pdwStubPhase);
  1460. HRESULT STDMETHODCALLTYPE IImnAccount_SetAsDefault_Proxy(
  1461. IImnAccount * This);
  1462. void __RPC_STUB IImnAccount_SetAsDefault_Stub(
  1463. IRpcStubBuffer *This,
  1464. IRpcChannelBuffer *_pRpcChannelBuffer,
  1465. PRPC_MESSAGE _pRpcMessage,
  1466. DWORD *_pdwStubPhase);
  1467. HRESULT STDMETHODCALLTYPE IImnAccount_Delete_Proxy(
  1468. IImnAccount * This);
  1469. void __RPC_STUB IImnAccount_Delete_Stub(
  1470. IRpcStubBuffer *This,
  1471. IRpcChannelBuffer *_pRpcChannelBuffer,
  1472. PRPC_MESSAGE _pRpcMessage,
  1473. DWORD *_pdwStubPhase);
  1474. HRESULT STDMETHODCALLTYPE IImnAccount_SaveChanges_Proxy(
  1475. IImnAccount * This);
  1476. void __RPC_STUB IImnAccount_SaveChanges_Stub(
  1477. IRpcStubBuffer *This,
  1478. IRpcChannelBuffer *_pRpcChannelBuffer,
  1479. PRPC_MESSAGE _pRpcMessage,
  1480. DWORD *_pdwStubPhase);
  1481. HRESULT STDMETHODCALLTYPE IImnAccount_GetAccountType_Proxy(
  1482. IImnAccount * This,
  1483. /* [out] */ ACCTTYPE *pAcctType);
  1484. void __RPC_STUB IImnAccount_GetAccountType_Stub(
  1485. IRpcStubBuffer *This,
  1486. IRpcChannelBuffer *_pRpcChannelBuffer,
  1487. PRPC_MESSAGE _pRpcMessage,
  1488. DWORD *_pdwStubPhase);
  1489. HRESULT STDMETHODCALLTYPE IImnAccount_GetServerTypes_Proxy(
  1490. IImnAccount * This,
  1491. /* [out] */ DWORD *pdwSrvTypes);
  1492. void __RPC_STUB IImnAccount_GetServerTypes_Stub(
  1493. IRpcStubBuffer *This,
  1494. IRpcChannelBuffer *_pRpcChannelBuffer,
  1495. PRPC_MESSAGE _pRpcMessage,
  1496. DWORD *_pdwStubPhase);
  1497. HRESULT STDMETHODCALLTYPE IImnAccount_ShowProperties_Proxy(
  1498. IImnAccount * This,
  1499. /* [in] */ HWND hwnd,
  1500. /* [in] */ DWORD dwFlags);
  1501. void __RPC_STUB IImnAccount_ShowProperties_Stub(
  1502. IRpcStubBuffer *This,
  1503. IRpcChannelBuffer *_pRpcChannelBuffer,
  1504. PRPC_MESSAGE _pRpcMessage,
  1505. DWORD *_pdwStubPhase);
  1506. HRESULT STDMETHODCALLTYPE IImnAccount_ValidateProperty_Proxy(
  1507. IImnAccount * This,
  1508. /* [in] */ DWORD dwPropTag,
  1509. /* [size_is][in] */ BYTE *pb,
  1510. /* [in] */ ULONG cb);
  1511. void __RPC_STUB IImnAccount_ValidateProperty_Stub(
  1512. IRpcStubBuffer *This,
  1513. IRpcChannelBuffer *_pRpcChannelBuffer,
  1514. PRPC_MESSAGE _pRpcMessage,
  1515. DWORD *_pdwStubPhase);
  1516. HRESULT STDMETHODCALLTYPE IImnAccount_DoWizard_Proxy(
  1517. IImnAccount * This,
  1518. /* [in] */ HWND hwnd,
  1519. /* [in] */ DWORD dwFlags);
  1520. void __RPC_STUB IImnAccount_DoWizard_Stub(
  1521. IRpcStubBuffer *This,
  1522. IRpcChannelBuffer *_pRpcChannelBuffer,
  1523. PRPC_MESSAGE _pRpcMessage,
  1524. DWORD *_pdwStubPhase);
  1525. HRESULT STDMETHODCALLTYPE IImnAccount_DoImportWizard_Proxy(
  1526. IImnAccount * This,
  1527. /* [in] */ HWND hwnd,
  1528. /* [in] */ CLSID clsid,
  1529. /* [in] */ DWORD dwFlags);
  1530. void __RPC_STUB IImnAccount_DoImportWizard_Stub(
  1531. IRpcStubBuffer *This,
  1532. IRpcChannelBuffer *_pRpcChannelBuffer,
  1533. PRPC_MESSAGE _pRpcMessage,
  1534. DWORD *_pdwStubPhase);
  1535. #endif /* __IImnAccount_INTERFACE_DEFINED__ */
  1536. /* interface __MIDL_itf_imnact_0106 */
  1537. /* [local] */
  1538. #if defined( WIN16 ) && !defined( __cplusplus )
  1539. // {8D4B04E1-1331-11d0-81B8-00C04FD85AB4}
  1540. EXTERN_C const IID CLSID_ImnAccountManager =
  1541. { 0x8d4b04e1, 0x1331, 0x11d0, { 0x81, 0xb8, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4 } };
  1542. // {FD465484-1384-11d0-ABBD-0020AFDFD10A}
  1543. EXTERN_C const IID IID_IPropertyContainer =
  1544. { 0xfd465484, 0x1384, 0x11d0, { 0xab, 0xbd, 0x0, 0x20, 0xaf, 0xdf, 0xd1, 0xa } };
  1545. // {FD465481-1384-11d0-ABBD-0020AFDFD10A}
  1546. EXTERN_C const IID IID_IImnAccountManager =
  1547. { 0xfd465481, 0x1384, 0x11d0, { 0xab, 0xbd, 0x0, 0x20, 0xaf, 0xdf, 0xd1, 0xa } };
  1548. // {C43DFC6F-62BB-11d2-A727-00C04F79E7C8}
  1549. EXTERN_C const IID IID_IImnAccountManager2 =
  1550. { 0xc43dfc6f, 0x62bb, 0x11d2, { 0xa7, 0x27, 0x0, 0xc0, 0x4f, 0x79, 0xe7, 0xc8 } };
  1551. // {FD465482-1384-11d0-ABBD-0020AFDFD10A}
  1552. EXTERN_C const IID IID_IImnAccount =
  1553. { 0xfd465482, 0x1384, 0x11d0, { 0xab, 0xbd, 0x0, 0x20, 0xaf, 0xdf, 0xd1, 0xa } };
  1554. // {FD465483-1384-11d0-ABBD-0020AFDFD10A}
  1555. EXTERN_C const IID IID_IImnEnumAccounts =
  1556. { 0xfd465483, 0x1384, 0x11d0, { 0xab, 0xbd, 0x0, 0x20, 0xaf, 0xdf, 0xd1, 0xa } };
  1557. // {8D0AED11-1638-11d0-81B9-00C04FD85AB4}
  1558. EXTERN_C const IID IID_IImnAdviseMigrateServer =
  1559. { 0x8d0aed11, 0x1638, 0x11d0, { 0x81, 0xb9, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4 } };
  1560. // {0A06BD31-166F-11d0-81B9-00C04FD85AB4}
  1561. EXTERN_C const IID IID_IImnAdviseAccount =
  1562. { 0xa06bd31, 0x166f, 0x11d0, { 0x81, 0xb9, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4 } };
  1563. #endif //WIN16 && !__cplusplus
  1564. extern RPC_IF_HANDLE __MIDL_itf_imnact_0106_v0_0_c_ifspec;
  1565. extern RPC_IF_HANDLE __MIDL_itf_imnact_0106_v0_0_s_ifspec;
  1566. /* Additional Prototypes for ALL interfaces */
  1567. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  1568. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  1569. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  1570. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  1571. /* end of Additional Prototypes */
  1572. #ifdef __cplusplus
  1573. }
  1574. #endif
  1575. #endif