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.

1726 lines
58 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.02.88 */
  3. /* at Tue Jun 03 10:53:09 1997
  4. */
  5. /* Compiler settings for imnact.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. #include "rpc.h"
  11. #include "rpcndr.h"
  12. #ifndef COM_NO_WINDOWS_H
  13. #include "windows.h"
  14. #include "ole2.h"
  15. #endif /*COM_NO_WINDOWS_H*/
  16. #ifndef __imnact_h__
  17. #define __imnact_h__
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif
  21. /* Forward Declarations */
  22. #ifndef __IImnAdviseAccount_FWD_DEFINED__
  23. #define __IImnAdviseAccount_FWD_DEFINED__
  24. typedef interface IImnAdviseAccount IImnAdviseAccount;
  25. #endif /* __IImnAdviseAccount_FWD_DEFINED__ */
  26. #ifndef __IImnAdviseMigrateServer_FWD_DEFINED__
  27. #define __IImnAdviseMigrateServer_FWD_DEFINED__
  28. typedef interface IImnAdviseMigrateServer IImnAdviseMigrateServer;
  29. #endif /* __IImnAdviseMigrateServer_FWD_DEFINED__ */
  30. #ifndef __IImnEnumAccounts_FWD_DEFINED__
  31. #define __IImnEnumAccounts_FWD_DEFINED__
  32. typedef interface IImnEnumAccounts IImnEnumAccounts;
  33. #endif /* __IImnEnumAccounts_FWD_DEFINED__ */
  34. #ifndef __IImnAccountManager_FWD_DEFINED__
  35. #define __IImnAccountManager_FWD_DEFINED__
  36. typedef interface IImnAccountManager IImnAccountManager;
  37. #endif /* __IImnAccountManager_FWD_DEFINED__ */
  38. #ifndef __IPropertyContainer_FWD_DEFINED__
  39. #define __IPropertyContainer_FWD_DEFINED__
  40. typedef interface IPropertyContainer IPropertyContainer;
  41. #endif /* __IPropertyContainer_FWD_DEFINED__ */
  42. #ifndef __IImnAccount_FWD_DEFINED__
  43. #define __IImnAccount_FWD_DEFINED__
  44. typedef interface IImnAccount IImnAccount;
  45. #endif /* __IImnAccount_FWD_DEFINED__ */
  46. /* header files for imported files */
  47. #include "objidl.h"
  48. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  49. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  50. /****************************************
  51. * Generated header for interface: __MIDL_itf_imnact_0000
  52. * at Tue Jun 03 10:53:09 1997
  53. * using MIDL 3.02.88
  54. ****************************************/
  55. /* [local] */
  56. //=--------------------------------------------------------------------------=
  57. // Imnact.h
  58. //=--------------------------------------------------------------------------=
  59. // (C) Copyright 1995-1996 Microsoft Corporation. All Rights Reserved.
  60. //
  61. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  62. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  63. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  64. // PARTICULAR PURPOSE.
  65. //=--------------------------------------------------------------------------=
  66. #pragma comment(lib,"uuid.lib")
  67. //---------------------------------------------------------------------------=
  68. // Internet Mail and News Account Manager Interfaces.
  69. // --------------------------------------------------------------------------------
  70. // GUIDS
  71. // --------------------------------------------------------------------------------
  72. // {8D4B04E1-1331-11d0-81B8-00C04FD85AB4}
  73. DEFINE_GUID(CLSID_ImnAccountManager, 0x8d4b04e1, 0x1331, 0x11d0, 0x81, 0xb8, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);
  74. // {FD465484-1384-11d0-ABBD-0020AFDFD10A}
  75. DEFINE_GUID(IID_IPropertyContainer, 0xfd465484, 0x1384, 0x11d0, 0xab, 0xbd, 0x0, 0x20, 0xaf, 0xdf, 0xd1, 0xa);
  76. // {FD465481-1384-11d0-ABBD-0020AFDFD10A}
  77. DEFINE_GUID(IID_IImnAccountManager, 0xfd465481, 0x1384, 0x11d0, 0xab, 0xbd, 0x0, 0x20, 0xaf, 0xdf, 0xd1, 0xa);
  78. // {FD465482-1384-11d0-ABBD-0020AFDFD10A}
  79. DEFINE_GUID(IID_IImnAccount, 0xfd465482, 0x1384, 0x11d0, 0xab, 0xbd, 0x0, 0x20, 0xaf, 0xdf, 0xd1, 0xa);
  80. // {FD465483-1384-11d0-ABBD-0020AFDFD10A}
  81. DEFINE_GUID(IID_IImnEnumAccounts, 0xfd465483, 0x1384, 0x11d0, 0xab, 0xbd, 0x0, 0x20, 0xaf, 0xdf, 0xd1, 0xa);
  82. // {8D0AED11-1638-11d0-81B9-00C04FD85AB4}
  83. DEFINE_GUID(IID_IImnAdviseMigrateServer, 0x8d0aed11, 0x1638, 0x11d0, 0x81, 0xb9, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);
  84. // {0A06BD31-166F-11d0-81B9-00C04FD85AB4}
  85. DEFINE_GUID(IID_IImnAdviseAccount, 0xa06bd31, 0x166f, 0x11d0, 0x81, 0xb9, 0x0, 0xc0, 0x4f, 0xd8, 0x5a, 0xb4);
  86. // --------------------------------------------------------------------------------
  87. // Exported C Functions
  88. // --------------------------------------------------------------------------------
  89. #if !defined(_IMNACCT_)
  90. #define IMNACCTAPI DECLSPEC_IMPORT HRESULT WINAPI
  91. #define IMNACCTAPI_(_type_) DECLSPEC_IMPORT _type_ WINAPI
  92. #else
  93. #define IMNACCTAPI HRESULT WINAPI
  94. #define IMNACCTAPI_(_type_) _type_ WINAPI
  95. #endif
  96. #ifdef __cplusplus
  97. extern "C" {
  98. #endif
  99. IMNACCTAPI HrCreateAccountManager(IImnAccountManager **ppAccountManager);
  100. IMNACCTAPI ValidEmailAddress(LPSTR lpAddress);
  101. IMNACCTAPI CreateAccountsFromFile(LPSTR lpFile, DWORD dwFlags);
  102. #ifdef __cplusplus
  103. }
  104. #endif
  105. // --------------------------------------------------------------------------------
  106. // Errors
  107. // --------------------------------------------------------------------------------
  108. #ifndef FACILITY_INTERNET
  109. #define FACILITY_INTERNET 12
  110. #endif
  111. #ifndef HR_E
  112. #define HR_E(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_INTERNET, n)
  113. #endif
  114. #ifndef HR_S
  115. #define HR_S(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_INTERNET, n)
  116. #endif
  117. #ifndef HR_CODE
  118. #define HR_CODE(hr) (INT)(hr & 0xffff)
  119. #endif
  120. // --------------------------------------------------------------------------------
  121. // General Errors
  122. // --------------------------------------------------------------------------------
  123. #define E_RegCreateKeyFailed HR_E(0xCD00)
  124. #define E_RegQueryInfoKeyFailed HR_E(0xCD01)
  125. #define E_UserCancel HR_E(0xCD02)
  126. #define E_RegOpenKeyFailed HR_E(0xCD03)
  127. #define E_RegSetValueFailed HR_E(0xCD04)
  128. #define E_RegDeleteKeyFailed HR_E(0xCD05)
  129. #define E_DuplicateAccountName HR_E(0xCD06)
  130. #define S_NonStandardValue HR_S(0xCD07)
  131. #define E_InvalidValue HR_E(0xCD08)
  132. // --------------------------------------------------------------------------------
  133. // IPropertyContainer Errors
  134. // --------------------------------------------------------------------------------
  135. #define E_NoPropData HR_E(0xCDA0)
  136. #define E_BufferTooSmall HR_E(0xCDA1)
  137. #define E_BadPropType HR_E(0xCDA2)
  138. #define E_BufferSizeMismatch HR_E(0xCDA3)
  139. #define E_InvalidBooleanValue HR_E(0xCDA4)
  140. #define E_InvalidMinMaxValue HR_E(0xCDA5)
  141. #define E_PropNotFound HR_E(0xCDA6)
  142. #define E_InvalidPropTag HR_E(0xCDA7)
  143. #define E_InvalidPropertySet HR_E(0xCDA8)
  144. #define E_EnumFinished HR_E(0xCDA9)
  145. #define S_NoSaveNeeded HR_S(0xCDAA)
  146. #define S_PasswordDeleted HR_S(0xCDAB)
  147. #define S_PasswordNotFound HR_S(0xCDAC)
  148. // --------------------------------------------------------------------------------
  149. // ImnAccountManager errors
  150. // --------------------------------------------------------------------------------
  151. #define E_NoAccounts HR_E(0xCDD0)
  152. #define E_BadFriendlyName HR_E(0xCDD1)
  153. // --------------------------------------------------------------------------------
  154. // RAS Connection Types
  155. // --------------------------------------------------------------------------------
  156. #define CF_AUTO_CONNECT FLAG02 // Automatically connect
  157. // --------------------------------------------------------------------------------
  158. // Property Macros
  159. // --------------------------------------------------------------------------------
  160. #define PROPTAG_MASK ((ULONG)0x0000FFFF)
  161. #define PROPTAG_TYPE(ulPropTag) (PROPTYPE)(((ULONG)(ulPropTag)) & PROPTAG_MASK)
  162. #define PROPTAG_ID(ulPropTag) (((ULONG)(ulPropTag))>>16)
  163. #define PROPTAG(ulPropType,ulPropID) ((((ULONG)(ulPropID))<<16)|((ULONG)(ulPropType)))
  164. #define MAX_PROPID ((ULONG) 0xFFFF)
  165. // --------------------------------------------------------------------------------
  166. // IImnAccount Properties
  167. // --------------------------------------------------------------------------------
  168. #define AP_FIRST 0X1234
  169. // per account properties
  170. #define AP_ACCOUNT_NAME PROPTAG(TYPE_STRING, AP_FIRST+1)
  171. #define AP_ACCOUNT_FIRST AP_ACCOUNT_NAME
  172. #define AP_TEMP_ACCOUNT PROPTAG(TYPE_DWORD, AP_FIRST+3)
  173. #define AP_LAST_UPDATED PROPTAG(TYPE_FILETIME, AP_FIRST+4)
  174. #define AP_RAS_CONNECTION_TYPE PROPTAG(TYPE_DWORD, AP_FIRST+5)
  175. #define AP_RAS_CONNECTOID PROPTAG(TYPE_STRING, AP_FIRST+6)
  176. #define AP_RAS_CONNECTION_FLAGS PROPTAG(TYPE_DWORD, AP_FIRST+7)
  177. #define AP_ACCOUNT_ID PROPTAG(TYPE_STRING, AP_FIRST+9)
  178. #define AP_ACCOUNT_LAST AP_ACCOUNT_ID
  179. // IMAP properties
  180. #define AP_IMAP_SERVER PROPTAG(TYPE_STRING, AP_FIRST+100)
  181. #define AP_IMAP_FIRST AP_IMAP_SERVER
  182. #define AP_IMAP_USERNAME PROPTAG(TYPE_STRING, AP_FIRST+101)
  183. #define AP_IMAP_PASSWORD PROPTAG(TYPE_PASS, AP_FIRST+102)
  184. #define AP_IMAP_USE_SICILY PROPTAG(TYPE_BOOL, AP_FIRST+104)
  185. #define AP_IMAP_PORT PROPTAG(TYPE_DWORD, AP_FIRST+105)
  186. #define AP_IMAP_SSL PROPTAG(TYPE_BOOL, AP_FIRST+106)
  187. #define AP_IMAP_TIMEOUT PROPTAG(TYPE_DWORD, AP_FIRST+107)
  188. #define AP_IMAP_ROOT_FOLDER PROPTAG(TYPE_STRING, AP_FIRST+108)
  189. #define AP_IMAP_DATA_DIR PROPTAG(TYPE_STRING, AP_FIRST+109)
  190. #define AP_IMAP_SKIP PROPTAG(TYPE_BOOL, AP_FIRST+110)
  191. #define AP_IMAP_LAST AP_IMAP_SKIP
  192. // LDAP properties
  193. #define AP_LDAP_SERVER PROPTAG(TYPE_STRING, AP_FIRST+200)
  194. #define AP_LDAP_FIRST AP_LDAP_SERVER
  195. #define AP_LDAP_USERNAME PROPTAG(TYPE_STRING, AP_FIRST+201)
  196. #define AP_LDAP_PASSWORD PROPTAG(TYPE_PASS, AP_FIRST+202)
  197. #define AP_LDAP_AUTHENTICATION PROPTAG(TYPE_DWORD, AP_FIRST+203)
  198. #define AP_LDAP_TIMEOUT PROPTAG(TYPE_DWORD, AP_FIRST+204)
  199. #define AP_LDAP_SEARCH_RETURN PROPTAG(TYPE_DWORD, AP_FIRST+205)
  200. #define AP_LDAP_SEARCH_BASE PROPTAG(TYPE_STRING, AP_FIRST+206)
  201. #define AP_LDAP_SERVER_ID PROPTAG(TYPE_DWORD, AP_FIRST+207)
  202. #define AP_LDAP_RESOLVE_FLAG PROPTAG(TYPE_DWORD, AP_FIRST+208)
  203. #define AP_LDAP_URL PROPTAG(TYPE_STRING, AP_FIRST+209)
  204. #define AP_LDAP_PORT PROPTAG(TYPE_DWORD, AP_FIRST+210)
  205. #define AP_LDAP_SSL PROPTAG(TYPE_BOOL, AP_FIRST+211)
  206. #define AP_LDAP_LOGO PROPTAG(TYPE_STRING, AP_FIRST+212)
  207. #define AP_LDAP_USE_BIND_DN PROPTAG(TYPE_DWORD, AP_FIRST+213)
  208. #define AP_LDAP_LAST AP_LDAP_USE_BIND_DN
  209. // NNTP properties
  210. #define AP_NNTP_SERVER PROPTAG(TYPE_STRING, AP_FIRST+300)
  211. #define AP_NNTP_FIRST AP_NNTP_SERVER
  212. #define AP_NNTP_USERNAME PROPTAG(TYPE_STRING, AP_FIRST+301)
  213. #define AP_NNTP_PASSWORD PROPTAG(TYPE_PASS, AP_FIRST+302)
  214. #define AP_NNTP_USE_SICILY PROPTAG(TYPE_BOOL, AP_FIRST+304)
  215. #define AP_NNTP_PORT PROPTAG(TYPE_DWORD, AP_FIRST+305)
  216. #define AP_NNTP_SSL PROPTAG(TYPE_BOOL, AP_FIRST+306)
  217. #define AP_NNTP_TIMEOUT PROPTAG(TYPE_DWORD, AP_FIRST+307)
  218. #define AP_NNTP_DISPLAY_NAME PROPTAG(TYPE_STRING, AP_FIRST+308)
  219. #define AP_NNTP_ORG_NAME PROPTAG(TYPE_STRING, AP_FIRST+309)
  220. #define AP_NNTP_EMAIL_ADDRESS PROPTAG(TYPE_STRING, AP_FIRST+310)
  221. #define AP_NNTP_REPLY_EMAIL_ADDRESS PROPTAG(TYPE_STRING, AP_FIRST+311)
  222. #define AP_NNTP_SPLIT_MESSAGES PROPTAG(TYPE_BOOL, AP_FIRST+312)
  223. #define AP_NNTP_SPLIT_SIZE PROPTAG(TYPE_DWORD, AP_FIRST+313)
  224. #define AP_NNTP_USE_DESCRIPTIONS PROPTAG(TYPE_BOOL, AP_FIRST+314)
  225. #define AP_NNTP_DATA_DIR PROPTAG(TYPE_STRING, AP_FIRST+315)
  226. #define AP_NNTP_LAST AP_NNTP_DATA_DIR
  227. // POP3 properties
  228. #define AP_POP3_SERVER PROPTAG(TYPE_STRING, AP_FIRST+400)
  229. #define AP_POP3_FIRST AP_POP3_SERVER
  230. #define AP_POP3_USERNAME PROPTAG(TYPE_STRING, AP_FIRST+401)
  231. #define AP_POP3_PASSWORD PROPTAG(TYPE_PASS, AP_FIRST+402)
  232. #define AP_POP3_USE_SICILY PROPTAG(TYPE_BOOL, AP_FIRST+404)
  233. #define AP_POP3_PORT PROPTAG(TYPE_DWORD, AP_FIRST+405)
  234. #define AP_POP3_SSL PROPTAG(TYPE_BOOL, AP_FIRST+406)
  235. #define AP_POP3_TIMEOUT PROPTAG(TYPE_DWORD, AP_FIRST+407)
  236. #define AP_POP3_LEAVE_ON_SERVER PROPTAG(TYPE_BOOL, AP_FIRST+408)
  237. #define AP_POP3_REMOVE_DELETED PROPTAG(TYPE_BOOL, AP_FIRST+409)
  238. #define AP_POP3_REMOVE_EXPIRED PROPTAG(TYPE_BOOL, AP_FIRST+410)
  239. #define AP_POP3_EXPIRE_DAYS PROPTAG(TYPE_DWORD, AP_FIRST+411)
  240. #define AP_POP3_SKIP PROPTAG(TYPE_BOOL, AP_FIRST+412)
  241. #define AP_POP3_LAST AP_POP3_SKIP
  242. // SMTP properties
  243. #define AP_SMTP_SERVER PROPTAG(TYPE_STRING, AP_FIRST+500)
  244. #define AP_SMTP_FIRST AP_SMTP_SERVER
  245. #define AP_SMTP_USERNAME PROPTAG(TYPE_STRING, AP_FIRST+501)
  246. #define AP_SMTP_PASSWORD PROPTAG(TYPE_PASS, AP_FIRST+502)
  247. #define AP_SMTP_USE_SICILY PROPTAG(TYPE_DWORD, AP_FIRST+504) // SMTPAUTHTYEP
  248. #define AP_SMTP_PORT PROPTAG(TYPE_DWORD, AP_FIRST+505)
  249. #define AP_SMTP_SSL PROPTAG(TYPE_BOOL, AP_FIRST+506)
  250. #define AP_SMTP_TIMEOUT PROPTAG(TYPE_DWORD, AP_FIRST+507)
  251. #define AP_SMTP_DISPLAY_NAME PROPTAG(TYPE_STRING, AP_FIRST+508)
  252. #define AP_SMTP_ORG_NAME PROPTAG(TYPE_STRING, AP_FIRST+509)
  253. #define AP_SMTP_EMAIL_ADDRESS PROPTAG(TYPE_STRING, AP_FIRST+510)
  254. #define AP_SMTP_REPLY_EMAIL_ADDRESS PROPTAG(TYPE_STRING, AP_FIRST+511)
  255. #define AP_SMTP_SPLIT_MESSAGES PROPTAG(TYPE_BOOL, AP_FIRST+512)
  256. #define AP_SMTP_SPLIT_SIZE PROPTAG(TYPE_DWORD, AP_FIRST+513)
  257. #define AP_SMTP_CERTIFICATE PROPTAG(TYPE_BINARY, AP_FIRST+514)
  258. #define AP_SMTP_LAST AP_SMTP_CERTIFICATE
  259. // --------------------------------------------------------------------------------
  260. // Account Flags
  261. // --------------------------------------------------------------------------------
  262. #define ACCT_FLAG_NEWS ((DWORD)1)
  263. #define ACCT_FLAG_MAIL ((DWORD)2)
  264. #define ACCT_FLAG_DIR_SERV ((DWORD)4)
  265. #define ACCT_FLAG_ALL (ACCT_FLAG_NEWS | ACCT_FLAG_MAIL | ACCT_FLAG_DIR_SERV)
  266. // --------------------------------------------------------------------------------
  267. // Server Types
  268. // --------------------------------------------------------------------------------
  269. #define SRV_NNTP ((DWORD)1)
  270. #define SRV_IMAP ((DWORD)2)
  271. #define SRV_POP3 ((DWORD)4)
  272. #define SRV_SMTP ((DWORD)8)
  273. #define SRV_LDAP ((DWORD)16)
  274. #define SRV_MAIL ((DWORD)(SRV_IMAP | SRV_POP3 | SRV_SMTP))
  275. #define SRV_ALL ((DWORD)(SRV_NNTP | SRV_IMAP | SRV_POP3 | SRV_SMTP | SRV_LDAP))
  276. // --------------------------------------------------------------------------------
  277. // LDAP Authentication Types
  278. // --------------------------------------------------------------------------------
  279. #define LDAP_AUTH_ANONYMOUS ((DWORD)0)
  280. #define LDAP_AUTH_PASSWORD ((DWORD)1)
  281. #define LDAP_AUTH_MEMBER_SYSTEM ((DWORD)2)
  282. #define LDAP_AUTH_MAX ((DWORD)2)
  283. // -----------------------------------------------------------------------------
  284. // Account Manager Notification Types
  285. // -----------------------------------------------------------------------------
  286. #define AN_ACCOUNT_DELETED WM_USER + 1
  287. #define AN_ACCOUNT_ADDED WM_USER + 2
  288. #define AN_ACCOUNT_CHANGED WM_USER + 3
  289. #define AN_DEFAULT_CHANGED WM_USER + 4
  290. #define AN_SERVERTYPES_CHANGED WM_USER + 5
  291. // IImnAccountManager::AccountListDialog flags
  292. // IImnAccount::ShowProperties flags
  293. #define ACCTDLG_NO_IMAP 0x0001
  294. #define ACCTDLG_NO_REMOVEDELETE 0x0002
  295. #define ACCTDLG_NO_BREAKMESSAGES 0x0004
  296. #define ACCTDLG_NO_REMOVEAFTER 0x0008
  297. #define ACCTDLG_NO_SENDRECEIVE 0x0010
  298. #define ACCTDLG_ALL 0x001f
  299. // AP_RAS_CONNECTION_TYPE values
  300. #define CONNECTION_TYPE_LAN 0
  301. #define CONNECTION_TYPE_MANUAL 1
  302. #define CONNECTION_TYPE_RAS 2
  303. // IImnAccount::DoWizard flags
  304. #define ACCT_WIZ_MIGRATE 0x0001
  305. typedef
  306. enum tagSMTPAUTHTYPE
  307. { SMTP_AUTH_NONE = 0,
  308. SMTP_AUTH_SICILY = SMTP_AUTH_NONE + 1,
  309. SMTP_AUTH_USE_POP3ORIMAP_SETTINGS = SMTP_AUTH_SICILY + 1,
  310. SMTP_AUTH_USE_SMTP_SETTINGS = SMTP_AUTH_USE_POP3ORIMAP_SETTINGS + 1
  311. } SMTPAUTHTYPE;
  312. #define CCHMAX_ORG_NAME ( 256 )
  313. #define CCHMAX_DISPLAY_NAME ( 256 )
  314. #define CCHMAX_ACCOUNT_NAME ( 256 )
  315. #define CCHMAX_SERVER_NAME ( 256 )
  316. #define CCHMAX_PASSWORD ( 256 )
  317. #define CCHMAX_USERNAME ( 256 )
  318. #define CCHMAX_EMAIL_ADDRESS ( 256 )
  319. #define CCHMAX_CONNECTOID ( 256 )
  320. #define CCHMAX_SEARCH_BASE ( 256 )
  321. #define CCHMAX_ROOT_FOLDER ( 256 )
  322. extern RPC_IF_HANDLE __MIDL_itf_imnact_0000_v0_0_c_ifspec;
  323. extern RPC_IF_HANDLE __MIDL_itf_imnact_0000_v0_0_s_ifspec;
  324. #ifndef __IImnAdviseAccount_INTERFACE_DEFINED__
  325. #define __IImnAdviseAccount_INTERFACE_DEFINED__
  326. /****************************************
  327. * Generated header for interface: IImnAdviseAccount
  328. * at Tue Jun 03 10:53:09 1997
  329. * using MIDL 3.02.88
  330. ****************************************/
  331. /* [unique][uuid][object] */
  332. typedef /* [public][public][public][public][public][public][public][public][public][public] */
  333. enum __MIDL_IImnAdviseAccount_0001
  334. { ACCT_NEWS = 0,
  335. ACCT_MAIL = ACCT_NEWS + 1,
  336. ACCT_DIR_SERV = ACCT_MAIL + 1,
  337. ACCT_LAST = ACCT_DIR_SERV + 1
  338. } ACCTTYPE;
  339. typedef struct tagAccountContext
  340. {
  341. ACCTTYPE AcctType;
  342. LPSTR pszAccountID;
  343. LPSTR pszOldName;
  344. DWORD dwServerType;
  345. } ACTX;
  346. EXTERN_C const IID IID_IImnAdviseAccount;
  347. #if defined(__cplusplus) && !defined(CINTERFACE)
  348. interface DECLSPEC_UUID("0A06BD31-166F-11d0-81B9-00C04FD85AB4")
  349. IImnAdviseAccount : public IUnknown
  350. {
  351. public:
  352. virtual HRESULT STDMETHODCALLTYPE AdviseAccount(
  353. /* [in] */ DWORD dwAdviseType,
  354. /* [in] */ ACTX __RPC_FAR *pAcctCtx) = 0;
  355. };
  356. #else /* C style interface */
  357. typedef struct IImnAdviseAccountVtbl
  358. {
  359. BEGIN_INTERFACE
  360. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  361. IImnAdviseAccount __RPC_FAR * This,
  362. /* [in] */ REFIID riid,
  363. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  364. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  365. IImnAdviseAccount __RPC_FAR * This);
  366. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  367. IImnAdviseAccount __RPC_FAR * This);
  368. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AdviseAccount )(
  369. IImnAdviseAccount __RPC_FAR * This,
  370. /* [in] */ DWORD dwAdviseType,
  371. /* [in] */ ACTX __RPC_FAR *pAcctCtx);
  372. END_INTERFACE
  373. } IImnAdviseAccountVtbl;
  374. interface IImnAdviseAccount
  375. {
  376. CONST_VTBL struct IImnAdviseAccountVtbl __RPC_FAR *lpVtbl;
  377. };
  378. #ifdef COBJMACROS
  379. #define IImnAdviseAccount_QueryInterface(This,riid,ppvObject) \
  380. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  381. #define IImnAdviseAccount_AddRef(This) \
  382. (This)->lpVtbl -> AddRef(This)
  383. #define IImnAdviseAccount_Release(This) \
  384. (This)->lpVtbl -> Release(This)
  385. #define IImnAdviseAccount_AdviseAccount(This,dwAdviseType,pAcctCtx) \
  386. (This)->lpVtbl -> AdviseAccount(This,dwAdviseType,pAcctCtx)
  387. #endif /* COBJMACROS */
  388. #endif /* C style interface */
  389. HRESULT STDMETHODCALLTYPE IImnAdviseAccount_AdviseAccount_Proxy(
  390. IImnAdviseAccount __RPC_FAR * This,
  391. /* [in] */ DWORD dwAdviseType,
  392. /* [in] */ ACTX __RPC_FAR *pAcctCtx);
  393. void __RPC_STUB IImnAdviseAccount_AdviseAccount_Stub(
  394. IRpcStubBuffer *This,
  395. IRpcChannelBuffer *_pRpcChannelBuffer,
  396. PRPC_MESSAGE _pRpcMessage,
  397. DWORD *_pdwStubPhase);
  398. #endif /* __IImnAdviseAccount_INTERFACE_DEFINED__ */
  399. #ifndef __IImnAdviseMigrateServer_INTERFACE_DEFINED__
  400. #define __IImnAdviseMigrateServer_INTERFACE_DEFINED__
  401. /****************************************
  402. * Generated header for interface: IImnAdviseMigrateServer
  403. * at Tue Jun 03 10:53:09 1997
  404. * using MIDL 3.02.88
  405. ****************************************/
  406. /* [unique][uuid][object] */
  407. EXTERN_C const IID IID_IImnAdviseMigrateServer;
  408. #if defined(__cplusplus) && !defined(CINTERFACE)
  409. interface DECLSPEC_UUID("8D0AED11-1638-11d0-81B9-00C04FD85AB4")
  410. IImnAdviseMigrateServer : public IUnknown
  411. {
  412. public:
  413. virtual HRESULT STDMETHODCALLTYPE MigrateServer(
  414. /* [in] */ DWORD dwSrvType,
  415. /* [in] */ IImnAccount __RPC_FAR *pAccount) = 0;
  416. };
  417. #else /* C style interface */
  418. typedef struct IImnAdviseMigrateServerVtbl
  419. {
  420. BEGIN_INTERFACE
  421. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  422. IImnAdviseMigrateServer __RPC_FAR * This,
  423. /* [in] */ REFIID riid,
  424. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  425. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  426. IImnAdviseMigrateServer __RPC_FAR * This);
  427. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  428. IImnAdviseMigrateServer __RPC_FAR * This);
  429. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MigrateServer )(
  430. IImnAdviseMigrateServer __RPC_FAR * This,
  431. /* [in] */ DWORD dwSrvType,
  432. /* [in] */ IImnAccount __RPC_FAR *pAccount);
  433. END_INTERFACE
  434. } IImnAdviseMigrateServerVtbl;
  435. interface IImnAdviseMigrateServer
  436. {
  437. CONST_VTBL struct IImnAdviseMigrateServerVtbl __RPC_FAR *lpVtbl;
  438. };
  439. #ifdef COBJMACROS
  440. #define IImnAdviseMigrateServer_QueryInterface(This,riid,ppvObject) \
  441. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  442. #define IImnAdviseMigrateServer_AddRef(This) \
  443. (This)->lpVtbl -> AddRef(This)
  444. #define IImnAdviseMigrateServer_Release(This) \
  445. (This)->lpVtbl -> Release(This)
  446. #define IImnAdviseMigrateServer_MigrateServer(This,dwSrvType,pAccount) \
  447. (This)->lpVtbl -> MigrateServer(This,dwSrvType,pAccount)
  448. #endif /* COBJMACROS */
  449. #endif /* C style interface */
  450. HRESULT STDMETHODCALLTYPE IImnAdviseMigrateServer_MigrateServer_Proxy(
  451. IImnAdviseMigrateServer __RPC_FAR * This,
  452. /* [in] */ DWORD dwSrvType,
  453. /* [in] */ IImnAccount __RPC_FAR *pAccount);
  454. void __RPC_STUB IImnAdviseMigrateServer_MigrateServer_Stub(
  455. IRpcStubBuffer *This,
  456. IRpcChannelBuffer *_pRpcChannelBuffer,
  457. PRPC_MESSAGE _pRpcMessage,
  458. DWORD *_pdwStubPhase);
  459. #endif /* __IImnAdviseMigrateServer_INTERFACE_DEFINED__ */
  460. #ifndef __IImnEnumAccounts_INTERFACE_DEFINED__
  461. #define __IImnEnumAccounts_INTERFACE_DEFINED__
  462. /****************************************
  463. * Generated header for interface: IImnEnumAccounts
  464. * at Tue Jun 03 10:53:09 1997
  465. * using MIDL 3.02.88
  466. ****************************************/
  467. /* [unique][uuid][object] */
  468. EXTERN_C const IID IID_IImnEnumAccounts;
  469. #if defined(__cplusplus) && !defined(CINTERFACE)
  470. interface DECLSPEC_UUID("FD465483-1384-11d0-ABBD-0020AFDFD10A")
  471. IImnEnumAccounts : public IUnknown
  472. {
  473. public:
  474. virtual HRESULT STDMETHODCALLTYPE GetCount(
  475. /* [out] */ ULONG __RPC_FAR *pcItems) = 0;
  476. virtual HRESULT STDMETHODCALLTYPE SortByAccountName( void) = 0;
  477. virtual HRESULT STDMETHODCALLTYPE GetNext(
  478. /* [out] */ IImnAccount __RPC_FAR *__RPC_FAR *ppAccount) = 0;
  479. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  480. };
  481. #else /* C style interface */
  482. typedef struct IImnEnumAccountsVtbl
  483. {
  484. BEGIN_INTERFACE
  485. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  486. IImnEnumAccounts __RPC_FAR * This,
  487. /* [in] */ REFIID riid,
  488. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  489. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  490. IImnEnumAccounts __RPC_FAR * This);
  491. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  492. IImnEnumAccounts __RPC_FAR * This);
  493. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )(
  494. IImnEnumAccounts __RPC_FAR * This,
  495. /* [out] */ ULONG __RPC_FAR *pcItems);
  496. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SortByAccountName )(
  497. IImnEnumAccounts __RPC_FAR * This);
  498. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNext )(
  499. IImnEnumAccounts __RPC_FAR * This,
  500. /* [out] */ IImnAccount __RPC_FAR *__RPC_FAR *ppAccount);
  501. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )(
  502. IImnEnumAccounts __RPC_FAR * This);
  503. END_INTERFACE
  504. } IImnEnumAccountsVtbl;
  505. interface IImnEnumAccounts
  506. {
  507. CONST_VTBL struct IImnEnumAccountsVtbl __RPC_FAR *lpVtbl;
  508. };
  509. #ifdef COBJMACROS
  510. #define IImnEnumAccounts_QueryInterface(This,riid,ppvObject) \
  511. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  512. #define IImnEnumAccounts_AddRef(This) \
  513. (This)->lpVtbl -> AddRef(This)
  514. #define IImnEnumAccounts_Release(This) \
  515. (This)->lpVtbl -> Release(This)
  516. #define IImnEnumAccounts_GetCount(This,pcItems) \
  517. (This)->lpVtbl -> GetCount(This,pcItems)
  518. #define IImnEnumAccounts_SortByAccountName(This) \
  519. (This)->lpVtbl -> SortByAccountName(This)
  520. #define IImnEnumAccounts_GetNext(This,ppAccount) \
  521. (This)->lpVtbl -> GetNext(This,ppAccount)
  522. #define IImnEnumAccounts_Reset(This) \
  523. (This)->lpVtbl -> Reset(This)
  524. #endif /* COBJMACROS */
  525. #endif /* C style interface */
  526. HRESULT STDMETHODCALLTYPE IImnEnumAccounts_GetCount_Proxy(
  527. IImnEnumAccounts __RPC_FAR * This,
  528. /* [out] */ ULONG __RPC_FAR *pcItems);
  529. void __RPC_STUB IImnEnumAccounts_GetCount_Stub(
  530. IRpcStubBuffer *This,
  531. IRpcChannelBuffer *_pRpcChannelBuffer,
  532. PRPC_MESSAGE _pRpcMessage,
  533. DWORD *_pdwStubPhase);
  534. HRESULT STDMETHODCALLTYPE IImnEnumAccounts_SortByAccountName_Proxy(
  535. IImnEnumAccounts __RPC_FAR * This);
  536. void __RPC_STUB IImnEnumAccounts_SortByAccountName_Stub(
  537. IRpcStubBuffer *This,
  538. IRpcChannelBuffer *_pRpcChannelBuffer,
  539. PRPC_MESSAGE _pRpcMessage,
  540. DWORD *_pdwStubPhase);
  541. HRESULT STDMETHODCALLTYPE IImnEnumAccounts_GetNext_Proxy(
  542. IImnEnumAccounts __RPC_FAR * This,
  543. /* [out] */ IImnAccount __RPC_FAR *__RPC_FAR *ppAccount);
  544. void __RPC_STUB IImnEnumAccounts_GetNext_Stub(
  545. IRpcStubBuffer *This,
  546. IRpcChannelBuffer *_pRpcChannelBuffer,
  547. PRPC_MESSAGE _pRpcMessage,
  548. DWORD *_pdwStubPhase);
  549. HRESULT STDMETHODCALLTYPE IImnEnumAccounts_Reset_Proxy(
  550. IImnEnumAccounts __RPC_FAR * This);
  551. void __RPC_STUB IImnEnumAccounts_Reset_Stub(
  552. IRpcStubBuffer *This,
  553. IRpcChannelBuffer *_pRpcChannelBuffer,
  554. PRPC_MESSAGE _pRpcMessage,
  555. DWORD *_pdwStubPhase);
  556. #endif /* __IImnEnumAccounts_INTERFACE_DEFINED__ */
  557. #ifndef __IImnAccountManager_INTERFACE_DEFINED__
  558. #define __IImnAccountManager_INTERFACE_DEFINED__
  559. /****************************************
  560. * Generated header for interface: IImnAccountManager
  561. * at Tue Jun 03 10:53:09 1997
  562. * using MIDL 3.02.88
  563. ****************************************/
  564. /* [unique][uuid][object] */
  565. typedef struct tagACCTLISTINFO
  566. {
  567. DWORD cbSize;
  568. ACCTTYPE AcctTypeInit;
  569. DWORD dwAcctFlags;
  570. DWORD dwFlags;
  571. } ACCTLISTINFO;
  572. EXTERN_C const IID IID_IImnAccountManager;
  573. #if defined(__cplusplus) && !defined(CINTERFACE)
  574. interface DECLSPEC_UUID("FD465481-1384-11d0-ABBD-0020AFDFD10A")
  575. IImnAccountManager : public IUnknown
  576. {
  577. public:
  578. virtual HRESULT STDMETHODCALLTYPE Init(
  579. /* [in] */ IImnAdviseMigrateServer __RPC_FAR *pAdviseMigrateServer) = 0;
  580. virtual HRESULT STDMETHODCALLTYPE CreateAccountObject(
  581. /* [in] */ ACCTTYPE AcctType,
  582. /* [out] */ IImnAccount __RPC_FAR *__RPC_FAR *ppAccount) = 0;
  583. virtual HRESULT STDMETHODCALLTYPE Enumerate(
  584. /* [in] */ DWORD dwSrvTypes,
  585. /* [out] */ IImnEnumAccounts __RPC_FAR *__RPC_FAR *ppEnumAccounts) = 0;
  586. virtual HRESULT STDMETHODCALLTYPE GetAccountCount(
  587. /* [in] */ ACCTTYPE AcctType,
  588. /* [out] */ ULONG __RPC_FAR *pcServers) = 0;
  589. virtual HRESULT STDMETHODCALLTYPE FindAccount(
  590. /* [in] */ DWORD dwPropTag,
  591. /* [in] */ LPCTSTR pszSearchData,
  592. /* [out] */ IImnAccount __RPC_FAR *__RPC_FAR *ppAccount) = 0;
  593. virtual HRESULT STDMETHODCALLTYPE GetDefaultAccount(
  594. /* [in] */ ACCTTYPE AcctType,
  595. /* [out] */ IImnAccount __RPC_FAR *__RPC_FAR *ppAccount) = 0;
  596. virtual HRESULT STDMETHODCALLTYPE GetDefaultAccountName(
  597. /* [in] */ ACCTTYPE AcctType,
  598. /* [ref][in] */ LPTSTR pszAccount,
  599. /* [in] */ ULONG cchMax) = 0;
  600. virtual HRESULT STDMETHODCALLTYPE ProcessNotification(
  601. /* [in] */ UINT uMsg,
  602. /* [in] */ WPARAM wParam,
  603. /* [in] */ LPARAM lParam) = 0;
  604. virtual HRESULT STDMETHODCALLTYPE ValidateDefaultSendAccount( void) = 0;
  605. virtual HRESULT STDMETHODCALLTYPE AccountListDialog(
  606. /* [in] */ HWND hwnd,
  607. /* [in] */ ACCTLISTINFO __RPC_FAR *pinfo) = 0;
  608. virtual HRESULT STDMETHODCALLTYPE Advise(
  609. /* [in] */ IImnAdviseAccount __RPC_FAR *pAdviseAccount,
  610. /* [out] */ DWORD __RPC_FAR *pdwConnection) = 0;
  611. virtual HRESULT STDMETHODCALLTYPE Unadvise(
  612. /* [in] */ DWORD dwConnection) = 0;
  613. };
  614. #else /* C style interface */
  615. typedef struct IImnAccountManagerVtbl
  616. {
  617. BEGIN_INTERFACE
  618. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  619. IImnAccountManager __RPC_FAR * This,
  620. /* [in] */ REFIID riid,
  621. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  622. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  623. IImnAccountManager __RPC_FAR * This);
  624. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  625. IImnAccountManager __RPC_FAR * This);
  626. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Init )(
  627. IImnAccountManager __RPC_FAR * This,
  628. /* [in] */ IImnAdviseMigrateServer __RPC_FAR *pAdviseMigrateServer);
  629. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateAccountObject )(
  630. IImnAccountManager __RPC_FAR * This,
  631. /* [in] */ ACCTTYPE AcctType,
  632. /* [out] */ IImnAccount __RPC_FAR *__RPC_FAR *ppAccount);
  633. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Enumerate )(
  634. IImnAccountManager __RPC_FAR * This,
  635. /* [in] */ DWORD dwSrvTypes,
  636. /* [out] */ IImnEnumAccounts __RPC_FAR *__RPC_FAR *ppEnumAccounts);
  637. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAccountCount )(
  638. IImnAccountManager __RPC_FAR * This,
  639. /* [in] */ ACCTTYPE AcctType,
  640. /* [out] */ ULONG __RPC_FAR *pcServers);
  641. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindAccount )(
  642. IImnAccountManager __RPC_FAR * This,
  643. /* [in] */ DWORD dwPropTag,
  644. /* [in] */ LPCTSTR pszSearchData,
  645. /* [out] */ IImnAccount __RPC_FAR *__RPC_FAR *ppAccount);
  646. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDefaultAccount )(
  647. IImnAccountManager __RPC_FAR * This,
  648. /* [in] */ ACCTTYPE AcctType,
  649. /* [out] */ IImnAccount __RPC_FAR *__RPC_FAR *ppAccount);
  650. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDefaultAccountName )(
  651. IImnAccountManager __RPC_FAR * This,
  652. /* [in] */ ACCTTYPE AcctType,
  653. /* [ref][in] */ LPTSTR pszAccount,
  654. /* [in] */ ULONG cchMax);
  655. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ProcessNotification )(
  656. IImnAccountManager __RPC_FAR * This,
  657. /* [in] */ UINT uMsg,
  658. /* [in] */ WPARAM wParam,
  659. /* [in] */ LPARAM lParam);
  660. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ValidateDefaultSendAccount )(
  661. IImnAccountManager __RPC_FAR * This);
  662. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AccountListDialog )(
  663. IImnAccountManager __RPC_FAR * This,
  664. /* [in] */ HWND hwnd,
  665. /* [in] */ ACCTLISTINFO __RPC_FAR *pinfo);
  666. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Advise )(
  667. IImnAccountManager __RPC_FAR * This,
  668. /* [in] */ IImnAdviseAccount __RPC_FAR *pAdviseAccount,
  669. /* [out] */ DWORD __RPC_FAR *pdwConnection);
  670. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unadvise )(
  671. IImnAccountManager __RPC_FAR * This,
  672. /* [in] */ DWORD dwConnection);
  673. END_INTERFACE
  674. } IImnAccountManagerVtbl;
  675. interface IImnAccountManager
  676. {
  677. CONST_VTBL struct IImnAccountManagerVtbl __RPC_FAR *lpVtbl;
  678. };
  679. #ifdef COBJMACROS
  680. #define IImnAccountManager_QueryInterface(This,riid,ppvObject) \
  681. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  682. #define IImnAccountManager_AddRef(This) \
  683. (This)->lpVtbl -> AddRef(This)
  684. #define IImnAccountManager_Release(This) \
  685. (This)->lpVtbl -> Release(This)
  686. #define IImnAccountManager_Init(This,pAdviseMigrateServer) \
  687. (This)->lpVtbl -> Init(This,pAdviseMigrateServer)
  688. #define IImnAccountManager_CreateAccountObject(This,AcctType,ppAccount) \
  689. (This)->lpVtbl -> CreateAccountObject(This,AcctType,ppAccount)
  690. #define IImnAccountManager_Enumerate(This,dwSrvTypes,ppEnumAccounts) \
  691. (This)->lpVtbl -> Enumerate(This,dwSrvTypes,ppEnumAccounts)
  692. #define IImnAccountManager_GetAccountCount(This,AcctType,pcServers) \
  693. (This)->lpVtbl -> GetAccountCount(This,AcctType,pcServers)
  694. #define IImnAccountManager_FindAccount(This,dwPropTag,pszSearchData,ppAccount) \
  695. (This)->lpVtbl -> FindAccount(This,dwPropTag,pszSearchData,ppAccount)
  696. #define IImnAccountManager_GetDefaultAccount(This,AcctType,ppAccount) \
  697. (This)->lpVtbl -> GetDefaultAccount(This,AcctType,ppAccount)
  698. #define IImnAccountManager_GetDefaultAccountName(This,AcctType,pszAccount,cchMax) \
  699. (This)->lpVtbl -> GetDefaultAccountName(This,AcctType,pszAccount,cchMax)
  700. #define IImnAccountManager_ProcessNotification(This,uMsg,wParam,lParam) \
  701. (This)->lpVtbl -> ProcessNotification(This,uMsg,wParam,lParam)
  702. #define IImnAccountManager_ValidateDefaultSendAccount(This) \
  703. (This)->lpVtbl -> ValidateDefaultSendAccount(This)
  704. #define IImnAccountManager_AccountListDialog(This,hwnd,pinfo) \
  705. (This)->lpVtbl -> AccountListDialog(This,hwnd,pinfo)
  706. #define IImnAccountManager_Advise(This,pAdviseAccount,pdwConnection) \
  707. (This)->lpVtbl -> Advise(This,pAdviseAccount,pdwConnection)
  708. #define IImnAccountManager_Unadvise(This,dwConnection) \
  709. (This)->lpVtbl -> Unadvise(This,dwConnection)
  710. #endif /* COBJMACROS */
  711. #endif /* C style interface */
  712. HRESULT STDMETHODCALLTYPE IImnAccountManager_Init_Proxy(
  713. IImnAccountManager __RPC_FAR * This,
  714. /* [in] */ IImnAdviseMigrateServer __RPC_FAR *pAdviseMigrateServer);
  715. void __RPC_STUB IImnAccountManager_Init_Stub(
  716. IRpcStubBuffer *This,
  717. IRpcChannelBuffer *_pRpcChannelBuffer,
  718. PRPC_MESSAGE _pRpcMessage,
  719. DWORD *_pdwStubPhase);
  720. HRESULT STDMETHODCALLTYPE IImnAccountManager_CreateAccountObject_Proxy(
  721. IImnAccountManager __RPC_FAR * This,
  722. /* [in] */ ACCTTYPE AcctType,
  723. /* [out] */ IImnAccount __RPC_FAR *__RPC_FAR *ppAccount);
  724. void __RPC_STUB IImnAccountManager_CreateAccountObject_Stub(
  725. IRpcStubBuffer *This,
  726. IRpcChannelBuffer *_pRpcChannelBuffer,
  727. PRPC_MESSAGE _pRpcMessage,
  728. DWORD *_pdwStubPhase);
  729. HRESULT STDMETHODCALLTYPE IImnAccountManager_Enumerate_Proxy(
  730. IImnAccountManager __RPC_FAR * This,
  731. /* [in] */ DWORD dwSrvTypes,
  732. /* [out] */ IImnEnumAccounts __RPC_FAR *__RPC_FAR *ppEnumAccounts);
  733. void __RPC_STUB IImnAccountManager_Enumerate_Stub(
  734. IRpcStubBuffer *This,
  735. IRpcChannelBuffer *_pRpcChannelBuffer,
  736. PRPC_MESSAGE _pRpcMessage,
  737. DWORD *_pdwStubPhase);
  738. HRESULT STDMETHODCALLTYPE IImnAccountManager_GetAccountCount_Proxy(
  739. IImnAccountManager __RPC_FAR * This,
  740. /* [in] */ ACCTTYPE AcctType,
  741. /* [out] */ ULONG __RPC_FAR *pcServers);
  742. void __RPC_STUB IImnAccountManager_GetAccountCount_Stub(
  743. IRpcStubBuffer *This,
  744. IRpcChannelBuffer *_pRpcChannelBuffer,
  745. PRPC_MESSAGE _pRpcMessage,
  746. DWORD *_pdwStubPhase);
  747. HRESULT STDMETHODCALLTYPE IImnAccountManager_FindAccount_Proxy(
  748. IImnAccountManager __RPC_FAR * This,
  749. /* [in] */ DWORD dwPropTag,
  750. /* [in] */ LPCTSTR pszSearchData,
  751. /* [out] */ IImnAccount __RPC_FAR *__RPC_FAR *ppAccount);
  752. void __RPC_STUB IImnAccountManager_FindAccount_Stub(
  753. IRpcStubBuffer *This,
  754. IRpcChannelBuffer *_pRpcChannelBuffer,
  755. PRPC_MESSAGE _pRpcMessage,
  756. DWORD *_pdwStubPhase);
  757. HRESULT STDMETHODCALLTYPE IImnAccountManager_GetDefaultAccount_Proxy(
  758. IImnAccountManager __RPC_FAR * This,
  759. /* [in] */ ACCTTYPE AcctType,
  760. /* [out] */ IImnAccount __RPC_FAR *__RPC_FAR *ppAccount);
  761. void __RPC_STUB IImnAccountManager_GetDefaultAccount_Stub(
  762. IRpcStubBuffer *This,
  763. IRpcChannelBuffer *_pRpcChannelBuffer,
  764. PRPC_MESSAGE _pRpcMessage,
  765. DWORD *_pdwStubPhase);
  766. HRESULT STDMETHODCALLTYPE IImnAccountManager_GetDefaultAccountName_Proxy(
  767. IImnAccountManager __RPC_FAR * This,
  768. /* [in] */ ACCTTYPE AcctType,
  769. /* [ref][in] */ LPTSTR pszAccount,
  770. /* [in] */ ULONG cchMax);
  771. void __RPC_STUB IImnAccountManager_GetDefaultAccountName_Stub(
  772. IRpcStubBuffer *This,
  773. IRpcChannelBuffer *_pRpcChannelBuffer,
  774. PRPC_MESSAGE _pRpcMessage,
  775. DWORD *_pdwStubPhase);
  776. HRESULT STDMETHODCALLTYPE IImnAccountManager_ProcessNotification_Proxy(
  777. IImnAccountManager __RPC_FAR * This,
  778. /* [in] */ UINT uMsg,
  779. /* [in] */ WPARAM wParam,
  780. /* [in] */ LPARAM lParam);
  781. void __RPC_STUB IImnAccountManager_ProcessNotification_Stub(
  782. IRpcStubBuffer *This,
  783. IRpcChannelBuffer *_pRpcChannelBuffer,
  784. PRPC_MESSAGE _pRpcMessage,
  785. DWORD *_pdwStubPhase);
  786. HRESULT STDMETHODCALLTYPE IImnAccountManager_ValidateDefaultSendAccount_Proxy(
  787. IImnAccountManager __RPC_FAR * This);
  788. void __RPC_STUB IImnAccountManager_ValidateDefaultSendAccount_Stub(
  789. IRpcStubBuffer *This,
  790. IRpcChannelBuffer *_pRpcChannelBuffer,
  791. PRPC_MESSAGE _pRpcMessage,
  792. DWORD *_pdwStubPhase);
  793. HRESULT STDMETHODCALLTYPE IImnAccountManager_AccountListDialog_Proxy(
  794. IImnAccountManager __RPC_FAR * This,
  795. /* [in] */ HWND hwnd,
  796. /* [in] */ ACCTLISTINFO __RPC_FAR *pinfo);
  797. void __RPC_STUB IImnAccountManager_AccountListDialog_Stub(
  798. IRpcStubBuffer *This,
  799. IRpcChannelBuffer *_pRpcChannelBuffer,
  800. PRPC_MESSAGE _pRpcMessage,
  801. DWORD *_pdwStubPhase);
  802. HRESULT STDMETHODCALLTYPE IImnAccountManager_Advise_Proxy(
  803. IImnAccountManager __RPC_FAR * This,
  804. /* [in] */ IImnAdviseAccount __RPC_FAR *pAdviseAccount,
  805. /* [out] */ DWORD __RPC_FAR *pdwConnection);
  806. void __RPC_STUB IImnAccountManager_Advise_Stub(
  807. IRpcStubBuffer *This,
  808. IRpcChannelBuffer *_pRpcChannelBuffer,
  809. PRPC_MESSAGE _pRpcMessage,
  810. DWORD *_pdwStubPhase);
  811. HRESULT STDMETHODCALLTYPE IImnAccountManager_Unadvise_Proxy(
  812. IImnAccountManager __RPC_FAR * This,
  813. /* [in] */ DWORD dwConnection);
  814. void __RPC_STUB IImnAccountManager_Unadvise_Stub(
  815. IRpcStubBuffer *This,
  816. IRpcChannelBuffer *_pRpcChannelBuffer,
  817. PRPC_MESSAGE _pRpcMessage,
  818. DWORD *_pdwStubPhase);
  819. #endif /* __IImnAccountManager_INTERFACE_DEFINED__ */
  820. #ifndef __IPropertyContainer_INTERFACE_DEFINED__
  821. #define __IPropertyContainer_INTERFACE_DEFINED__
  822. /****************************************
  823. * Generated header for interface: IPropertyContainer
  824. * at Tue Jun 03 10:53:09 1997
  825. * using MIDL 3.02.88
  826. ****************************************/
  827. /* [unique][uuid][object] */
  828. typedef /* [public] */
  829. enum __MIDL_IPropertyContainer_0001
  830. { TYPE_ERROR = 1000,
  831. TYPE_DWORD = TYPE_ERROR + 1,
  832. TYPE_LONG = TYPE_DWORD + 1,
  833. TYPE_WORD = TYPE_LONG + 1,
  834. TYPE_SHORT = TYPE_WORD + 1,
  835. TYPE_BYTE = TYPE_SHORT + 1,
  836. TYPE_CHAR = TYPE_BYTE + 1,
  837. TYPE_FILETIME = TYPE_CHAR + 1,
  838. TYPE_STRING = TYPE_FILETIME + 1,
  839. TYPE_BINARY = TYPE_STRING + 1,
  840. TYPE_FLAGS = TYPE_BINARY + 1,
  841. TYPE_STREAM = TYPE_FLAGS + 1,
  842. TYPE_WSTRING = TYPE_STREAM + 1,
  843. TYPE_BOOL = TYPE_WSTRING + 1,
  844. TYPE_PASS = TYPE_BOOL + 1,
  845. TYPE_LAST = TYPE_PASS + 1
  846. } PROPTYPE;
  847. EXTERN_C const IID IID_IPropertyContainer;
  848. #if defined(__cplusplus) && !defined(CINTERFACE)
  849. interface DECLSPEC_UUID("FD465484-1384-11d0-ABBD-0020AFDFD10A")
  850. IPropertyContainer : public IUnknown
  851. {
  852. public:
  853. virtual HRESULT STDMETHODCALLTYPE GetProp(
  854. /* [in] */ DWORD dwPropTag,
  855. /* [ref][size_is][in] */ BYTE __RPC_FAR *pb,
  856. /* [in] */ ULONG __RPC_FAR *pcb) = 0;
  857. virtual HRESULT STDMETHODCALLTYPE GetPropDw(
  858. /* [in] */ DWORD dwPropTag,
  859. /* [out] */ DWORD __RPC_FAR *pdw) = 0;
  860. virtual HRESULT STDMETHODCALLTYPE GetPropSz(
  861. /* [in] */ DWORD dwPropTag,
  862. /* [ref][in] */ LPSTR psz,
  863. /* [in] */ ULONG cchMax) = 0;
  864. virtual HRESULT STDMETHODCALLTYPE SetProp(
  865. /* [in] */ DWORD dwPropTag,
  866. /* [size_is][in] */ BYTE __RPC_FAR *pb,
  867. /* [in] */ ULONG cb) = 0;
  868. virtual HRESULT STDMETHODCALLTYPE SetPropDw(
  869. /* [in] */ DWORD dwPropTag,
  870. /* [in] */ DWORD dw) = 0;
  871. virtual HRESULT STDMETHODCALLTYPE SetPropSz(
  872. /* [in] */ DWORD dwPropTag,
  873. /* [in] */ LPSTR psz) = 0;
  874. };
  875. #else /* C style interface */
  876. typedef struct IPropertyContainerVtbl
  877. {
  878. BEGIN_INTERFACE
  879. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  880. IPropertyContainer __RPC_FAR * This,
  881. /* [in] */ REFIID riid,
  882. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  883. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  884. IPropertyContainer __RPC_FAR * This);
  885. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  886. IPropertyContainer __RPC_FAR * This);
  887. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetProp )(
  888. IPropertyContainer __RPC_FAR * This,
  889. /* [in] */ DWORD dwPropTag,
  890. /* [ref][size_is][in] */ BYTE __RPC_FAR *pb,
  891. /* [in] */ ULONG __RPC_FAR *pcb);
  892. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropDw )(
  893. IPropertyContainer __RPC_FAR * This,
  894. /* [in] */ DWORD dwPropTag,
  895. /* [out] */ DWORD __RPC_FAR *pdw);
  896. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropSz )(
  897. IPropertyContainer __RPC_FAR * This,
  898. /* [in] */ DWORD dwPropTag,
  899. /* [ref][in] */ LPSTR psz,
  900. /* [in] */ ULONG cchMax);
  901. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetProp )(
  902. IPropertyContainer __RPC_FAR * This,
  903. /* [in] */ DWORD dwPropTag,
  904. /* [size_is][in] */ BYTE __RPC_FAR *pb,
  905. /* [in] */ ULONG cb);
  906. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPropDw )(
  907. IPropertyContainer __RPC_FAR * This,
  908. /* [in] */ DWORD dwPropTag,
  909. /* [in] */ DWORD dw);
  910. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPropSz )(
  911. IPropertyContainer __RPC_FAR * This,
  912. /* [in] */ DWORD dwPropTag,
  913. /* [in] */ LPSTR psz);
  914. END_INTERFACE
  915. } IPropertyContainerVtbl;
  916. interface IPropertyContainer
  917. {
  918. CONST_VTBL struct IPropertyContainerVtbl __RPC_FAR *lpVtbl;
  919. };
  920. #ifdef COBJMACROS
  921. #define IPropertyContainer_QueryInterface(This,riid,ppvObject) \
  922. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  923. #define IPropertyContainer_AddRef(This) \
  924. (This)->lpVtbl -> AddRef(This)
  925. #define IPropertyContainer_Release(This) \
  926. (This)->lpVtbl -> Release(This)
  927. #define IPropertyContainer_GetProp(This,dwPropTag,pb,pcb) \
  928. (This)->lpVtbl -> GetProp(This,dwPropTag,pb,pcb)
  929. #define IPropertyContainer_GetPropDw(This,dwPropTag,pdw) \
  930. (This)->lpVtbl -> GetPropDw(This,dwPropTag,pdw)
  931. #define IPropertyContainer_GetPropSz(This,dwPropTag,psz,cchMax) \
  932. (This)->lpVtbl -> GetPropSz(This,dwPropTag,psz,cchMax)
  933. #define IPropertyContainer_SetProp(This,dwPropTag,pb,cb) \
  934. (This)->lpVtbl -> SetProp(This,dwPropTag,pb,cb)
  935. #define IPropertyContainer_SetPropDw(This,dwPropTag,dw) \
  936. (This)->lpVtbl -> SetPropDw(This,dwPropTag,dw)
  937. #define IPropertyContainer_SetPropSz(This,dwPropTag,psz) \
  938. (This)->lpVtbl -> SetPropSz(This,dwPropTag,psz)
  939. #endif /* COBJMACROS */
  940. #endif /* C style interface */
  941. HRESULT STDMETHODCALLTYPE IPropertyContainer_GetProp_Proxy(
  942. IPropertyContainer __RPC_FAR * This,
  943. /* [in] */ DWORD dwPropTag,
  944. /* [ref][size_is][in] */ BYTE __RPC_FAR *pb,
  945. /* [in] */ ULONG __RPC_FAR *pcb);
  946. void __RPC_STUB IPropertyContainer_GetProp_Stub(
  947. IRpcStubBuffer *This,
  948. IRpcChannelBuffer *_pRpcChannelBuffer,
  949. PRPC_MESSAGE _pRpcMessage,
  950. DWORD *_pdwStubPhase);
  951. HRESULT STDMETHODCALLTYPE IPropertyContainer_GetPropDw_Proxy(
  952. IPropertyContainer __RPC_FAR * This,
  953. /* [in] */ DWORD dwPropTag,
  954. /* [out] */ DWORD __RPC_FAR *pdw);
  955. void __RPC_STUB IPropertyContainer_GetPropDw_Stub(
  956. IRpcStubBuffer *This,
  957. IRpcChannelBuffer *_pRpcChannelBuffer,
  958. PRPC_MESSAGE _pRpcMessage,
  959. DWORD *_pdwStubPhase);
  960. HRESULT STDMETHODCALLTYPE IPropertyContainer_GetPropSz_Proxy(
  961. IPropertyContainer __RPC_FAR * This,
  962. /* [in] */ DWORD dwPropTag,
  963. /* [ref][in] */ LPSTR psz,
  964. /* [in] */ ULONG cchMax);
  965. void __RPC_STUB IPropertyContainer_GetPropSz_Stub(
  966. IRpcStubBuffer *This,
  967. IRpcChannelBuffer *_pRpcChannelBuffer,
  968. PRPC_MESSAGE _pRpcMessage,
  969. DWORD *_pdwStubPhase);
  970. HRESULT STDMETHODCALLTYPE IPropertyContainer_SetProp_Proxy(
  971. IPropertyContainer __RPC_FAR * This,
  972. /* [in] */ DWORD dwPropTag,
  973. /* [size_is][in] */ BYTE __RPC_FAR *pb,
  974. /* [in] */ ULONG cb);
  975. void __RPC_STUB IPropertyContainer_SetProp_Stub(
  976. IRpcStubBuffer *This,
  977. IRpcChannelBuffer *_pRpcChannelBuffer,
  978. PRPC_MESSAGE _pRpcMessage,
  979. DWORD *_pdwStubPhase);
  980. HRESULT STDMETHODCALLTYPE IPropertyContainer_SetPropDw_Proxy(
  981. IPropertyContainer __RPC_FAR * This,
  982. /* [in] */ DWORD dwPropTag,
  983. /* [in] */ DWORD dw);
  984. void __RPC_STUB IPropertyContainer_SetPropDw_Stub(
  985. IRpcStubBuffer *This,
  986. IRpcChannelBuffer *_pRpcChannelBuffer,
  987. PRPC_MESSAGE _pRpcMessage,
  988. DWORD *_pdwStubPhase);
  989. HRESULT STDMETHODCALLTYPE IPropertyContainer_SetPropSz_Proxy(
  990. IPropertyContainer __RPC_FAR * This,
  991. /* [in] */ DWORD dwPropTag,
  992. /* [in] */ LPSTR psz);
  993. void __RPC_STUB IPropertyContainer_SetPropSz_Stub(
  994. IRpcStubBuffer *This,
  995. IRpcChannelBuffer *_pRpcChannelBuffer,
  996. PRPC_MESSAGE _pRpcMessage,
  997. DWORD *_pdwStubPhase);
  998. #endif /* __IPropertyContainer_INTERFACE_DEFINED__ */
  999. #ifndef __IImnAccount_INTERFACE_DEFINED__
  1000. #define __IImnAccount_INTERFACE_DEFINED__
  1001. /****************************************
  1002. * Generated header for interface: IImnAccount
  1003. * at Tue Jun 03 10:53:09 1997
  1004. * using MIDL 3.02.88
  1005. ****************************************/
  1006. /* [unique][uuid][object] */
  1007. EXTERN_C const IID IID_IImnAccount;
  1008. #if defined(__cplusplus) && !defined(CINTERFACE)
  1009. interface DECLSPEC_UUID("FD465482-1384-11d0-ABBD-0020AFDFD10A")
  1010. IImnAccount : public IPropertyContainer
  1011. {
  1012. public:
  1013. virtual HRESULT STDMETHODCALLTYPE Exist( void) = 0;
  1014. virtual HRESULT STDMETHODCALLTYPE SetAsDefault( void) = 0;
  1015. virtual HRESULT STDMETHODCALLTYPE Delete( void) = 0;
  1016. virtual HRESULT STDMETHODCALLTYPE SaveChanges( void) = 0;
  1017. virtual HRESULT STDMETHODCALLTYPE GetAccountType(
  1018. /* [out] */ ACCTTYPE __RPC_FAR *pAcctType) = 0;
  1019. virtual HRESULT STDMETHODCALLTYPE GetServerTypes(
  1020. /* [out] */ DWORD __RPC_FAR *pdwSrvTypes) = 0;
  1021. virtual HRESULT STDMETHODCALLTYPE ShowProperties(
  1022. /* [in] */ HWND hwnd,
  1023. /* [in] */ DWORD dwFlags) = 0;
  1024. virtual HRESULT STDMETHODCALLTYPE ValidateProperty(
  1025. /* [in] */ DWORD dwPropTag,
  1026. /* [size_is][in] */ BYTE __RPC_FAR *pb,
  1027. /* [in] */ ULONG cb) = 0;
  1028. virtual HRESULT STDMETHODCALLTYPE DoWizard(
  1029. /* [in] */ HWND hwnd,
  1030. /* [in] */ DWORD dwFlags) = 0;
  1031. };
  1032. #else /* C style interface */
  1033. typedef struct IImnAccountVtbl
  1034. {
  1035. BEGIN_INTERFACE
  1036. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1037. IImnAccount __RPC_FAR * This,
  1038. /* [in] */ REFIID riid,
  1039. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1040. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1041. IImnAccount __RPC_FAR * This);
  1042. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1043. IImnAccount __RPC_FAR * This);
  1044. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetProp )(
  1045. IImnAccount __RPC_FAR * This,
  1046. /* [in] */ DWORD dwPropTag,
  1047. /* [ref][size_is][in] */ BYTE __RPC_FAR *pb,
  1048. /* [in] */ ULONG __RPC_FAR *pcb);
  1049. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropDw )(
  1050. IImnAccount __RPC_FAR * This,
  1051. /* [in] */ DWORD dwPropTag,
  1052. /* [out] */ DWORD __RPC_FAR *pdw);
  1053. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropSz )(
  1054. IImnAccount __RPC_FAR * This,
  1055. /* [in] */ DWORD dwPropTag,
  1056. /* [ref][in] */ LPSTR psz,
  1057. /* [in] */ ULONG cchMax);
  1058. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetProp )(
  1059. IImnAccount __RPC_FAR * This,
  1060. /* [in] */ DWORD dwPropTag,
  1061. /* [size_is][in] */ BYTE __RPC_FAR *pb,
  1062. /* [in] */ ULONG cb);
  1063. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPropDw )(
  1064. IImnAccount __RPC_FAR * This,
  1065. /* [in] */ DWORD dwPropTag,
  1066. /* [in] */ DWORD dw);
  1067. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPropSz )(
  1068. IImnAccount __RPC_FAR * This,
  1069. /* [in] */ DWORD dwPropTag,
  1070. /* [in] */ LPSTR psz);
  1071. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Exist )(
  1072. IImnAccount __RPC_FAR * This);
  1073. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAsDefault )(
  1074. IImnAccount __RPC_FAR * This);
  1075. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  1076. IImnAccount __RPC_FAR * This);
  1077. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SaveChanges )(
  1078. IImnAccount __RPC_FAR * This);
  1079. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAccountType )(
  1080. IImnAccount __RPC_FAR * This,
  1081. /* [out] */ ACCTTYPE __RPC_FAR *pAcctType);
  1082. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetServerTypes )(
  1083. IImnAccount __RPC_FAR * This,
  1084. /* [out] */ DWORD __RPC_FAR *pdwSrvTypes);
  1085. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowProperties )(
  1086. IImnAccount __RPC_FAR * This,
  1087. /* [in] */ HWND hwnd,
  1088. /* [in] */ DWORD dwFlags);
  1089. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ValidateProperty )(
  1090. IImnAccount __RPC_FAR * This,
  1091. /* [in] */ DWORD dwPropTag,
  1092. /* [size_is][in] */ BYTE __RPC_FAR *pb,
  1093. /* [in] */ ULONG cb);
  1094. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DoWizard )(
  1095. IImnAccount __RPC_FAR * This,
  1096. /* [in] */ HWND hwnd,
  1097. /* [in] */ DWORD dwFlags);
  1098. END_INTERFACE
  1099. } IImnAccountVtbl;
  1100. interface IImnAccount
  1101. {
  1102. CONST_VTBL struct IImnAccountVtbl __RPC_FAR *lpVtbl;
  1103. };
  1104. #ifdef COBJMACROS
  1105. #define IImnAccount_QueryInterface(This,riid,ppvObject) \
  1106. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1107. #define IImnAccount_AddRef(This) \
  1108. (This)->lpVtbl -> AddRef(This)
  1109. #define IImnAccount_Release(This) \
  1110. (This)->lpVtbl -> Release(This)
  1111. #define IImnAccount_GetProp(This,dwPropTag,pb,pcb) \
  1112. (This)->lpVtbl -> GetProp(This,dwPropTag,pb,pcb)
  1113. #define IImnAccount_GetPropDw(This,dwPropTag,pdw) \
  1114. (This)->lpVtbl -> GetPropDw(This,dwPropTag,pdw)
  1115. #define IImnAccount_GetPropSz(This,dwPropTag,psz,cchMax) \
  1116. (This)->lpVtbl -> GetPropSz(This,dwPropTag,psz,cchMax)
  1117. #define IImnAccount_SetProp(This,dwPropTag,pb,cb) \
  1118. (This)->lpVtbl -> SetProp(This,dwPropTag,pb,cb)
  1119. #define IImnAccount_SetPropDw(This,dwPropTag,dw) \
  1120. (This)->lpVtbl -> SetPropDw(This,dwPropTag,dw)
  1121. #define IImnAccount_SetPropSz(This,dwPropTag,psz) \
  1122. (This)->lpVtbl -> SetPropSz(This,dwPropTag,psz)
  1123. #define IImnAccount_Exist(This) \
  1124. (This)->lpVtbl -> Exist(This)
  1125. #define IImnAccount_SetAsDefault(This) \
  1126. (This)->lpVtbl -> SetAsDefault(This)
  1127. #define IImnAccount_Delete(This) \
  1128. (This)->lpVtbl -> Delete(This)
  1129. #define IImnAccount_SaveChanges(This) \
  1130. (This)->lpVtbl -> SaveChanges(This)
  1131. #define IImnAccount_GetAccountType(This,pAcctType) \
  1132. (This)->lpVtbl -> GetAccountType(This,pAcctType)
  1133. #define IImnAccount_GetServerTypes(This,pdwSrvTypes) \
  1134. (This)->lpVtbl -> GetServerTypes(This,pdwSrvTypes)
  1135. #define IImnAccount_ShowProperties(This,hwnd,dwFlags) \
  1136. (This)->lpVtbl -> ShowProperties(This,hwnd,dwFlags)
  1137. #define IImnAccount_ValidateProperty(This,dwPropTag,pb,cb) \
  1138. (This)->lpVtbl -> ValidateProperty(This,dwPropTag,pb,cb)
  1139. #define IImnAccount_DoWizard(This,hwnd,dwFlags) \
  1140. (This)->lpVtbl -> DoWizard(This,hwnd,dwFlags)
  1141. #endif /* COBJMACROS */
  1142. #endif /* C style interface */
  1143. HRESULT STDMETHODCALLTYPE IImnAccount_Exist_Proxy(
  1144. IImnAccount __RPC_FAR * This);
  1145. void __RPC_STUB IImnAccount_Exist_Stub(
  1146. IRpcStubBuffer *This,
  1147. IRpcChannelBuffer *_pRpcChannelBuffer,
  1148. PRPC_MESSAGE _pRpcMessage,
  1149. DWORD *_pdwStubPhase);
  1150. HRESULT STDMETHODCALLTYPE IImnAccount_SetAsDefault_Proxy(
  1151. IImnAccount __RPC_FAR * This);
  1152. void __RPC_STUB IImnAccount_SetAsDefault_Stub(
  1153. IRpcStubBuffer *This,
  1154. IRpcChannelBuffer *_pRpcChannelBuffer,
  1155. PRPC_MESSAGE _pRpcMessage,
  1156. DWORD *_pdwStubPhase);
  1157. HRESULT STDMETHODCALLTYPE IImnAccount_Delete_Proxy(
  1158. IImnAccount __RPC_FAR * This);
  1159. void __RPC_STUB IImnAccount_Delete_Stub(
  1160. IRpcStubBuffer *This,
  1161. IRpcChannelBuffer *_pRpcChannelBuffer,
  1162. PRPC_MESSAGE _pRpcMessage,
  1163. DWORD *_pdwStubPhase);
  1164. HRESULT STDMETHODCALLTYPE IImnAccount_SaveChanges_Proxy(
  1165. IImnAccount __RPC_FAR * This);
  1166. void __RPC_STUB IImnAccount_SaveChanges_Stub(
  1167. IRpcStubBuffer *This,
  1168. IRpcChannelBuffer *_pRpcChannelBuffer,
  1169. PRPC_MESSAGE _pRpcMessage,
  1170. DWORD *_pdwStubPhase);
  1171. HRESULT STDMETHODCALLTYPE IImnAccount_GetAccountType_Proxy(
  1172. IImnAccount __RPC_FAR * This,
  1173. /* [out] */ ACCTTYPE __RPC_FAR *pAcctType);
  1174. void __RPC_STUB IImnAccount_GetAccountType_Stub(
  1175. IRpcStubBuffer *This,
  1176. IRpcChannelBuffer *_pRpcChannelBuffer,
  1177. PRPC_MESSAGE _pRpcMessage,
  1178. DWORD *_pdwStubPhase);
  1179. HRESULT STDMETHODCALLTYPE IImnAccount_GetServerTypes_Proxy(
  1180. IImnAccount __RPC_FAR * This,
  1181. /* [out] */ DWORD __RPC_FAR *pdwSrvTypes);
  1182. void __RPC_STUB IImnAccount_GetServerTypes_Stub(
  1183. IRpcStubBuffer *This,
  1184. IRpcChannelBuffer *_pRpcChannelBuffer,
  1185. PRPC_MESSAGE _pRpcMessage,
  1186. DWORD *_pdwStubPhase);
  1187. HRESULT STDMETHODCALLTYPE IImnAccount_ShowProperties_Proxy(
  1188. IImnAccount __RPC_FAR * This,
  1189. /* [in] */ HWND hwnd,
  1190. /* [in] */ DWORD dwFlags);
  1191. void __RPC_STUB IImnAccount_ShowProperties_Stub(
  1192. IRpcStubBuffer *This,
  1193. IRpcChannelBuffer *_pRpcChannelBuffer,
  1194. PRPC_MESSAGE _pRpcMessage,
  1195. DWORD *_pdwStubPhase);
  1196. HRESULT STDMETHODCALLTYPE IImnAccount_ValidateProperty_Proxy(
  1197. IImnAccount __RPC_FAR * This,
  1198. /* [in] */ DWORD dwPropTag,
  1199. /* [size_is][in] */ BYTE __RPC_FAR *pb,
  1200. /* [in] */ ULONG cb);
  1201. void __RPC_STUB IImnAccount_ValidateProperty_Stub(
  1202. IRpcStubBuffer *This,
  1203. IRpcChannelBuffer *_pRpcChannelBuffer,
  1204. PRPC_MESSAGE _pRpcMessage,
  1205. DWORD *_pdwStubPhase);
  1206. HRESULT STDMETHODCALLTYPE IImnAccount_DoWizard_Proxy(
  1207. IImnAccount __RPC_FAR * This,
  1208. /* [in] */ HWND hwnd,
  1209. /* [in] */ DWORD dwFlags);
  1210. void __RPC_STUB IImnAccount_DoWizard_Stub(
  1211. IRpcStubBuffer *This,
  1212. IRpcChannelBuffer *_pRpcChannelBuffer,
  1213. PRPC_MESSAGE _pRpcMessage,
  1214. DWORD *_pdwStubPhase);
  1215. #endif /* __IImnAccount_INTERFACE_DEFINED__ */
  1216. /* Additional Prototypes for ALL interfaces */
  1217. unsigned long __RPC_USER HWND_UserSize( unsigned long __RPC_FAR *, unsigned long , HWND __RPC_FAR * );
  1218. unsigned char __RPC_FAR * __RPC_USER HWND_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * );
  1219. unsigned char __RPC_FAR * __RPC_USER HWND_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * );
  1220. void __RPC_USER HWND_UserFree( unsigned long __RPC_FAR *, HWND __RPC_FAR * );
  1221. /* end of Additional Prototypes */
  1222. #ifdef __cplusplus
  1223. }
  1224. #endif
  1225. #endif