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.

8279 lines
311 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 5.01.0164 */
  3. /* at Fri Mar 02 11:18:03 2001
  4. */
  5. /* Compiler settings for ..\..\msgsm7\bl\msbl\mdisp.idl:
  6. Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  11. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  12. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  13. #endif
  14. #include "rpc.h"
  15. #include "rpcndr.h"
  16. #ifndef __RPCNDR_H_VERSION__
  17. #error this stub requires an updated version of <rpcndr.h>
  18. #endif // __RPCNDR_H_VERSION__
  19. #ifndef COM_NO_WINDOWS_H
  20. #include "windows.h"
  21. #include "ole2.h"
  22. #endif /*COM_NO_WINDOWS_H*/
  23. #ifndef __mdisp_h__
  24. #define __mdisp_h__
  25. #ifdef __cplusplus
  26. extern "C"{
  27. #endif
  28. /* Forward Declarations */
  29. #ifndef __IMsgrObject_FWD_DEFINED__
  30. #define __IMsgrObject_FWD_DEFINED__
  31. typedef interface IMsgrObject IMsgrObject;
  32. #endif /* __IMsgrObject_FWD_DEFINED__ */
  33. #ifndef __IMsgrUser_FWD_DEFINED__
  34. #define __IMsgrUser_FWD_DEFINED__
  35. typedef interface IMsgrUser IMsgrUser;
  36. #endif /* __IMsgrUser_FWD_DEFINED__ */
  37. #ifndef __IMsgrUsers_FWD_DEFINED__
  38. #define __IMsgrUsers_FWD_DEFINED__
  39. typedef interface IMsgrUsers IMsgrUsers;
  40. #endif /* __IMsgrUsers_FWD_DEFINED__ */
  41. #ifndef __IMsgrIMSession_FWD_DEFINED__
  42. #define __IMsgrIMSession_FWD_DEFINED__
  43. typedef interface IMsgrIMSession IMsgrIMSession;
  44. #endif /* __IMsgrIMSession_FWD_DEFINED__ */
  45. #ifndef __IMsgrIMSessions_FWD_DEFINED__
  46. #define __IMsgrIMSessions_FWD_DEFINED__
  47. typedef interface IMsgrIMSessions IMsgrIMSessions;
  48. #endif /* __IMsgrIMSessions_FWD_DEFINED__ */
  49. #ifndef __IMessengerApp_FWD_DEFINED__
  50. #define __IMessengerApp_FWD_DEFINED__
  51. typedef interface IMessengerApp IMessengerApp;
  52. #endif /* __IMessengerApp_FWD_DEFINED__ */
  53. #ifndef __IMessengerApp2_FWD_DEFINED__
  54. #define __IMessengerApp2_FWD_DEFINED__
  55. typedef interface IMessengerApp2 IMessengerApp2;
  56. #endif /* __IMessengerApp2_FWD_DEFINED__ */
  57. #ifndef __IMessengerApp3_FWD_DEFINED__
  58. #define __IMessengerApp3_FWD_DEFINED__
  59. typedef interface IMessengerApp3 IMessengerApp3;
  60. #endif /* __IMessengerApp3_FWD_DEFINED__ */
  61. #ifndef __IMessengerIMWindow_FWD_DEFINED__
  62. #define __IMessengerIMWindow_FWD_DEFINED__
  63. typedef interface IMessengerIMWindow IMessengerIMWindow;
  64. #endif /* __IMessengerIMWindow_FWD_DEFINED__ */
  65. #ifndef __IMessengerIMWindows_FWD_DEFINED__
  66. #define __IMessengerIMWindows_FWD_DEFINED__
  67. typedef interface IMessengerIMWindows IMessengerIMWindows;
  68. #endif /* __IMessengerIMWindows_FWD_DEFINED__ */
  69. #ifndef __IMsgrServices_FWD_DEFINED__
  70. #define __IMsgrServices_FWD_DEFINED__
  71. typedef interface IMsgrServices IMsgrServices;
  72. #endif /* __IMsgrServices_FWD_DEFINED__ */
  73. #ifndef __IMsgrService_FWD_DEFINED__
  74. #define __IMsgrService_FWD_DEFINED__
  75. typedef interface IMsgrService IMsgrService;
  76. #endif /* __IMsgrService_FWD_DEFINED__ */
  77. #ifndef __IMsgrObject2_FWD_DEFINED__
  78. #define __IMsgrObject2_FWD_DEFINED__
  79. typedef interface IMsgrObject2 IMsgrObject2;
  80. #endif /* __IMsgrObject2_FWD_DEFINED__ */
  81. #ifndef __DMsgrObjectEvents_FWD_DEFINED__
  82. #define __DMsgrObjectEvents_FWD_DEFINED__
  83. typedef interface DMsgrObjectEvents DMsgrObjectEvents;
  84. #endif /* __DMsgrObjectEvents_FWD_DEFINED__ */
  85. #ifndef __DMsgrSPEvents_FWD_DEFINED__
  86. #define __DMsgrSPEvents_FWD_DEFINED__
  87. typedef interface DMsgrSPEvents DMsgrSPEvents;
  88. #endif /* __DMsgrSPEvents_FWD_DEFINED__ */
  89. #ifndef __IMsgrUser2_FWD_DEFINED__
  90. #define __IMsgrUser2_FWD_DEFINED__
  91. typedef interface IMsgrUser2 IMsgrUser2;
  92. #endif /* __IMsgrUser2_FWD_DEFINED__ */
  93. #ifndef __IMsgrSP_FWD_DEFINED__
  94. #define __IMsgrSP_FWD_DEFINED__
  95. typedef interface IMsgrSP IMsgrSP;
  96. #endif /* __IMsgrSP_FWD_DEFINED__ */
  97. #ifndef __IMsgrSP2_FWD_DEFINED__
  98. #define __IMsgrSP2_FWD_DEFINED__
  99. typedef interface IMsgrSP2 IMsgrSP2;
  100. #endif /* __IMsgrSP2_FWD_DEFINED__ */
  101. #ifndef __MsgrObject_FWD_DEFINED__
  102. #define __MsgrObject_FWD_DEFINED__
  103. #ifdef __cplusplus
  104. typedef class MsgrObject MsgrObject;
  105. #else
  106. typedef struct MsgrObject MsgrObject;
  107. #endif /* __cplusplus */
  108. #endif /* __MsgrObject_FWD_DEFINED__ */
  109. #ifndef __MessengerApp_FWD_DEFINED__
  110. #define __MessengerApp_FWD_DEFINED__
  111. #ifdef __cplusplus
  112. typedef class MessengerApp MessengerApp;
  113. #else
  114. typedef struct MessengerApp MessengerApp;
  115. #endif /* __cplusplus */
  116. #endif /* __MessengerApp_FWD_DEFINED__ */
  117. #ifndef __DMessengerAppEvents_FWD_DEFINED__
  118. #define __DMessengerAppEvents_FWD_DEFINED__
  119. typedef interface DMessengerAppEvents DMessengerAppEvents;
  120. #endif /* __DMessengerAppEvents_FWD_DEFINED__ */
  121. #ifndef __IMsnMessengerIMWindow_FWD_DEFINED__
  122. #define __IMsnMessengerIMWindow_FWD_DEFINED__
  123. typedef interface IMsnMessengerIMWindow IMsnMessengerIMWindow;
  124. #endif /* __IMsnMessengerIMWindow_FWD_DEFINED__ */
  125. #ifndef __IMsnMessengerIMWindow2_FWD_DEFINED__
  126. #define __IMsnMessengerIMWindow2_FWD_DEFINED__
  127. typedef interface IMsnMessengerIMWindow2 IMsnMessengerIMWindow2;
  128. #endif /* __IMsnMessengerIMWindow2_FWD_DEFINED__ */
  129. /* header files for imported files */
  130. #include "objidl.h"
  131. #include "oleidl.h"
  132. #include "oaidl.h"
  133. #include "lock.h"
  134. #include "sessions.h"
  135. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  136. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  137. /* interface __MIDL_itf_mdisp_0000 */
  138. /* [local] */
  139. //+-------------------------------------------------------------------------
  140. //
  141. // Microsoft Windows
  142. // Copyright 1997 Microsoft Corporation. All Rights Reserved.
  143. //
  144. // File: mdisp.h
  145. //
  146. //--------------------------------------------------------------------------
  147. extern RPC_IF_HANDLE __MIDL_itf_mdisp_0000_v0_0_c_ifspec;
  148. extern RPC_IF_HANDLE __MIDL_itf_mdisp_0000_v0_0_s_ifspec;
  149. #ifndef __Messenger_LIBRARY_DEFINED__
  150. #define __Messenger_LIBRARY_DEFINED__
  151. /* library Messenger */
  152. /* [helpstring][version][uuid] */
  153. typedef /* [public][public][public][public][public][public][public][public][public][public] */
  154. enum __MIDL___MIDL_itf_mdisp_0000_0001
  155. { MSTATE_UNKNOWN = 0,
  156. MSTATE_OFFLINE = 0x1,
  157. MSTATE_ONLINE = 0x2,
  158. MSTATE_INVISIBLE = 0x6,
  159. MSTATE_BUSY = 0xa,
  160. MSTATE_BE_RIGHT_BACK = 0xe,
  161. MSTATE_IDLE = 0x12,
  162. MSTATE_AWAY = 0x22,
  163. MSTATE_ON_THE_PHONE = 0x32,
  164. MSTATE_OUT_TO_LUNCH = 0x42,
  165. MSTATE_LOCAL_FINDING_SERVER = 0x100,
  166. MSTATE_LOCAL_CONNECTING_TO_SERVER = 0x200,
  167. MSTATE_LOCAL_SYNCHRONIZING_WITH_SERVER = 0x300,
  168. MSTATE_LOCAL_DISCONNECTING_FROM_SERVER = 0x400
  169. } MSTATE;
  170. typedef /* [public][public][public][public][public][public][public] */
  171. enum __MIDL___MIDL_itf_mdisp_0000_0002
  172. { MPROMPT_YES_IF_NOT_ALLOWED_OR_BLOCKED = 0,
  173. MPROMPT_NO_ADD_TO_ALLOW = 1
  174. } MPROMPT;
  175. typedef /* [public][public][public][public][public][public][public] */
  176. enum __MIDL___MIDL_itf_mdisp_0000_0003
  177. { MMSGPRIVACY_BLOCK_LIST_EXCLUDED = 0,
  178. MMSGPRIVACY_ALLOW_LIST_ONLY = 1
  179. } MMSGPRIVACY;
  180. typedef /* [public][public][public][public][public][public][public][public] */
  181. enum __MIDL___MIDL_itf_mdisp_0000_0004
  182. { MURLTYPE_CHANGE_PASSWORD = 0,
  183. MURLTYPE_CHANGE_INFO = 1,
  184. MURLTYPE_COMPOSE_EMAIL = 2,
  185. MURLTYPE_GO_TO_EMAIL_INBOX = 3,
  186. MURLTYPE_GO_TO_EMAIL_FOLDERS = 4,
  187. MURLTYPE_MOBILE_SIGNUP = 5,
  188. MURLTYPE_CHANGE_MOBILE_INFO = 6,
  189. MURLTYPE_CHANGE_PROFILE = 7,
  190. MURLTYPE_N2P_ACCOUNT = 8,
  191. MURLTYPE_N2P_ADD_FUND = 9
  192. } MURLTYPE;
  193. typedef /* [public][public][public][public][public][public][public][public][public] */
  194. enum __MIDL___MIDL_itf_mdisp_0000_0005
  195. { MLIST_CONTACT = 0,
  196. MLIST_ALLOW = 1,
  197. MLIST_BLOCK = 2,
  198. MLIST_REVERSE = 3
  199. } MLIST;
  200. typedef /* [public][public][public][public][public][public][public][public][public][public] */
  201. enum __MIDL___MIDL_itf_mdisp_0000_0006
  202. { MMSGTYPE_NO_RESULT = 0,
  203. MMSGTYPE_ERRORS_ONLY = 1,
  204. MMSGTYPE_ALL_RESULTS = 2
  205. } MMSGTYPE;
  206. typedef /* [public] */
  207. enum __MIDL___MIDL_itf_mdisp_0000_0007
  208. { MUPDATE_OPTIONAL = 0x1,
  209. MUPDATE_MANDATORY = 0x2,
  210. MUPDATE_BRANDED = 0x4
  211. } MUPDATE_FLAGS;
  212. typedef /* [public] */
  213. enum __MIDL___MIDL_itf_mdisp_0000_0008
  214. { MIF_NONE = 0,
  215. MIF_REQUEST_LAUNCH = 0x1,
  216. MIF_REQUEST_IP = 0x4,
  217. MIF_PROVIDE_IP = 0x8
  218. } MINVITE_FLAGS;
  219. typedef /* [public][public][public] */
  220. enum __MIDL___MIDL_itf_mdisp_0000_0009
  221. { MPFLFIELD_COUNTRY = 0,
  222. MPFLFIELD_POSTALCODE = 1,
  223. MPFLFIELD_LANG_PREFERENCE = 2,
  224. MPFLFIELD_GENDER = 3,
  225. MPFLFIELD_PREFERRED_EMAIL = 4,
  226. MPFLFIELD_NICKNAME = 5,
  227. MPFLFIELD_ACCESSIBILITY = 6,
  228. MPFLFIELD_WALLET = 7,
  229. MPFLFIELD_DIRECTORY = 8,
  230. MPFLFIELD_INETACCESS = 9
  231. } MPFLFIELD;
  232. typedef /* [public] */
  233. enum __MIDL___MIDL_itf_mdisp_0000_0010
  234. { MSGR_E_CONNECT = 0x81000300 + 0x1,
  235. MSGR_E_INVALID_SERVER_NAME = 0x81000300 + 0x2,
  236. MSGR_E_INVALID_PASSWORD = 0x81000300 + 0x3,
  237. MSGR_E_ALREADY_LOGGED_ON = 0x81000300 + 0x4,
  238. MSGR_E_SERVER_VERSION = 0x81000300 + 0x5,
  239. MSGR_E_LOGON_TIMEOUT = 0x81000300 + 0x6,
  240. MSGR_E_LIST_FULL = 0x81000300 + 0x7,
  241. MSGR_E_AI_REJECT = 0x81000300 + 0x8,
  242. MSGR_E_AI_REJECT_NOT_INST = 0x81000300 + 0x9,
  243. MSGR_E_USER_NOT_FOUND = 0x81000300 + 0xa,
  244. MSGR_E_ALREADY_IN_LIST = 0x81000300 + 0xb,
  245. MSGR_E_DISCONNECTED = 0x81000300 + 0xc,
  246. MSGR_E_UNEXPECTED = 0x81000300 + 0xd,
  247. MSGR_E_SERVER_TOO_BUSY = 0x81000300 + 0xe,
  248. MSGR_E_INVALID_AUTH_PACKAGES = 0x81000300 + 0xf,
  249. MSGR_E_NEWER_CLIENT_AVAILABLE = 0x81000300 + 0x10,
  250. MSGR_E_AI_TIMEOUT = 0x81000300 + 0x11,
  251. MSGR_E_CANCEL = 0x81000300 + 0x12,
  252. MSGR_E_TOO_MANY_MATCHES = 0x81000300 + 0x13,
  253. MSGR_E_SERVER_UNAVAILABLE = 0x81000300 + 0x14,
  254. MSGR_E_LOGON_UI_ACTIVE = 0x81000300 + 0x15,
  255. MSGR_E_OPTION_UI_ACTIVE = 0x81000300 + 0x16,
  256. MSGR_E_CONTACT_UI_ACTIVE = 0x81000300 + 0x17,
  257. MSGR_E_PRIMARY_SERVICE_NOT_LOGGED_ON = 0x81000300 + 0x18,
  258. MSGR_E_LOGGED_ON = 0x81000300 + 0x19,
  259. MSGR_E_CONNECT_PROXY = 0x81000300 + 0x1a,
  260. MSGR_E_PROXY_AUTH = 0x81000300 + 0x1b,
  261. MSGR_E_PROXY_AUTH_TYPE = 0x81000300 + 0x1c,
  262. MSGR_E_INVALID_PROXY_NAME = 0x81000300 + 0x1d,
  263. MSGR_E_NOT_LOGGED_ON = 0x81000300 + 0x1e,
  264. MSGR_E_NOT_PRIMARY_SERVICE = 0x81000300 + 0x20,
  265. MSGR_E_TOO_MANY_SESSIONS = 0x81000300 + 0x21,
  266. MSGR_E_TOO_MANY_MESSAGES = 0x81000300 + 0x22,
  267. MSGR_E_REMOTE_LOGIN = 0x81000300 + 0x23,
  268. MSGR_E_INVALID_FRIENDLY_NAME = 0x81000300 + 0x24,
  269. MSGR_E_SESSION_FULL = 0x81000300 + 0x25,
  270. MSGR_E_NOT_ALLOWING_NEW_USERS = 0x81000300 + 0x26,
  271. MSGR_E_INVALID_DOMAIN = 0x81000300 + 0x27,
  272. MSGR_E_TCP_ERROR = 0x81000300 + 0x28,
  273. MSGR_E_SESSION_TIMEOUT = 0x81000300 + 0x29,
  274. MSGR_E_MULTIPOINT_SESSION_BEGIN_TIMEOUT = 0x81000300 + 0x2a,
  275. MSGR_E_MULTIPOINT_SESSION_END_TIMEOUT = 0x81000300 + 0x2b,
  276. MSGR_E_REVERSE_LIST_FULL = 0x81000300 + 0x2c,
  277. MSGR_E_SERVER_ERROR = 0x81000300 + 0x2d,
  278. MSGR_E_SYSTEM_CONFIG = 0x81000300 + 0x2e,
  279. MSGR_E_NO_DIRECTORY = 0x81000300 + 0x2f,
  280. MSGR_E_RETRY_SET = 0x81000300 + 0x30,
  281. MSGR_E_CHILD_WITHOUT_CONSENT = 0x81000300 + 0x31,
  282. MSGR_E_USER_CANCELLED = 0x81000300 + 0x32,
  283. MSGR_E_CANCEL_BEFORE_CONNECT = 0x81000300 + 0x33,
  284. MSGR_E_VOICE_IM_TIMEOUT = 0x81000300 + 0x34,
  285. MSGR_E_NOT_ACCEPTING_PAGES = 0x81000300 + 0x35,
  286. MSGR_E_EMAIL_PASSPORT_NOT_VALIDATED = 0x81000300 + 0x36,
  287. MSGR_E_AUDIO_UI_ACTIVE = 0x81000300 + 0x37,
  288. MSGR_E_NO_HARDWARE = 0x81000300 + 0x38,
  289. MSGR_E_PAGING_UNAVAILABLE = 0x81000300 + 0x39,
  290. MSGR_E_PHONE_INVALID_NUMBER = 0x81000300 + 0x3a,
  291. MSGR_E_PHONE_NO_FUNDS = 0x81000300 + 0x3b,
  292. MSGR_E_VOICE_NO_ANSWER = 0x81000300 + 0x3c,
  293. MSGR_E_VOICE_WAVEIN_DEVICE = 0x81000300 + 0x3d,
  294. MSGR_E_FT_TIMEOUT = 0x81000300 + 0x3e,
  295. MSGR_E_MESSAGE_TOO_LONG = 0x81000300 + 0x3f,
  296. MSGR_E_VOICE_FIREWALL = 0x81000300 + 0x40,
  297. MSGR_E_VOICE_NETCONN = 0x81000300 + 0x41,
  298. MSGR_E_PHONE_CIRCUITS_BUSY = 0x81000300 + 0x42,
  299. MSGR_E_SERVER_PROTOCOL = 0x81000300 + 0x43,
  300. MSGR_E_UNAVAILABLE_VIA_HTTP = 0x81000300 + 0x44,
  301. MSGR_E_PHONE_INVALID_PIN = 0x81000300 + 0x45,
  302. MSGR_E_PHONE_PINPROCEED_TIMEOUT = 0x81000300 + 0x46,
  303. MSGR_E_SERVER_SHUTDOWN = 0x81000300 + 0x47,
  304. MSGR_E_CLIENT_DISALLOWED = 0x81000300 + 0x48,
  305. MSGR_E_PHONE_CALL_NOT_COMPLETE = 0x81000300 + 0x49,
  306. MSGR_S_ALREADY_IN_THE_MODE = 0x1000300 + 0x1,
  307. MSGR_S_TRANSFER_SEND_BEGUN = 0x1000300 + 0x2,
  308. MSGR_S_TRANSFER_SEND_FINISHED = 0x1000300 + 0x3,
  309. MSGR_S_TRANSFER_RECEIVE_BEGUN = 0x1000300 + 0x4,
  310. MSGR_S_TRANSFER_RECEIVE_FINISHED = 0x1000300 + 0x5,
  311. MSGR_E_FAIL = 0x80004005,
  312. MSGR_S_OK = 0
  313. } MSGRConstants;
  314. typedef /* [public][public][public][public] */
  315. enum __MIDL___MIDL_itf_mdisp_0000_0011
  316. { SSTATE_DISCONNECTED = 0,
  317. SSTATE_CONNECTING = 1,
  318. SSTATE_CONNECTED = 2,
  319. SSTATE_DISCONNECTING = 3,
  320. SSTATE_ERROR = 4
  321. } SSTATE;
  322. typedef /* [public][public][public] */
  323. enum __MIDL___MIDL_itf_mdisp_0000_0012
  324. { MFOLDER_INBOX = 0,
  325. MFOLDER_ALL_OTHER_FOLDERS = 1
  326. } MFOLDER;
  327. typedef /* [public][public][public] */
  328. enum __MIDL___MIDL_itf_mdisp_0000_0013
  329. { MLOPT_PROXY_STATE = 0,
  330. MLOPT_PROXY_TYPE = 1,
  331. MLOPT_SOCKS4_SERVER = 2,
  332. MLOPT_SOCKS5_SERVER = 3,
  333. MLOPT_HTTPS_SERVER = 4,
  334. MLOPT_SOCKS4_PORT = 5,
  335. MLOPT_SOCKS5_PORT = 6,
  336. MLOPT_HTTPS_PORT = 7,
  337. MLOPT_SOCKS5_USERNAME = 8,
  338. MLOPT_SOCKS5_PASSWORD = 9,
  339. MLOPT_SERVER_NAME = 10,
  340. MLOPT_ENABLE_IDLE_DETECT = 11,
  341. MLOPT_IDLE_THRESHOLD = 12,
  342. MLOPT_IDLE_DETECTABLE = 13,
  343. MLOPT_SS_DETECTABLE = 14,
  344. MLOPT_HTTP_SERVER = 15,
  345. MLOPT_HTTP_PORT = 16
  346. } MLOCALOPTION;
  347. typedef /* [public][public][public][public][public][public][public][public][public][public][public][public][public][public][public][public] */
  348. enum __MIDL___MIDL_itf_mdisp_0000_0014
  349. { MUSERPROP_INVALID_PROPERTY = -1,
  350. MUSERPROP_HOME_PHONE_NUMBER = 0,
  351. MUSERPROP_WORK_PHONE_NUMBER = 1,
  352. MUSERPROP_MOBILE_PHONE_NUMBER = 2,
  353. MUSERPROP_PAGES_ALLOWED = 3,
  354. MUSERPROP_NUMBER_OF_PUBLIC_PROPERTIES = 4,
  355. MUSERPROP_PAGES_ENABLED = 4,
  356. MUSERPROP_NUMBER_OF_PROPERTIES = MUSERPROP_PAGES_ENABLED + 1
  357. } MUSERPROPERTY;
  358. typedef /* [public] */
  359. enum __MIDL___MIDL_itf_mdisp_0000_0015
  360. { MLOPT_MAX_SERVICE_STRING = 255,
  361. MLOPT_MAX_PROXY_STRING = 255,
  362. MLOPT_MAX_PORT_NUMBER = 65535,
  363. MLOPT_MAX_IDLE_THRESHOLD = 999
  364. } MLOCALOPTION_LIMITS;
  365. typedef /* [public] */
  366. enum __MIDL___MIDL_itf_mdisp_0000_0016
  367. { MPROXYTYPE_NO_PROXY = 0,
  368. MPROXYTYPE_SOCKS4 = 1,
  369. MPROXYTYPE_SOCKS5 = 2,
  370. MPROXYTYPE_HTTPS = 3,
  371. MPROXYTYPE_HTTP = 4
  372. } MPROXYTYPE;
  373. typedef /* [public] */
  374. enum __MIDL___MIDL_itf_mdisp_0000_0017
  375. { MCONNECTIONTYPE_DISCONNECTED = 0,
  376. MCONNECTIONTYPE_DIRECT = 1,
  377. MCONNECTIONTYPE_BROWSER_PROXY = 2,
  378. MCONNECTIONTYPE_HTTP_PROXY = 3,
  379. MCONNECTIONTYPE_SOCKS_PROXY = 4
  380. } MCONNECTIONTYPE;
  381. typedef /* [public][public] */
  382. enum __MIDL___MIDL_itf_mdisp_0000_0018
  383. { MOPTDLG_GENERAL_PAGE = 0,
  384. MOPTDLG_PRIVACY_PAGE = 1,
  385. MOPTDLG_EXCHANGE_PAGE = 2,
  386. MOPTDLG_ACCOUNTS_PAGE = 3,
  387. MOPTDLG_CONNECTION_PAGE = 4,
  388. MOPTDLG_PREFERENCES_PAGE = 5,
  389. MOPTDLG_SERVICES_PAGE = 6,
  390. MOPTDLG_PHONE_PAGE = 7
  391. } MOPTDLGPAGE;
  392. typedef /* [public] */
  393. enum __MIDL___MIDL_itf_mdisp_0000_0019
  394. { MSF_PRIMARY = 0x1,
  395. MSF_APP_INVITE = 0x2,
  396. MSF_MULTI_IM = 0x4,
  397. MSF_BLOCKING = 0x8,
  398. MSF_UNAME_IN_EMAIL_FMT = 0x10,
  399. MSF_LOCAL_LISTS = 0x20,
  400. MSF_FIND_USER = 0x40,
  401. MSF_INVITE_MAIL = 0x80,
  402. MSF_INTERNET = 0x100,
  403. MSF_NO_ALLOW_LIST = 0x200
  404. } MSERVICE_FLAGS;
  405. typedef /* [public] */
  406. enum __MIDL___MIDL_itf_mdisp_0000_0020
  407. { MFT_SAVE_PASSWORD = 0,
  408. MFT_DONT_SAVE_PASSWORD = 0x1,
  409. MFT_OVERWRITE_EXISTING = 0x2
  410. } MFIRSTTIME_FLAGS;
  411. typedef /* [public][public] */
  412. enum __MIDL___MIDL_itf_mdisp_0000_0021
  413. { MSS_LOGGED_ON = 0,
  414. MSS_NOT_LOGGED_ON = 1,
  415. MSS_LOGGING_ON = 2,
  416. MSS_LOGGING_OFF = 3
  417. } MSVCSTATUS;
  418. typedef /* [public][public] */
  419. enum __MIDL___MIDL_itf_mdisp_0000_0022
  420. { MFTF_SENDING = 0x4,
  421. MFTF_RECEIVING = 0x8,
  422. MFTF_CONNECTING = 0x10,
  423. MFTF_CONNECTED = 0x20,
  424. MFTF_DISCONNECTED = 0x40
  425. } MFILETRANSFER_FLAGS;
  426. EXTERN_C const IID LIBID_Messenger;
  427. #ifndef __IMsgrObject_INTERFACE_DEFINED__
  428. #define __IMsgrObject_INTERFACE_DEFINED__
  429. /* interface IMsgrObject */
  430. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  431. EXTERN_C const IID IID_IMsgrObject;
  432. #if defined(__cplusplus) && !defined(CINTERFACE)
  433. MIDL_INTERFACE("218CB451-20B6-11d2-8E17-0000F803A446")
  434. IMsgrObject : public IDispatch
  435. {
  436. public:
  437. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateUser(
  438. /* [in] */ BSTR bstrLogonName,
  439. /* [in] */ IMsgrService __RPC_FAR *pService,
  440. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser) = 0;
  441. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Logon(
  442. /* [in] */ BSTR bstrUser,
  443. /* [in] */ BSTR bstrPassword,
  444. /* [in] */ IMsgrService __RPC_FAR *pService) = 0;
  445. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Logoff( void) = 0;
  446. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_List(
  447. /* [in] */ MLIST mList,
  448. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers) = 0;
  449. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LocalLogonName(
  450. /* [retval][out] */ BSTR __RPC_FAR *pbstrName) = 0;
  451. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LocalFriendlyName(
  452. /* [retval][out] */ BSTR __RPC_FAR *pbstrName) = 0;
  453. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_LocalState(
  454. /* [in] */ MSTATE mState) = 0;
  455. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_LocalState(
  456. /* [retval][out] */ MSTATE __RPC_FAR *pmState) = 0;
  457. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_MessagePrivacy(
  458. /* [in] */ MMSGPRIVACY mmpSetting) = 0;
  459. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_MessagePrivacy(
  460. /* [retval][out] */ MMSGPRIVACY __RPC_FAR *pmmpSetting) = 0;
  461. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_Prompt(
  462. /* [in] */ MPROMPT mpSetting) = 0;
  463. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Prompt(
  464. /* [retval][out] */ MPROMPT __RPC_FAR *pmpSetting) = 0;
  465. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendAppInvite(
  466. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  467. /* [in] */ LONG lCookie,
  468. /* [in] */ BSTR bstrAppGUID,
  469. /* [in] */ BSTR bstrAppName,
  470. /* [in] */ BSTR bstrAppURL,
  471. /* [in] */ LONG lInviteType,
  472. /* [in] */ MMSGTYPE mmtType,
  473. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  474. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendAppInviteAccept(
  475. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  476. /* [in] */ LONG lCookie,
  477. /* [in] */ LONG lInviteType,
  478. /* [in] */ MMSGTYPE mmtType,
  479. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  480. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendAppInviteCancel(
  481. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  482. /* [in] */ LONG lCookie,
  483. /* [in] */ LONG hrReason,
  484. /* [in] */ MMSGTYPE mmtType,
  485. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  486. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_LocalOption(
  487. /* [in] */ MLOCALOPTION option,
  488. /* [in] */ VARIANT vSetting) = 0;
  489. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_LocalOption(
  490. /* [in] */ MLOCALOPTION option,
  491. /* [retval][out] */ VARIANT __RPC_FAR *pvSetting) = 0;
  492. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE FindUser(
  493. /* [in] */ BSTR bstrFirstName,
  494. /* [in] */ BSTR bstrLastName,
  495. /* [in] */ BSTR bstrCity,
  496. /* [in] */ BSTR bstrState,
  497. /* [in] */ BSTR bstrCountry,
  498. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  499. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendInviteMail(
  500. /* [in] */ BSTR bstrEmailAddress,
  501. /* [in] */ LONG lFindCookie,
  502. /* [in] */ LONG lFindIndex,
  503. /* [in] */ LONG lLCID,
  504. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  505. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE RequestURLPost(
  506. /* [in] */ MURLTYPE muType,
  507. /* [in] */ BSTR bstrAdditionalInfo,
  508. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  509. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_IMSessions(
  510. /* [retval][out] */ IMsgrIMSessions __RPC_FAR *__RPC_FAR *ppIMSessions) = 0;
  511. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateIMSession(
  512. /* [in] */ VARIANT vUser,
  513. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession) = 0;
  514. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SessionRequestAccept(
  515. /* [in] */ IMsgrIMSession __RPC_FAR *pIMsgrIMSession,
  516. /* [in] */ long hrReason) = 0;
  517. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SessionRequestCancel(
  518. /* [in] */ IMsgrIMSession __RPC_FAR *pIMsgrIMSession,
  519. /* [in] */ long hrReason) = 0;
  520. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Services(
  521. /* [retval][out] */ IMsgrServices __RPC_FAR *__RPC_FAR *ppServices) = 0;
  522. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_UnreadEmail(
  523. /* [in] */ MFOLDER mFolder,
  524. /* [retval][out] */ long __RPC_FAR *pcUnreadEmail) = 0;
  525. };
  526. #else /* C style interface */
  527. typedef struct IMsgrObjectVtbl
  528. {
  529. BEGIN_INTERFACE
  530. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  531. IMsgrObject __RPC_FAR * This,
  532. /* [in] */ REFIID riid,
  533. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  534. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  535. IMsgrObject __RPC_FAR * This);
  536. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  537. IMsgrObject __RPC_FAR * This);
  538. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  539. IMsgrObject __RPC_FAR * This,
  540. /* [out] */ UINT __RPC_FAR *pctinfo);
  541. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  542. IMsgrObject __RPC_FAR * This,
  543. /* [in] */ UINT iTInfo,
  544. /* [in] */ LCID lcid,
  545. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  546. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  547. IMsgrObject __RPC_FAR * This,
  548. /* [in] */ REFIID riid,
  549. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  550. /* [in] */ UINT cNames,
  551. /* [in] */ LCID lcid,
  552. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  553. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  554. IMsgrObject __RPC_FAR * This,
  555. /* [in] */ DISPID dispIdMember,
  556. /* [in] */ REFIID riid,
  557. /* [in] */ LCID lcid,
  558. /* [in] */ WORD wFlags,
  559. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  560. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  561. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  562. /* [out] */ UINT __RPC_FAR *puArgErr);
  563. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateUser )(
  564. IMsgrObject __RPC_FAR * This,
  565. /* [in] */ BSTR bstrLogonName,
  566. /* [in] */ IMsgrService __RPC_FAR *pService,
  567. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser);
  568. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Logon )(
  569. IMsgrObject __RPC_FAR * This,
  570. /* [in] */ BSTR bstrUser,
  571. /* [in] */ BSTR bstrPassword,
  572. /* [in] */ IMsgrService __RPC_FAR *pService);
  573. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Logoff )(
  574. IMsgrObject __RPC_FAR * This);
  575. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_List )(
  576. IMsgrObject __RPC_FAR * This,
  577. /* [in] */ MLIST mList,
  578. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers);
  579. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocalLogonName )(
  580. IMsgrObject __RPC_FAR * This,
  581. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  582. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocalFriendlyName )(
  583. IMsgrObject __RPC_FAR * This,
  584. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  585. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_LocalState )(
  586. IMsgrObject __RPC_FAR * This,
  587. /* [in] */ MSTATE mState);
  588. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocalState )(
  589. IMsgrObject __RPC_FAR * This,
  590. /* [retval][out] */ MSTATE __RPC_FAR *pmState);
  591. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_MessagePrivacy )(
  592. IMsgrObject __RPC_FAR * This,
  593. /* [in] */ MMSGPRIVACY mmpSetting);
  594. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MessagePrivacy )(
  595. IMsgrObject __RPC_FAR * This,
  596. /* [retval][out] */ MMSGPRIVACY __RPC_FAR *pmmpSetting);
  597. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Prompt )(
  598. IMsgrObject __RPC_FAR * This,
  599. /* [in] */ MPROMPT mpSetting);
  600. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Prompt )(
  601. IMsgrObject __RPC_FAR * This,
  602. /* [retval][out] */ MPROMPT __RPC_FAR *pmpSetting);
  603. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendAppInvite )(
  604. IMsgrObject __RPC_FAR * This,
  605. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  606. /* [in] */ LONG lCookie,
  607. /* [in] */ BSTR bstrAppGUID,
  608. /* [in] */ BSTR bstrAppName,
  609. /* [in] */ BSTR bstrAppURL,
  610. /* [in] */ LONG lInviteType,
  611. /* [in] */ MMSGTYPE mmtType,
  612. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  613. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendAppInviteAccept )(
  614. IMsgrObject __RPC_FAR * This,
  615. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  616. /* [in] */ LONG lCookie,
  617. /* [in] */ LONG lInviteType,
  618. /* [in] */ MMSGTYPE mmtType,
  619. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  620. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendAppInviteCancel )(
  621. IMsgrObject __RPC_FAR * This,
  622. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  623. /* [in] */ LONG lCookie,
  624. /* [in] */ LONG hrReason,
  625. /* [in] */ MMSGTYPE mmtType,
  626. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  627. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_LocalOption )(
  628. IMsgrObject __RPC_FAR * This,
  629. /* [in] */ MLOCALOPTION option,
  630. /* [in] */ VARIANT vSetting);
  631. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocalOption )(
  632. IMsgrObject __RPC_FAR * This,
  633. /* [in] */ MLOCALOPTION option,
  634. /* [retval][out] */ VARIANT __RPC_FAR *pvSetting);
  635. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindUser )(
  636. IMsgrObject __RPC_FAR * This,
  637. /* [in] */ BSTR bstrFirstName,
  638. /* [in] */ BSTR bstrLastName,
  639. /* [in] */ BSTR bstrCity,
  640. /* [in] */ BSTR bstrState,
  641. /* [in] */ BSTR bstrCountry,
  642. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  643. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendInviteMail )(
  644. IMsgrObject __RPC_FAR * This,
  645. /* [in] */ BSTR bstrEmailAddress,
  646. /* [in] */ LONG lFindCookie,
  647. /* [in] */ LONG lFindIndex,
  648. /* [in] */ LONG lLCID,
  649. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  650. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestURLPost )(
  651. IMsgrObject __RPC_FAR * This,
  652. /* [in] */ MURLTYPE muType,
  653. /* [in] */ BSTR bstrAdditionalInfo,
  654. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  655. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IMSessions )(
  656. IMsgrObject __RPC_FAR * This,
  657. /* [retval][out] */ IMsgrIMSessions __RPC_FAR *__RPC_FAR *ppIMSessions);
  658. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateIMSession )(
  659. IMsgrObject __RPC_FAR * This,
  660. /* [in] */ VARIANT vUser,
  661. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession);
  662. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SessionRequestAccept )(
  663. IMsgrObject __RPC_FAR * This,
  664. /* [in] */ IMsgrIMSession __RPC_FAR *pIMsgrIMSession,
  665. /* [in] */ long hrReason);
  666. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SessionRequestCancel )(
  667. IMsgrObject __RPC_FAR * This,
  668. /* [in] */ IMsgrIMSession __RPC_FAR *pIMsgrIMSession,
  669. /* [in] */ long hrReason);
  670. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Services )(
  671. IMsgrObject __RPC_FAR * This,
  672. /* [retval][out] */ IMsgrServices __RPC_FAR *__RPC_FAR *ppServices);
  673. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_UnreadEmail )(
  674. IMsgrObject __RPC_FAR * This,
  675. /* [in] */ MFOLDER mFolder,
  676. /* [retval][out] */ long __RPC_FAR *pcUnreadEmail);
  677. END_INTERFACE
  678. } IMsgrObjectVtbl;
  679. interface IMsgrObject
  680. {
  681. CONST_VTBL struct IMsgrObjectVtbl __RPC_FAR *lpVtbl;
  682. };
  683. #ifdef COBJMACROS
  684. #define IMsgrObject_QueryInterface(This,riid,ppvObject) \
  685. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  686. #define IMsgrObject_AddRef(This) \
  687. (This)->lpVtbl -> AddRef(This)
  688. #define IMsgrObject_Release(This) \
  689. (This)->lpVtbl -> Release(This)
  690. #define IMsgrObject_GetTypeInfoCount(This,pctinfo) \
  691. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  692. #define IMsgrObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  693. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  694. #define IMsgrObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  695. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  696. #define IMsgrObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  697. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  698. #define IMsgrObject_CreateUser(This,bstrLogonName,pService,ppUser) \
  699. (This)->lpVtbl -> CreateUser(This,bstrLogonName,pService,ppUser)
  700. #define IMsgrObject_Logon(This,bstrUser,bstrPassword,pService) \
  701. (This)->lpVtbl -> Logon(This,bstrUser,bstrPassword,pService)
  702. #define IMsgrObject_Logoff(This) \
  703. (This)->lpVtbl -> Logoff(This)
  704. #define IMsgrObject_get_List(This,mList,ppUsers) \
  705. (This)->lpVtbl -> get_List(This,mList,ppUsers)
  706. #define IMsgrObject_get_LocalLogonName(This,pbstrName) \
  707. (This)->lpVtbl -> get_LocalLogonName(This,pbstrName)
  708. #define IMsgrObject_get_LocalFriendlyName(This,pbstrName) \
  709. (This)->lpVtbl -> get_LocalFriendlyName(This,pbstrName)
  710. #define IMsgrObject_put_LocalState(This,mState) \
  711. (This)->lpVtbl -> put_LocalState(This,mState)
  712. #define IMsgrObject_get_LocalState(This,pmState) \
  713. (This)->lpVtbl -> get_LocalState(This,pmState)
  714. #define IMsgrObject_put_MessagePrivacy(This,mmpSetting) \
  715. (This)->lpVtbl -> put_MessagePrivacy(This,mmpSetting)
  716. #define IMsgrObject_get_MessagePrivacy(This,pmmpSetting) \
  717. (This)->lpVtbl -> get_MessagePrivacy(This,pmmpSetting)
  718. #define IMsgrObject_put_Prompt(This,mpSetting) \
  719. (This)->lpVtbl -> put_Prompt(This,mpSetting)
  720. #define IMsgrObject_get_Prompt(This,pmpSetting) \
  721. (This)->lpVtbl -> get_Prompt(This,pmpSetting)
  722. #define IMsgrObject_SendAppInvite(This,pUser,lCookie,bstrAppGUID,bstrAppName,bstrAppURL,lInviteType,mmtType,plCookie) \
  723. (This)->lpVtbl -> SendAppInvite(This,pUser,lCookie,bstrAppGUID,bstrAppName,bstrAppURL,lInviteType,mmtType,plCookie)
  724. #define IMsgrObject_SendAppInviteAccept(This,pUser,lCookie,lInviteType,mmtType,plCookie) \
  725. (This)->lpVtbl -> SendAppInviteAccept(This,pUser,lCookie,lInviteType,mmtType,plCookie)
  726. #define IMsgrObject_SendAppInviteCancel(This,pUser,lCookie,hrReason,mmtType,plCookie) \
  727. (This)->lpVtbl -> SendAppInviteCancel(This,pUser,lCookie,hrReason,mmtType,plCookie)
  728. #define IMsgrObject_put_LocalOption(This,option,vSetting) \
  729. (This)->lpVtbl -> put_LocalOption(This,option,vSetting)
  730. #define IMsgrObject_get_LocalOption(This,option,pvSetting) \
  731. (This)->lpVtbl -> get_LocalOption(This,option,pvSetting)
  732. #define IMsgrObject_FindUser(This,bstrFirstName,bstrLastName,bstrCity,bstrState,bstrCountry,plCookie) \
  733. (This)->lpVtbl -> FindUser(This,bstrFirstName,bstrLastName,bstrCity,bstrState,bstrCountry,plCookie)
  734. #define IMsgrObject_SendInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,plCookie) \
  735. (This)->lpVtbl -> SendInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,plCookie)
  736. #define IMsgrObject_RequestURLPost(This,muType,bstrAdditionalInfo,plCookie) \
  737. (This)->lpVtbl -> RequestURLPost(This,muType,bstrAdditionalInfo,plCookie)
  738. #define IMsgrObject_get_IMSessions(This,ppIMSessions) \
  739. (This)->lpVtbl -> get_IMSessions(This,ppIMSessions)
  740. #define IMsgrObject_CreateIMSession(This,vUser,ppIMSession) \
  741. (This)->lpVtbl -> CreateIMSession(This,vUser,ppIMSession)
  742. #define IMsgrObject_SessionRequestAccept(This,pIMsgrIMSession,hrReason) \
  743. (This)->lpVtbl -> SessionRequestAccept(This,pIMsgrIMSession,hrReason)
  744. #define IMsgrObject_SessionRequestCancel(This,pIMsgrIMSession,hrReason) \
  745. (This)->lpVtbl -> SessionRequestCancel(This,pIMsgrIMSession,hrReason)
  746. #define IMsgrObject_get_Services(This,ppServices) \
  747. (This)->lpVtbl -> get_Services(This,ppServices)
  748. #define IMsgrObject_get_UnreadEmail(This,mFolder,pcUnreadEmail) \
  749. (This)->lpVtbl -> get_UnreadEmail(This,mFolder,pcUnreadEmail)
  750. #endif /* COBJMACROS */
  751. #endif /* C style interface */
  752. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject_CreateUser_Proxy(
  753. IMsgrObject __RPC_FAR * This,
  754. /* [in] */ BSTR bstrLogonName,
  755. /* [in] */ IMsgrService __RPC_FAR *pService,
  756. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser);
  757. void __RPC_STUB IMsgrObject_CreateUser_Stub(
  758. IRpcStubBuffer *This,
  759. IRpcChannelBuffer *_pRpcChannelBuffer,
  760. PRPC_MESSAGE _pRpcMessage,
  761. DWORD *_pdwStubPhase);
  762. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject_Logon_Proxy(
  763. IMsgrObject __RPC_FAR * This,
  764. /* [in] */ BSTR bstrUser,
  765. /* [in] */ BSTR bstrPassword,
  766. /* [in] */ IMsgrService __RPC_FAR *pService);
  767. void __RPC_STUB IMsgrObject_Logon_Stub(
  768. IRpcStubBuffer *This,
  769. IRpcChannelBuffer *_pRpcChannelBuffer,
  770. PRPC_MESSAGE _pRpcMessage,
  771. DWORD *_pdwStubPhase);
  772. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject_Logoff_Proxy(
  773. IMsgrObject __RPC_FAR * This);
  774. void __RPC_STUB IMsgrObject_Logoff_Stub(
  775. IRpcStubBuffer *This,
  776. IRpcChannelBuffer *_pRpcChannelBuffer,
  777. PRPC_MESSAGE _pRpcMessage,
  778. DWORD *_pdwStubPhase);
  779. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrObject_get_List_Proxy(
  780. IMsgrObject __RPC_FAR * This,
  781. /* [in] */ MLIST mList,
  782. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers);
  783. void __RPC_STUB IMsgrObject_get_List_Stub(
  784. IRpcStubBuffer *This,
  785. IRpcChannelBuffer *_pRpcChannelBuffer,
  786. PRPC_MESSAGE _pRpcMessage,
  787. DWORD *_pdwStubPhase);
  788. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrObject_get_LocalLogonName_Proxy(
  789. IMsgrObject __RPC_FAR * This,
  790. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  791. void __RPC_STUB IMsgrObject_get_LocalLogonName_Stub(
  792. IRpcStubBuffer *This,
  793. IRpcChannelBuffer *_pRpcChannelBuffer,
  794. PRPC_MESSAGE _pRpcMessage,
  795. DWORD *_pdwStubPhase);
  796. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrObject_get_LocalFriendlyName_Proxy(
  797. IMsgrObject __RPC_FAR * This,
  798. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  799. void __RPC_STUB IMsgrObject_get_LocalFriendlyName_Stub(
  800. IRpcStubBuffer *This,
  801. IRpcChannelBuffer *_pRpcChannelBuffer,
  802. PRPC_MESSAGE _pRpcMessage,
  803. DWORD *_pdwStubPhase);
  804. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrObject_put_LocalState_Proxy(
  805. IMsgrObject __RPC_FAR * This,
  806. /* [in] */ MSTATE mState);
  807. void __RPC_STUB IMsgrObject_put_LocalState_Stub(
  808. IRpcStubBuffer *This,
  809. IRpcChannelBuffer *_pRpcChannelBuffer,
  810. PRPC_MESSAGE _pRpcMessage,
  811. DWORD *_pdwStubPhase);
  812. /* [propget] */ HRESULT STDMETHODCALLTYPE IMsgrObject_get_LocalState_Proxy(
  813. IMsgrObject __RPC_FAR * This,
  814. /* [retval][out] */ MSTATE __RPC_FAR *pmState);
  815. void __RPC_STUB IMsgrObject_get_LocalState_Stub(
  816. IRpcStubBuffer *This,
  817. IRpcChannelBuffer *_pRpcChannelBuffer,
  818. PRPC_MESSAGE _pRpcMessage,
  819. DWORD *_pdwStubPhase);
  820. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrObject_put_MessagePrivacy_Proxy(
  821. IMsgrObject __RPC_FAR * This,
  822. /* [in] */ MMSGPRIVACY mmpSetting);
  823. void __RPC_STUB IMsgrObject_put_MessagePrivacy_Stub(
  824. IRpcStubBuffer *This,
  825. IRpcChannelBuffer *_pRpcChannelBuffer,
  826. PRPC_MESSAGE _pRpcMessage,
  827. DWORD *_pdwStubPhase);
  828. /* [propget] */ HRESULT STDMETHODCALLTYPE IMsgrObject_get_MessagePrivacy_Proxy(
  829. IMsgrObject __RPC_FAR * This,
  830. /* [retval][out] */ MMSGPRIVACY __RPC_FAR *pmmpSetting);
  831. void __RPC_STUB IMsgrObject_get_MessagePrivacy_Stub(
  832. IRpcStubBuffer *This,
  833. IRpcChannelBuffer *_pRpcChannelBuffer,
  834. PRPC_MESSAGE _pRpcMessage,
  835. DWORD *_pdwStubPhase);
  836. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrObject_put_Prompt_Proxy(
  837. IMsgrObject __RPC_FAR * This,
  838. /* [in] */ MPROMPT mpSetting);
  839. void __RPC_STUB IMsgrObject_put_Prompt_Stub(
  840. IRpcStubBuffer *This,
  841. IRpcChannelBuffer *_pRpcChannelBuffer,
  842. PRPC_MESSAGE _pRpcMessage,
  843. DWORD *_pdwStubPhase);
  844. /* [propget] */ HRESULT STDMETHODCALLTYPE IMsgrObject_get_Prompt_Proxy(
  845. IMsgrObject __RPC_FAR * This,
  846. /* [retval][out] */ MPROMPT __RPC_FAR *pmpSetting);
  847. void __RPC_STUB IMsgrObject_get_Prompt_Stub(
  848. IRpcStubBuffer *This,
  849. IRpcChannelBuffer *_pRpcChannelBuffer,
  850. PRPC_MESSAGE _pRpcMessage,
  851. DWORD *_pdwStubPhase);
  852. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject_SendAppInvite_Proxy(
  853. IMsgrObject __RPC_FAR * This,
  854. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  855. /* [in] */ LONG lCookie,
  856. /* [in] */ BSTR bstrAppGUID,
  857. /* [in] */ BSTR bstrAppName,
  858. /* [in] */ BSTR bstrAppURL,
  859. /* [in] */ LONG lInviteType,
  860. /* [in] */ MMSGTYPE mmtType,
  861. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  862. void __RPC_STUB IMsgrObject_SendAppInvite_Stub(
  863. IRpcStubBuffer *This,
  864. IRpcChannelBuffer *_pRpcChannelBuffer,
  865. PRPC_MESSAGE _pRpcMessage,
  866. DWORD *_pdwStubPhase);
  867. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject_SendAppInviteAccept_Proxy(
  868. IMsgrObject __RPC_FAR * This,
  869. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  870. /* [in] */ LONG lCookie,
  871. /* [in] */ LONG lInviteType,
  872. /* [in] */ MMSGTYPE mmtType,
  873. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  874. void __RPC_STUB IMsgrObject_SendAppInviteAccept_Stub(
  875. IRpcStubBuffer *This,
  876. IRpcChannelBuffer *_pRpcChannelBuffer,
  877. PRPC_MESSAGE _pRpcMessage,
  878. DWORD *_pdwStubPhase);
  879. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject_SendAppInviteCancel_Proxy(
  880. IMsgrObject __RPC_FAR * This,
  881. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  882. /* [in] */ LONG lCookie,
  883. /* [in] */ LONG hrReason,
  884. /* [in] */ MMSGTYPE mmtType,
  885. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  886. void __RPC_STUB IMsgrObject_SendAppInviteCancel_Stub(
  887. IRpcStubBuffer *This,
  888. IRpcChannelBuffer *_pRpcChannelBuffer,
  889. PRPC_MESSAGE _pRpcMessage,
  890. DWORD *_pdwStubPhase);
  891. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrObject_put_LocalOption_Proxy(
  892. IMsgrObject __RPC_FAR * This,
  893. /* [in] */ MLOCALOPTION option,
  894. /* [in] */ VARIANT vSetting);
  895. void __RPC_STUB IMsgrObject_put_LocalOption_Stub(
  896. IRpcStubBuffer *This,
  897. IRpcChannelBuffer *_pRpcChannelBuffer,
  898. PRPC_MESSAGE _pRpcMessage,
  899. DWORD *_pdwStubPhase);
  900. /* [propget] */ HRESULT STDMETHODCALLTYPE IMsgrObject_get_LocalOption_Proxy(
  901. IMsgrObject __RPC_FAR * This,
  902. /* [in] */ MLOCALOPTION option,
  903. /* [retval][out] */ VARIANT __RPC_FAR *pvSetting);
  904. void __RPC_STUB IMsgrObject_get_LocalOption_Stub(
  905. IRpcStubBuffer *This,
  906. IRpcChannelBuffer *_pRpcChannelBuffer,
  907. PRPC_MESSAGE _pRpcMessage,
  908. DWORD *_pdwStubPhase);
  909. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject_FindUser_Proxy(
  910. IMsgrObject __RPC_FAR * This,
  911. /* [in] */ BSTR bstrFirstName,
  912. /* [in] */ BSTR bstrLastName,
  913. /* [in] */ BSTR bstrCity,
  914. /* [in] */ BSTR bstrState,
  915. /* [in] */ BSTR bstrCountry,
  916. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  917. void __RPC_STUB IMsgrObject_FindUser_Stub(
  918. IRpcStubBuffer *This,
  919. IRpcChannelBuffer *_pRpcChannelBuffer,
  920. PRPC_MESSAGE _pRpcMessage,
  921. DWORD *_pdwStubPhase);
  922. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject_SendInviteMail_Proxy(
  923. IMsgrObject __RPC_FAR * This,
  924. /* [in] */ BSTR bstrEmailAddress,
  925. /* [in] */ LONG lFindCookie,
  926. /* [in] */ LONG lFindIndex,
  927. /* [in] */ LONG lLCID,
  928. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  929. void __RPC_STUB IMsgrObject_SendInviteMail_Stub(
  930. IRpcStubBuffer *This,
  931. IRpcChannelBuffer *_pRpcChannelBuffer,
  932. PRPC_MESSAGE _pRpcMessage,
  933. DWORD *_pdwStubPhase);
  934. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject_RequestURLPost_Proxy(
  935. IMsgrObject __RPC_FAR * This,
  936. /* [in] */ MURLTYPE muType,
  937. /* [in] */ BSTR bstrAdditionalInfo,
  938. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  939. void __RPC_STUB IMsgrObject_RequestURLPost_Stub(
  940. IRpcStubBuffer *This,
  941. IRpcChannelBuffer *_pRpcChannelBuffer,
  942. PRPC_MESSAGE _pRpcMessage,
  943. DWORD *_pdwStubPhase);
  944. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrObject_get_IMSessions_Proxy(
  945. IMsgrObject __RPC_FAR * This,
  946. /* [retval][out] */ IMsgrIMSessions __RPC_FAR *__RPC_FAR *ppIMSessions);
  947. void __RPC_STUB IMsgrObject_get_IMSessions_Stub(
  948. IRpcStubBuffer *This,
  949. IRpcChannelBuffer *_pRpcChannelBuffer,
  950. PRPC_MESSAGE _pRpcMessage,
  951. DWORD *_pdwStubPhase);
  952. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject_CreateIMSession_Proxy(
  953. IMsgrObject __RPC_FAR * This,
  954. /* [in] */ VARIANT vUser,
  955. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession);
  956. void __RPC_STUB IMsgrObject_CreateIMSession_Stub(
  957. IRpcStubBuffer *This,
  958. IRpcChannelBuffer *_pRpcChannelBuffer,
  959. PRPC_MESSAGE _pRpcMessage,
  960. DWORD *_pdwStubPhase);
  961. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject_SessionRequestAccept_Proxy(
  962. IMsgrObject __RPC_FAR * This,
  963. /* [in] */ IMsgrIMSession __RPC_FAR *pIMsgrIMSession,
  964. /* [in] */ long hrReason);
  965. void __RPC_STUB IMsgrObject_SessionRequestAccept_Stub(
  966. IRpcStubBuffer *This,
  967. IRpcChannelBuffer *_pRpcChannelBuffer,
  968. PRPC_MESSAGE _pRpcMessage,
  969. DWORD *_pdwStubPhase);
  970. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject_SessionRequestCancel_Proxy(
  971. IMsgrObject __RPC_FAR * This,
  972. /* [in] */ IMsgrIMSession __RPC_FAR *pIMsgrIMSession,
  973. /* [in] */ long hrReason);
  974. void __RPC_STUB IMsgrObject_SessionRequestCancel_Stub(
  975. IRpcStubBuffer *This,
  976. IRpcChannelBuffer *_pRpcChannelBuffer,
  977. PRPC_MESSAGE _pRpcMessage,
  978. DWORD *_pdwStubPhase);
  979. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrObject_get_Services_Proxy(
  980. IMsgrObject __RPC_FAR * This,
  981. /* [retval][out] */ IMsgrServices __RPC_FAR *__RPC_FAR *ppServices);
  982. void __RPC_STUB IMsgrObject_get_Services_Stub(
  983. IRpcStubBuffer *This,
  984. IRpcChannelBuffer *_pRpcChannelBuffer,
  985. PRPC_MESSAGE _pRpcMessage,
  986. DWORD *_pdwStubPhase);
  987. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrObject_get_UnreadEmail_Proxy(
  988. IMsgrObject __RPC_FAR * This,
  989. /* [in] */ MFOLDER mFolder,
  990. /* [retval][out] */ long __RPC_FAR *pcUnreadEmail);
  991. void __RPC_STUB IMsgrObject_get_UnreadEmail_Stub(
  992. IRpcStubBuffer *This,
  993. IRpcChannelBuffer *_pRpcChannelBuffer,
  994. PRPC_MESSAGE _pRpcMessage,
  995. DWORD *_pdwStubPhase);
  996. #endif /* __IMsgrObject_INTERFACE_DEFINED__ */
  997. #ifndef __IMsgrUser_INTERFACE_DEFINED__
  998. #define __IMsgrUser_INTERFACE_DEFINED__
  999. /* interface IMsgrUser */
  1000. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  1001. EXTERN_C const IID IID_IMsgrUser;
  1002. #if defined(__cplusplus) && !defined(CINTERFACE)
  1003. MIDL_INTERFACE("218CB453-20B6-11d2-8E17-0000F803A446")
  1004. IMsgrUser : public IDispatch
  1005. {
  1006. public:
  1007. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_FriendlyName(
  1008. /* [in] */ BSTR bstrFriendlyName) = 0;
  1009. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_FriendlyName(
  1010. /* [retval][out] */ BSTR __RPC_FAR *pbstrFriendlyName) = 0;
  1011. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_EmailAddress(
  1012. /* [retval][out] */ BSTR __RPC_FAR *pbstrEmailAddress) = 0;
  1013. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_State(
  1014. /* [retval][out] */ MSTATE __RPC_FAR *pmState) = 0;
  1015. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LogonName(
  1016. /* [retval][out] */ BSTR __RPC_FAR *pbstrLogonName) = 0;
  1017. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendText(
  1018. /* [in] */ BSTR bstrMsgHeader,
  1019. /* [in] */ BSTR bstrMsgText,
  1020. /* [in] */ MMSGTYPE mmtType,
  1021. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  1022. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Service(
  1023. /* [retval][out] */ IMsgrService __RPC_FAR *__RPC_FAR *ppService) = 0;
  1024. };
  1025. #else /* C style interface */
  1026. typedef struct IMsgrUserVtbl
  1027. {
  1028. BEGIN_INTERFACE
  1029. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1030. IMsgrUser __RPC_FAR * This,
  1031. /* [in] */ REFIID riid,
  1032. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1033. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1034. IMsgrUser __RPC_FAR * This);
  1035. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1036. IMsgrUser __RPC_FAR * This);
  1037. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1038. IMsgrUser __RPC_FAR * This,
  1039. /* [out] */ UINT __RPC_FAR *pctinfo);
  1040. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1041. IMsgrUser __RPC_FAR * This,
  1042. /* [in] */ UINT iTInfo,
  1043. /* [in] */ LCID lcid,
  1044. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1045. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1046. IMsgrUser __RPC_FAR * This,
  1047. /* [in] */ REFIID riid,
  1048. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1049. /* [in] */ UINT cNames,
  1050. /* [in] */ LCID lcid,
  1051. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1052. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1053. IMsgrUser __RPC_FAR * This,
  1054. /* [in] */ DISPID dispIdMember,
  1055. /* [in] */ REFIID riid,
  1056. /* [in] */ LCID lcid,
  1057. /* [in] */ WORD wFlags,
  1058. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1059. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1060. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1061. /* [out] */ UINT __RPC_FAR *puArgErr);
  1062. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_FriendlyName )(
  1063. IMsgrUser __RPC_FAR * This,
  1064. /* [in] */ BSTR bstrFriendlyName);
  1065. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FriendlyName )(
  1066. IMsgrUser __RPC_FAR * This,
  1067. /* [retval][out] */ BSTR __RPC_FAR *pbstrFriendlyName);
  1068. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_EmailAddress )(
  1069. IMsgrUser __RPC_FAR * This,
  1070. /* [retval][out] */ BSTR __RPC_FAR *pbstrEmailAddress);
  1071. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_State )(
  1072. IMsgrUser __RPC_FAR * This,
  1073. /* [retval][out] */ MSTATE __RPC_FAR *pmState);
  1074. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LogonName )(
  1075. IMsgrUser __RPC_FAR * This,
  1076. /* [retval][out] */ BSTR __RPC_FAR *pbstrLogonName);
  1077. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendText )(
  1078. IMsgrUser __RPC_FAR * This,
  1079. /* [in] */ BSTR bstrMsgHeader,
  1080. /* [in] */ BSTR bstrMsgText,
  1081. /* [in] */ MMSGTYPE mmtType,
  1082. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  1083. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Service )(
  1084. IMsgrUser __RPC_FAR * This,
  1085. /* [retval][out] */ IMsgrService __RPC_FAR *__RPC_FAR *ppService);
  1086. END_INTERFACE
  1087. } IMsgrUserVtbl;
  1088. interface IMsgrUser
  1089. {
  1090. CONST_VTBL struct IMsgrUserVtbl __RPC_FAR *lpVtbl;
  1091. };
  1092. #ifdef COBJMACROS
  1093. #define IMsgrUser_QueryInterface(This,riid,ppvObject) \
  1094. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1095. #define IMsgrUser_AddRef(This) \
  1096. (This)->lpVtbl -> AddRef(This)
  1097. #define IMsgrUser_Release(This) \
  1098. (This)->lpVtbl -> Release(This)
  1099. #define IMsgrUser_GetTypeInfoCount(This,pctinfo) \
  1100. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1101. #define IMsgrUser_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1102. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1103. #define IMsgrUser_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1104. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1105. #define IMsgrUser_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1106. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1107. #define IMsgrUser_put_FriendlyName(This,bstrFriendlyName) \
  1108. (This)->lpVtbl -> put_FriendlyName(This,bstrFriendlyName)
  1109. #define IMsgrUser_get_FriendlyName(This,pbstrFriendlyName) \
  1110. (This)->lpVtbl -> get_FriendlyName(This,pbstrFriendlyName)
  1111. #define IMsgrUser_get_EmailAddress(This,pbstrEmailAddress) \
  1112. (This)->lpVtbl -> get_EmailAddress(This,pbstrEmailAddress)
  1113. #define IMsgrUser_get_State(This,pmState) \
  1114. (This)->lpVtbl -> get_State(This,pmState)
  1115. #define IMsgrUser_get_LogonName(This,pbstrLogonName) \
  1116. (This)->lpVtbl -> get_LogonName(This,pbstrLogonName)
  1117. #define IMsgrUser_SendText(This,bstrMsgHeader,bstrMsgText,mmtType,plCookie) \
  1118. (This)->lpVtbl -> SendText(This,bstrMsgHeader,bstrMsgText,mmtType,plCookie)
  1119. #define IMsgrUser_get_Service(This,ppService) \
  1120. (This)->lpVtbl -> get_Service(This,ppService)
  1121. #endif /* COBJMACROS */
  1122. #endif /* C style interface */
  1123. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrUser_put_FriendlyName_Proxy(
  1124. IMsgrUser __RPC_FAR * This,
  1125. /* [in] */ BSTR bstrFriendlyName);
  1126. void __RPC_STUB IMsgrUser_put_FriendlyName_Stub(
  1127. IRpcStubBuffer *This,
  1128. IRpcChannelBuffer *_pRpcChannelBuffer,
  1129. PRPC_MESSAGE _pRpcMessage,
  1130. DWORD *_pdwStubPhase);
  1131. /* [propget] */ HRESULT STDMETHODCALLTYPE IMsgrUser_get_FriendlyName_Proxy(
  1132. IMsgrUser __RPC_FAR * This,
  1133. /* [retval][out] */ BSTR __RPC_FAR *pbstrFriendlyName);
  1134. void __RPC_STUB IMsgrUser_get_FriendlyName_Stub(
  1135. IRpcStubBuffer *This,
  1136. IRpcChannelBuffer *_pRpcChannelBuffer,
  1137. PRPC_MESSAGE _pRpcMessage,
  1138. DWORD *_pdwStubPhase);
  1139. /* [propget] */ HRESULT STDMETHODCALLTYPE IMsgrUser_get_EmailAddress_Proxy(
  1140. IMsgrUser __RPC_FAR * This,
  1141. /* [retval][out] */ BSTR __RPC_FAR *pbstrEmailAddress);
  1142. void __RPC_STUB IMsgrUser_get_EmailAddress_Stub(
  1143. IRpcStubBuffer *This,
  1144. IRpcChannelBuffer *_pRpcChannelBuffer,
  1145. PRPC_MESSAGE _pRpcMessage,
  1146. DWORD *_pdwStubPhase);
  1147. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrUser_get_State_Proxy(
  1148. IMsgrUser __RPC_FAR * This,
  1149. /* [retval][out] */ MSTATE __RPC_FAR *pmState);
  1150. void __RPC_STUB IMsgrUser_get_State_Stub(
  1151. IRpcStubBuffer *This,
  1152. IRpcChannelBuffer *_pRpcChannelBuffer,
  1153. PRPC_MESSAGE _pRpcMessage,
  1154. DWORD *_pdwStubPhase);
  1155. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrUser_get_LogonName_Proxy(
  1156. IMsgrUser __RPC_FAR * This,
  1157. /* [retval][out] */ BSTR __RPC_FAR *pbstrLogonName);
  1158. void __RPC_STUB IMsgrUser_get_LogonName_Stub(
  1159. IRpcStubBuffer *This,
  1160. IRpcChannelBuffer *_pRpcChannelBuffer,
  1161. PRPC_MESSAGE _pRpcMessage,
  1162. DWORD *_pdwStubPhase);
  1163. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrUser_SendText_Proxy(
  1164. IMsgrUser __RPC_FAR * This,
  1165. /* [in] */ BSTR bstrMsgHeader,
  1166. /* [in] */ BSTR bstrMsgText,
  1167. /* [in] */ MMSGTYPE mmtType,
  1168. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  1169. void __RPC_STUB IMsgrUser_SendText_Stub(
  1170. IRpcStubBuffer *This,
  1171. IRpcChannelBuffer *_pRpcChannelBuffer,
  1172. PRPC_MESSAGE _pRpcMessage,
  1173. DWORD *_pdwStubPhase);
  1174. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrUser_get_Service_Proxy(
  1175. IMsgrUser __RPC_FAR * This,
  1176. /* [retval][out] */ IMsgrService __RPC_FAR *__RPC_FAR *ppService);
  1177. void __RPC_STUB IMsgrUser_get_Service_Stub(
  1178. IRpcStubBuffer *This,
  1179. IRpcChannelBuffer *_pRpcChannelBuffer,
  1180. PRPC_MESSAGE _pRpcMessage,
  1181. DWORD *_pdwStubPhase);
  1182. #endif /* __IMsgrUser_INTERFACE_DEFINED__ */
  1183. #ifndef __IMsgrUsers_INTERFACE_DEFINED__
  1184. #define __IMsgrUsers_INTERFACE_DEFINED__
  1185. /* interface IMsgrUsers */
  1186. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  1187. EXTERN_C const IID IID_IMsgrUsers;
  1188. #if defined(__cplusplus) && !defined(CINTERFACE)
  1189. MIDL_INTERFACE("218CB454-20B6-11d2-8E17-0000F803A446")
  1190. IMsgrUsers : public IDispatch
  1191. {
  1192. public:
  1193. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  1194. /* [retval][out] */ long __RPC_FAR *pcUsers) = 0;
  1195. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  1196. /* [in] */ long Index,
  1197. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser) = 0;
  1198. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  1199. /* [in] */ IMsgrUser __RPC_FAR *pUser) = 0;
  1200. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  1201. /* [in] */ IMsgrUser __RPC_FAR *pUser) = 0;
  1202. virtual /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  1203. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown) = 0;
  1204. };
  1205. #else /* C style interface */
  1206. typedef struct IMsgrUsersVtbl
  1207. {
  1208. BEGIN_INTERFACE
  1209. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1210. IMsgrUsers __RPC_FAR * This,
  1211. /* [in] */ REFIID riid,
  1212. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1213. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1214. IMsgrUsers __RPC_FAR * This);
  1215. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1216. IMsgrUsers __RPC_FAR * This);
  1217. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1218. IMsgrUsers __RPC_FAR * This,
  1219. /* [out] */ UINT __RPC_FAR *pctinfo);
  1220. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1221. IMsgrUsers __RPC_FAR * This,
  1222. /* [in] */ UINT iTInfo,
  1223. /* [in] */ LCID lcid,
  1224. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1225. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1226. IMsgrUsers __RPC_FAR * This,
  1227. /* [in] */ REFIID riid,
  1228. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1229. /* [in] */ UINT cNames,
  1230. /* [in] */ LCID lcid,
  1231. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1232. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1233. IMsgrUsers __RPC_FAR * This,
  1234. /* [in] */ DISPID dispIdMember,
  1235. /* [in] */ REFIID riid,
  1236. /* [in] */ LCID lcid,
  1237. /* [in] */ WORD wFlags,
  1238. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1239. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1240. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1241. /* [out] */ UINT __RPC_FAR *puArgErr);
  1242. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  1243. IMsgrUsers __RPC_FAR * This,
  1244. /* [retval][out] */ long __RPC_FAR *pcUsers);
  1245. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Item )(
  1246. IMsgrUsers __RPC_FAR * This,
  1247. /* [in] */ long Index,
  1248. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser);
  1249. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Add )(
  1250. IMsgrUsers __RPC_FAR * This,
  1251. /* [in] */ IMsgrUser __RPC_FAR *pUser);
  1252. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Remove )(
  1253. IMsgrUsers __RPC_FAR * This,
  1254. /* [in] */ IMsgrUser __RPC_FAR *pUser);
  1255. /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )(
  1256. IMsgrUsers __RPC_FAR * This,
  1257. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown);
  1258. END_INTERFACE
  1259. } IMsgrUsersVtbl;
  1260. interface IMsgrUsers
  1261. {
  1262. CONST_VTBL struct IMsgrUsersVtbl __RPC_FAR *lpVtbl;
  1263. };
  1264. #ifdef COBJMACROS
  1265. #define IMsgrUsers_QueryInterface(This,riid,ppvObject) \
  1266. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1267. #define IMsgrUsers_AddRef(This) \
  1268. (This)->lpVtbl -> AddRef(This)
  1269. #define IMsgrUsers_Release(This) \
  1270. (This)->lpVtbl -> Release(This)
  1271. #define IMsgrUsers_GetTypeInfoCount(This,pctinfo) \
  1272. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1273. #define IMsgrUsers_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1274. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1275. #define IMsgrUsers_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1276. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1277. #define IMsgrUsers_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1278. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1279. #define IMsgrUsers_get_Count(This,pcUsers) \
  1280. (This)->lpVtbl -> get_Count(This,pcUsers)
  1281. #define IMsgrUsers_Item(This,Index,ppUser) \
  1282. (This)->lpVtbl -> Item(This,Index,ppUser)
  1283. #define IMsgrUsers_Add(This,pUser) \
  1284. (This)->lpVtbl -> Add(This,pUser)
  1285. #define IMsgrUsers_Remove(This,pUser) \
  1286. (This)->lpVtbl -> Remove(This,pUser)
  1287. #define IMsgrUsers_get__NewEnum(This,ppUnknown) \
  1288. (This)->lpVtbl -> get__NewEnum(This,ppUnknown)
  1289. #endif /* COBJMACROS */
  1290. #endif /* C style interface */
  1291. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrUsers_get_Count_Proxy(
  1292. IMsgrUsers __RPC_FAR * This,
  1293. /* [retval][out] */ long __RPC_FAR *pcUsers);
  1294. void __RPC_STUB IMsgrUsers_get_Count_Stub(
  1295. IRpcStubBuffer *This,
  1296. IRpcChannelBuffer *_pRpcChannelBuffer,
  1297. PRPC_MESSAGE _pRpcMessage,
  1298. DWORD *_pdwStubPhase);
  1299. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrUsers_Item_Proxy(
  1300. IMsgrUsers __RPC_FAR * This,
  1301. /* [in] */ long Index,
  1302. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser);
  1303. void __RPC_STUB IMsgrUsers_Item_Stub(
  1304. IRpcStubBuffer *This,
  1305. IRpcChannelBuffer *_pRpcChannelBuffer,
  1306. PRPC_MESSAGE _pRpcMessage,
  1307. DWORD *_pdwStubPhase);
  1308. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrUsers_Add_Proxy(
  1309. IMsgrUsers __RPC_FAR * This,
  1310. /* [in] */ IMsgrUser __RPC_FAR *pUser);
  1311. void __RPC_STUB IMsgrUsers_Add_Stub(
  1312. IRpcStubBuffer *This,
  1313. IRpcChannelBuffer *_pRpcChannelBuffer,
  1314. PRPC_MESSAGE _pRpcMessage,
  1315. DWORD *_pdwStubPhase);
  1316. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrUsers_Remove_Proxy(
  1317. IMsgrUsers __RPC_FAR * This,
  1318. /* [in] */ IMsgrUser __RPC_FAR *pUser);
  1319. void __RPC_STUB IMsgrUsers_Remove_Stub(
  1320. IRpcStubBuffer *This,
  1321. IRpcChannelBuffer *_pRpcChannelBuffer,
  1322. PRPC_MESSAGE _pRpcMessage,
  1323. DWORD *_pdwStubPhase);
  1324. /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE IMsgrUsers_get__NewEnum_Proxy(
  1325. IMsgrUsers __RPC_FAR * This,
  1326. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown);
  1327. void __RPC_STUB IMsgrUsers_get__NewEnum_Stub(
  1328. IRpcStubBuffer *This,
  1329. IRpcChannelBuffer *_pRpcChannelBuffer,
  1330. PRPC_MESSAGE _pRpcMessage,
  1331. DWORD *_pdwStubPhase);
  1332. #endif /* __IMsgrUsers_INTERFACE_DEFINED__ */
  1333. #ifndef __IMsgrIMSession_INTERFACE_DEFINED__
  1334. #define __IMsgrIMSession_INTERFACE_DEFINED__
  1335. /* interface IMsgrIMSession */
  1336. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  1337. EXTERN_C const IID IID_IMsgrIMSession;
  1338. #if defined(__cplusplus) && !defined(CINTERFACE)
  1339. MIDL_INTERFACE("82e11592-20f5-11d2-91ad-0000f81fefc9")
  1340. IMsgrIMSession : public IDispatch
  1341. {
  1342. public:
  1343. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Members(
  1344. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers) = 0;
  1345. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_State(
  1346. /* [retval][out] */ SSTATE __RPC_FAR *psState) = 0;
  1347. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Service(
  1348. /* [retval][out] */ IMsgrService __RPC_FAR *__RPC_FAR *ppService) = 0;
  1349. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Invitees(
  1350. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers) = 0;
  1351. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LeaveSession( void) = 0;
  1352. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InviteUser(
  1353. /* [in] */ VARIANT vUser) = 0;
  1354. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendText(
  1355. /* [in] */ BSTR bstrMsgHeader,
  1356. /* [in] */ BSTR bstrMsgText,
  1357. /* [in] */ MMSGTYPE mmtType,
  1358. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  1359. };
  1360. #else /* C style interface */
  1361. typedef struct IMsgrIMSessionVtbl
  1362. {
  1363. BEGIN_INTERFACE
  1364. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1365. IMsgrIMSession __RPC_FAR * This,
  1366. /* [in] */ REFIID riid,
  1367. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1368. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1369. IMsgrIMSession __RPC_FAR * This);
  1370. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1371. IMsgrIMSession __RPC_FAR * This);
  1372. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1373. IMsgrIMSession __RPC_FAR * This,
  1374. /* [out] */ UINT __RPC_FAR *pctinfo);
  1375. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1376. IMsgrIMSession __RPC_FAR * This,
  1377. /* [in] */ UINT iTInfo,
  1378. /* [in] */ LCID lcid,
  1379. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1380. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1381. IMsgrIMSession __RPC_FAR * This,
  1382. /* [in] */ REFIID riid,
  1383. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1384. /* [in] */ UINT cNames,
  1385. /* [in] */ LCID lcid,
  1386. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1387. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1388. IMsgrIMSession __RPC_FAR * This,
  1389. /* [in] */ DISPID dispIdMember,
  1390. /* [in] */ REFIID riid,
  1391. /* [in] */ LCID lcid,
  1392. /* [in] */ WORD wFlags,
  1393. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1394. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1395. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1396. /* [out] */ UINT __RPC_FAR *puArgErr);
  1397. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Members )(
  1398. IMsgrIMSession __RPC_FAR * This,
  1399. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers);
  1400. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_State )(
  1401. IMsgrIMSession __RPC_FAR * This,
  1402. /* [retval][out] */ SSTATE __RPC_FAR *psState);
  1403. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Service )(
  1404. IMsgrIMSession __RPC_FAR * This,
  1405. /* [retval][out] */ IMsgrService __RPC_FAR *__RPC_FAR *ppService);
  1406. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Invitees )(
  1407. IMsgrIMSession __RPC_FAR * This,
  1408. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers);
  1409. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LeaveSession )(
  1410. IMsgrIMSession __RPC_FAR * This);
  1411. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InviteUser )(
  1412. IMsgrIMSession __RPC_FAR * This,
  1413. /* [in] */ VARIANT vUser);
  1414. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendText )(
  1415. IMsgrIMSession __RPC_FAR * This,
  1416. /* [in] */ BSTR bstrMsgHeader,
  1417. /* [in] */ BSTR bstrMsgText,
  1418. /* [in] */ MMSGTYPE mmtType,
  1419. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  1420. END_INTERFACE
  1421. } IMsgrIMSessionVtbl;
  1422. interface IMsgrIMSession
  1423. {
  1424. CONST_VTBL struct IMsgrIMSessionVtbl __RPC_FAR *lpVtbl;
  1425. };
  1426. #ifdef COBJMACROS
  1427. #define IMsgrIMSession_QueryInterface(This,riid,ppvObject) \
  1428. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1429. #define IMsgrIMSession_AddRef(This) \
  1430. (This)->lpVtbl -> AddRef(This)
  1431. #define IMsgrIMSession_Release(This) \
  1432. (This)->lpVtbl -> Release(This)
  1433. #define IMsgrIMSession_GetTypeInfoCount(This,pctinfo) \
  1434. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1435. #define IMsgrIMSession_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1436. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1437. #define IMsgrIMSession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1438. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1439. #define IMsgrIMSession_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1440. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1441. #define IMsgrIMSession_get_Members(This,ppUsers) \
  1442. (This)->lpVtbl -> get_Members(This,ppUsers)
  1443. #define IMsgrIMSession_get_State(This,psState) \
  1444. (This)->lpVtbl -> get_State(This,psState)
  1445. #define IMsgrIMSession_get_Service(This,ppService) \
  1446. (This)->lpVtbl -> get_Service(This,ppService)
  1447. #define IMsgrIMSession_get_Invitees(This,ppUsers) \
  1448. (This)->lpVtbl -> get_Invitees(This,ppUsers)
  1449. #define IMsgrIMSession_LeaveSession(This) \
  1450. (This)->lpVtbl -> LeaveSession(This)
  1451. #define IMsgrIMSession_InviteUser(This,vUser) \
  1452. (This)->lpVtbl -> InviteUser(This,vUser)
  1453. #define IMsgrIMSession_SendText(This,bstrMsgHeader,bstrMsgText,mmtType,plCookie) \
  1454. (This)->lpVtbl -> SendText(This,bstrMsgHeader,bstrMsgText,mmtType,plCookie)
  1455. #endif /* COBJMACROS */
  1456. #endif /* C style interface */
  1457. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrIMSession_get_Members_Proxy(
  1458. IMsgrIMSession __RPC_FAR * This,
  1459. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers);
  1460. void __RPC_STUB IMsgrIMSession_get_Members_Stub(
  1461. IRpcStubBuffer *This,
  1462. IRpcChannelBuffer *_pRpcChannelBuffer,
  1463. PRPC_MESSAGE _pRpcMessage,
  1464. DWORD *_pdwStubPhase);
  1465. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrIMSession_get_State_Proxy(
  1466. IMsgrIMSession __RPC_FAR * This,
  1467. /* [retval][out] */ SSTATE __RPC_FAR *psState);
  1468. void __RPC_STUB IMsgrIMSession_get_State_Stub(
  1469. IRpcStubBuffer *This,
  1470. IRpcChannelBuffer *_pRpcChannelBuffer,
  1471. PRPC_MESSAGE _pRpcMessage,
  1472. DWORD *_pdwStubPhase);
  1473. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrIMSession_get_Service_Proxy(
  1474. IMsgrIMSession __RPC_FAR * This,
  1475. /* [retval][out] */ IMsgrService __RPC_FAR *__RPC_FAR *ppService);
  1476. void __RPC_STUB IMsgrIMSession_get_Service_Stub(
  1477. IRpcStubBuffer *This,
  1478. IRpcChannelBuffer *_pRpcChannelBuffer,
  1479. PRPC_MESSAGE _pRpcMessage,
  1480. DWORD *_pdwStubPhase);
  1481. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrIMSession_get_Invitees_Proxy(
  1482. IMsgrIMSession __RPC_FAR * This,
  1483. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers);
  1484. void __RPC_STUB IMsgrIMSession_get_Invitees_Stub(
  1485. IRpcStubBuffer *This,
  1486. IRpcChannelBuffer *_pRpcChannelBuffer,
  1487. PRPC_MESSAGE _pRpcMessage,
  1488. DWORD *_pdwStubPhase);
  1489. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrIMSession_LeaveSession_Proxy(
  1490. IMsgrIMSession __RPC_FAR * This);
  1491. void __RPC_STUB IMsgrIMSession_LeaveSession_Stub(
  1492. IRpcStubBuffer *This,
  1493. IRpcChannelBuffer *_pRpcChannelBuffer,
  1494. PRPC_MESSAGE _pRpcMessage,
  1495. DWORD *_pdwStubPhase);
  1496. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrIMSession_InviteUser_Proxy(
  1497. IMsgrIMSession __RPC_FAR * This,
  1498. /* [in] */ VARIANT vUser);
  1499. void __RPC_STUB IMsgrIMSession_InviteUser_Stub(
  1500. IRpcStubBuffer *This,
  1501. IRpcChannelBuffer *_pRpcChannelBuffer,
  1502. PRPC_MESSAGE _pRpcMessage,
  1503. DWORD *_pdwStubPhase);
  1504. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrIMSession_SendText_Proxy(
  1505. IMsgrIMSession __RPC_FAR * This,
  1506. /* [in] */ BSTR bstrMsgHeader,
  1507. /* [in] */ BSTR bstrMsgText,
  1508. /* [in] */ MMSGTYPE mmtType,
  1509. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  1510. void __RPC_STUB IMsgrIMSession_SendText_Stub(
  1511. IRpcStubBuffer *This,
  1512. IRpcChannelBuffer *_pRpcChannelBuffer,
  1513. PRPC_MESSAGE _pRpcMessage,
  1514. DWORD *_pdwStubPhase);
  1515. #endif /* __IMsgrIMSession_INTERFACE_DEFINED__ */
  1516. #ifndef __IMsgrIMSessions_INTERFACE_DEFINED__
  1517. #define __IMsgrIMSessions_INTERFACE_DEFINED__
  1518. /* interface IMsgrIMSessions */
  1519. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  1520. EXTERN_C const IID IID_IMsgrIMSessions;
  1521. #if defined(__cplusplus) && !defined(CINTERFACE)
  1522. MIDL_INTERFACE("6fd143e6-20a5-11d2-91ad-0000f81fefc9")
  1523. IMsgrIMSessions : public IDispatch
  1524. {
  1525. public:
  1526. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  1527. /* [retval][out] */ long __RPC_FAR *pcSessions) = 0;
  1528. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  1529. /* [in] */ long Index,
  1530. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession) = 0;
  1531. virtual /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  1532. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown) = 0;
  1533. };
  1534. #else /* C style interface */
  1535. typedef struct IMsgrIMSessionsVtbl
  1536. {
  1537. BEGIN_INTERFACE
  1538. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1539. IMsgrIMSessions __RPC_FAR * This,
  1540. /* [in] */ REFIID riid,
  1541. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1542. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1543. IMsgrIMSessions __RPC_FAR * This);
  1544. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1545. IMsgrIMSessions __RPC_FAR * This);
  1546. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1547. IMsgrIMSessions __RPC_FAR * This,
  1548. /* [out] */ UINT __RPC_FAR *pctinfo);
  1549. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1550. IMsgrIMSessions __RPC_FAR * This,
  1551. /* [in] */ UINT iTInfo,
  1552. /* [in] */ LCID lcid,
  1553. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1554. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1555. IMsgrIMSessions __RPC_FAR * This,
  1556. /* [in] */ REFIID riid,
  1557. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1558. /* [in] */ UINT cNames,
  1559. /* [in] */ LCID lcid,
  1560. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1561. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1562. IMsgrIMSessions __RPC_FAR * This,
  1563. /* [in] */ DISPID dispIdMember,
  1564. /* [in] */ REFIID riid,
  1565. /* [in] */ LCID lcid,
  1566. /* [in] */ WORD wFlags,
  1567. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1568. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1569. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1570. /* [out] */ UINT __RPC_FAR *puArgErr);
  1571. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  1572. IMsgrIMSessions __RPC_FAR * This,
  1573. /* [retval][out] */ long __RPC_FAR *pcSessions);
  1574. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Item )(
  1575. IMsgrIMSessions __RPC_FAR * This,
  1576. /* [in] */ long Index,
  1577. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession);
  1578. /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )(
  1579. IMsgrIMSessions __RPC_FAR * This,
  1580. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown);
  1581. END_INTERFACE
  1582. } IMsgrIMSessionsVtbl;
  1583. interface IMsgrIMSessions
  1584. {
  1585. CONST_VTBL struct IMsgrIMSessionsVtbl __RPC_FAR *lpVtbl;
  1586. };
  1587. #ifdef COBJMACROS
  1588. #define IMsgrIMSessions_QueryInterface(This,riid,ppvObject) \
  1589. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1590. #define IMsgrIMSessions_AddRef(This) \
  1591. (This)->lpVtbl -> AddRef(This)
  1592. #define IMsgrIMSessions_Release(This) \
  1593. (This)->lpVtbl -> Release(This)
  1594. #define IMsgrIMSessions_GetTypeInfoCount(This,pctinfo) \
  1595. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1596. #define IMsgrIMSessions_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1597. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1598. #define IMsgrIMSessions_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1599. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1600. #define IMsgrIMSessions_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1601. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1602. #define IMsgrIMSessions_get_Count(This,pcSessions) \
  1603. (This)->lpVtbl -> get_Count(This,pcSessions)
  1604. #define IMsgrIMSessions_Item(This,Index,ppIMSession) \
  1605. (This)->lpVtbl -> Item(This,Index,ppIMSession)
  1606. #define IMsgrIMSessions_get__NewEnum(This,ppUnknown) \
  1607. (This)->lpVtbl -> get__NewEnum(This,ppUnknown)
  1608. #endif /* COBJMACROS */
  1609. #endif /* C style interface */
  1610. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrIMSessions_get_Count_Proxy(
  1611. IMsgrIMSessions __RPC_FAR * This,
  1612. /* [retval][out] */ long __RPC_FAR *pcSessions);
  1613. void __RPC_STUB IMsgrIMSessions_get_Count_Stub(
  1614. IRpcStubBuffer *This,
  1615. IRpcChannelBuffer *_pRpcChannelBuffer,
  1616. PRPC_MESSAGE _pRpcMessage,
  1617. DWORD *_pdwStubPhase);
  1618. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrIMSessions_Item_Proxy(
  1619. IMsgrIMSessions __RPC_FAR * This,
  1620. /* [in] */ long Index,
  1621. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession);
  1622. void __RPC_STUB IMsgrIMSessions_Item_Stub(
  1623. IRpcStubBuffer *This,
  1624. IRpcChannelBuffer *_pRpcChannelBuffer,
  1625. PRPC_MESSAGE _pRpcMessage,
  1626. DWORD *_pdwStubPhase);
  1627. /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE IMsgrIMSessions_get__NewEnum_Proxy(
  1628. IMsgrIMSessions __RPC_FAR * This,
  1629. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown);
  1630. void __RPC_STUB IMsgrIMSessions_get__NewEnum_Stub(
  1631. IRpcStubBuffer *This,
  1632. IRpcChannelBuffer *_pRpcChannelBuffer,
  1633. PRPC_MESSAGE _pRpcMessage,
  1634. DWORD *_pdwStubPhase);
  1635. #endif /* __IMsgrIMSessions_INTERFACE_DEFINED__ */
  1636. #ifndef __IMessengerApp_INTERFACE_DEFINED__
  1637. #define __IMessengerApp_INTERFACE_DEFINED__
  1638. /* interface IMessengerApp */
  1639. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  1640. EXTERN_C const IID IID_IMessengerApp;
  1641. #if defined(__cplusplus) && !defined(CINTERFACE)
  1642. MIDL_INTERFACE("F3A614DD-ABE0-11d2-A441-00C04F795683")
  1643. IMessengerApp : public IDispatch
  1644. {
  1645. public:
  1646. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Application(
  1647. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp) = 0;
  1648. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Parent(
  1649. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp) = 0;
  1650. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Quit( void) = 0;
  1651. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  1652. /* [retval][out] */ BSTR __RPC_FAR *pbstrName) = 0;
  1653. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_FullName(
  1654. /* [retval][out] */ BSTR __RPC_FAR *pbstrFullName) = 0;
  1655. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Path(
  1656. /* [retval][out] */ BSTR __RPC_FAR *pbstrPath) = 0;
  1657. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE LaunchLogonUI( void) = 0;
  1658. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE LaunchOptionsUI(
  1659. /* [in] */ MOPTDLGPAGE mOptDlgPage) = 0;
  1660. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE LaunchAddContactUI(
  1661. /* [in] */ BSTR bstrEMail) = 0;
  1662. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE LaunchFindContactUI(
  1663. /* [in] */ BSTR bstrFirstName,
  1664. /* [in] */ BSTR bstrLastName,
  1665. /* [optional][in] */ VARIANT vbstrCity,
  1666. /* [optional][in] */ VARIANT vbstrState,
  1667. /* [optional][in] */ VARIANT vbstrCountry) = 0;
  1668. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE LaunchIMUI(
  1669. /* [in] */ VARIANT vUser,
  1670. /* [retval][out] */ IMessengerIMWindow __RPC_FAR *__RPC_FAR *ppIMWindow) = 0;
  1671. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_IMWindows(
  1672. /* [retval][out] */ IMessengerIMWindows __RPC_FAR *__RPC_FAR *ppIMWindows) = 0;
  1673. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ToolBar(
  1674. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolToolBar) = 0;
  1675. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_ToolBar(
  1676. /* [in] */ VARIANT_BOOL BoolToolBar) = 0;
  1677. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_StatusBar(
  1678. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolStatusBar) = 0;
  1679. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_StatusBar(
  1680. /* [in] */ VARIANT_BOOL BoolStatusBar) = 0;
  1681. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_StatusText(
  1682. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatusText) = 0;
  1683. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_StatusText(
  1684. /* [in] */ BSTR bstrStatusText) = 0;
  1685. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_HWND(
  1686. /* [retval][out] */ long __RPC_FAR *phWnd) = 0;
  1687. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Left(
  1688. /* [retval][out] */ long __RPC_FAR *plLeft) = 0;
  1689. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Left(
  1690. /* [in] */ long lLeft) = 0;
  1691. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Top(
  1692. /* [retval][out] */ long __RPC_FAR *plTop) = 0;
  1693. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Top(
  1694. /* [in] */ long lTop) = 0;
  1695. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Width(
  1696. /* [retval][out] */ long __RPC_FAR *plWidth) = 0;
  1697. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Width(
  1698. /* [in] */ long lWidth) = 0;
  1699. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Height(
  1700. /* [retval][out] */ long __RPC_FAR *plHeight) = 0;
  1701. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Height(
  1702. /* [in] */ long lHeight) = 0;
  1703. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Visible(
  1704. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolVisible) = 0;
  1705. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Visible(
  1706. /* [in] */ VARIANT_BOOL BoolVisible) = 0;
  1707. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE AutoLogon( void) = 0;
  1708. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_FirstTimeCredentials(
  1709. /* [in] */ BSTR bstrUser,
  1710. /* [in] */ BSTR bstrPassword,
  1711. /* [in] */ IMsgrService __RPC_FAR *pService,
  1712. /* [in] */ long lFlags) = 0;
  1713. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_CachedPassword(
  1714. /* [in] */ BSTR bstrUser,
  1715. /* [in] */ BSTR bstrPassword,
  1716. /* [in] */ IMsgrService __RPC_FAR *pService,
  1717. /* [in] */ VARIANT_BOOL BoolSavePassword) = 0;
  1718. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE RequestURLPost(
  1719. /* [in] */ MURLTYPE muType,
  1720. /* [optional][in] */ VARIANT vbstrAdditionalInfo) = 0;
  1721. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_TaskbarIcon(
  1722. /* [in] */ VARIANT_BOOL BoolVisible) = 0;
  1723. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_TaskbarIcon(
  1724. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolVisible) = 0;
  1725. };
  1726. #else /* C style interface */
  1727. typedef struct IMessengerAppVtbl
  1728. {
  1729. BEGIN_INTERFACE
  1730. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1731. IMessengerApp __RPC_FAR * This,
  1732. /* [in] */ REFIID riid,
  1733. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1734. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1735. IMessengerApp __RPC_FAR * This);
  1736. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1737. IMessengerApp __RPC_FAR * This);
  1738. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1739. IMessengerApp __RPC_FAR * This,
  1740. /* [out] */ UINT __RPC_FAR *pctinfo);
  1741. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1742. IMessengerApp __RPC_FAR * This,
  1743. /* [in] */ UINT iTInfo,
  1744. /* [in] */ LCID lcid,
  1745. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1746. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1747. IMessengerApp __RPC_FAR * This,
  1748. /* [in] */ REFIID riid,
  1749. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1750. /* [in] */ UINT cNames,
  1751. /* [in] */ LCID lcid,
  1752. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1753. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1754. IMessengerApp __RPC_FAR * This,
  1755. /* [in] */ DISPID dispIdMember,
  1756. /* [in] */ REFIID riid,
  1757. /* [in] */ LCID lcid,
  1758. /* [in] */ WORD wFlags,
  1759. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1760. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1761. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1762. /* [out] */ UINT __RPC_FAR *puArgErr);
  1763. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Application )(
  1764. IMessengerApp __RPC_FAR * This,
  1765. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  1766. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Parent )(
  1767. IMessengerApp __RPC_FAR * This,
  1768. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  1769. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Quit )(
  1770. IMessengerApp __RPC_FAR * This);
  1771. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  1772. IMessengerApp __RPC_FAR * This,
  1773. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  1774. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FullName )(
  1775. IMessengerApp __RPC_FAR * This,
  1776. /* [retval][out] */ BSTR __RPC_FAR *pbstrFullName);
  1777. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Path )(
  1778. IMessengerApp __RPC_FAR * This,
  1779. /* [retval][out] */ BSTR __RPC_FAR *pbstrPath);
  1780. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchLogonUI )(
  1781. IMessengerApp __RPC_FAR * This);
  1782. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchOptionsUI )(
  1783. IMessengerApp __RPC_FAR * This,
  1784. /* [in] */ MOPTDLGPAGE mOptDlgPage);
  1785. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchAddContactUI )(
  1786. IMessengerApp __RPC_FAR * This,
  1787. /* [in] */ BSTR bstrEMail);
  1788. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchFindContactUI )(
  1789. IMessengerApp __RPC_FAR * This,
  1790. /* [in] */ BSTR bstrFirstName,
  1791. /* [in] */ BSTR bstrLastName,
  1792. /* [optional][in] */ VARIANT vbstrCity,
  1793. /* [optional][in] */ VARIANT vbstrState,
  1794. /* [optional][in] */ VARIANT vbstrCountry);
  1795. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchIMUI )(
  1796. IMessengerApp __RPC_FAR * This,
  1797. /* [in] */ VARIANT vUser,
  1798. /* [retval][out] */ IMessengerIMWindow __RPC_FAR *__RPC_FAR *ppIMWindow);
  1799. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IMWindows )(
  1800. IMessengerApp __RPC_FAR * This,
  1801. /* [retval][out] */ IMessengerIMWindows __RPC_FAR *__RPC_FAR *ppIMWindows);
  1802. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ToolBar )(
  1803. IMessengerApp __RPC_FAR * This,
  1804. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolToolBar);
  1805. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ToolBar )(
  1806. IMessengerApp __RPC_FAR * This,
  1807. /* [in] */ VARIANT_BOOL BoolToolBar);
  1808. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_StatusBar )(
  1809. IMessengerApp __RPC_FAR * This,
  1810. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolStatusBar);
  1811. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_StatusBar )(
  1812. IMessengerApp __RPC_FAR * This,
  1813. /* [in] */ VARIANT_BOOL BoolStatusBar);
  1814. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_StatusText )(
  1815. IMessengerApp __RPC_FAR * This,
  1816. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatusText);
  1817. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_StatusText )(
  1818. IMessengerApp __RPC_FAR * This,
  1819. /* [in] */ BSTR bstrStatusText);
  1820. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_HWND )(
  1821. IMessengerApp __RPC_FAR * This,
  1822. /* [retval][out] */ long __RPC_FAR *phWnd);
  1823. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Left )(
  1824. IMessengerApp __RPC_FAR * This,
  1825. /* [retval][out] */ long __RPC_FAR *plLeft);
  1826. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Left )(
  1827. IMessengerApp __RPC_FAR * This,
  1828. /* [in] */ long lLeft);
  1829. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Top )(
  1830. IMessengerApp __RPC_FAR * This,
  1831. /* [retval][out] */ long __RPC_FAR *plTop);
  1832. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Top )(
  1833. IMessengerApp __RPC_FAR * This,
  1834. /* [in] */ long lTop);
  1835. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Width )(
  1836. IMessengerApp __RPC_FAR * This,
  1837. /* [retval][out] */ long __RPC_FAR *plWidth);
  1838. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Width )(
  1839. IMessengerApp __RPC_FAR * This,
  1840. /* [in] */ long lWidth);
  1841. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Height )(
  1842. IMessengerApp __RPC_FAR * This,
  1843. /* [retval][out] */ long __RPC_FAR *plHeight);
  1844. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Height )(
  1845. IMessengerApp __RPC_FAR * This,
  1846. /* [in] */ long lHeight);
  1847. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Visible )(
  1848. IMessengerApp __RPC_FAR * This,
  1849. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolVisible);
  1850. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Visible )(
  1851. IMessengerApp __RPC_FAR * This,
  1852. /* [in] */ VARIANT_BOOL BoolVisible);
  1853. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AutoLogon )(
  1854. IMessengerApp __RPC_FAR * This);
  1855. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_FirstTimeCredentials )(
  1856. IMessengerApp __RPC_FAR * This,
  1857. /* [in] */ BSTR bstrUser,
  1858. /* [in] */ BSTR bstrPassword,
  1859. /* [in] */ IMsgrService __RPC_FAR *pService,
  1860. /* [in] */ long lFlags);
  1861. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_CachedPassword )(
  1862. IMessengerApp __RPC_FAR * This,
  1863. /* [in] */ BSTR bstrUser,
  1864. /* [in] */ BSTR bstrPassword,
  1865. /* [in] */ IMsgrService __RPC_FAR *pService,
  1866. /* [in] */ VARIANT_BOOL BoolSavePassword);
  1867. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestURLPost )(
  1868. IMessengerApp __RPC_FAR * This,
  1869. /* [in] */ MURLTYPE muType,
  1870. /* [optional][in] */ VARIANT vbstrAdditionalInfo);
  1871. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_TaskbarIcon )(
  1872. IMessengerApp __RPC_FAR * This,
  1873. /* [in] */ VARIANT_BOOL BoolVisible);
  1874. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TaskbarIcon )(
  1875. IMessengerApp __RPC_FAR * This,
  1876. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolVisible);
  1877. END_INTERFACE
  1878. } IMessengerAppVtbl;
  1879. interface IMessengerApp
  1880. {
  1881. CONST_VTBL struct IMessengerAppVtbl __RPC_FAR *lpVtbl;
  1882. };
  1883. #ifdef COBJMACROS
  1884. #define IMessengerApp_QueryInterface(This,riid,ppvObject) \
  1885. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1886. #define IMessengerApp_AddRef(This) \
  1887. (This)->lpVtbl -> AddRef(This)
  1888. #define IMessengerApp_Release(This) \
  1889. (This)->lpVtbl -> Release(This)
  1890. #define IMessengerApp_GetTypeInfoCount(This,pctinfo) \
  1891. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1892. #define IMessengerApp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1893. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1894. #define IMessengerApp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1895. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1896. #define IMessengerApp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1897. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1898. #define IMessengerApp_get_Application(This,ppDisp) \
  1899. (This)->lpVtbl -> get_Application(This,ppDisp)
  1900. #define IMessengerApp_get_Parent(This,ppDisp) \
  1901. (This)->lpVtbl -> get_Parent(This,ppDisp)
  1902. #define IMessengerApp_Quit(This) \
  1903. (This)->lpVtbl -> Quit(This)
  1904. #define IMessengerApp_get_Name(This,pbstrName) \
  1905. (This)->lpVtbl -> get_Name(This,pbstrName)
  1906. #define IMessengerApp_get_FullName(This,pbstrFullName) \
  1907. (This)->lpVtbl -> get_FullName(This,pbstrFullName)
  1908. #define IMessengerApp_get_Path(This,pbstrPath) \
  1909. (This)->lpVtbl -> get_Path(This,pbstrPath)
  1910. #define IMessengerApp_LaunchLogonUI(This) \
  1911. (This)->lpVtbl -> LaunchLogonUI(This)
  1912. #define IMessengerApp_LaunchOptionsUI(This,mOptDlgPage) \
  1913. (This)->lpVtbl -> LaunchOptionsUI(This,mOptDlgPage)
  1914. #define IMessengerApp_LaunchAddContactUI(This,bstrEMail) \
  1915. (This)->lpVtbl -> LaunchAddContactUI(This,bstrEMail)
  1916. #define IMessengerApp_LaunchFindContactUI(This,bstrFirstName,bstrLastName,vbstrCity,vbstrState,vbstrCountry) \
  1917. (This)->lpVtbl -> LaunchFindContactUI(This,bstrFirstName,bstrLastName,vbstrCity,vbstrState,vbstrCountry)
  1918. #define IMessengerApp_LaunchIMUI(This,vUser,ppIMWindow) \
  1919. (This)->lpVtbl -> LaunchIMUI(This,vUser,ppIMWindow)
  1920. #define IMessengerApp_get_IMWindows(This,ppIMWindows) \
  1921. (This)->lpVtbl -> get_IMWindows(This,ppIMWindows)
  1922. #define IMessengerApp_get_ToolBar(This,pBoolToolBar) \
  1923. (This)->lpVtbl -> get_ToolBar(This,pBoolToolBar)
  1924. #define IMessengerApp_put_ToolBar(This,BoolToolBar) \
  1925. (This)->lpVtbl -> put_ToolBar(This,BoolToolBar)
  1926. #define IMessengerApp_get_StatusBar(This,pBoolStatusBar) \
  1927. (This)->lpVtbl -> get_StatusBar(This,pBoolStatusBar)
  1928. #define IMessengerApp_put_StatusBar(This,BoolStatusBar) \
  1929. (This)->lpVtbl -> put_StatusBar(This,BoolStatusBar)
  1930. #define IMessengerApp_get_StatusText(This,pbstrStatusText) \
  1931. (This)->lpVtbl -> get_StatusText(This,pbstrStatusText)
  1932. #define IMessengerApp_put_StatusText(This,bstrStatusText) \
  1933. (This)->lpVtbl -> put_StatusText(This,bstrStatusText)
  1934. #define IMessengerApp_get_HWND(This,phWnd) \
  1935. (This)->lpVtbl -> get_HWND(This,phWnd)
  1936. #define IMessengerApp_get_Left(This,plLeft) \
  1937. (This)->lpVtbl -> get_Left(This,plLeft)
  1938. #define IMessengerApp_put_Left(This,lLeft) \
  1939. (This)->lpVtbl -> put_Left(This,lLeft)
  1940. #define IMessengerApp_get_Top(This,plTop) \
  1941. (This)->lpVtbl -> get_Top(This,plTop)
  1942. #define IMessengerApp_put_Top(This,lTop) \
  1943. (This)->lpVtbl -> put_Top(This,lTop)
  1944. #define IMessengerApp_get_Width(This,plWidth) \
  1945. (This)->lpVtbl -> get_Width(This,plWidth)
  1946. #define IMessengerApp_put_Width(This,lWidth) \
  1947. (This)->lpVtbl -> put_Width(This,lWidth)
  1948. #define IMessengerApp_get_Height(This,plHeight) \
  1949. (This)->lpVtbl -> get_Height(This,plHeight)
  1950. #define IMessengerApp_put_Height(This,lHeight) \
  1951. (This)->lpVtbl -> put_Height(This,lHeight)
  1952. #define IMessengerApp_get_Visible(This,pBoolVisible) \
  1953. (This)->lpVtbl -> get_Visible(This,pBoolVisible)
  1954. #define IMessengerApp_put_Visible(This,BoolVisible) \
  1955. (This)->lpVtbl -> put_Visible(This,BoolVisible)
  1956. #define IMessengerApp_AutoLogon(This) \
  1957. (This)->lpVtbl -> AutoLogon(This)
  1958. #define IMessengerApp_put_FirstTimeCredentials(This,bstrUser,bstrPassword,pService,lFlags) \
  1959. (This)->lpVtbl -> put_FirstTimeCredentials(This,bstrUser,bstrPassword,pService,lFlags)
  1960. #define IMessengerApp_put_CachedPassword(This,bstrUser,bstrPassword,pService,BoolSavePassword) \
  1961. (This)->lpVtbl -> put_CachedPassword(This,bstrUser,bstrPassword,pService,BoolSavePassword)
  1962. #define IMessengerApp_RequestURLPost(This,muType,vbstrAdditionalInfo) \
  1963. (This)->lpVtbl -> RequestURLPost(This,muType,vbstrAdditionalInfo)
  1964. #define IMessengerApp_put_TaskbarIcon(This,BoolVisible) \
  1965. (This)->lpVtbl -> put_TaskbarIcon(This,BoolVisible)
  1966. #define IMessengerApp_get_TaskbarIcon(This,pBoolVisible) \
  1967. (This)->lpVtbl -> get_TaskbarIcon(This,pBoolVisible)
  1968. #endif /* COBJMACROS */
  1969. #endif /* C style interface */
  1970. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_Application_Proxy(
  1971. IMessengerApp __RPC_FAR * This,
  1972. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  1973. void __RPC_STUB IMessengerApp_get_Application_Stub(
  1974. IRpcStubBuffer *This,
  1975. IRpcChannelBuffer *_pRpcChannelBuffer,
  1976. PRPC_MESSAGE _pRpcMessage,
  1977. DWORD *_pdwStubPhase);
  1978. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_Parent_Proxy(
  1979. IMessengerApp __RPC_FAR * This,
  1980. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  1981. void __RPC_STUB IMessengerApp_get_Parent_Stub(
  1982. IRpcStubBuffer *This,
  1983. IRpcChannelBuffer *_pRpcChannelBuffer,
  1984. PRPC_MESSAGE _pRpcMessage,
  1985. DWORD *_pdwStubPhase);
  1986. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerApp_Quit_Proxy(
  1987. IMessengerApp __RPC_FAR * This);
  1988. void __RPC_STUB IMessengerApp_Quit_Stub(
  1989. IRpcStubBuffer *This,
  1990. IRpcChannelBuffer *_pRpcChannelBuffer,
  1991. PRPC_MESSAGE _pRpcMessage,
  1992. DWORD *_pdwStubPhase);
  1993. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_Name_Proxy(
  1994. IMessengerApp __RPC_FAR * This,
  1995. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  1996. void __RPC_STUB IMessengerApp_get_Name_Stub(
  1997. IRpcStubBuffer *This,
  1998. IRpcChannelBuffer *_pRpcChannelBuffer,
  1999. PRPC_MESSAGE _pRpcMessage,
  2000. DWORD *_pdwStubPhase);
  2001. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_FullName_Proxy(
  2002. IMessengerApp __RPC_FAR * This,
  2003. /* [retval][out] */ BSTR __RPC_FAR *pbstrFullName);
  2004. void __RPC_STUB IMessengerApp_get_FullName_Stub(
  2005. IRpcStubBuffer *This,
  2006. IRpcChannelBuffer *_pRpcChannelBuffer,
  2007. PRPC_MESSAGE _pRpcMessage,
  2008. DWORD *_pdwStubPhase);
  2009. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_Path_Proxy(
  2010. IMessengerApp __RPC_FAR * This,
  2011. /* [retval][out] */ BSTR __RPC_FAR *pbstrPath);
  2012. void __RPC_STUB IMessengerApp_get_Path_Stub(
  2013. IRpcStubBuffer *This,
  2014. IRpcChannelBuffer *_pRpcChannelBuffer,
  2015. PRPC_MESSAGE _pRpcMessage,
  2016. DWORD *_pdwStubPhase);
  2017. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerApp_LaunchLogonUI_Proxy(
  2018. IMessengerApp __RPC_FAR * This);
  2019. void __RPC_STUB IMessengerApp_LaunchLogonUI_Stub(
  2020. IRpcStubBuffer *This,
  2021. IRpcChannelBuffer *_pRpcChannelBuffer,
  2022. PRPC_MESSAGE _pRpcMessage,
  2023. DWORD *_pdwStubPhase);
  2024. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerApp_LaunchOptionsUI_Proxy(
  2025. IMessengerApp __RPC_FAR * This,
  2026. /* [in] */ MOPTDLGPAGE mOptDlgPage);
  2027. void __RPC_STUB IMessengerApp_LaunchOptionsUI_Stub(
  2028. IRpcStubBuffer *This,
  2029. IRpcChannelBuffer *_pRpcChannelBuffer,
  2030. PRPC_MESSAGE _pRpcMessage,
  2031. DWORD *_pdwStubPhase);
  2032. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerApp_LaunchAddContactUI_Proxy(
  2033. IMessengerApp __RPC_FAR * This,
  2034. /* [in] */ BSTR bstrEMail);
  2035. void __RPC_STUB IMessengerApp_LaunchAddContactUI_Stub(
  2036. IRpcStubBuffer *This,
  2037. IRpcChannelBuffer *_pRpcChannelBuffer,
  2038. PRPC_MESSAGE _pRpcMessage,
  2039. DWORD *_pdwStubPhase);
  2040. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerApp_LaunchFindContactUI_Proxy(
  2041. IMessengerApp __RPC_FAR * This,
  2042. /* [in] */ BSTR bstrFirstName,
  2043. /* [in] */ BSTR bstrLastName,
  2044. /* [optional][in] */ VARIANT vbstrCity,
  2045. /* [optional][in] */ VARIANT vbstrState,
  2046. /* [optional][in] */ VARIANT vbstrCountry);
  2047. void __RPC_STUB IMessengerApp_LaunchFindContactUI_Stub(
  2048. IRpcStubBuffer *This,
  2049. IRpcChannelBuffer *_pRpcChannelBuffer,
  2050. PRPC_MESSAGE _pRpcMessage,
  2051. DWORD *_pdwStubPhase);
  2052. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerApp_LaunchIMUI_Proxy(
  2053. IMessengerApp __RPC_FAR * This,
  2054. /* [in] */ VARIANT vUser,
  2055. /* [retval][out] */ IMessengerIMWindow __RPC_FAR *__RPC_FAR *ppIMWindow);
  2056. void __RPC_STUB IMessengerApp_LaunchIMUI_Stub(
  2057. IRpcStubBuffer *This,
  2058. IRpcChannelBuffer *_pRpcChannelBuffer,
  2059. PRPC_MESSAGE _pRpcMessage,
  2060. DWORD *_pdwStubPhase);
  2061. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_IMWindows_Proxy(
  2062. IMessengerApp __RPC_FAR * This,
  2063. /* [retval][out] */ IMessengerIMWindows __RPC_FAR *__RPC_FAR *ppIMWindows);
  2064. void __RPC_STUB IMessengerApp_get_IMWindows_Stub(
  2065. IRpcStubBuffer *This,
  2066. IRpcChannelBuffer *_pRpcChannelBuffer,
  2067. PRPC_MESSAGE _pRpcMessage,
  2068. DWORD *_pdwStubPhase);
  2069. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_ToolBar_Proxy(
  2070. IMessengerApp __RPC_FAR * This,
  2071. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolToolBar);
  2072. void __RPC_STUB IMessengerApp_get_ToolBar_Stub(
  2073. IRpcStubBuffer *This,
  2074. IRpcChannelBuffer *_pRpcChannelBuffer,
  2075. PRPC_MESSAGE _pRpcMessage,
  2076. DWORD *_pdwStubPhase);
  2077. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerApp_put_ToolBar_Proxy(
  2078. IMessengerApp __RPC_FAR * This,
  2079. /* [in] */ VARIANT_BOOL BoolToolBar);
  2080. void __RPC_STUB IMessengerApp_put_ToolBar_Stub(
  2081. IRpcStubBuffer *This,
  2082. IRpcChannelBuffer *_pRpcChannelBuffer,
  2083. PRPC_MESSAGE _pRpcMessage,
  2084. DWORD *_pdwStubPhase);
  2085. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_StatusBar_Proxy(
  2086. IMessengerApp __RPC_FAR * This,
  2087. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolStatusBar);
  2088. void __RPC_STUB IMessengerApp_get_StatusBar_Stub(
  2089. IRpcStubBuffer *This,
  2090. IRpcChannelBuffer *_pRpcChannelBuffer,
  2091. PRPC_MESSAGE _pRpcMessage,
  2092. DWORD *_pdwStubPhase);
  2093. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerApp_put_StatusBar_Proxy(
  2094. IMessengerApp __RPC_FAR * This,
  2095. /* [in] */ VARIANT_BOOL BoolStatusBar);
  2096. void __RPC_STUB IMessengerApp_put_StatusBar_Stub(
  2097. IRpcStubBuffer *This,
  2098. IRpcChannelBuffer *_pRpcChannelBuffer,
  2099. PRPC_MESSAGE _pRpcMessage,
  2100. DWORD *_pdwStubPhase);
  2101. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_StatusText_Proxy(
  2102. IMessengerApp __RPC_FAR * This,
  2103. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatusText);
  2104. void __RPC_STUB IMessengerApp_get_StatusText_Stub(
  2105. IRpcStubBuffer *This,
  2106. IRpcChannelBuffer *_pRpcChannelBuffer,
  2107. PRPC_MESSAGE _pRpcMessage,
  2108. DWORD *_pdwStubPhase);
  2109. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerApp_put_StatusText_Proxy(
  2110. IMessengerApp __RPC_FAR * This,
  2111. /* [in] */ BSTR bstrStatusText);
  2112. void __RPC_STUB IMessengerApp_put_StatusText_Stub(
  2113. IRpcStubBuffer *This,
  2114. IRpcChannelBuffer *_pRpcChannelBuffer,
  2115. PRPC_MESSAGE _pRpcMessage,
  2116. DWORD *_pdwStubPhase);
  2117. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_HWND_Proxy(
  2118. IMessengerApp __RPC_FAR * This,
  2119. /* [retval][out] */ long __RPC_FAR *phWnd);
  2120. void __RPC_STUB IMessengerApp_get_HWND_Stub(
  2121. IRpcStubBuffer *This,
  2122. IRpcChannelBuffer *_pRpcChannelBuffer,
  2123. PRPC_MESSAGE _pRpcMessage,
  2124. DWORD *_pdwStubPhase);
  2125. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_Left_Proxy(
  2126. IMessengerApp __RPC_FAR * This,
  2127. /* [retval][out] */ long __RPC_FAR *plLeft);
  2128. void __RPC_STUB IMessengerApp_get_Left_Stub(
  2129. IRpcStubBuffer *This,
  2130. IRpcChannelBuffer *_pRpcChannelBuffer,
  2131. PRPC_MESSAGE _pRpcMessage,
  2132. DWORD *_pdwStubPhase);
  2133. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerApp_put_Left_Proxy(
  2134. IMessengerApp __RPC_FAR * This,
  2135. /* [in] */ long lLeft);
  2136. void __RPC_STUB IMessengerApp_put_Left_Stub(
  2137. IRpcStubBuffer *This,
  2138. IRpcChannelBuffer *_pRpcChannelBuffer,
  2139. PRPC_MESSAGE _pRpcMessage,
  2140. DWORD *_pdwStubPhase);
  2141. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_Top_Proxy(
  2142. IMessengerApp __RPC_FAR * This,
  2143. /* [retval][out] */ long __RPC_FAR *plTop);
  2144. void __RPC_STUB IMessengerApp_get_Top_Stub(
  2145. IRpcStubBuffer *This,
  2146. IRpcChannelBuffer *_pRpcChannelBuffer,
  2147. PRPC_MESSAGE _pRpcMessage,
  2148. DWORD *_pdwStubPhase);
  2149. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerApp_put_Top_Proxy(
  2150. IMessengerApp __RPC_FAR * This,
  2151. /* [in] */ long lTop);
  2152. void __RPC_STUB IMessengerApp_put_Top_Stub(
  2153. IRpcStubBuffer *This,
  2154. IRpcChannelBuffer *_pRpcChannelBuffer,
  2155. PRPC_MESSAGE _pRpcMessage,
  2156. DWORD *_pdwStubPhase);
  2157. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_Width_Proxy(
  2158. IMessengerApp __RPC_FAR * This,
  2159. /* [retval][out] */ long __RPC_FAR *plWidth);
  2160. void __RPC_STUB IMessengerApp_get_Width_Stub(
  2161. IRpcStubBuffer *This,
  2162. IRpcChannelBuffer *_pRpcChannelBuffer,
  2163. PRPC_MESSAGE _pRpcMessage,
  2164. DWORD *_pdwStubPhase);
  2165. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerApp_put_Width_Proxy(
  2166. IMessengerApp __RPC_FAR * This,
  2167. /* [in] */ long lWidth);
  2168. void __RPC_STUB IMessengerApp_put_Width_Stub(
  2169. IRpcStubBuffer *This,
  2170. IRpcChannelBuffer *_pRpcChannelBuffer,
  2171. PRPC_MESSAGE _pRpcMessage,
  2172. DWORD *_pdwStubPhase);
  2173. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_Height_Proxy(
  2174. IMessengerApp __RPC_FAR * This,
  2175. /* [retval][out] */ long __RPC_FAR *plHeight);
  2176. void __RPC_STUB IMessengerApp_get_Height_Stub(
  2177. IRpcStubBuffer *This,
  2178. IRpcChannelBuffer *_pRpcChannelBuffer,
  2179. PRPC_MESSAGE _pRpcMessage,
  2180. DWORD *_pdwStubPhase);
  2181. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerApp_put_Height_Proxy(
  2182. IMessengerApp __RPC_FAR * This,
  2183. /* [in] */ long lHeight);
  2184. void __RPC_STUB IMessengerApp_put_Height_Stub(
  2185. IRpcStubBuffer *This,
  2186. IRpcChannelBuffer *_pRpcChannelBuffer,
  2187. PRPC_MESSAGE _pRpcMessage,
  2188. DWORD *_pdwStubPhase);
  2189. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_Visible_Proxy(
  2190. IMessengerApp __RPC_FAR * This,
  2191. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolVisible);
  2192. void __RPC_STUB IMessengerApp_get_Visible_Stub(
  2193. IRpcStubBuffer *This,
  2194. IRpcChannelBuffer *_pRpcChannelBuffer,
  2195. PRPC_MESSAGE _pRpcMessage,
  2196. DWORD *_pdwStubPhase);
  2197. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerApp_put_Visible_Proxy(
  2198. IMessengerApp __RPC_FAR * This,
  2199. /* [in] */ VARIANT_BOOL BoolVisible);
  2200. void __RPC_STUB IMessengerApp_put_Visible_Stub(
  2201. IRpcStubBuffer *This,
  2202. IRpcChannelBuffer *_pRpcChannelBuffer,
  2203. PRPC_MESSAGE _pRpcMessage,
  2204. DWORD *_pdwStubPhase);
  2205. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerApp_AutoLogon_Proxy(
  2206. IMessengerApp __RPC_FAR * This);
  2207. void __RPC_STUB IMessengerApp_AutoLogon_Stub(
  2208. IRpcStubBuffer *This,
  2209. IRpcChannelBuffer *_pRpcChannelBuffer,
  2210. PRPC_MESSAGE _pRpcMessage,
  2211. DWORD *_pdwStubPhase);
  2212. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMessengerApp_put_FirstTimeCredentials_Proxy(
  2213. IMessengerApp __RPC_FAR * This,
  2214. /* [in] */ BSTR bstrUser,
  2215. /* [in] */ BSTR bstrPassword,
  2216. /* [in] */ IMsgrService __RPC_FAR *pService,
  2217. /* [in] */ long lFlags);
  2218. void __RPC_STUB IMessengerApp_put_FirstTimeCredentials_Stub(
  2219. IRpcStubBuffer *This,
  2220. IRpcChannelBuffer *_pRpcChannelBuffer,
  2221. PRPC_MESSAGE _pRpcMessage,
  2222. DWORD *_pdwStubPhase);
  2223. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMessengerApp_put_CachedPassword_Proxy(
  2224. IMessengerApp __RPC_FAR * This,
  2225. /* [in] */ BSTR bstrUser,
  2226. /* [in] */ BSTR bstrPassword,
  2227. /* [in] */ IMsgrService __RPC_FAR *pService,
  2228. /* [in] */ VARIANT_BOOL BoolSavePassword);
  2229. void __RPC_STUB IMessengerApp_put_CachedPassword_Stub(
  2230. IRpcStubBuffer *This,
  2231. IRpcChannelBuffer *_pRpcChannelBuffer,
  2232. PRPC_MESSAGE _pRpcMessage,
  2233. DWORD *_pdwStubPhase);
  2234. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerApp_RequestURLPost_Proxy(
  2235. IMessengerApp __RPC_FAR * This,
  2236. /* [in] */ MURLTYPE muType,
  2237. /* [optional][in] */ VARIANT vbstrAdditionalInfo);
  2238. void __RPC_STUB IMessengerApp_RequestURLPost_Stub(
  2239. IRpcStubBuffer *This,
  2240. IRpcChannelBuffer *_pRpcChannelBuffer,
  2241. PRPC_MESSAGE _pRpcMessage,
  2242. DWORD *_pdwStubPhase);
  2243. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IMessengerApp_put_TaskbarIcon_Proxy(
  2244. IMessengerApp __RPC_FAR * This,
  2245. /* [in] */ VARIANT_BOOL BoolVisible);
  2246. void __RPC_STUB IMessengerApp_put_TaskbarIcon_Stub(
  2247. IRpcStubBuffer *This,
  2248. IRpcChannelBuffer *_pRpcChannelBuffer,
  2249. PRPC_MESSAGE _pRpcMessage,
  2250. DWORD *_pdwStubPhase);
  2251. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IMessengerApp_get_TaskbarIcon_Proxy(
  2252. IMessengerApp __RPC_FAR * This,
  2253. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolVisible);
  2254. void __RPC_STUB IMessengerApp_get_TaskbarIcon_Stub(
  2255. IRpcStubBuffer *This,
  2256. IRpcChannelBuffer *_pRpcChannelBuffer,
  2257. PRPC_MESSAGE _pRpcMessage,
  2258. DWORD *_pdwStubPhase);
  2259. #endif /* __IMessengerApp_INTERFACE_DEFINED__ */
  2260. #ifndef __IMessengerApp2_INTERFACE_DEFINED__
  2261. #define __IMessengerApp2_INTERFACE_DEFINED__
  2262. /* interface IMessengerApp2 */
  2263. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  2264. EXTERN_C const IID IID_IMessengerApp2;
  2265. #if defined(__cplusplus) && !defined(CINTERFACE)
  2266. MIDL_INTERFACE("FF55D627-CF5B-40de-850F-62D20BC241C8")
  2267. IMessengerApp2 : public IMessengerApp
  2268. {
  2269. public:
  2270. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE LaunchPhoneUI(
  2271. /* [in] */ VARIANT vUser,
  2272. /* [in] */ MUSERPROPERTY ePhoneNumber) = 0;
  2273. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE LaunchAudioTuningWizard(
  2274. /* [in] */ long hwndParent) = 0;
  2275. };
  2276. #else /* C style interface */
  2277. typedef struct IMessengerApp2Vtbl
  2278. {
  2279. BEGIN_INTERFACE
  2280. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2281. IMessengerApp2 __RPC_FAR * This,
  2282. /* [in] */ REFIID riid,
  2283. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2284. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2285. IMessengerApp2 __RPC_FAR * This);
  2286. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2287. IMessengerApp2 __RPC_FAR * This);
  2288. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2289. IMessengerApp2 __RPC_FAR * This,
  2290. /* [out] */ UINT __RPC_FAR *pctinfo);
  2291. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2292. IMessengerApp2 __RPC_FAR * This,
  2293. /* [in] */ UINT iTInfo,
  2294. /* [in] */ LCID lcid,
  2295. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2296. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2297. IMessengerApp2 __RPC_FAR * This,
  2298. /* [in] */ REFIID riid,
  2299. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2300. /* [in] */ UINT cNames,
  2301. /* [in] */ LCID lcid,
  2302. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2303. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2304. IMessengerApp2 __RPC_FAR * This,
  2305. /* [in] */ DISPID dispIdMember,
  2306. /* [in] */ REFIID riid,
  2307. /* [in] */ LCID lcid,
  2308. /* [in] */ WORD wFlags,
  2309. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2310. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2311. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2312. /* [out] */ UINT __RPC_FAR *puArgErr);
  2313. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Application )(
  2314. IMessengerApp2 __RPC_FAR * This,
  2315. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  2316. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Parent )(
  2317. IMessengerApp2 __RPC_FAR * This,
  2318. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  2319. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Quit )(
  2320. IMessengerApp2 __RPC_FAR * This);
  2321. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  2322. IMessengerApp2 __RPC_FAR * This,
  2323. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  2324. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FullName )(
  2325. IMessengerApp2 __RPC_FAR * This,
  2326. /* [retval][out] */ BSTR __RPC_FAR *pbstrFullName);
  2327. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Path )(
  2328. IMessengerApp2 __RPC_FAR * This,
  2329. /* [retval][out] */ BSTR __RPC_FAR *pbstrPath);
  2330. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchLogonUI )(
  2331. IMessengerApp2 __RPC_FAR * This);
  2332. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchOptionsUI )(
  2333. IMessengerApp2 __RPC_FAR * This,
  2334. /* [in] */ MOPTDLGPAGE mOptDlgPage);
  2335. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchAddContactUI )(
  2336. IMessengerApp2 __RPC_FAR * This,
  2337. /* [in] */ BSTR bstrEMail);
  2338. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchFindContactUI )(
  2339. IMessengerApp2 __RPC_FAR * This,
  2340. /* [in] */ BSTR bstrFirstName,
  2341. /* [in] */ BSTR bstrLastName,
  2342. /* [optional][in] */ VARIANT vbstrCity,
  2343. /* [optional][in] */ VARIANT vbstrState,
  2344. /* [optional][in] */ VARIANT vbstrCountry);
  2345. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchIMUI )(
  2346. IMessengerApp2 __RPC_FAR * This,
  2347. /* [in] */ VARIANT vUser,
  2348. /* [retval][out] */ IMessengerIMWindow __RPC_FAR *__RPC_FAR *ppIMWindow);
  2349. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IMWindows )(
  2350. IMessengerApp2 __RPC_FAR * This,
  2351. /* [retval][out] */ IMessengerIMWindows __RPC_FAR *__RPC_FAR *ppIMWindows);
  2352. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ToolBar )(
  2353. IMessengerApp2 __RPC_FAR * This,
  2354. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolToolBar);
  2355. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ToolBar )(
  2356. IMessengerApp2 __RPC_FAR * This,
  2357. /* [in] */ VARIANT_BOOL BoolToolBar);
  2358. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_StatusBar )(
  2359. IMessengerApp2 __RPC_FAR * This,
  2360. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolStatusBar);
  2361. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_StatusBar )(
  2362. IMessengerApp2 __RPC_FAR * This,
  2363. /* [in] */ VARIANT_BOOL BoolStatusBar);
  2364. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_StatusText )(
  2365. IMessengerApp2 __RPC_FAR * This,
  2366. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatusText);
  2367. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_StatusText )(
  2368. IMessengerApp2 __RPC_FAR * This,
  2369. /* [in] */ BSTR bstrStatusText);
  2370. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_HWND )(
  2371. IMessengerApp2 __RPC_FAR * This,
  2372. /* [retval][out] */ long __RPC_FAR *phWnd);
  2373. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Left )(
  2374. IMessengerApp2 __RPC_FAR * This,
  2375. /* [retval][out] */ long __RPC_FAR *plLeft);
  2376. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Left )(
  2377. IMessengerApp2 __RPC_FAR * This,
  2378. /* [in] */ long lLeft);
  2379. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Top )(
  2380. IMessengerApp2 __RPC_FAR * This,
  2381. /* [retval][out] */ long __RPC_FAR *plTop);
  2382. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Top )(
  2383. IMessengerApp2 __RPC_FAR * This,
  2384. /* [in] */ long lTop);
  2385. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Width )(
  2386. IMessengerApp2 __RPC_FAR * This,
  2387. /* [retval][out] */ long __RPC_FAR *plWidth);
  2388. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Width )(
  2389. IMessengerApp2 __RPC_FAR * This,
  2390. /* [in] */ long lWidth);
  2391. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Height )(
  2392. IMessengerApp2 __RPC_FAR * This,
  2393. /* [retval][out] */ long __RPC_FAR *plHeight);
  2394. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Height )(
  2395. IMessengerApp2 __RPC_FAR * This,
  2396. /* [in] */ long lHeight);
  2397. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Visible )(
  2398. IMessengerApp2 __RPC_FAR * This,
  2399. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolVisible);
  2400. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Visible )(
  2401. IMessengerApp2 __RPC_FAR * This,
  2402. /* [in] */ VARIANT_BOOL BoolVisible);
  2403. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AutoLogon )(
  2404. IMessengerApp2 __RPC_FAR * This);
  2405. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_FirstTimeCredentials )(
  2406. IMessengerApp2 __RPC_FAR * This,
  2407. /* [in] */ BSTR bstrUser,
  2408. /* [in] */ BSTR bstrPassword,
  2409. /* [in] */ IMsgrService __RPC_FAR *pService,
  2410. /* [in] */ long lFlags);
  2411. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_CachedPassword )(
  2412. IMessengerApp2 __RPC_FAR * This,
  2413. /* [in] */ BSTR bstrUser,
  2414. /* [in] */ BSTR bstrPassword,
  2415. /* [in] */ IMsgrService __RPC_FAR *pService,
  2416. /* [in] */ VARIANT_BOOL BoolSavePassword);
  2417. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestURLPost )(
  2418. IMessengerApp2 __RPC_FAR * This,
  2419. /* [in] */ MURLTYPE muType,
  2420. /* [optional][in] */ VARIANT vbstrAdditionalInfo);
  2421. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_TaskbarIcon )(
  2422. IMessengerApp2 __RPC_FAR * This,
  2423. /* [in] */ VARIANT_BOOL BoolVisible);
  2424. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TaskbarIcon )(
  2425. IMessengerApp2 __RPC_FAR * This,
  2426. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolVisible);
  2427. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchPhoneUI )(
  2428. IMessengerApp2 __RPC_FAR * This,
  2429. /* [in] */ VARIANT vUser,
  2430. /* [in] */ MUSERPROPERTY ePhoneNumber);
  2431. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchAudioTuningWizard )(
  2432. IMessengerApp2 __RPC_FAR * This,
  2433. /* [in] */ long hwndParent);
  2434. END_INTERFACE
  2435. } IMessengerApp2Vtbl;
  2436. interface IMessengerApp2
  2437. {
  2438. CONST_VTBL struct IMessengerApp2Vtbl __RPC_FAR *lpVtbl;
  2439. };
  2440. #ifdef COBJMACROS
  2441. #define IMessengerApp2_QueryInterface(This,riid,ppvObject) \
  2442. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2443. #define IMessengerApp2_AddRef(This) \
  2444. (This)->lpVtbl -> AddRef(This)
  2445. #define IMessengerApp2_Release(This) \
  2446. (This)->lpVtbl -> Release(This)
  2447. #define IMessengerApp2_GetTypeInfoCount(This,pctinfo) \
  2448. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2449. #define IMessengerApp2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2450. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2451. #define IMessengerApp2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2452. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2453. #define IMessengerApp2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2454. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2455. #define IMessengerApp2_get_Application(This,ppDisp) \
  2456. (This)->lpVtbl -> get_Application(This,ppDisp)
  2457. #define IMessengerApp2_get_Parent(This,ppDisp) \
  2458. (This)->lpVtbl -> get_Parent(This,ppDisp)
  2459. #define IMessengerApp2_Quit(This) \
  2460. (This)->lpVtbl -> Quit(This)
  2461. #define IMessengerApp2_get_Name(This,pbstrName) \
  2462. (This)->lpVtbl -> get_Name(This,pbstrName)
  2463. #define IMessengerApp2_get_FullName(This,pbstrFullName) \
  2464. (This)->lpVtbl -> get_FullName(This,pbstrFullName)
  2465. #define IMessengerApp2_get_Path(This,pbstrPath) \
  2466. (This)->lpVtbl -> get_Path(This,pbstrPath)
  2467. #define IMessengerApp2_LaunchLogonUI(This) \
  2468. (This)->lpVtbl -> LaunchLogonUI(This)
  2469. #define IMessengerApp2_LaunchOptionsUI(This,mOptDlgPage) \
  2470. (This)->lpVtbl -> LaunchOptionsUI(This,mOptDlgPage)
  2471. #define IMessengerApp2_LaunchAddContactUI(This,bstrEMail) \
  2472. (This)->lpVtbl -> LaunchAddContactUI(This,bstrEMail)
  2473. #define IMessengerApp2_LaunchFindContactUI(This,bstrFirstName,bstrLastName,vbstrCity,vbstrState,vbstrCountry) \
  2474. (This)->lpVtbl -> LaunchFindContactUI(This,bstrFirstName,bstrLastName,vbstrCity,vbstrState,vbstrCountry)
  2475. #define IMessengerApp2_LaunchIMUI(This,vUser,ppIMWindow) \
  2476. (This)->lpVtbl -> LaunchIMUI(This,vUser,ppIMWindow)
  2477. #define IMessengerApp2_get_IMWindows(This,ppIMWindows) \
  2478. (This)->lpVtbl -> get_IMWindows(This,ppIMWindows)
  2479. #define IMessengerApp2_get_ToolBar(This,pBoolToolBar) \
  2480. (This)->lpVtbl -> get_ToolBar(This,pBoolToolBar)
  2481. #define IMessengerApp2_put_ToolBar(This,BoolToolBar) \
  2482. (This)->lpVtbl -> put_ToolBar(This,BoolToolBar)
  2483. #define IMessengerApp2_get_StatusBar(This,pBoolStatusBar) \
  2484. (This)->lpVtbl -> get_StatusBar(This,pBoolStatusBar)
  2485. #define IMessengerApp2_put_StatusBar(This,BoolStatusBar) \
  2486. (This)->lpVtbl -> put_StatusBar(This,BoolStatusBar)
  2487. #define IMessengerApp2_get_StatusText(This,pbstrStatusText) \
  2488. (This)->lpVtbl -> get_StatusText(This,pbstrStatusText)
  2489. #define IMessengerApp2_put_StatusText(This,bstrStatusText) \
  2490. (This)->lpVtbl -> put_StatusText(This,bstrStatusText)
  2491. #define IMessengerApp2_get_HWND(This,phWnd) \
  2492. (This)->lpVtbl -> get_HWND(This,phWnd)
  2493. #define IMessengerApp2_get_Left(This,plLeft) \
  2494. (This)->lpVtbl -> get_Left(This,plLeft)
  2495. #define IMessengerApp2_put_Left(This,lLeft) \
  2496. (This)->lpVtbl -> put_Left(This,lLeft)
  2497. #define IMessengerApp2_get_Top(This,plTop) \
  2498. (This)->lpVtbl -> get_Top(This,plTop)
  2499. #define IMessengerApp2_put_Top(This,lTop) \
  2500. (This)->lpVtbl -> put_Top(This,lTop)
  2501. #define IMessengerApp2_get_Width(This,plWidth) \
  2502. (This)->lpVtbl -> get_Width(This,plWidth)
  2503. #define IMessengerApp2_put_Width(This,lWidth) \
  2504. (This)->lpVtbl -> put_Width(This,lWidth)
  2505. #define IMessengerApp2_get_Height(This,plHeight) \
  2506. (This)->lpVtbl -> get_Height(This,plHeight)
  2507. #define IMessengerApp2_put_Height(This,lHeight) \
  2508. (This)->lpVtbl -> put_Height(This,lHeight)
  2509. #define IMessengerApp2_get_Visible(This,pBoolVisible) \
  2510. (This)->lpVtbl -> get_Visible(This,pBoolVisible)
  2511. #define IMessengerApp2_put_Visible(This,BoolVisible) \
  2512. (This)->lpVtbl -> put_Visible(This,BoolVisible)
  2513. #define IMessengerApp2_AutoLogon(This) \
  2514. (This)->lpVtbl -> AutoLogon(This)
  2515. #define IMessengerApp2_put_FirstTimeCredentials(This,bstrUser,bstrPassword,pService,lFlags) \
  2516. (This)->lpVtbl -> put_FirstTimeCredentials(This,bstrUser,bstrPassword,pService,lFlags)
  2517. #define IMessengerApp2_put_CachedPassword(This,bstrUser,bstrPassword,pService,BoolSavePassword) \
  2518. (This)->lpVtbl -> put_CachedPassword(This,bstrUser,bstrPassword,pService,BoolSavePassword)
  2519. #define IMessengerApp2_RequestURLPost(This,muType,vbstrAdditionalInfo) \
  2520. (This)->lpVtbl -> RequestURLPost(This,muType,vbstrAdditionalInfo)
  2521. #define IMessengerApp2_put_TaskbarIcon(This,BoolVisible) \
  2522. (This)->lpVtbl -> put_TaskbarIcon(This,BoolVisible)
  2523. #define IMessengerApp2_get_TaskbarIcon(This,pBoolVisible) \
  2524. (This)->lpVtbl -> get_TaskbarIcon(This,pBoolVisible)
  2525. #define IMessengerApp2_LaunchPhoneUI(This,vUser,ePhoneNumber) \
  2526. (This)->lpVtbl -> LaunchPhoneUI(This,vUser,ePhoneNumber)
  2527. #define IMessengerApp2_LaunchAudioTuningWizard(This,hwndParent) \
  2528. (This)->lpVtbl -> LaunchAudioTuningWizard(This,hwndParent)
  2529. #endif /* COBJMACROS */
  2530. #endif /* C style interface */
  2531. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerApp2_LaunchPhoneUI_Proxy(
  2532. IMessengerApp2 __RPC_FAR * This,
  2533. /* [in] */ VARIANT vUser,
  2534. /* [in] */ MUSERPROPERTY ePhoneNumber);
  2535. void __RPC_STUB IMessengerApp2_LaunchPhoneUI_Stub(
  2536. IRpcStubBuffer *This,
  2537. IRpcChannelBuffer *_pRpcChannelBuffer,
  2538. PRPC_MESSAGE _pRpcMessage,
  2539. DWORD *_pdwStubPhase);
  2540. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerApp2_LaunchAudioTuningWizard_Proxy(
  2541. IMessengerApp2 __RPC_FAR * This,
  2542. /* [in] */ long hwndParent);
  2543. void __RPC_STUB IMessengerApp2_LaunchAudioTuningWizard_Stub(
  2544. IRpcStubBuffer *This,
  2545. IRpcChannelBuffer *_pRpcChannelBuffer,
  2546. PRPC_MESSAGE _pRpcMessage,
  2547. DWORD *_pdwStubPhase);
  2548. #endif /* __IMessengerApp2_INTERFACE_DEFINED__ */
  2549. #ifndef __IMessengerApp3_INTERFACE_DEFINED__
  2550. #define __IMessengerApp3_INTERFACE_DEFINED__
  2551. /* interface IMessengerApp3 */
  2552. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  2553. EXTERN_C const IID IID_IMessengerApp3;
  2554. #if defined(__cplusplus) && !defined(CINTERFACE)
  2555. MIDL_INTERFACE("28E28123-7DC5-45d3-860E-8EE1C3681BD5")
  2556. IMessengerApp3 : public IMessengerApp2
  2557. {
  2558. public:
  2559. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE LaunchPagerUI(
  2560. /* [in] */ VARIANT vUser,
  2561. /* [retval][out] */ IMessengerIMWindow __RPC_FAR *__RPC_FAR *ppIMWindow) = 0;
  2562. };
  2563. #else /* C style interface */
  2564. typedef struct IMessengerApp3Vtbl
  2565. {
  2566. BEGIN_INTERFACE
  2567. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2568. IMessengerApp3 __RPC_FAR * This,
  2569. /* [in] */ REFIID riid,
  2570. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2571. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2572. IMessengerApp3 __RPC_FAR * This);
  2573. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2574. IMessengerApp3 __RPC_FAR * This);
  2575. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2576. IMessengerApp3 __RPC_FAR * This,
  2577. /* [out] */ UINT __RPC_FAR *pctinfo);
  2578. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2579. IMessengerApp3 __RPC_FAR * This,
  2580. /* [in] */ UINT iTInfo,
  2581. /* [in] */ LCID lcid,
  2582. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2583. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2584. IMessengerApp3 __RPC_FAR * This,
  2585. /* [in] */ REFIID riid,
  2586. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2587. /* [in] */ UINT cNames,
  2588. /* [in] */ LCID lcid,
  2589. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2590. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2591. IMessengerApp3 __RPC_FAR * This,
  2592. /* [in] */ DISPID dispIdMember,
  2593. /* [in] */ REFIID riid,
  2594. /* [in] */ LCID lcid,
  2595. /* [in] */ WORD wFlags,
  2596. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2597. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2598. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2599. /* [out] */ UINT __RPC_FAR *puArgErr);
  2600. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Application )(
  2601. IMessengerApp3 __RPC_FAR * This,
  2602. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  2603. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Parent )(
  2604. IMessengerApp3 __RPC_FAR * This,
  2605. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  2606. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Quit )(
  2607. IMessengerApp3 __RPC_FAR * This);
  2608. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  2609. IMessengerApp3 __RPC_FAR * This,
  2610. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  2611. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FullName )(
  2612. IMessengerApp3 __RPC_FAR * This,
  2613. /* [retval][out] */ BSTR __RPC_FAR *pbstrFullName);
  2614. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Path )(
  2615. IMessengerApp3 __RPC_FAR * This,
  2616. /* [retval][out] */ BSTR __RPC_FAR *pbstrPath);
  2617. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchLogonUI )(
  2618. IMessengerApp3 __RPC_FAR * This);
  2619. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchOptionsUI )(
  2620. IMessengerApp3 __RPC_FAR * This,
  2621. /* [in] */ MOPTDLGPAGE mOptDlgPage);
  2622. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchAddContactUI )(
  2623. IMessengerApp3 __RPC_FAR * This,
  2624. /* [in] */ BSTR bstrEMail);
  2625. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchFindContactUI )(
  2626. IMessengerApp3 __RPC_FAR * This,
  2627. /* [in] */ BSTR bstrFirstName,
  2628. /* [in] */ BSTR bstrLastName,
  2629. /* [optional][in] */ VARIANT vbstrCity,
  2630. /* [optional][in] */ VARIANT vbstrState,
  2631. /* [optional][in] */ VARIANT vbstrCountry);
  2632. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchIMUI )(
  2633. IMessengerApp3 __RPC_FAR * This,
  2634. /* [in] */ VARIANT vUser,
  2635. /* [retval][out] */ IMessengerIMWindow __RPC_FAR *__RPC_FAR *ppIMWindow);
  2636. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IMWindows )(
  2637. IMessengerApp3 __RPC_FAR * This,
  2638. /* [retval][out] */ IMessengerIMWindows __RPC_FAR *__RPC_FAR *ppIMWindows);
  2639. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ToolBar )(
  2640. IMessengerApp3 __RPC_FAR * This,
  2641. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolToolBar);
  2642. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ToolBar )(
  2643. IMessengerApp3 __RPC_FAR * This,
  2644. /* [in] */ VARIANT_BOOL BoolToolBar);
  2645. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_StatusBar )(
  2646. IMessengerApp3 __RPC_FAR * This,
  2647. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolStatusBar);
  2648. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_StatusBar )(
  2649. IMessengerApp3 __RPC_FAR * This,
  2650. /* [in] */ VARIANT_BOOL BoolStatusBar);
  2651. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_StatusText )(
  2652. IMessengerApp3 __RPC_FAR * This,
  2653. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatusText);
  2654. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_StatusText )(
  2655. IMessengerApp3 __RPC_FAR * This,
  2656. /* [in] */ BSTR bstrStatusText);
  2657. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_HWND )(
  2658. IMessengerApp3 __RPC_FAR * This,
  2659. /* [retval][out] */ long __RPC_FAR *phWnd);
  2660. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Left )(
  2661. IMessengerApp3 __RPC_FAR * This,
  2662. /* [retval][out] */ long __RPC_FAR *plLeft);
  2663. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Left )(
  2664. IMessengerApp3 __RPC_FAR * This,
  2665. /* [in] */ long lLeft);
  2666. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Top )(
  2667. IMessengerApp3 __RPC_FAR * This,
  2668. /* [retval][out] */ long __RPC_FAR *plTop);
  2669. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Top )(
  2670. IMessengerApp3 __RPC_FAR * This,
  2671. /* [in] */ long lTop);
  2672. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Width )(
  2673. IMessengerApp3 __RPC_FAR * This,
  2674. /* [retval][out] */ long __RPC_FAR *plWidth);
  2675. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Width )(
  2676. IMessengerApp3 __RPC_FAR * This,
  2677. /* [in] */ long lWidth);
  2678. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Height )(
  2679. IMessengerApp3 __RPC_FAR * This,
  2680. /* [retval][out] */ long __RPC_FAR *plHeight);
  2681. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Height )(
  2682. IMessengerApp3 __RPC_FAR * This,
  2683. /* [in] */ long lHeight);
  2684. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Visible )(
  2685. IMessengerApp3 __RPC_FAR * This,
  2686. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolVisible);
  2687. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Visible )(
  2688. IMessengerApp3 __RPC_FAR * This,
  2689. /* [in] */ VARIANT_BOOL BoolVisible);
  2690. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AutoLogon )(
  2691. IMessengerApp3 __RPC_FAR * This);
  2692. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_FirstTimeCredentials )(
  2693. IMessengerApp3 __RPC_FAR * This,
  2694. /* [in] */ BSTR bstrUser,
  2695. /* [in] */ BSTR bstrPassword,
  2696. /* [in] */ IMsgrService __RPC_FAR *pService,
  2697. /* [in] */ long lFlags);
  2698. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_CachedPassword )(
  2699. IMessengerApp3 __RPC_FAR * This,
  2700. /* [in] */ BSTR bstrUser,
  2701. /* [in] */ BSTR bstrPassword,
  2702. /* [in] */ IMsgrService __RPC_FAR *pService,
  2703. /* [in] */ VARIANT_BOOL BoolSavePassword);
  2704. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestURLPost )(
  2705. IMessengerApp3 __RPC_FAR * This,
  2706. /* [in] */ MURLTYPE muType,
  2707. /* [optional][in] */ VARIANT vbstrAdditionalInfo);
  2708. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_TaskbarIcon )(
  2709. IMessengerApp3 __RPC_FAR * This,
  2710. /* [in] */ VARIANT_BOOL BoolVisible);
  2711. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TaskbarIcon )(
  2712. IMessengerApp3 __RPC_FAR * This,
  2713. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolVisible);
  2714. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchPhoneUI )(
  2715. IMessengerApp3 __RPC_FAR * This,
  2716. /* [in] */ VARIANT vUser,
  2717. /* [in] */ MUSERPROPERTY ePhoneNumber);
  2718. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchAudioTuningWizard )(
  2719. IMessengerApp3 __RPC_FAR * This,
  2720. /* [in] */ long hwndParent);
  2721. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LaunchPagerUI )(
  2722. IMessengerApp3 __RPC_FAR * This,
  2723. /* [in] */ VARIANT vUser,
  2724. /* [retval][out] */ IMessengerIMWindow __RPC_FAR *__RPC_FAR *ppIMWindow);
  2725. END_INTERFACE
  2726. } IMessengerApp3Vtbl;
  2727. interface IMessengerApp3
  2728. {
  2729. CONST_VTBL struct IMessengerApp3Vtbl __RPC_FAR *lpVtbl;
  2730. };
  2731. #ifdef COBJMACROS
  2732. #define IMessengerApp3_QueryInterface(This,riid,ppvObject) \
  2733. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2734. #define IMessengerApp3_AddRef(This) \
  2735. (This)->lpVtbl -> AddRef(This)
  2736. #define IMessengerApp3_Release(This) \
  2737. (This)->lpVtbl -> Release(This)
  2738. #define IMessengerApp3_GetTypeInfoCount(This,pctinfo) \
  2739. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2740. #define IMessengerApp3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2741. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2742. #define IMessengerApp3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2743. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2744. #define IMessengerApp3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2745. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2746. #define IMessengerApp3_get_Application(This,ppDisp) \
  2747. (This)->lpVtbl -> get_Application(This,ppDisp)
  2748. #define IMessengerApp3_get_Parent(This,ppDisp) \
  2749. (This)->lpVtbl -> get_Parent(This,ppDisp)
  2750. #define IMessengerApp3_Quit(This) \
  2751. (This)->lpVtbl -> Quit(This)
  2752. #define IMessengerApp3_get_Name(This,pbstrName) \
  2753. (This)->lpVtbl -> get_Name(This,pbstrName)
  2754. #define IMessengerApp3_get_FullName(This,pbstrFullName) \
  2755. (This)->lpVtbl -> get_FullName(This,pbstrFullName)
  2756. #define IMessengerApp3_get_Path(This,pbstrPath) \
  2757. (This)->lpVtbl -> get_Path(This,pbstrPath)
  2758. #define IMessengerApp3_LaunchLogonUI(This) \
  2759. (This)->lpVtbl -> LaunchLogonUI(This)
  2760. #define IMessengerApp3_LaunchOptionsUI(This,mOptDlgPage) \
  2761. (This)->lpVtbl -> LaunchOptionsUI(This,mOptDlgPage)
  2762. #define IMessengerApp3_LaunchAddContactUI(This,bstrEMail) \
  2763. (This)->lpVtbl -> LaunchAddContactUI(This,bstrEMail)
  2764. #define IMessengerApp3_LaunchFindContactUI(This,bstrFirstName,bstrLastName,vbstrCity,vbstrState,vbstrCountry) \
  2765. (This)->lpVtbl -> LaunchFindContactUI(This,bstrFirstName,bstrLastName,vbstrCity,vbstrState,vbstrCountry)
  2766. #define IMessengerApp3_LaunchIMUI(This,vUser,ppIMWindow) \
  2767. (This)->lpVtbl -> LaunchIMUI(This,vUser,ppIMWindow)
  2768. #define IMessengerApp3_get_IMWindows(This,ppIMWindows) \
  2769. (This)->lpVtbl -> get_IMWindows(This,ppIMWindows)
  2770. #define IMessengerApp3_get_ToolBar(This,pBoolToolBar) \
  2771. (This)->lpVtbl -> get_ToolBar(This,pBoolToolBar)
  2772. #define IMessengerApp3_put_ToolBar(This,BoolToolBar) \
  2773. (This)->lpVtbl -> put_ToolBar(This,BoolToolBar)
  2774. #define IMessengerApp3_get_StatusBar(This,pBoolStatusBar) \
  2775. (This)->lpVtbl -> get_StatusBar(This,pBoolStatusBar)
  2776. #define IMessengerApp3_put_StatusBar(This,BoolStatusBar) \
  2777. (This)->lpVtbl -> put_StatusBar(This,BoolStatusBar)
  2778. #define IMessengerApp3_get_StatusText(This,pbstrStatusText) \
  2779. (This)->lpVtbl -> get_StatusText(This,pbstrStatusText)
  2780. #define IMessengerApp3_put_StatusText(This,bstrStatusText) \
  2781. (This)->lpVtbl -> put_StatusText(This,bstrStatusText)
  2782. #define IMessengerApp3_get_HWND(This,phWnd) \
  2783. (This)->lpVtbl -> get_HWND(This,phWnd)
  2784. #define IMessengerApp3_get_Left(This,plLeft) \
  2785. (This)->lpVtbl -> get_Left(This,plLeft)
  2786. #define IMessengerApp3_put_Left(This,lLeft) \
  2787. (This)->lpVtbl -> put_Left(This,lLeft)
  2788. #define IMessengerApp3_get_Top(This,plTop) \
  2789. (This)->lpVtbl -> get_Top(This,plTop)
  2790. #define IMessengerApp3_put_Top(This,lTop) \
  2791. (This)->lpVtbl -> put_Top(This,lTop)
  2792. #define IMessengerApp3_get_Width(This,plWidth) \
  2793. (This)->lpVtbl -> get_Width(This,plWidth)
  2794. #define IMessengerApp3_put_Width(This,lWidth) \
  2795. (This)->lpVtbl -> put_Width(This,lWidth)
  2796. #define IMessengerApp3_get_Height(This,plHeight) \
  2797. (This)->lpVtbl -> get_Height(This,plHeight)
  2798. #define IMessengerApp3_put_Height(This,lHeight) \
  2799. (This)->lpVtbl -> put_Height(This,lHeight)
  2800. #define IMessengerApp3_get_Visible(This,pBoolVisible) \
  2801. (This)->lpVtbl -> get_Visible(This,pBoolVisible)
  2802. #define IMessengerApp3_put_Visible(This,BoolVisible) \
  2803. (This)->lpVtbl -> put_Visible(This,BoolVisible)
  2804. #define IMessengerApp3_AutoLogon(This) \
  2805. (This)->lpVtbl -> AutoLogon(This)
  2806. #define IMessengerApp3_put_FirstTimeCredentials(This,bstrUser,bstrPassword,pService,lFlags) \
  2807. (This)->lpVtbl -> put_FirstTimeCredentials(This,bstrUser,bstrPassword,pService,lFlags)
  2808. #define IMessengerApp3_put_CachedPassword(This,bstrUser,bstrPassword,pService,BoolSavePassword) \
  2809. (This)->lpVtbl -> put_CachedPassword(This,bstrUser,bstrPassword,pService,BoolSavePassword)
  2810. #define IMessengerApp3_RequestURLPost(This,muType,vbstrAdditionalInfo) \
  2811. (This)->lpVtbl -> RequestURLPost(This,muType,vbstrAdditionalInfo)
  2812. #define IMessengerApp3_put_TaskbarIcon(This,BoolVisible) \
  2813. (This)->lpVtbl -> put_TaskbarIcon(This,BoolVisible)
  2814. #define IMessengerApp3_get_TaskbarIcon(This,pBoolVisible) \
  2815. (This)->lpVtbl -> get_TaskbarIcon(This,pBoolVisible)
  2816. #define IMessengerApp3_LaunchPhoneUI(This,vUser,ePhoneNumber) \
  2817. (This)->lpVtbl -> LaunchPhoneUI(This,vUser,ePhoneNumber)
  2818. #define IMessengerApp3_LaunchAudioTuningWizard(This,hwndParent) \
  2819. (This)->lpVtbl -> LaunchAudioTuningWizard(This,hwndParent)
  2820. #define IMessengerApp3_LaunchPagerUI(This,vUser,ppIMWindow) \
  2821. (This)->lpVtbl -> LaunchPagerUI(This,vUser,ppIMWindow)
  2822. #endif /* COBJMACROS */
  2823. #endif /* C style interface */
  2824. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerApp3_LaunchPagerUI_Proxy(
  2825. IMessengerApp3 __RPC_FAR * This,
  2826. /* [in] */ VARIANT vUser,
  2827. /* [retval][out] */ IMessengerIMWindow __RPC_FAR *__RPC_FAR *ppIMWindow);
  2828. void __RPC_STUB IMessengerApp3_LaunchPagerUI_Stub(
  2829. IRpcStubBuffer *This,
  2830. IRpcChannelBuffer *_pRpcChannelBuffer,
  2831. PRPC_MESSAGE _pRpcMessage,
  2832. DWORD *_pdwStubPhase);
  2833. #endif /* __IMessengerApp3_INTERFACE_DEFINED__ */
  2834. #ifndef __IMessengerIMWindow_INTERFACE_DEFINED__
  2835. #define __IMessengerIMWindow_INTERFACE_DEFINED__
  2836. /* interface IMessengerIMWindow */
  2837. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  2838. EXTERN_C const IID IID_IMessengerIMWindow;
  2839. #if defined(__cplusplus) && !defined(CINTERFACE)
  2840. MIDL_INTERFACE("35EDD1CD-1A8C-11d2-B49D-00C04FB90376")
  2841. IMessengerIMWindow : public IDispatch
  2842. {
  2843. public:
  2844. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Application(
  2845. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp) = 0;
  2846. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Parent(
  2847. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp) = 0;
  2848. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_IMSession(
  2849. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession) = 0;
  2850. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_History(
  2851. /* [retval][out] */ BSTR __RPC_FAR *pbstrHistory) = 0;
  2852. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendText(
  2853. /* [in] */ BSTR bstrSendText) = 0;
  2854. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  2855. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ToolBar(
  2856. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolToolBar) = 0;
  2857. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_ToolBar(
  2858. /* [in] */ VARIANT_BOOL BoolToolBar) = 0;
  2859. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_StatusBar(
  2860. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolStatusBar) = 0;
  2861. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_StatusBar(
  2862. /* [in] */ VARIANT_BOOL BoolStatusBar) = 0;
  2863. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_StatusText(
  2864. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatusText) = 0;
  2865. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_StatusText(
  2866. /* [in] */ BSTR bstrStatusText) = 0;
  2867. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_HWND(
  2868. /* [retval][out] */ long __RPC_FAR *phWnd) = 0;
  2869. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Left(
  2870. /* [retval][out] */ long __RPC_FAR *plLeft) = 0;
  2871. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Left(
  2872. /* [in] */ long lLeft) = 0;
  2873. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Top(
  2874. /* [retval][out] */ long __RPC_FAR *plTop) = 0;
  2875. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Top(
  2876. /* [in] */ long lTop) = 0;
  2877. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Width(
  2878. /* [retval][out] */ long __RPC_FAR *plWidth) = 0;
  2879. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Width(
  2880. /* [in] */ long lWidth) = 0;
  2881. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Height(
  2882. /* [retval][out] */ long __RPC_FAR *plHeight) = 0;
  2883. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Height(
  2884. /* [in] */ long lHeight) = 0;
  2885. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Visible(
  2886. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolVisible) = 0;
  2887. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Visible(
  2888. /* [in] */ VARIANT_BOOL BoolVisible) = 0;
  2889. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Members(
  2890. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers) = 0;
  2891. };
  2892. #else /* C style interface */
  2893. typedef struct IMessengerIMWindowVtbl
  2894. {
  2895. BEGIN_INTERFACE
  2896. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2897. IMessengerIMWindow __RPC_FAR * This,
  2898. /* [in] */ REFIID riid,
  2899. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2900. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2901. IMessengerIMWindow __RPC_FAR * This);
  2902. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2903. IMessengerIMWindow __RPC_FAR * This);
  2904. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2905. IMessengerIMWindow __RPC_FAR * This,
  2906. /* [out] */ UINT __RPC_FAR *pctinfo);
  2907. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2908. IMessengerIMWindow __RPC_FAR * This,
  2909. /* [in] */ UINT iTInfo,
  2910. /* [in] */ LCID lcid,
  2911. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2912. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2913. IMessengerIMWindow __RPC_FAR * This,
  2914. /* [in] */ REFIID riid,
  2915. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2916. /* [in] */ UINT cNames,
  2917. /* [in] */ LCID lcid,
  2918. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2919. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2920. IMessengerIMWindow __RPC_FAR * This,
  2921. /* [in] */ DISPID dispIdMember,
  2922. /* [in] */ REFIID riid,
  2923. /* [in] */ LCID lcid,
  2924. /* [in] */ WORD wFlags,
  2925. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2926. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2927. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2928. /* [out] */ UINT __RPC_FAR *puArgErr);
  2929. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Application )(
  2930. IMessengerIMWindow __RPC_FAR * This,
  2931. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  2932. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Parent )(
  2933. IMessengerIMWindow __RPC_FAR * This,
  2934. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  2935. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IMSession )(
  2936. IMessengerIMWindow __RPC_FAR * This,
  2937. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession);
  2938. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_History )(
  2939. IMessengerIMWindow __RPC_FAR * This,
  2940. /* [retval][out] */ BSTR __RPC_FAR *pbstrHistory);
  2941. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendText )(
  2942. IMessengerIMWindow __RPC_FAR * This,
  2943. /* [in] */ BSTR bstrSendText);
  2944. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Close )(
  2945. IMessengerIMWindow __RPC_FAR * This);
  2946. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ToolBar )(
  2947. IMessengerIMWindow __RPC_FAR * This,
  2948. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolToolBar);
  2949. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ToolBar )(
  2950. IMessengerIMWindow __RPC_FAR * This,
  2951. /* [in] */ VARIANT_BOOL BoolToolBar);
  2952. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_StatusBar )(
  2953. IMessengerIMWindow __RPC_FAR * This,
  2954. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolStatusBar);
  2955. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_StatusBar )(
  2956. IMessengerIMWindow __RPC_FAR * This,
  2957. /* [in] */ VARIANT_BOOL BoolStatusBar);
  2958. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_StatusText )(
  2959. IMessengerIMWindow __RPC_FAR * This,
  2960. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatusText);
  2961. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_StatusText )(
  2962. IMessengerIMWindow __RPC_FAR * This,
  2963. /* [in] */ BSTR bstrStatusText);
  2964. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_HWND )(
  2965. IMessengerIMWindow __RPC_FAR * This,
  2966. /* [retval][out] */ long __RPC_FAR *phWnd);
  2967. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Left )(
  2968. IMessengerIMWindow __RPC_FAR * This,
  2969. /* [retval][out] */ long __RPC_FAR *plLeft);
  2970. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Left )(
  2971. IMessengerIMWindow __RPC_FAR * This,
  2972. /* [in] */ long lLeft);
  2973. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Top )(
  2974. IMessengerIMWindow __RPC_FAR * This,
  2975. /* [retval][out] */ long __RPC_FAR *plTop);
  2976. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Top )(
  2977. IMessengerIMWindow __RPC_FAR * This,
  2978. /* [in] */ long lTop);
  2979. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Width )(
  2980. IMessengerIMWindow __RPC_FAR * This,
  2981. /* [retval][out] */ long __RPC_FAR *plWidth);
  2982. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Width )(
  2983. IMessengerIMWindow __RPC_FAR * This,
  2984. /* [in] */ long lWidth);
  2985. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Height )(
  2986. IMessengerIMWindow __RPC_FAR * This,
  2987. /* [retval][out] */ long __RPC_FAR *plHeight);
  2988. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Height )(
  2989. IMessengerIMWindow __RPC_FAR * This,
  2990. /* [in] */ long lHeight);
  2991. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Visible )(
  2992. IMessengerIMWindow __RPC_FAR * This,
  2993. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolVisible);
  2994. /* [propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Visible )(
  2995. IMessengerIMWindow __RPC_FAR * This,
  2996. /* [in] */ VARIANT_BOOL BoolVisible);
  2997. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Members )(
  2998. IMessengerIMWindow __RPC_FAR * This,
  2999. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers);
  3000. END_INTERFACE
  3001. } IMessengerIMWindowVtbl;
  3002. interface IMessengerIMWindow
  3003. {
  3004. CONST_VTBL struct IMessengerIMWindowVtbl __RPC_FAR *lpVtbl;
  3005. };
  3006. #ifdef COBJMACROS
  3007. #define IMessengerIMWindow_QueryInterface(This,riid,ppvObject) \
  3008. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3009. #define IMessengerIMWindow_AddRef(This) \
  3010. (This)->lpVtbl -> AddRef(This)
  3011. #define IMessengerIMWindow_Release(This) \
  3012. (This)->lpVtbl -> Release(This)
  3013. #define IMessengerIMWindow_GetTypeInfoCount(This,pctinfo) \
  3014. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3015. #define IMessengerIMWindow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3016. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3017. #define IMessengerIMWindow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3018. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3019. #define IMessengerIMWindow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3020. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3021. #define IMessengerIMWindow_get_Application(This,ppDisp) \
  3022. (This)->lpVtbl -> get_Application(This,ppDisp)
  3023. #define IMessengerIMWindow_get_Parent(This,ppDisp) \
  3024. (This)->lpVtbl -> get_Parent(This,ppDisp)
  3025. #define IMessengerIMWindow_get_IMSession(This,ppIMSession) \
  3026. (This)->lpVtbl -> get_IMSession(This,ppIMSession)
  3027. #define IMessengerIMWindow_get_History(This,pbstrHistory) \
  3028. (This)->lpVtbl -> get_History(This,pbstrHistory)
  3029. #define IMessengerIMWindow_SendText(This,bstrSendText) \
  3030. (This)->lpVtbl -> SendText(This,bstrSendText)
  3031. #define IMessengerIMWindow_Close(This) \
  3032. (This)->lpVtbl -> Close(This)
  3033. #define IMessengerIMWindow_get_ToolBar(This,pBoolToolBar) \
  3034. (This)->lpVtbl -> get_ToolBar(This,pBoolToolBar)
  3035. #define IMessengerIMWindow_put_ToolBar(This,BoolToolBar) \
  3036. (This)->lpVtbl -> put_ToolBar(This,BoolToolBar)
  3037. #define IMessengerIMWindow_get_StatusBar(This,pBoolStatusBar) \
  3038. (This)->lpVtbl -> get_StatusBar(This,pBoolStatusBar)
  3039. #define IMessengerIMWindow_put_StatusBar(This,BoolStatusBar) \
  3040. (This)->lpVtbl -> put_StatusBar(This,BoolStatusBar)
  3041. #define IMessengerIMWindow_get_StatusText(This,pbstrStatusText) \
  3042. (This)->lpVtbl -> get_StatusText(This,pbstrStatusText)
  3043. #define IMessengerIMWindow_put_StatusText(This,bstrStatusText) \
  3044. (This)->lpVtbl -> put_StatusText(This,bstrStatusText)
  3045. #define IMessengerIMWindow_get_HWND(This,phWnd) \
  3046. (This)->lpVtbl -> get_HWND(This,phWnd)
  3047. #define IMessengerIMWindow_get_Left(This,plLeft) \
  3048. (This)->lpVtbl -> get_Left(This,plLeft)
  3049. #define IMessengerIMWindow_put_Left(This,lLeft) \
  3050. (This)->lpVtbl -> put_Left(This,lLeft)
  3051. #define IMessengerIMWindow_get_Top(This,plTop) \
  3052. (This)->lpVtbl -> get_Top(This,plTop)
  3053. #define IMessengerIMWindow_put_Top(This,lTop) \
  3054. (This)->lpVtbl -> put_Top(This,lTop)
  3055. #define IMessengerIMWindow_get_Width(This,plWidth) \
  3056. (This)->lpVtbl -> get_Width(This,plWidth)
  3057. #define IMessengerIMWindow_put_Width(This,lWidth) \
  3058. (This)->lpVtbl -> put_Width(This,lWidth)
  3059. #define IMessengerIMWindow_get_Height(This,plHeight) \
  3060. (This)->lpVtbl -> get_Height(This,plHeight)
  3061. #define IMessengerIMWindow_put_Height(This,lHeight) \
  3062. (This)->lpVtbl -> put_Height(This,lHeight)
  3063. #define IMessengerIMWindow_get_Visible(This,pBoolVisible) \
  3064. (This)->lpVtbl -> get_Visible(This,pBoolVisible)
  3065. #define IMessengerIMWindow_put_Visible(This,BoolVisible) \
  3066. (This)->lpVtbl -> put_Visible(This,BoolVisible)
  3067. #define IMessengerIMWindow_get_Members(This,ppUsers) \
  3068. (This)->lpVtbl -> get_Members(This,ppUsers)
  3069. #endif /* COBJMACROS */
  3070. #endif /* C style interface */
  3071. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_Application_Proxy(
  3072. IMessengerIMWindow __RPC_FAR * This,
  3073. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  3074. void __RPC_STUB IMessengerIMWindow_get_Application_Stub(
  3075. IRpcStubBuffer *This,
  3076. IRpcChannelBuffer *_pRpcChannelBuffer,
  3077. PRPC_MESSAGE _pRpcMessage,
  3078. DWORD *_pdwStubPhase);
  3079. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_Parent_Proxy(
  3080. IMessengerIMWindow __RPC_FAR * This,
  3081. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  3082. void __RPC_STUB IMessengerIMWindow_get_Parent_Stub(
  3083. IRpcStubBuffer *This,
  3084. IRpcChannelBuffer *_pRpcChannelBuffer,
  3085. PRPC_MESSAGE _pRpcMessage,
  3086. DWORD *_pdwStubPhase);
  3087. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_IMSession_Proxy(
  3088. IMessengerIMWindow __RPC_FAR * This,
  3089. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession);
  3090. void __RPC_STUB IMessengerIMWindow_get_IMSession_Stub(
  3091. IRpcStubBuffer *This,
  3092. IRpcChannelBuffer *_pRpcChannelBuffer,
  3093. PRPC_MESSAGE _pRpcMessage,
  3094. DWORD *_pdwStubPhase);
  3095. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_History_Proxy(
  3096. IMessengerIMWindow __RPC_FAR * This,
  3097. /* [retval][out] */ BSTR __RPC_FAR *pbstrHistory);
  3098. void __RPC_STUB IMessengerIMWindow_get_History_Stub(
  3099. IRpcStubBuffer *This,
  3100. IRpcChannelBuffer *_pRpcChannelBuffer,
  3101. PRPC_MESSAGE _pRpcMessage,
  3102. DWORD *_pdwStubPhase);
  3103. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_SendText_Proxy(
  3104. IMessengerIMWindow __RPC_FAR * This,
  3105. /* [in] */ BSTR bstrSendText);
  3106. void __RPC_STUB IMessengerIMWindow_SendText_Stub(
  3107. IRpcStubBuffer *This,
  3108. IRpcChannelBuffer *_pRpcChannelBuffer,
  3109. PRPC_MESSAGE _pRpcMessage,
  3110. DWORD *_pdwStubPhase);
  3111. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_Close_Proxy(
  3112. IMessengerIMWindow __RPC_FAR * This);
  3113. void __RPC_STUB IMessengerIMWindow_Close_Stub(
  3114. IRpcStubBuffer *This,
  3115. IRpcChannelBuffer *_pRpcChannelBuffer,
  3116. PRPC_MESSAGE _pRpcMessage,
  3117. DWORD *_pdwStubPhase);
  3118. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_ToolBar_Proxy(
  3119. IMessengerIMWindow __RPC_FAR * This,
  3120. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolToolBar);
  3121. void __RPC_STUB IMessengerIMWindow_get_ToolBar_Stub(
  3122. IRpcStubBuffer *This,
  3123. IRpcChannelBuffer *_pRpcChannelBuffer,
  3124. PRPC_MESSAGE _pRpcMessage,
  3125. DWORD *_pdwStubPhase);
  3126. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_put_ToolBar_Proxy(
  3127. IMessengerIMWindow __RPC_FAR * This,
  3128. /* [in] */ VARIANT_BOOL BoolToolBar);
  3129. void __RPC_STUB IMessengerIMWindow_put_ToolBar_Stub(
  3130. IRpcStubBuffer *This,
  3131. IRpcChannelBuffer *_pRpcChannelBuffer,
  3132. PRPC_MESSAGE _pRpcMessage,
  3133. DWORD *_pdwStubPhase);
  3134. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_StatusBar_Proxy(
  3135. IMessengerIMWindow __RPC_FAR * This,
  3136. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolStatusBar);
  3137. void __RPC_STUB IMessengerIMWindow_get_StatusBar_Stub(
  3138. IRpcStubBuffer *This,
  3139. IRpcChannelBuffer *_pRpcChannelBuffer,
  3140. PRPC_MESSAGE _pRpcMessage,
  3141. DWORD *_pdwStubPhase);
  3142. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_put_StatusBar_Proxy(
  3143. IMessengerIMWindow __RPC_FAR * This,
  3144. /* [in] */ VARIANT_BOOL BoolStatusBar);
  3145. void __RPC_STUB IMessengerIMWindow_put_StatusBar_Stub(
  3146. IRpcStubBuffer *This,
  3147. IRpcChannelBuffer *_pRpcChannelBuffer,
  3148. PRPC_MESSAGE _pRpcMessage,
  3149. DWORD *_pdwStubPhase);
  3150. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_StatusText_Proxy(
  3151. IMessengerIMWindow __RPC_FAR * This,
  3152. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatusText);
  3153. void __RPC_STUB IMessengerIMWindow_get_StatusText_Stub(
  3154. IRpcStubBuffer *This,
  3155. IRpcChannelBuffer *_pRpcChannelBuffer,
  3156. PRPC_MESSAGE _pRpcMessage,
  3157. DWORD *_pdwStubPhase);
  3158. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_put_StatusText_Proxy(
  3159. IMessengerIMWindow __RPC_FAR * This,
  3160. /* [in] */ BSTR bstrStatusText);
  3161. void __RPC_STUB IMessengerIMWindow_put_StatusText_Stub(
  3162. IRpcStubBuffer *This,
  3163. IRpcChannelBuffer *_pRpcChannelBuffer,
  3164. PRPC_MESSAGE _pRpcMessage,
  3165. DWORD *_pdwStubPhase);
  3166. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_HWND_Proxy(
  3167. IMessengerIMWindow __RPC_FAR * This,
  3168. /* [retval][out] */ long __RPC_FAR *phWnd);
  3169. void __RPC_STUB IMessengerIMWindow_get_HWND_Stub(
  3170. IRpcStubBuffer *This,
  3171. IRpcChannelBuffer *_pRpcChannelBuffer,
  3172. PRPC_MESSAGE _pRpcMessage,
  3173. DWORD *_pdwStubPhase);
  3174. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_Left_Proxy(
  3175. IMessengerIMWindow __RPC_FAR * This,
  3176. /* [retval][out] */ long __RPC_FAR *plLeft);
  3177. void __RPC_STUB IMessengerIMWindow_get_Left_Stub(
  3178. IRpcStubBuffer *This,
  3179. IRpcChannelBuffer *_pRpcChannelBuffer,
  3180. PRPC_MESSAGE _pRpcMessage,
  3181. DWORD *_pdwStubPhase);
  3182. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_put_Left_Proxy(
  3183. IMessengerIMWindow __RPC_FAR * This,
  3184. /* [in] */ long lLeft);
  3185. void __RPC_STUB IMessengerIMWindow_put_Left_Stub(
  3186. IRpcStubBuffer *This,
  3187. IRpcChannelBuffer *_pRpcChannelBuffer,
  3188. PRPC_MESSAGE _pRpcMessage,
  3189. DWORD *_pdwStubPhase);
  3190. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_Top_Proxy(
  3191. IMessengerIMWindow __RPC_FAR * This,
  3192. /* [retval][out] */ long __RPC_FAR *plTop);
  3193. void __RPC_STUB IMessengerIMWindow_get_Top_Stub(
  3194. IRpcStubBuffer *This,
  3195. IRpcChannelBuffer *_pRpcChannelBuffer,
  3196. PRPC_MESSAGE _pRpcMessage,
  3197. DWORD *_pdwStubPhase);
  3198. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_put_Top_Proxy(
  3199. IMessengerIMWindow __RPC_FAR * This,
  3200. /* [in] */ long lTop);
  3201. void __RPC_STUB IMessengerIMWindow_put_Top_Stub(
  3202. IRpcStubBuffer *This,
  3203. IRpcChannelBuffer *_pRpcChannelBuffer,
  3204. PRPC_MESSAGE _pRpcMessage,
  3205. DWORD *_pdwStubPhase);
  3206. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_Width_Proxy(
  3207. IMessengerIMWindow __RPC_FAR * This,
  3208. /* [retval][out] */ long __RPC_FAR *plWidth);
  3209. void __RPC_STUB IMessengerIMWindow_get_Width_Stub(
  3210. IRpcStubBuffer *This,
  3211. IRpcChannelBuffer *_pRpcChannelBuffer,
  3212. PRPC_MESSAGE _pRpcMessage,
  3213. DWORD *_pdwStubPhase);
  3214. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_put_Width_Proxy(
  3215. IMessengerIMWindow __RPC_FAR * This,
  3216. /* [in] */ long lWidth);
  3217. void __RPC_STUB IMessengerIMWindow_put_Width_Stub(
  3218. IRpcStubBuffer *This,
  3219. IRpcChannelBuffer *_pRpcChannelBuffer,
  3220. PRPC_MESSAGE _pRpcMessage,
  3221. DWORD *_pdwStubPhase);
  3222. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_Height_Proxy(
  3223. IMessengerIMWindow __RPC_FAR * This,
  3224. /* [retval][out] */ long __RPC_FAR *plHeight);
  3225. void __RPC_STUB IMessengerIMWindow_get_Height_Stub(
  3226. IRpcStubBuffer *This,
  3227. IRpcChannelBuffer *_pRpcChannelBuffer,
  3228. PRPC_MESSAGE _pRpcMessage,
  3229. DWORD *_pdwStubPhase);
  3230. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_put_Height_Proxy(
  3231. IMessengerIMWindow __RPC_FAR * This,
  3232. /* [in] */ long lHeight);
  3233. void __RPC_STUB IMessengerIMWindow_put_Height_Stub(
  3234. IRpcStubBuffer *This,
  3235. IRpcChannelBuffer *_pRpcChannelBuffer,
  3236. PRPC_MESSAGE _pRpcMessage,
  3237. DWORD *_pdwStubPhase);
  3238. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_Visible_Proxy(
  3239. IMessengerIMWindow __RPC_FAR * This,
  3240. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolVisible);
  3241. void __RPC_STUB IMessengerIMWindow_get_Visible_Stub(
  3242. IRpcStubBuffer *This,
  3243. IRpcChannelBuffer *_pRpcChannelBuffer,
  3244. PRPC_MESSAGE _pRpcMessage,
  3245. DWORD *_pdwStubPhase);
  3246. /* [propput] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_put_Visible_Proxy(
  3247. IMessengerIMWindow __RPC_FAR * This,
  3248. /* [in] */ VARIANT_BOOL BoolVisible);
  3249. void __RPC_STUB IMessengerIMWindow_put_Visible_Stub(
  3250. IRpcStubBuffer *This,
  3251. IRpcChannelBuffer *_pRpcChannelBuffer,
  3252. PRPC_MESSAGE _pRpcMessage,
  3253. DWORD *_pdwStubPhase);
  3254. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindow_get_Members_Proxy(
  3255. IMessengerIMWindow __RPC_FAR * This,
  3256. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers);
  3257. void __RPC_STUB IMessengerIMWindow_get_Members_Stub(
  3258. IRpcStubBuffer *This,
  3259. IRpcChannelBuffer *_pRpcChannelBuffer,
  3260. PRPC_MESSAGE _pRpcMessage,
  3261. DWORD *_pdwStubPhase);
  3262. #endif /* __IMessengerIMWindow_INTERFACE_DEFINED__ */
  3263. #ifndef __IMessengerIMWindows_INTERFACE_DEFINED__
  3264. #define __IMessengerIMWindows_INTERFACE_DEFINED__
  3265. /* interface IMessengerIMWindows */
  3266. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  3267. EXTERN_C const IID IID_IMessengerIMWindows;
  3268. #if defined(__cplusplus) && !defined(CINTERFACE)
  3269. MIDL_INTERFACE("35EDD1CC-1A8C-11d2-B49D-00C04FB90376")
  3270. IMessengerIMWindows : public IDispatch
  3271. {
  3272. public:
  3273. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  3274. /* [retval][out] */ long __RPC_FAR *pcWindows) = 0;
  3275. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  3276. /* [in] */ long Index,
  3277. /* [retval][out] */ IMessengerIMWindow __RPC_FAR *__RPC_FAR *ppIMWindow) = 0;
  3278. virtual /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  3279. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown) = 0;
  3280. };
  3281. #else /* C style interface */
  3282. typedef struct IMessengerIMWindowsVtbl
  3283. {
  3284. BEGIN_INTERFACE
  3285. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3286. IMessengerIMWindows __RPC_FAR * This,
  3287. /* [in] */ REFIID riid,
  3288. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3289. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3290. IMessengerIMWindows __RPC_FAR * This);
  3291. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3292. IMessengerIMWindows __RPC_FAR * This);
  3293. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3294. IMessengerIMWindows __RPC_FAR * This,
  3295. /* [out] */ UINT __RPC_FAR *pctinfo);
  3296. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3297. IMessengerIMWindows __RPC_FAR * This,
  3298. /* [in] */ UINT iTInfo,
  3299. /* [in] */ LCID lcid,
  3300. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3301. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3302. IMessengerIMWindows __RPC_FAR * This,
  3303. /* [in] */ REFIID riid,
  3304. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3305. /* [in] */ UINT cNames,
  3306. /* [in] */ LCID lcid,
  3307. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3308. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3309. IMessengerIMWindows __RPC_FAR * This,
  3310. /* [in] */ DISPID dispIdMember,
  3311. /* [in] */ REFIID riid,
  3312. /* [in] */ LCID lcid,
  3313. /* [in] */ WORD wFlags,
  3314. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3315. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3316. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3317. /* [out] */ UINT __RPC_FAR *puArgErr);
  3318. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  3319. IMessengerIMWindows __RPC_FAR * This,
  3320. /* [retval][out] */ long __RPC_FAR *pcWindows);
  3321. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Item )(
  3322. IMessengerIMWindows __RPC_FAR * This,
  3323. /* [in] */ long Index,
  3324. /* [retval][out] */ IMessengerIMWindow __RPC_FAR *__RPC_FAR *ppIMWindow);
  3325. /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )(
  3326. IMessengerIMWindows __RPC_FAR * This,
  3327. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown);
  3328. END_INTERFACE
  3329. } IMessengerIMWindowsVtbl;
  3330. interface IMessengerIMWindows
  3331. {
  3332. CONST_VTBL struct IMessengerIMWindowsVtbl __RPC_FAR *lpVtbl;
  3333. };
  3334. #ifdef COBJMACROS
  3335. #define IMessengerIMWindows_QueryInterface(This,riid,ppvObject) \
  3336. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3337. #define IMessengerIMWindows_AddRef(This) \
  3338. (This)->lpVtbl -> AddRef(This)
  3339. #define IMessengerIMWindows_Release(This) \
  3340. (This)->lpVtbl -> Release(This)
  3341. #define IMessengerIMWindows_GetTypeInfoCount(This,pctinfo) \
  3342. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3343. #define IMessengerIMWindows_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3344. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3345. #define IMessengerIMWindows_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3346. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3347. #define IMessengerIMWindows_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3348. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3349. #define IMessengerIMWindows_get_Count(This,pcWindows) \
  3350. (This)->lpVtbl -> get_Count(This,pcWindows)
  3351. #define IMessengerIMWindows_Item(This,Index,ppIMWindow) \
  3352. (This)->lpVtbl -> Item(This,Index,ppIMWindow)
  3353. #define IMessengerIMWindows_get__NewEnum(This,ppUnknown) \
  3354. (This)->lpVtbl -> get__NewEnum(This,ppUnknown)
  3355. #endif /* COBJMACROS */
  3356. #endif /* C style interface */
  3357. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindows_get_Count_Proxy(
  3358. IMessengerIMWindows __RPC_FAR * This,
  3359. /* [retval][out] */ long __RPC_FAR *pcWindows);
  3360. void __RPC_STUB IMessengerIMWindows_get_Count_Stub(
  3361. IRpcStubBuffer *This,
  3362. IRpcChannelBuffer *_pRpcChannelBuffer,
  3363. PRPC_MESSAGE _pRpcMessage,
  3364. DWORD *_pdwStubPhase);
  3365. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindows_Item_Proxy(
  3366. IMessengerIMWindows __RPC_FAR * This,
  3367. /* [in] */ long Index,
  3368. /* [retval][out] */ IMessengerIMWindow __RPC_FAR *__RPC_FAR *ppIMWindow);
  3369. void __RPC_STUB IMessengerIMWindows_Item_Stub(
  3370. IRpcStubBuffer *This,
  3371. IRpcChannelBuffer *_pRpcChannelBuffer,
  3372. PRPC_MESSAGE _pRpcMessage,
  3373. DWORD *_pdwStubPhase);
  3374. /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE IMessengerIMWindows_get__NewEnum_Proxy(
  3375. IMessengerIMWindows __RPC_FAR * This,
  3376. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown);
  3377. void __RPC_STUB IMessengerIMWindows_get__NewEnum_Stub(
  3378. IRpcStubBuffer *This,
  3379. IRpcChannelBuffer *_pRpcChannelBuffer,
  3380. PRPC_MESSAGE _pRpcMessage,
  3381. DWORD *_pdwStubPhase);
  3382. #endif /* __IMessengerIMWindows_INTERFACE_DEFINED__ */
  3383. #ifndef __IMsgrServices_INTERFACE_DEFINED__
  3384. #define __IMsgrServices_INTERFACE_DEFINED__
  3385. /* interface IMsgrServices */
  3386. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  3387. EXTERN_C const IID IID_IMsgrServices;
  3388. #if defined(__cplusplus) && !defined(CINTERFACE)
  3389. MIDL_INTERFACE("659ECAD8-A5C0-11d2-A440-00C04F795683")
  3390. IMsgrServices : public IDispatch
  3391. {
  3392. public:
  3393. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_PrimaryService(
  3394. /* [in] */ IMsgrService __RPC_FAR *pService) = 0;
  3395. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PrimaryService(
  3396. /* [retval][out] */ IMsgrService __RPC_FAR *__RPC_FAR *ppService) = 0;
  3397. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  3398. /* [retval][out] */ long __RPC_FAR *pcServices) = 0;
  3399. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  3400. /* [in] */ long Index,
  3401. /* [retval][out] */ IMsgrService __RPC_FAR *__RPC_FAR *ppService) = 0;
  3402. virtual /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  3403. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown) = 0;
  3404. };
  3405. #else /* C style interface */
  3406. typedef struct IMsgrServicesVtbl
  3407. {
  3408. BEGIN_INTERFACE
  3409. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3410. IMsgrServices __RPC_FAR * This,
  3411. /* [in] */ REFIID riid,
  3412. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3413. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3414. IMsgrServices __RPC_FAR * This);
  3415. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3416. IMsgrServices __RPC_FAR * This);
  3417. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3418. IMsgrServices __RPC_FAR * This,
  3419. /* [out] */ UINT __RPC_FAR *pctinfo);
  3420. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3421. IMsgrServices __RPC_FAR * This,
  3422. /* [in] */ UINT iTInfo,
  3423. /* [in] */ LCID lcid,
  3424. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3425. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3426. IMsgrServices __RPC_FAR * This,
  3427. /* [in] */ REFIID riid,
  3428. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3429. /* [in] */ UINT cNames,
  3430. /* [in] */ LCID lcid,
  3431. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3432. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3433. IMsgrServices __RPC_FAR * This,
  3434. /* [in] */ DISPID dispIdMember,
  3435. /* [in] */ REFIID riid,
  3436. /* [in] */ LCID lcid,
  3437. /* [in] */ WORD wFlags,
  3438. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3439. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3440. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3441. /* [out] */ UINT __RPC_FAR *puArgErr);
  3442. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_PrimaryService )(
  3443. IMsgrServices __RPC_FAR * This,
  3444. /* [in] */ IMsgrService __RPC_FAR *pService);
  3445. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PrimaryService )(
  3446. IMsgrServices __RPC_FAR * This,
  3447. /* [retval][out] */ IMsgrService __RPC_FAR *__RPC_FAR *ppService);
  3448. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  3449. IMsgrServices __RPC_FAR * This,
  3450. /* [retval][out] */ long __RPC_FAR *pcServices);
  3451. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Item )(
  3452. IMsgrServices __RPC_FAR * This,
  3453. /* [in] */ long Index,
  3454. /* [retval][out] */ IMsgrService __RPC_FAR *__RPC_FAR *ppService);
  3455. /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )(
  3456. IMsgrServices __RPC_FAR * This,
  3457. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown);
  3458. END_INTERFACE
  3459. } IMsgrServicesVtbl;
  3460. interface IMsgrServices
  3461. {
  3462. CONST_VTBL struct IMsgrServicesVtbl __RPC_FAR *lpVtbl;
  3463. };
  3464. #ifdef COBJMACROS
  3465. #define IMsgrServices_QueryInterface(This,riid,ppvObject) \
  3466. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3467. #define IMsgrServices_AddRef(This) \
  3468. (This)->lpVtbl -> AddRef(This)
  3469. #define IMsgrServices_Release(This) \
  3470. (This)->lpVtbl -> Release(This)
  3471. #define IMsgrServices_GetTypeInfoCount(This,pctinfo) \
  3472. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3473. #define IMsgrServices_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3474. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3475. #define IMsgrServices_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3476. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3477. #define IMsgrServices_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3478. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3479. #define IMsgrServices_put_PrimaryService(This,pService) \
  3480. (This)->lpVtbl -> put_PrimaryService(This,pService)
  3481. #define IMsgrServices_get_PrimaryService(This,ppService) \
  3482. (This)->lpVtbl -> get_PrimaryService(This,ppService)
  3483. #define IMsgrServices_get_Count(This,pcServices) \
  3484. (This)->lpVtbl -> get_Count(This,pcServices)
  3485. #define IMsgrServices_Item(This,Index,ppService) \
  3486. (This)->lpVtbl -> Item(This,Index,ppService)
  3487. #define IMsgrServices_get__NewEnum(This,ppUnknown) \
  3488. (This)->lpVtbl -> get__NewEnum(This,ppUnknown)
  3489. #endif /* COBJMACROS */
  3490. #endif /* C style interface */
  3491. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrServices_put_PrimaryService_Proxy(
  3492. IMsgrServices __RPC_FAR * This,
  3493. /* [in] */ IMsgrService __RPC_FAR *pService);
  3494. void __RPC_STUB IMsgrServices_put_PrimaryService_Stub(
  3495. IRpcStubBuffer *This,
  3496. IRpcChannelBuffer *_pRpcChannelBuffer,
  3497. PRPC_MESSAGE _pRpcMessage,
  3498. DWORD *_pdwStubPhase);
  3499. /* [propget] */ HRESULT STDMETHODCALLTYPE IMsgrServices_get_PrimaryService_Proxy(
  3500. IMsgrServices __RPC_FAR * This,
  3501. /* [retval][out] */ IMsgrService __RPC_FAR *__RPC_FAR *ppService);
  3502. void __RPC_STUB IMsgrServices_get_PrimaryService_Stub(
  3503. IRpcStubBuffer *This,
  3504. IRpcChannelBuffer *_pRpcChannelBuffer,
  3505. PRPC_MESSAGE _pRpcMessage,
  3506. DWORD *_pdwStubPhase);
  3507. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrServices_get_Count_Proxy(
  3508. IMsgrServices __RPC_FAR * This,
  3509. /* [retval][out] */ long __RPC_FAR *pcServices);
  3510. void __RPC_STUB IMsgrServices_get_Count_Stub(
  3511. IRpcStubBuffer *This,
  3512. IRpcChannelBuffer *_pRpcChannelBuffer,
  3513. PRPC_MESSAGE _pRpcMessage,
  3514. DWORD *_pdwStubPhase);
  3515. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrServices_Item_Proxy(
  3516. IMsgrServices __RPC_FAR * This,
  3517. /* [in] */ long Index,
  3518. /* [retval][out] */ IMsgrService __RPC_FAR *__RPC_FAR *ppService);
  3519. void __RPC_STUB IMsgrServices_Item_Stub(
  3520. IRpcStubBuffer *This,
  3521. IRpcChannelBuffer *_pRpcChannelBuffer,
  3522. PRPC_MESSAGE _pRpcMessage,
  3523. DWORD *_pdwStubPhase);
  3524. /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE IMsgrServices_get__NewEnum_Proxy(
  3525. IMsgrServices __RPC_FAR * This,
  3526. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown);
  3527. void __RPC_STUB IMsgrServices_get__NewEnum_Stub(
  3528. IRpcStubBuffer *This,
  3529. IRpcChannelBuffer *_pRpcChannelBuffer,
  3530. PRPC_MESSAGE _pRpcMessage,
  3531. DWORD *_pdwStubPhase);
  3532. #endif /* __IMsgrServices_INTERFACE_DEFINED__ */
  3533. #ifndef __IMsgrService_INTERFACE_DEFINED__
  3534. #define __IMsgrService_INTERFACE_DEFINED__
  3535. /* interface IMsgrService */
  3536. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  3537. EXTERN_C const IID IID_IMsgrService;
  3538. #if defined(__cplusplus) && !defined(CINTERFACE)
  3539. MIDL_INTERFACE("659ECAD9-A5C0-11d2-A440-00C04F795683")
  3540. IMsgrService : public IDispatch
  3541. {
  3542. public:
  3543. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ServiceName(
  3544. /* [retval][out] */ BSTR __RPC_FAR *pbstrServiceName) = 0;
  3545. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LogonName(
  3546. /* [retval][out] */ BSTR __RPC_FAR *pbstrName) = 0;
  3547. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_FriendlyName(
  3548. /* [in] */ BSTR bstrName) = 0;
  3549. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_FriendlyName(
  3550. /* [retval][out] */ BSTR __RPC_FAR *pbstrName) = 0;
  3551. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Capabilities(
  3552. /* [retval][out] */ LONG __RPC_FAR *plCapabilities) = 0;
  3553. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Status(
  3554. /* [retval][out] */ MSVCSTATUS __RPC_FAR *pmStatus) = 0;
  3555. virtual /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE Logoff( void) = 0;
  3556. virtual /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE FindUser(
  3557. /* [in] */ BSTR bstrFirstName,
  3558. /* [in] */ BSTR bstrLastName,
  3559. /* [in] */ BSTR bstrCity,
  3560. /* [in] */ BSTR bstrState,
  3561. /* [in] */ BSTR bstrCountry,
  3562. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  3563. virtual /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE SendInviteMail(
  3564. /* [in] */ BSTR bstrEmailAddress,
  3565. /* [in] */ LONG lFindCookie,
  3566. /* [in] */ LONG lFindIndex,
  3567. /* [in] */ LONG lLCID,
  3568. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  3569. virtual /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE RequestURLPost(
  3570. /* [in] */ MURLTYPE muType,
  3571. /* [in] */ BSTR bstrAdditionalInfo,
  3572. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  3573. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_ProfileField(
  3574. /* [in] */ MPFLFIELD mpflField,
  3575. /* [in] */ VARIANT vFieldValue) = 0;
  3576. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ProfileField(
  3577. /* [in] */ MPFLFIELD mpflField,
  3578. /* [retval][out] */ VARIANT __RPC_FAR *pvFieldValue) = 0;
  3579. };
  3580. #else /* C style interface */
  3581. typedef struct IMsgrServiceVtbl
  3582. {
  3583. BEGIN_INTERFACE
  3584. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3585. IMsgrService __RPC_FAR * This,
  3586. /* [in] */ REFIID riid,
  3587. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3588. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3589. IMsgrService __RPC_FAR * This);
  3590. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3591. IMsgrService __RPC_FAR * This);
  3592. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3593. IMsgrService __RPC_FAR * This,
  3594. /* [out] */ UINT __RPC_FAR *pctinfo);
  3595. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3596. IMsgrService __RPC_FAR * This,
  3597. /* [in] */ UINT iTInfo,
  3598. /* [in] */ LCID lcid,
  3599. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3600. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3601. IMsgrService __RPC_FAR * This,
  3602. /* [in] */ REFIID riid,
  3603. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3604. /* [in] */ UINT cNames,
  3605. /* [in] */ LCID lcid,
  3606. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3607. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3608. IMsgrService __RPC_FAR * This,
  3609. /* [in] */ DISPID dispIdMember,
  3610. /* [in] */ REFIID riid,
  3611. /* [in] */ LCID lcid,
  3612. /* [in] */ WORD wFlags,
  3613. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3614. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3615. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3616. /* [out] */ UINT __RPC_FAR *puArgErr);
  3617. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ServiceName )(
  3618. IMsgrService __RPC_FAR * This,
  3619. /* [retval][out] */ BSTR __RPC_FAR *pbstrServiceName);
  3620. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LogonName )(
  3621. IMsgrService __RPC_FAR * This,
  3622. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  3623. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_FriendlyName )(
  3624. IMsgrService __RPC_FAR * This,
  3625. /* [in] */ BSTR bstrName);
  3626. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FriendlyName )(
  3627. IMsgrService __RPC_FAR * This,
  3628. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  3629. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Capabilities )(
  3630. IMsgrService __RPC_FAR * This,
  3631. /* [retval][out] */ LONG __RPC_FAR *plCapabilities);
  3632. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Status )(
  3633. IMsgrService __RPC_FAR * This,
  3634. /* [retval][out] */ MSVCSTATUS __RPC_FAR *pmStatus);
  3635. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Logoff )(
  3636. IMsgrService __RPC_FAR * This);
  3637. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindUser )(
  3638. IMsgrService __RPC_FAR * This,
  3639. /* [in] */ BSTR bstrFirstName,
  3640. /* [in] */ BSTR bstrLastName,
  3641. /* [in] */ BSTR bstrCity,
  3642. /* [in] */ BSTR bstrState,
  3643. /* [in] */ BSTR bstrCountry,
  3644. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  3645. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendInviteMail )(
  3646. IMsgrService __RPC_FAR * This,
  3647. /* [in] */ BSTR bstrEmailAddress,
  3648. /* [in] */ LONG lFindCookie,
  3649. /* [in] */ LONG lFindIndex,
  3650. /* [in] */ LONG lLCID,
  3651. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  3652. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestURLPost )(
  3653. IMsgrService __RPC_FAR * This,
  3654. /* [in] */ MURLTYPE muType,
  3655. /* [in] */ BSTR bstrAdditionalInfo,
  3656. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  3657. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ProfileField )(
  3658. IMsgrService __RPC_FAR * This,
  3659. /* [in] */ MPFLFIELD mpflField,
  3660. /* [in] */ VARIANT vFieldValue);
  3661. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ProfileField )(
  3662. IMsgrService __RPC_FAR * This,
  3663. /* [in] */ MPFLFIELD mpflField,
  3664. /* [retval][out] */ VARIANT __RPC_FAR *pvFieldValue);
  3665. END_INTERFACE
  3666. } IMsgrServiceVtbl;
  3667. interface IMsgrService
  3668. {
  3669. CONST_VTBL struct IMsgrServiceVtbl __RPC_FAR *lpVtbl;
  3670. };
  3671. #ifdef COBJMACROS
  3672. #define IMsgrService_QueryInterface(This,riid,ppvObject) \
  3673. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3674. #define IMsgrService_AddRef(This) \
  3675. (This)->lpVtbl -> AddRef(This)
  3676. #define IMsgrService_Release(This) \
  3677. (This)->lpVtbl -> Release(This)
  3678. #define IMsgrService_GetTypeInfoCount(This,pctinfo) \
  3679. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3680. #define IMsgrService_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3681. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3682. #define IMsgrService_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3683. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3684. #define IMsgrService_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3685. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3686. #define IMsgrService_get_ServiceName(This,pbstrServiceName) \
  3687. (This)->lpVtbl -> get_ServiceName(This,pbstrServiceName)
  3688. #define IMsgrService_get_LogonName(This,pbstrName) \
  3689. (This)->lpVtbl -> get_LogonName(This,pbstrName)
  3690. #define IMsgrService_put_FriendlyName(This,bstrName) \
  3691. (This)->lpVtbl -> put_FriendlyName(This,bstrName)
  3692. #define IMsgrService_get_FriendlyName(This,pbstrName) \
  3693. (This)->lpVtbl -> get_FriendlyName(This,pbstrName)
  3694. #define IMsgrService_get_Capabilities(This,plCapabilities) \
  3695. (This)->lpVtbl -> get_Capabilities(This,plCapabilities)
  3696. #define IMsgrService_get_Status(This,pmStatus) \
  3697. (This)->lpVtbl -> get_Status(This,pmStatus)
  3698. #define IMsgrService_Logoff(This) \
  3699. (This)->lpVtbl -> Logoff(This)
  3700. #define IMsgrService_FindUser(This,bstrFirstName,bstrLastName,bstrCity,bstrState,bstrCountry,plCookie) \
  3701. (This)->lpVtbl -> FindUser(This,bstrFirstName,bstrLastName,bstrCity,bstrState,bstrCountry,plCookie)
  3702. #define IMsgrService_SendInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,plCookie) \
  3703. (This)->lpVtbl -> SendInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,plCookie)
  3704. #define IMsgrService_RequestURLPost(This,muType,bstrAdditionalInfo,plCookie) \
  3705. (This)->lpVtbl -> RequestURLPost(This,muType,bstrAdditionalInfo,plCookie)
  3706. #define IMsgrService_put_ProfileField(This,mpflField,vFieldValue) \
  3707. (This)->lpVtbl -> put_ProfileField(This,mpflField,vFieldValue)
  3708. #define IMsgrService_get_ProfileField(This,mpflField,pvFieldValue) \
  3709. (This)->lpVtbl -> get_ProfileField(This,mpflField,pvFieldValue)
  3710. #endif /* COBJMACROS */
  3711. #endif /* C style interface */
  3712. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrService_get_ServiceName_Proxy(
  3713. IMsgrService __RPC_FAR * This,
  3714. /* [retval][out] */ BSTR __RPC_FAR *pbstrServiceName);
  3715. void __RPC_STUB IMsgrService_get_ServiceName_Stub(
  3716. IRpcStubBuffer *This,
  3717. IRpcChannelBuffer *_pRpcChannelBuffer,
  3718. PRPC_MESSAGE _pRpcMessage,
  3719. DWORD *_pdwStubPhase);
  3720. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrService_get_LogonName_Proxy(
  3721. IMsgrService __RPC_FAR * This,
  3722. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  3723. void __RPC_STUB IMsgrService_get_LogonName_Stub(
  3724. IRpcStubBuffer *This,
  3725. IRpcChannelBuffer *_pRpcChannelBuffer,
  3726. PRPC_MESSAGE _pRpcMessage,
  3727. DWORD *_pdwStubPhase);
  3728. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrService_put_FriendlyName_Proxy(
  3729. IMsgrService __RPC_FAR * This,
  3730. /* [in] */ BSTR bstrName);
  3731. void __RPC_STUB IMsgrService_put_FriendlyName_Stub(
  3732. IRpcStubBuffer *This,
  3733. IRpcChannelBuffer *_pRpcChannelBuffer,
  3734. PRPC_MESSAGE _pRpcMessage,
  3735. DWORD *_pdwStubPhase);
  3736. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrService_get_FriendlyName_Proxy(
  3737. IMsgrService __RPC_FAR * This,
  3738. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  3739. void __RPC_STUB IMsgrService_get_FriendlyName_Stub(
  3740. IRpcStubBuffer *This,
  3741. IRpcChannelBuffer *_pRpcChannelBuffer,
  3742. PRPC_MESSAGE _pRpcMessage,
  3743. DWORD *_pdwStubPhase);
  3744. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrService_get_Capabilities_Proxy(
  3745. IMsgrService __RPC_FAR * This,
  3746. /* [retval][out] */ LONG __RPC_FAR *plCapabilities);
  3747. void __RPC_STUB IMsgrService_get_Capabilities_Stub(
  3748. IRpcStubBuffer *This,
  3749. IRpcChannelBuffer *_pRpcChannelBuffer,
  3750. PRPC_MESSAGE _pRpcMessage,
  3751. DWORD *_pdwStubPhase);
  3752. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrService_get_Status_Proxy(
  3753. IMsgrService __RPC_FAR * This,
  3754. /* [retval][out] */ MSVCSTATUS __RPC_FAR *pmStatus);
  3755. void __RPC_STUB IMsgrService_get_Status_Stub(
  3756. IRpcStubBuffer *This,
  3757. IRpcChannelBuffer *_pRpcChannelBuffer,
  3758. PRPC_MESSAGE _pRpcMessage,
  3759. DWORD *_pdwStubPhase);
  3760. /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE IMsgrService_Logoff_Proxy(
  3761. IMsgrService __RPC_FAR * This);
  3762. void __RPC_STUB IMsgrService_Logoff_Stub(
  3763. IRpcStubBuffer *This,
  3764. IRpcChannelBuffer *_pRpcChannelBuffer,
  3765. PRPC_MESSAGE _pRpcMessage,
  3766. DWORD *_pdwStubPhase);
  3767. /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE IMsgrService_FindUser_Proxy(
  3768. IMsgrService __RPC_FAR * This,
  3769. /* [in] */ BSTR bstrFirstName,
  3770. /* [in] */ BSTR bstrLastName,
  3771. /* [in] */ BSTR bstrCity,
  3772. /* [in] */ BSTR bstrState,
  3773. /* [in] */ BSTR bstrCountry,
  3774. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  3775. void __RPC_STUB IMsgrService_FindUser_Stub(
  3776. IRpcStubBuffer *This,
  3777. IRpcChannelBuffer *_pRpcChannelBuffer,
  3778. PRPC_MESSAGE _pRpcMessage,
  3779. DWORD *_pdwStubPhase);
  3780. /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE IMsgrService_SendInviteMail_Proxy(
  3781. IMsgrService __RPC_FAR * This,
  3782. /* [in] */ BSTR bstrEmailAddress,
  3783. /* [in] */ LONG lFindCookie,
  3784. /* [in] */ LONG lFindIndex,
  3785. /* [in] */ LONG lLCID,
  3786. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  3787. void __RPC_STUB IMsgrService_SendInviteMail_Stub(
  3788. IRpcStubBuffer *This,
  3789. IRpcChannelBuffer *_pRpcChannelBuffer,
  3790. PRPC_MESSAGE _pRpcMessage,
  3791. DWORD *_pdwStubPhase);
  3792. /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE IMsgrService_RequestURLPost_Proxy(
  3793. IMsgrService __RPC_FAR * This,
  3794. /* [in] */ MURLTYPE muType,
  3795. /* [in] */ BSTR bstrAdditionalInfo,
  3796. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  3797. void __RPC_STUB IMsgrService_RequestURLPost_Stub(
  3798. IRpcStubBuffer *This,
  3799. IRpcChannelBuffer *_pRpcChannelBuffer,
  3800. PRPC_MESSAGE _pRpcMessage,
  3801. DWORD *_pdwStubPhase);
  3802. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrService_put_ProfileField_Proxy(
  3803. IMsgrService __RPC_FAR * This,
  3804. /* [in] */ MPFLFIELD mpflField,
  3805. /* [in] */ VARIANT vFieldValue);
  3806. void __RPC_STUB IMsgrService_put_ProfileField_Stub(
  3807. IRpcStubBuffer *This,
  3808. IRpcChannelBuffer *_pRpcChannelBuffer,
  3809. PRPC_MESSAGE _pRpcMessage,
  3810. DWORD *_pdwStubPhase);
  3811. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrService_get_ProfileField_Proxy(
  3812. IMsgrService __RPC_FAR * This,
  3813. /* [in] */ MPFLFIELD mpflField,
  3814. /* [retval][out] */ VARIANT __RPC_FAR *pvFieldValue);
  3815. void __RPC_STUB IMsgrService_get_ProfileField_Stub(
  3816. IRpcStubBuffer *This,
  3817. IRpcChannelBuffer *_pRpcChannelBuffer,
  3818. PRPC_MESSAGE _pRpcMessage,
  3819. DWORD *_pdwStubPhase);
  3820. #endif /* __IMsgrService_INTERFACE_DEFINED__ */
  3821. #ifndef __IMsgrObject2_INTERFACE_DEFINED__
  3822. #define __IMsgrObject2_INTERFACE_DEFINED__
  3823. /* interface IMsgrObject2 */
  3824. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  3825. EXTERN_C const IID IID_IMsgrObject2;
  3826. #if defined(__cplusplus) && !defined(CINTERFACE)
  3827. MIDL_INTERFACE("218CB455-20B6-11d2-8E17-0000F803A446")
  3828. IMsgrObject2 : public IMsgrObject
  3829. {
  3830. public:
  3831. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendFileTransferInvite(
  3832. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  3833. /* [in] */ LONG lCookie,
  3834. /* [in] */ BSTR bstrFilePath,
  3835. /* [in] */ MMSGTYPE mmtType,
  3836. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  3837. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendFileTransferInviteAccept(
  3838. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  3839. /* [in] */ LONG lCookie,
  3840. /* [in] */ BSTR bstrFilePath,
  3841. /* [in] */ MMSGTYPE mmtType,
  3842. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  3843. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendFileTransferInviteCancel(
  3844. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  3845. /* [in] */ LONG lCookie,
  3846. /* [in] */ LONG hrReason,
  3847. /* [in] */ MMSGTYPE mmtType,
  3848. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  3849. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE CancelFileTransfer(
  3850. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  3851. /* [in] */ LONG lCookie,
  3852. /* [in] */ LONG hrReason,
  3853. /* [in] */ MMSGTYPE mmtType,
  3854. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  3855. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE FileTransferStatus(
  3856. /* [in] */ LONG lCookie,
  3857. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  3858. /* [out] */ long __RPC_FAR *plStatus,
  3859. /* [out] */ BSTR __RPC_FAR *pbstrFilePath,
  3860. /* [out] */ long __RPC_FAR *plTotalBytes,
  3861. /* [out] */ long __RPC_FAR *plBytesTransferred) = 0;
  3862. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_LocalProperty(
  3863. /* [in] */ MUSERPROPERTY ePropType,
  3864. /* [in] */ VARIANT vPropVal) = 0;
  3865. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_LocalProperty(
  3866. /* [in] */ MUSERPROPERTY ePropType,
  3867. /* [retval][out] */ VARIANT __RPC_FAR *pvPropVal) = 0;
  3868. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendPage(
  3869. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  3870. /* [in] */ BSTR bstrMessage,
  3871. /* [in] */ MUSERPROPERTY ePhoneType,
  3872. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  3873. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendCustomInviteMail(
  3874. /* [in] */ BSTR bstrEmailAddress,
  3875. /* [in] */ LONG lFindCookie,
  3876. /* [in] */ LONG lFindIndex,
  3877. /* [in] */ LONG lLCID,
  3878. /* [in] */ BSTR bstrCustomText,
  3879. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  3880. };
  3881. #else /* C style interface */
  3882. typedef struct IMsgrObject2Vtbl
  3883. {
  3884. BEGIN_INTERFACE
  3885. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3886. IMsgrObject2 __RPC_FAR * This,
  3887. /* [in] */ REFIID riid,
  3888. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3889. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3890. IMsgrObject2 __RPC_FAR * This);
  3891. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3892. IMsgrObject2 __RPC_FAR * This);
  3893. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3894. IMsgrObject2 __RPC_FAR * This,
  3895. /* [out] */ UINT __RPC_FAR *pctinfo);
  3896. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3897. IMsgrObject2 __RPC_FAR * This,
  3898. /* [in] */ UINT iTInfo,
  3899. /* [in] */ LCID lcid,
  3900. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3901. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3902. IMsgrObject2 __RPC_FAR * This,
  3903. /* [in] */ REFIID riid,
  3904. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3905. /* [in] */ UINT cNames,
  3906. /* [in] */ LCID lcid,
  3907. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3908. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3909. IMsgrObject2 __RPC_FAR * This,
  3910. /* [in] */ DISPID dispIdMember,
  3911. /* [in] */ REFIID riid,
  3912. /* [in] */ LCID lcid,
  3913. /* [in] */ WORD wFlags,
  3914. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3915. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3916. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3917. /* [out] */ UINT __RPC_FAR *puArgErr);
  3918. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateUser )(
  3919. IMsgrObject2 __RPC_FAR * This,
  3920. /* [in] */ BSTR bstrLogonName,
  3921. /* [in] */ IMsgrService __RPC_FAR *pService,
  3922. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser);
  3923. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Logon )(
  3924. IMsgrObject2 __RPC_FAR * This,
  3925. /* [in] */ BSTR bstrUser,
  3926. /* [in] */ BSTR bstrPassword,
  3927. /* [in] */ IMsgrService __RPC_FAR *pService);
  3928. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Logoff )(
  3929. IMsgrObject2 __RPC_FAR * This);
  3930. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_List )(
  3931. IMsgrObject2 __RPC_FAR * This,
  3932. /* [in] */ MLIST mList,
  3933. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers);
  3934. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocalLogonName )(
  3935. IMsgrObject2 __RPC_FAR * This,
  3936. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  3937. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocalFriendlyName )(
  3938. IMsgrObject2 __RPC_FAR * This,
  3939. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  3940. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_LocalState )(
  3941. IMsgrObject2 __RPC_FAR * This,
  3942. /* [in] */ MSTATE mState);
  3943. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocalState )(
  3944. IMsgrObject2 __RPC_FAR * This,
  3945. /* [retval][out] */ MSTATE __RPC_FAR *pmState);
  3946. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_MessagePrivacy )(
  3947. IMsgrObject2 __RPC_FAR * This,
  3948. /* [in] */ MMSGPRIVACY mmpSetting);
  3949. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MessagePrivacy )(
  3950. IMsgrObject2 __RPC_FAR * This,
  3951. /* [retval][out] */ MMSGPRIVACY __RPC_FAR *pmmpSetting);
  3952. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Prompt )(
  3953. IMsgrObject2 __RPC_FAR * This,
  3954. /* [in] */ MPROMPT mpSetting);
  3955. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Prompt )(
  3956. IMsgrObject2 __RPC_FAR * This,
  3957. /* [retval][out] */ MPROMPT __RPC_FAR *pmpSetting);
  3958. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendAppInvite )(
  3959. IMsgrObject2 __RPC_FAR * This,
  3960. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  3961. /* [in] */ LONG lCookie,
  3962. /* [in] */ BSTR bstrAppGUID,
  3963. /* [in] */ BSTR bstrAppName,
  3964. /* [in] */ BSTR bstrAppURL,
  3965. /* [in] */ LONG lInviteType,
  3966. /* [in] */ MMSGTYPE mmtType,
  3967. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  3968. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendAppInviteAccept )(
  3969. IMsgrObject2 __RPC_FAR * This,
  3970. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  3971. /* [in] */ LONG lCookie,
  3972. /* [in] */ LONG lInviteType,
  3973. /* [in] */ MMSGTYPE mmtType,
  3974. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  3975. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendAppInviteCancel )(
  3976. IMsgrObject2 __RPC_FAR * This,
  3977. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  3978. /* [in] */ LONG lCookie,
  3979. /* [in] */ LONG hrReason,
  3980. /* [in] */ MMSGTYPE mmtType,
  3981. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  3982. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_LocalOption )(
  3983. IMsgrObject2 __RPC_FAR * This,
  3984. /* [in] */ MLOCALOPTION option,
  3985. /* [in] */ VARIANT vSetting);
  3986. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocalOption )(
  3987. IMsgrObject2 __RPC_FAR * This,
  3988. /* [in] */ MLOCALOPTION option,
  3989. /* [retval][out] */ VARIANT __RPC_FAR *pvSetting);
  3990. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindUser )(
  3991. IMsgrObject2 __RPC_FAR * This,
  3992. /* [in] */ BSTR bstrFirstName,
  3993. /* [in] */ BSTR bstrLastName,
  3994. /* [in] */ BSTR bstrCity,
  3995. /* [in] */ BSTR bstrState,
  3996. /* [in] */ BSTR bstrCountry,
  3997. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  3998. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendInviteMail )(
  3999. IMsgrObject2 __RPC_FAR * This,
  4000. /* [in] */ BSTR bstrEmailAddress,
  4001. /* [in] */ LONG lFindCookie,
  4002. /* [in] */ LONG lFindIndex,
  4003. /* [in] */ LONG lLCID,
  4004. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4005. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestURLPost )(
  4006. IMsgrObject2 __RPC_FAR * This,
  4007. /* [in] */ MURLTYPE muType,
  4008. /* [in] */ BSTR bstrAdditionalInfo,
  4009. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4010. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IMSessions )(
  4011. IMsgrObject2 __RPC_FAR * This,
  4012. /* [retval][out] */ IMsgrIMSessions __RPC_FAR *__RPC_FAR *ppIMSessions);
  4013. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateIMSession )(
  4014. IMsgrObject2 __RPC_FAR * This,
  4015. /* [in] */ VARIANT vUser,
  4016. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession);
  4017. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SessionRequestAccept )(
  4018. IMsgrObject2 __RPC_FAR * This,
  4019. /* [in] */ IMsgrIMSession __RPC_FAR *pIMsgrIMSession,
  4020. /* [in] */ long hrReason);
  4021. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SessionRequestCancel )(
  4022. IMsgrObject2 __RPC_FAR * This,
  4023. /* [in] */ IMsgrIMSession __RPC_FAR *pIMsgrIMSession,
  4024. /* [in] */ long hrReason);
  4025. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Services )(
  4026. IMsgrObject2 __RPC_FAR * This,
  4027. /* [retval][out] */ IMsgrServices __RPC_FAR *__RPC_FAR *ppServices);
  4028. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_UnreadEmail )(
  4029. IMsgrObject2 __RPC_FAR * This,
  4030. /* [in] */ MFOLDER mFolder,
  4031. /* [retval][out] */ long __RPC_FAR *pcUnreadEmail);
  4032. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendFileTransferInvite )(
  4033. IMsgrObject2 __RPC_FAR * This,
  4034. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4035. /* [in] */ LONG lCookie,
  4036. /* [in] */ BSTR bstrFilePath,
  4037. /* [in] */ MMSGTYPE mmtType,
  4038. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4039. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendFileTransferInviteAccept )(
  4040. IMsgrObject2 __RPC_FAR * This,
  4041. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4042. /* [in] */ LONG lCookie,
  4043. /* [in] */ BSTR bstrFilePath,
  4044. /* [in] */ MMSGTYPE mmtType,
  4045. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4046. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendFileTransferInviteCancel )(
  4047. IMsgrObject2 __RPC_FAR * This,
  4048. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4049. /* [in] */ LONG lCookie,
  4050. /* [in] */ LONG hrReason,
  4051. /* [in] */ MMSGTYPE mmtType,
  4052. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4053. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CancelFileTransfer )(
  4054. IMsgrObject2 __RPC_FAR * This,
  4055. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4056. /* [in] */ LONG lCookie,
  4057. /* [in] */ LONG hrReason,
  4058. /* [in] */ MMSGTYPE mmtType,
  4059. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4060. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FileTransferStatus )(
  4061. IMsgrObject2 __RPC_FAR * This,
  4062. /* [in] */ LONG lCookie,
  4063. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4064. /* [out] */ long __RPC_FAR *plStatus,
  4065. /* [out] */ BSTR __RPC_FAR *pbstrFilePath,
  4066. /* [out] */ long __RPC_FAR *plTotalBytes,
  4067. /* [out] */ long __RPC_FAR *plBytesTransferred);
  4068. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_LocalProperty )(
  4069. IMsgrObject2 __RPC_FAR * This,
  4070. /* [in] */ MUSERPROPERTY ePropType,
  4071. /* [in] */ VARIANT vPropVal);
  4072. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocalProperty )(
  4073. IMsgrObject2 __RPC_FAR * This,
  4074. /* [in] */ MUSERPROPERTY ePropType,
  4075. /* [retval][out] */ VARIANT __RPC_FAR *pvPropVal);
  4076. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendPage )(
  4077. IMsgrObject2 __RPC_FAR * This,
  4078. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4079. /* [in] */ BSTR bstrMessage,
  4080. /* [in] */ MUSERPROPERTY ePhoneType,
  4081. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4082. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendCustomInviteMail )(
  4083. IMsgrObject2 __RPC_FAR * This,
  4084. /* [in] */ BSTR bstrEmailAddress,
  4085. /* [in] */ LONG lFindCookie,
  4086. /* [in] */ LONG lFindIndex,
  4087. /* [in] */ LONG lLCID,
  4088. /* [in] */ BSTR bstrCustomText,
  4089. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4090. END_INTERFACE
  4091. } IMsgrObject2Vtbl;
  4092. interface IMsgrObject2
  4093. {
  4094. CONST_VTBL struct IMsgrObject2Vtbl __RPC_FAR *lpVtbl;
  4095. };
  4096. #ifdef COBJMACROS
  4097. #define IMsgrObject2_QueryInterface(This,riid,ppvObject) \
  4098. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4099. #define IMsgrObject2_AddRef(This) \
  4100. (This)->lpVtbl -> AddRef(This)
  4101. #define IMsgrObject2_Release(This) \
  4102. (This)->lpVtbl -> Release(This)
  4103. #define IMsgrObject2_GetTypeInfoCount(This,pctinfo) \
  4104. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4105. #define IMsgrObject2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4106. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4107. #define IMsgrObject2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4108. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4109. #define IMsgrObject2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4110. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4111. #define IMsgrObject2_CreateUser(This,bstrLogonName,pService,ppUser) \
  4112. (This)->lpVtbl -> CreateUser(This,bstrLogonName,pService,ppUser)
  4113. #define IMsgrObject2_Logon(This,bstrUser,bstrPassword,pService) \
  4114. (This)->lpVtbl -> Logon(This,bstrUser,bstrPassword,pService)
  4115. #define IMsgrObject2_Logoff(This) \
  4116. (This)->lpVtbl -> Logoff(This)
  4117. #define IMsgrObject2_get_List(This,mList,ppUsers) \
  4118. (This)->lpVtbl -> get_List(This,mList,ppUsers)
  4119. #define IMsgrObject2_get_LocalLogonName(This,pbstrName) \
  4120. (This)->lpVtbl -> get_LocalLogonName(This,pbstrName)
  4121. #define IMsgrObject2_get_LocalFriendlyName(This,pbstrName) \
  4122. (This)->lpVtbl -> get_LocalFriendlyName(This,pbstrName)
  4123. #define IMsgrObject2_put_LocalState(This,mState) \
  4124. (This)->lpVtbl -> put_LocalState(This,mState)
  4125. #define IMsgrObject2_get_LocalState(This,pmState) \
  4126. (This)->lpVtbl -> get_LocalState(This,pmState)
  4127. #define IMsgrObject2_put_MessagePrivacy(This,mmpSetting) \
  4128. (This)->lpVtbl -> put_MessagePrivacy(This,mmpSetting)
  4129. #define IMsgrObject2_get_MessagePrivacy(This,pmmpSetting) \
  4130. (This)->lpVtbl -> get_MessagePrivacy(This,pmmpSetting)
  4131. #define IMsgrObject2_put_Prompt(This,mpSetting) \
  4132. (This)->lpVtbl -> put_Prompt(This,mpSetting)
  4133. #define IMsgrObject2_get_Prompt(This,pmpSetting) \
  4134. (This)->lpVtbl -> get_Prompt(This,pmpSetting)
  4135. #define IMsgrObject2_SendAppInvite(This,pUser,lCookie,bstrAppGUID,bstrAppName,bstrAppURL,lInviteType,mmtType,plCookie) \
  4136. (This)->lpVtbl -> SendAppInvite(This,pUser,lCookie,bstrAppGUID,bstrAppName,bstrAppURL,lInviteType,mmtType,plCookie)
  4137. #define IMsgrObject2_SendAppInviteAccept(This,pUser,lCookie,lInviteType,mmtType,plCookie) \
  4138. (This)->lpVtbl -> SendAppInviteAccept(This,pUser,lCookie,lInviteType,mmtType,plCookie)
  4139. #define IMsgrObject2_SendAppInviteCancel(This,pUser,lCookie,hrReason,mmtType,plCookie) \
  4140. (This)->lpVtbl -> SendAppInviteCancel(This,pUser,lCookie,hrReason,mmtType,plCookie)
  4141. #define IMsgrObject2_put_LocalOption(This,option,vSetting) \
  4142. (This)->lpVtbl -> put_LocalOption(This,option,vSetting)
  4143. #define IMsgrObject2_get_LocalOption(This,option,pvSetting) \
  4144. (This)->lpVtbl -> get_LocalOption(This,option,pvSetting)
  4145. #define IMsgrObject2_FindUser(This,bstrFirstName,bstrLastName,bstrCity,bstrState,bstrCountry,plCookie) \
  4146. (This)->lpVtbl -> FindUser(This,bstrFirstName,bstrLastName,bstrCity,bstrState,bstrCountry,plCookie)
  4147. #define IMsgrObject2_SendInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,plCookie) \
  4148. (This)->lpVtbl -> SendInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,plCookie)
  4149. #define IMsgrObject2_RequestURLPost(This,muType,bstrAdditionalInfo,plCookie) \
  4150. (This)->lpVtbl -> RequestURLPost(This,muType,bstrAdditionalInfo,plCookie)
  4151. #define IMsgrObject2_get_IMSessions(This,ppIMSessions) \
  4152. (This)->lpVtbl -> get_IMSessions(This,ppIMSessions)
  4153. #define IMsgrObject2_CreateIMSession(This,vUser,ppIMSession) \
  4154. (This)->lpVtbl -> CreateIMSession(This,vUser,ppIMSession)
  4155. #define IMsgrObject2_SessionRequestAccept(This,pIMsgrIMSession,hrReason) \
  4156. (This)->lpVtbl -> SessionRequestAccept(This,pIMsgrIMSession,hrReason)
  4157. #define IMsgrObject2_SessionRequestCancel(This,pIMsgrIMSession,hrReason) \
  4158. (This)->lpVtbl -> SessionRequestCancel(This,pIMsgrIMSession,hrReason)
  4159. #define IMsgrObject2_get_Services(This,ppServices) \
  4160. (This)->lpVtbl -> get_Services(This,ppServices)
  4161. #define IMsgrObject2_get_UnreadEmail(This,mFolder,pcUnreadEmail) \
  4162. (This)->lpVtbl -> get_UnreadEmail(This,mFolder,pcUnreadEmail)
  4163. #define IMsgrObject2_SendFileTransferInvite(This,pUser,lCookie,bstrFilePath,mmtType,plCookie) \
  4164. (This)->lpVtbl -> SendFileTransferInvite(This,pUser,lCookie,bstrFilePath,mmtType,plCookie)
  4165. #define IMsgrObject2_SendFileTransferInviteAccept(This,pUser,lCookie,bstrFilePath,mmtType,plCookie) \
  4166. (This)->lpVtbl -> SendFileTransferInviteAccept(This,pUser,lCookie,bstrFilePath,mmtType,plCookie)
  4167. #define IMsgrObject2_SendFileTransferInviteCancel(This,pUser,lCookie,hrReason,mmtType,plCookie) \
  4168. (This)->lpVtbl -> SendFileTransferInviteCancel(This,pUser,lCookie,hrReason,mmtType,plCookie)
  4169. #define IMsgrObject2_CancelFileTransfer(This,pUser,lCookie,hrReason,mmtType,plCookie) \
  4170. (This)->lpVtbl -> CancelFileTransfer(This,pUser,lCookie,hrReason,mmtType,plCookie)
  4171. #define IMsgrObject2_FileTransferStatus(This,lCookie,pUser,plStatus,pbstrFilePath,plTotalBytes,plBytesTransferred) \
  4172. (This)->lpVtbl -> FileTransferStatus(This,lCookie,pUser,plStatus,pbstrFilePath,plTotalBytes,plBytesTransferred)
  4173. #define IMsgrObject2_put_LocalProperty(This,ePropType,vPropVal) \
  4174. (This)->lpVtbl -> put_LocalProperty(This,ePropType,vPropVal)
  4175. #define IMsgrObject2_get_LocalProperty(This,ePropType,pvPropVal) \
  4176. (This)->lpVtbl -> get_LocalProperty(This,ePropType,pvPropVal)
  4177. #define IMsgrObject2_SendPage(This,pUser,bstrMessage,ePhoneType,plCookie) \
  4178. (This)->lpVtbl -> SendPage(This,pUser,bstrMessage,ePhoneType,plCookie)
  4179. #define IMsgrObject2_SendCustomInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,bstrCustomText,plCookie) \
  4180. (This)->lpVtbl -> SendCustomInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,bstrCustomText,plCookie)
  4181. #endif /* COBJMACROS */
  4182. #endif /* C style interface */
  4183. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject2_SendFileTransferInvite_Proxy(
  4184. IMsgrObject2 __RPC_FAR * This,
  4185. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4186. /* [in] */ LONG lCookie,
  4187. /* [in] */ BSTR bstrFilePath,
  4188. /* [in] */ MMSGTYPE mmtType,
  4189. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4190. void __RPC_STUB IMsgrObject2_SendFileTransferInvite_Stub(
  4191. IRpcStubBuffer *This,
  4192. IRpcChannelBuffer *_pRpcChannelBuffer,
  4193. PRPC_MESSAGE _pRpcMessage,
  4194. DWORD *_pdwStubPhase);
  4195. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject2_SendFileTransferInviteAccept_Proxy(
  4196. IMsgrObject2 __RPC_FAR * This,
  4197. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4198. /* [in] */ LONG lCookie,
  4199. /* [in] */ BSTR bstrFilePath,
  4200. /* [in] */ MMSGTYPE mmtType,
  4201. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4202. void __RPC_STUB IMsgrObject2_SendFileTransferInviteAccept_Stub(
  4203. IRpcStubBuffer *This,
  4204. IRpcChannelBuffer *_pRpcChannelBuffer,
  4205. PRPC_MESSAGE _pRpcMessage,
  4206. DWORD *_pdwStubPhase);
  4207. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject2_SendFileTransferInviteCancel_Proxy(
  4208. IMsgrObject2 __RPC_FAR * This,
  4209. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4210. /* [in] */ LONG lCookie,
  4211. /* [in] */ LONG hrReason,
  4212. /* [in] */ MMSGTYPE mmtType,
  4213. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4214. void __RPC_STUB IMsgrObject2_SendFileTransferInviteCancel_Stub(
  4215. IRpcStubBuffer *This,
  4216. IRpcChannelBuffer *_pRpcChannelBuffer,
  4217. PRPC_MESSAGE _pRpcMessage,
  4218. DWORD *_pdwStubPhase);
  4219. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject2_CancelFileTransfer_Proxy(
  4220. IMsgrObject2 __RPC_FAR * This,
  4221. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4222. /* [in] */ LONG lCookie,
  4223. /* [in] */ LONG hrReason,
  4224. /* [in] */ MMSGTYPE mmtType,
  4225. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4226. void __RPC_STUB IMsgrObject2_CancelFileTransfer_Stub(
  4227. IRpcStubBuffer *This,
  4228. IRpcChannelBuffer *_pRpcChannelBuffer,
  4229. PRPC_MESSAGE _pRpcMessage,
  4230. DWORD *_pdwStubPhase);
  4231. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject2_FileTransferStatus_Proxy(
  4232. IMsgrObject2 __RPC_FAR * This,
  4233. /* [in] */ LONG lCookie,
  4234. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4235. /* [out] */ long __RPC_FAR *plStatus,
  4236. /* [out] */ BSTR __RPC_FAR *pbstrFilePath,
  4237. /* [out] */ long __RPC_FAR *plTotalBytes,
  4238. /* [out] */ long __RPC_FAR *plBytesTransferred);
  4239. void __RPC_STUB IMsgrObject2_FileTransferStatus_Stub(
  4240. IRpcStubBuffer *This,
  4241. IRpcChannelBuffer *_pRpcChannelBuffer,
  4242. PRPC_MESSAGE _pRpcMessage,
  4243. DWORD *_pdwStubPhase);
  4244. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrObject2_put_LocalProperty_Proxy(
  4245. IMsgrObject2 __RPC_FAR * This,
  4246. /* [in] */ MUSERPROPERTY ePropType,
  4247. /* [in] */ VARIANT vPropVal);
  4248. void __RPC_STUB IMsgrObject2_put_LocalProperty_Stub(
  4249. IRpcStubBuffer *This,
  4250. IRpcChannelBuffer *_pRpcChannelBuffer,
  4251. PRPC_MESSAGE _pRpcMessage,
  4252. DWORD *_pdwStubPhase);
  4253. /* [propget] */ HRESULT STDMETHODCALLTYPE IMsgrObject2_get_LocalProperty_Proxy(
  4254. IMsgrObject2 __RPC_FAR * This,
  4255. /* [in] */ MUSERPROPERTY ePropType,
  4256. /* [retval][out] */ VARIANT __RPC_FAR *pvPropVal);
  4257. void __RPC_STUB IMsgrObject2_get_LocalProperty_Stub(
  4258. IRpcStubBuffer *This,
  4259. IRpcChannelBuffer *_pRpcChannelBuffer,
  4260. PRPC_MESSAGE _pRpcMessage,
  4261. DWORD *_pdwStubPhase);
  4262. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject2_SendPage_Proxy(
  4263. IMsgrObject2 __RPC_FAR * This,
  4264. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4265. /* [in] */ BSTR bstrMessage,
  4266. /* [in] */ MUSERPROPERTY ePhoneType,
  4267. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4268. void __RPC_STUB IMsgrObject2_SendPage_Stub(
  4269. IRpcStubBuffer *This,
  4270. IRpcChannelBuffer *_pRpcChannelBuffer,
  4271. PRPC_MESSAGE _pRpcMessage,
  4272. DWORD *_pdwStubPhase);
  4273. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrObject2_SendCustomInviteMail_Proxy(
  4274. IMsgrObject2 __RPC_FAR * This,
  4275. /* [in] */ BSTR bstrEmailAddress,
  4276. /* [in] */ LONG lFindCookie,
  4277. /* [in] */ LONG lFindIndex,
  4278. /* [in] */ LONG lLCID,
  4279. /* [in] */ BSTR bstrCustomText,
  4280. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4281. void __RPC_STUB IMsgrObject2_SendCustomInviteMail_Stub(
  4282. IRpcStubBuffer *This,
  4283. IRpcChannelBuffer *_pRpcChannelBuffer,
  4284. PRPC_MESSAGE _pRpcMessage,
  4285. DWORD *_pdwStubPhase);
  4286. #endif /* __IMsgrObject2_INTERFACE_DEFINED__ */
  4287. #ifndef __DMsgrObjectEvents_DISPINTERFACE_DEFINED__
  4288. #define __DMsgrObjectEvents_DISPINTERFACE_DEFINED__
  4289. /* dispinterface DMsgrObjectEvents */
  4290. /* [hidden][helpcontext][helpstring][uuid] */
  4291. EXTERN_C const IID DIID_DMsgrObjectEvents;
  4292. #if defined(__cplusplus) && !defined(CINTERFACE)
  4293. MIDL_INTERFACE("218CB452-20B6-11d2-8E17-0000F803A446")
  4294. DMsgrObjectEvents : public IDispatch
  4295. {
  4296. };
  4297. #else /* C style interface */
  4298. typedef struct DMsgrObjectEventsVtbl
  4299. {
  4300. BEGIN_INTERFACE
  4301. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4302. DMsgrObjectEvents __RPC_FAR * This,
  4303. /* [in] */ REFIID riid,
  4304. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4305. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4306. DMsgrObjectEvents __RPC_FAR * This);
  4307. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4308. DMsgrObjectEvents __RPC_FAR * This);
  4309. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4310. DMsgrObjectEvents __RPC_FAR * This,
  4311. /* [out] */ UINT __RPC_FAR *pctinfo);
  4312. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4313. DMsgrObjectEvents __RPC_FAR * This,
  4314. /* [in] */ UINT iTInfo,
  4315. /* [in] */ LCID lcid,
  4316. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4317. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4318. DMsgrObjectEvents __RPC_FAR * This,
  4319. /* [in] */ REFIID riid,
  4320. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4321. /* [in] */ UINT cNames,
  4322. /* [in] */ LCID lcid,
  4323. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4324. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4325. DMsgrObjectEvents __RPC_FAR * This,
  4326. /* [in] */ DISPID dispIdMember,
  4327. /* [in] */ REFIID riid,
  4328. /* [in] */ LCID lcid,
  4329. /* [in] */ WORD wFlags,
  4330. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4331. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4332. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4333. /* [out] */ UINT __RPC_FAR *puArgErr);
  4334. END_INTERFACE
  4335. } DMsgrObjectEventsVtbl;
  4336. interface DMsgrObjectEvents
  4337. {
  4338. CONST_VTBL struct DMsgrObjectEventsVtbl __RPC_FAR *lpVtbl;
  4339. };
  4340. #ifdef COBJMACROS
  4341. #define DMsgrObjectEvents_QueryInterface(This,riid,ppvObject) \
  4342. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4343. #define DMsgrObjectEvents_AddRef(This) \
  4344. (This)->lpVtbl -> AddRef(This)
  4345. #define DMsgrObjectEvents_Release(This) \
  4346. (This)->lpVtbl -> Release(This)
  4347. #define DMsgrObjectEvents_GetTypeInfoCount(This,pctinfo) \
  4348. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4349. #define DMsgrObjectEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4350. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4351. #define DMsgrObjectEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4352. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4353. #define DMsgrObjectEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4354. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4355. #endif /* COBJMACROS */
  4356. #endif /* C style interface */
  4357. #endif /* __DMsgrObjectEvents_DISPINTERFACE_DEFINED__ */
  4358. #ifndef __DMsgrSPEvents_DISPINTERFACE_DEFINED__
  4359. #define __DMsgrSPEvents_DISPINTERFACE_DEFINED__
  4360. /* dispinterface DMsgrSPEvents */
  4361. /* [hidden][helpcontext][helpstring][uuid] */
  4362. EXTERN_C const IID DIID_DMsgrSPEvents;
  4363. #if defined(__cplusplus) && !defined(CINTERFACE)
  4364. MIDL_INTERFACE("2B2F1E9E-B01D-47e9-BD6A-EF6D63DE7170")
  4365. DMsgrSPEvents : public IDispatch
  4366. {
  4367. };
  4368. #else /* C style interface */
  4369. typedef struct DMsgrSPEventsVtbl
  4370. {
  4371. BEGIN_INTERFACE
  4372. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4373. DMsgrSPEvents __RPC_FAR * This,
  4374. /* [in] */ REFIID riid,
  4375. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4376. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4377. DMsgrSPEvents __RPC_FAR * This);
  4378. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4379. DMsgrSPEvents __RPC_FAR * This);
  4380. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4381. DMsgrSPEvents __RPC_FAR * This,
  4382. /* [out] */ UINT __RPC_FAR *pctinfo);
  4383. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4384. DMsgrSPEvents __RPC_FAR * This,
  4385. /* [in] */ UINT iTInfo,
  4386. /* [in] */ LCID lcid,
  4387. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4388. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4389. DMsgrSPEvents __RPC_FAR * This,
  4390. /* [in] */ REFIID riid,
  4391. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4392. /* [in] */ UINT cNames,
  4393. /* [in] */ LCID lcid,
  4394. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4395. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4396. DMsgrSPEvents __RPC_FAR * This,
  4397. /* [in] */ DISPID dispIdMember,
  4398. /* [in] */ REFIID riid,
  4399. /* [in] */ LCID lcid,
  4400. /* [in] */ WORD wFlags,
  4401. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4402. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4403. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4404. /* [out] */ UINT __RPC_FAR *puArgErr);
  4405. END_INTERFACE
  4406. } DMsgrSPEventsVtbl;
  4407. interface DMsgrSPEvents
  4408. {
  4409. CONST_VTBL struct DMsgrSPEventsVtbl __RPC_FAR *lpVtbl;
  4410. };
  4411. #ifdef COBJMACROS
  4412. #define DMsgrSPEvents_QueryInterface(This,riid,ppvObject) \
  4413. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4414. #define DMsgrSPEvents_AddRef(This) \
  4415. (This)->lpVtbl -> AddRef(This)
  4416. #define DMsgrSPEvents_Release(This) \
  4417. (This)->lpVtbl -> Release(This)
  4418. #define DMsgrSPEvents_GetTypeInfoCount(This,pctinfo) \
  4419. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4420. #define DMsgrSPEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4421. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4422. #define DMsgrSPEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4423. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4424. #define DMsgrSPEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4425. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4426. #endif /* COBJMACROS */
  4427. #endif /* C style interface */
  4428. #endif /* __DMsgrSPEvents_DISPINTERFACE_DEFINED__ */
  4429. #ifndef __IMsgrUser2_INTERFACE_DEFINED__
  4430. #define __IMsgrUser2_INTERFACE_DEFINED__
  4431. /* interface IMsgrUser2 */
  4432. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  4433. EXTERN_C const IID IID_IMsgrUser2;
  4434. #if defined(__cplusplus) && !defined(CINTERFACE)
  4435. MIDL_INTERFACE("218CB456-20B6-11d2-8E17-0000F803A446")
  4436. IMsgrUser2 : public IMsgrUser
  4437. {
  4438. public:
  4439. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_Property(
  4440. /* [in] */ MUSERPROPERTY ePropType,
  4441. /* [in] */ VARIANT vPropVal) = 0;
  4442. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Property(
  4443. /* [in] */ MUSERPROPERTY ePropType,
  4444. /* [retval][out] */ VARIANT __RPC_FAR *pvPropVal) = 0;
  4445. };
  4446. #else /* C style interface */
  4447. typedef struct IMsgrUser2Vtbl
  4448. {
  4449. BEGIN_INTERFACE
  4450. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4451. IMsgrUser2 __RPC_FAR * This,
  4452. /* [in] */ REFIID riid,
  4453. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4454. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4455. IMsgrUser2 __RPC_FAR * This);
  4456. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4457. IMsgrUser2 __RPC_FAR * This);
  4458. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4459. IMsgrUser2 __RPC_FAR * This,
  4460. /* [out] */ UINT __RPC_FAR *pctinfo);
  4461. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4462. IMsgrUser2 __RPC_FAR * This,
  4463. /* [in] */ UINT iTInfo,
  4464. /* [in] */ LCID lcid,
  4465. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4466. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4467. IMsgrUser2 __RPC_FAR * This,
  4468. /* [in] */ REFIID riid,
  4469. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4470. /* [in] */ UINT cNames,
  4471. /* [in] */ LCID lcid,
  4472. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4473. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4474. IMsgrUser2 __RPC_FAR * This,
  4475. /* [in] */ DISPID dispIdMember,
  4476. /* [in] */ REFIID riid,
  4477. /* [in] */ LCID lcid,
  4478. /* [in] */ WORD wFlags,
  4479. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4480. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4481. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4482. /* [out] */ UINT __RPC_FAR *puArgErr);
  4483. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_FriendlyName )(
  4484. IMsgrUser2 __RPC_FAR * This,
  4485. /* [in] */ BSTR bstrFriendlyName);
  4486. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FriendlyName )(
  4487. IMsgrUser2 __RPC_FAR * This,
  4488. /* [retval][out] */ BSTR __RPC_FAR *pbstrFriendlyName);
  4489. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_EmailAddress )(
  4490. IMsgrUser2 __RPC_FAR * This,
  4491. /* [retval][out] */ BSTR __RPC_FAR *pbstrEmailAddress);
  4492. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_State )(
  4493. IMsgrUser2 __RPC_FAR * This,
  4494. /* [retval][out] */ MSTATE __RPC_FAR *pmState);
  4495. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LogonName )(
  4496. IMsgrUser2 __RPC_FAR * This,
  4497. /* [retval][out] */ BSTR __RPC_FAR *pbstrLogonName);
  4498. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendText )(
  4499. IMsgrUser2 __RPC_FAR * This,
  4500. /* [in] */ BSTR bstrMsgHeader,
  4501. /* [in] */ BSTR bstrMsgText,
  4502. /* [in] */ MMSGTYPE mmtType,
  4503. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4504. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Service )(
  4505. IMsgrUser2 __RPC_FAR * This,
  4506. /* [retval][out] */ IMsgrService __RPC_FAR *__RPC_FAR *ppService);
  4507. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Property )(
  4508. IMsgrUser2 __RPC_FAR * This,
  4509. /* [in] */ MUSERPROPERTY ePropType,
  4510. /* [in] */ VARIANT vPropVal);
  4511. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Property )(
  4512. IMsgrUser2 __RPC_FAR * This,
  4513. /* [in] */ MUSERPROPERTY ePropType,
  4514. /* [retval][out] */ VARIANT __RPC_FAR *pvPropVal);
  4515. END_INTERFACE
  4516. } IMsgrUser2Vtbl;
  4517. interface IMsgrUser2
  4518. {
  4519. CONST_VTBL struct IMsgrUser2Vtbl __RPC_FAR *lpVtbl;
  4520. };
  4521. #ifdef COBJMACROS
  4522. #define IMsgrUser2_QueryInterface(This,riid,ppvObject) \
  4523. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4524. #define IMsgrUser2_AddRef(This) \
  4525. (This)->lpVtbl -> AddRef(This)
  4526. #define IMsgrUser2_Release(This) \
  4527. (This)->lpVtbl -> Release(This)
  4528. #define IMsgrUser2_GetTypeInfoCount(This,pctinfo) \
  4529. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4530. #define IMsgrUser2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4531. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4532. #define IMsgrUser2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4533. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4534. #define IMsgrUser2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4535. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4536. #define IMsgrUser2_put_FriendlyName(This,bstrFriendlyName) \
  4537. (This)->lpVtbl -> put_FriendlyName(This,bstrFriendlyName)
  4538. #define IMsgrUser2_get_FriendlyName(This,pbstrFriendlyName) \
  4539. (This)->lpVtbl -> get_FriendlyName(This,pbstrFriendlyName)
  4540. #define IMsgrUser2_get_EmailAddress(This,pbstrEmailAddress) \
  4541. (This)->lpVtbl -> get_EmailAddress(This,pbstrEmailAddress)
  4542. #define IMsgrUser2_get_State(This,pmState) \
  4543. (This)->lpVtbl -> get_State(This,pmState)
  4544. #define IMsgrUser2_get_LogonName(This,pbstrLogonName) \
  4545. (This)->lpVtbl -> get_LogonName(This,pbstrLogonName)
  4546. #define IMsgrUser2_SendText(This,bstrMsgHeader,bstrMsgText,mmtType,plCookie) \
  4547. (This)->lpVtbl -> SendText(This,bstrMsgHeader,bstrMsgText,mmtType,plCookie)
  4548. #define IMsgrUser2_get_Service(This,ppService) \
  4549. (This)->lpVtbl -> get_Service(This,ppService)
  4550. #define IMsgrUser2_put_Property(This,ePropType,vPropVal) \
  4551. (This)->lpVtbl -> put_Property(This,ePropType,vPropVal)
  4552. #define IMsgrUser2_get_Property(This,ePropType,pvPropVal) \
  4553. (This)->lpVtbl -> get_Property(This,ePropType,pvPropVal)
  4554. #endif /* COBJMACROS */
  4555. #endif /* C style interface */
  4556. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrUser2_put_Property_Proxy(
  4557. IMsgrUser2 __RPC_FAR * This,
  4558. /* [in] */ MUSERPROPERTY ePropType,
  4559. /* [in] */ VARIANT vPropVal);
  4560. void __RPC_STUB IMsgrUser2_put_Property_Stub(
  4561. IRpcStubBuffer *This,
  4562. IRpcChannelBuffer *_pRpcChannelBuffer,
  4563. PRPC_MESSAGE _pRpcMessage,
  4564. DWORD *_pdwStubPhase);
  4565. /* [propget] */ HRESULT STDMETHODCALLTYPE IMsgrUser2_get_Property_Proxy(
  4566. IMsgrUser2 __RPC_FAR * This,
  4567. /* [in] */ MUSERPROPERTY ePropType,
  4568. /* [retval][out] */ VARIANT __RPC_FAR *pvPropVal);
  4569. void __RPC_STUB IMsgrUser2_get_Property_Stub(
  4570. IRpcStubBuffer *This,
  4571. IRpcChannelBuffer *_pRpcChannelBuffer,
  4572. PRPC_MESSAGE _pRpcMessage,
  4573. DWORD *_pdwStubPhase);
  4574. #endif /* __IMsgrUser2_INTERFACE_DEFINED__ */
  4575. #ifndef __IMsgrSP_INTERFACE_DEFINED__
  4576. #define __IMsgrSP_INTERFACE_DEFINED__
  4577. /* interface IMsgrSP */
  4578. /* [object][helpcontext][helpstring][uuid] */
  4579. EXTERN_C const IID IID_IMsgrSP;
  4580. #if defined(__cplusplus) && !defined(CINTERFACE)
  4581. MIDL_INTERFACE("E5B42158-AF2C-11d2-8D9D-0000F875C541")
  4582. IMsgrSP : public IMsgrService
  4583. {
  4584. public:
  4585. virtual /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE Logon(
  4586. /* [in] */ BSTR bstrUser,
  4587. /* [in] */ BSTR bstrPassword) = 0;
  4588. virtual /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE CreateUser(
  4589. /* [in] */ BSTR bstrLogonName,
  4590. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser) = 0;
  4591. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_List(
  4592. /* [in] */ MLIST mList,
  4593. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers) = 0;
  4594. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_MessagePrivacy(
  4595. /* [in] */ MMSGPRIVACY mmpSetting) = 0;
  4596. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_MessagePrivacy(
  4597. /* [retval][out] */ MMSGPRIVACY __RPC_FAR *pmmpSetting) = 0;
  4598. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_Prompt(
  4599. /* [in] */ MPROMPT mpSetting) = 0;
  4600. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Prompt(
  4601. /* [retval][out] */ MPROMPT __RPC_FAR *pmpSetting) = 0;
  4602. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_LocalState(
  4603. /* [in] */ MSTATE mState) = 0;
  4604. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LocalState(
  4605. /* [retval][out] */ MSTATE __RPC_FAR *pmState) = 0;
  4606. virtual /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE AddBuddy(
  4607. /* [in] */ IMsgrUser __RPC_FAR *pBuddy,
  4608. /* [in] */ MLIST mList) = 0;
  4609. virtual /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE RemoveBuddy(
  4610. /* [in] */ IMsgrUser __RPC_FAR *pBuddy,
  4611. /* [in] */ MLIST mList) = 0;
  4612. virtual /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE CreateIMSession(
  4613. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4614. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession) = 0;
  4615. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_IMSessions(
  4616. /* [retval][out] */ IMsgrIMSessions __RPC_FAR *__RPC_FAR *ppIMSessions) = 0;
  4617. };
  4618. #else /* C style interface */
  4619. typedef struct IMsgrSPVtbl
  4620. {
  4621. BEGIN_INTERFACE
  4622. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4623. IMsgrSP __RPC_FAR * This,
  4624. /* [in] */ REFIID riid,
  4625. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4626. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4627. IMsgrSP __RPC_FAR * This);
  4628. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4629. IMsgrSP __RPC_FAR * This);
  4630. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4631. IMsgrSP __RPC_FAR * This,
  4632. /* [out] */ UINT __RPC_FAR *pctinfo);
  4633. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4634. IMsgrSP __RPC_FAR * This,
  4635. /* [in] */ UINT iTInfo,
  4636. /* [in] */ LCID lcid,
  4637. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4638. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4639. IMsgrSP __RPC_FAR * This,
  4640. /* [in] */ REFIID riid,
  4641. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4642. /* [in] */ UINT cNames,
  4643. /* [in] */ LCID lcid,
  4644. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4645. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4646. IMsgrSP __RPC_FAR * This,
  4647. /* [in] */ DISPID dispIdMember,
  4648. /* [in] */ REFIID riid,
  4649. /* [in] */ LCID lcid,
  4650. /* [in] */ WORD wFlags,
  4651. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4652. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4653. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4654. /* [out] */ UINT __RPC_FAR *puArgErr);
  4655. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ServiceName )(
  4656. IMsgrSP __RPC_FAR * This,
  4657. /* [retval][out] */ BSTR __RPC_FAR *pbstrServiceName);
  4658. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LogonName )(
  4659. IMsgrSP __RPC_FAR * This,
  4660. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  4661. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_FriendlyName )(
  4662. IMsgrSP __RPC_FAR * This,
  4663. /* [in] */ BSTR bstrName);
  4664. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FriendlyName )(
  4665. IMsgrSP __RPC_FAR * This,
  4666. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  4667. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Capabilities )(
  4668. IMsgrSP __RPC_FAR * This,
  4669. /* [retval][out] */ LONG __RPC_FAR *plCapabilities);
  4670. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Status )(
  4671. IMsgrSP __RPC_FAR * This,
  4672. /* [retval][out] */ MSVCSTATUS __RPC_FAR *pmStatus);
  4673. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Logoff )(
  4674. IMsgrSP __RPC_FAR * This);
  4675. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindUser )(
  4676. IMsgrSP __RPC_FAR * This,
  4677. /* [in] */ BSTR bstrFirstName,
  4678. /* [in] */ BSTR bstrLastName,
  4679. /* [in] */ BSTR bstrCity,
  4680. /* [in] */ BSTR bstrState,
  4681. /* [in] */ BSTR bstrCountry,
  4682. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4683. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendInviteMail )(
  4684. IMsgrSP __RPC_FAR * This,
  4685. /* [in] */ BSTR bstrEmailAddress,
  4686. /* [in] */ LONG lFindCookie,
  4687. /* [in] */ LONG lFindIndex,
  4688. /* [in] */ LONG lLCID,
  4689. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4690. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestURLPost )(
  4691. IMsgrSP __RPC_FAR * This,
  4692. /* [in] */ MURLTYPE muType,
  4693. /* [in] */ BSTR bstrAdditionalInfo,
  4694. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  4695. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ProfileField )(
  4696. IMsgrSP __RPC_FAR * This,
  4697. /* [in] */ MPFLFIELD mpflField,
  4698. /* [in] */ VARIANT vFieldValue);
  4699. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ProfileField )(
  4700. IMsgrSP __RPC_FAR * This,
  4701. /* [in] */ MPFLFIELD mpflField,
  4702. /* [retval][out] */ VARIANT __RPC_FAR *pvFieldValue);
  4703. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Logon )(
  4704. IMsgrSP __RPC_FAR * This,
  4705. /* [in] */ BSTR bstrUser,
  4706. /* [in] */ BSTR bstrPassword);
  4707. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateUser )(
  4708. IMsgrSP __RPC_FAR * This,
  4709. /* [in] */ BSTR bstrLogonName,
  4710. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser);
  4711. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_List )(
  4712. IMsgrSP __RPC_FAR * This,
  4713. /* [in] */ MLIST mList,
  4714. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers);
  4715. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_MessagePrivacy )(
  4716. IMsgrSP __RPC_FAR * This,
  4717. /* [in] */ MMSGPRIVACY mmpSetting);
  4718. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MessagePrivacy )(
  4719. IMsgrSP __RPC_FAR * This,
  4720. /* [retval][out] */ MMSGPRIVACY __RPC_FAR *pmmpSetting);
  4721. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Prompt )(
  4722. IMsgrSP __RPC_FAR * This,
  4723. /* [in] */ MPROMPT mpSetting);
  4724. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Prompt )(
  4725. IMsgrSP __RPC_FAR * This,
  4726. /* [retval][out] */ MPROMPT __RPC_FAR *pmpSetting);
  4727. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_LocalState )(
  4728. IMsgrSP __RPC_FAR * This,
  4729. /* [in] */ MSTATE mState);
  4730. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocalState )(
  4731. IMsgrSP __RPC_FAR * This,
  4732. /* [retval][out] */ MSTATE __RPC_FAR *pmState);
  4733. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddBuddy )(
  4734. IMsgrSP __RPC_FAR * This,
  4735. /* [in] */ IMsgrUser __RPC_FAR *pBuddy,
  4736. /* [in] */ MLIST mList);
  4737. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveBuddy )(
  4738. IMsgrSP __RPC_FAR * This,
  4739. /* [in] */ IMsgrUser __RPC_FAR *pBuddy,
  4740. /* [in] */ MLIST mList);
  4741. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateIMSession )(
  4742. IMsgrSP __RPC_FAR * This,
  4743. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4744. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession);
  4745. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IMSessions )(
  4746. IMsgrSP __RPC_FAR * This,
  4747. /* [retval][out] */ IMsgrIMSessions __RPC_FAR *__RPC_FAR *ppIMSessions);
  4748. END_INTERFACE
  4749. } IMsgrSPVtbl;
  4750. interface IMsgrSP
  4751. {
  4752. CONST_VTBL struct IMsgrSPVtbl __RPC_FAR *lpVtbl;
  4753. };
  4754. #ifdef COBJMACROS
  4755. #define IMsgrSP_QueryInterface(This,riid,ppvObject) \
  4756. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4757. #define IMsgrSP_AddRef(This) \
  4758. (This)->lpVtbl -> AddRef(This)
  4759. #define IMsgrSP_Release(This) \
  4760. (This)->lpVtbl -> Release(This)
  4761. #define IMsgrSP_GetTypeInfoCount(This,pctinfo) \
  4762. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4763. #define IMsgrSP_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4764. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4765. #define IMsgrSP_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4766. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4767. #define IMsgrSP_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4768. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4769. #define IMsgrSP_get_ServiceName(This,pbstrServiceName) \
  4770. (This)->lpVtbl -> get_ServiceName(This,pbstrServiceName)
  4771. #define IMsgrSP_get_LogonName(This,pbstrName) \
  4772. (This)->lpVtbl -> get_LogonName(This,pbstrName)
  4773. #define IMsgrSP_put_FriendlyName(This,bstrName) \
  4774. (This)->lpVtbl -> put_FriendlyName(This,bstrName)
  4775. #define IMsgrSP_get_FriendlyName(This,pbstrName) \
  4776. (This)->lpVtbl -> get_FriendlyName(This,pbstrName)
  4777. #define IMsgrSP_get_Capabilities(This,plCapabilities) \
  4778. (This)->lpVtbl -> get_Capabilities(This,plCapabilities)
  4779. #define IMsgrSP_get_Status(This,pmStatus) \
  4780. (This)->lpVtbl -> get_Status(This,pmStatus)
  4781. #define IMsgrSP_Logoff(This) \
  4782. (This)->lpVtbl -> Logoff(This)
  4783. #define IMsgrSP_FindUser(This,bstrFirstName,bstrLastName,bstrCity,bstrState,bstrCountry,plCookie) \
  4784. (This)->lpVtbl -> FindUser(This,bstrFirstName,bstrLastName,bstrCity,bstrState,bstrCountry,plCookie)
  4785. #define IMsgrSP_SendInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,plCookie) \
  4786. (This)->lpVtbl -> SendInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,plCookie)
  4787. #define IMsgrSP_RequestURLPost(This,muType,bstrAdditionalInfo,plCookie) \
  4788. (This)->lpVtbl -> RequestURLPost(This,muType,bstrAdditionalInfo,plCookie)
  4789. #define IMsgrSP_put_ProfileField(This,mpflField,vFieldValue) \
  4790. (This)->lpVtbl -> put_ProfileField(This,mpflField,vFieldValue)
  4791. #define IMsgrSP_get_ProfileField(This,mpflField,pvFieldValue) \
  4792. (This)->lpVtbl -> get_ProfileField(This,mpflField,pvFieldValue)
  4793. #define IMsgrSP_Logon(This,bstrUser,bstrPassword) \
  4794. (This)->lpVtbl -> Logon(This,bstrUser,bstrPassword)
  4795. #define IMsgrSP_CreateUser(This,bstrLogonName,ppUser) \
  4796. (This)->lpVtbl -> CreateUser(This,bstrLogonName,ppUser)
  4797. #define IMsgrSP_get_List(This,mList,ppUsers) \
  4798. (This)->lpVtbl -> get_List(This,mList,ppUsers)
  4799. #define IMsgrSP_put_MessagePrivacy(This,mmpSetting) \
  4800. (This)->lpVtbl -> put_MessagePrivacy(This,mmpSetting)
  4801. #define IMsgrSP_get_MessagePrivacy(This,pmmpSetting) \
  4802. (This)->lpVtbl -> get_MessagePrivacy(This,pmmpSetting)
  4803. #define IMsgrSP_put_Prompt(This,mpSetting) \
  4804. (This)->lpVtbl -> put_Prompt(This,mpSetting)
  4805. #define IMsgrSP_get_Prompt(This,pmpSetting) \
  4806. (This)->lpVtbl -> get_Prompt(This,pmpSetting)
  4807. #define IMsgrSP_put_LocalState(This,mState) \
  4808. (This)->lpVtbl -> put_LocalState(This,mState)
  4809. #define IMsgrSP_get_LocalState(This,pmState) \
  4810. (This)->lpVtbl -> get_LocalState(This,pmState)
  4811. #define IMsgrSP_AddBuddy(This,pBuddy,mList) \
  4812. (This)->lpVtbl -> AddBuddy(This,pBuddy,mList)
  4813. #define IMsgrSP_RemoveBuddy(This,pBuddy,mList) \
  4814. (This)->lpVtbl -> RemoveBuddy(This,pBuddy,mList)
  4815. #define IMsgrSP_CreateIMSession(This,pUser,ppIMSession) \
  4816. (This)->lpVtbl -> CreateIMSession(This,pUser,ppIMSession)
  4817. #define IMsgrSP_get_IMSessions(This,ppIMSessions) \
  4818. (This)->lpVtbl -> get_IMSessions(This,ppIMSessions)
  4819. #endif /* COBJMACROS */
  4820. #endif /* C style interface */
  4821. /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE IMsgrSP_Logon_Proxy(
  4822. IMsgrSP __RPC_FAR * This,
  4823. /* [in] */ BSTR bstrUser,
  4824. /* [in] */ BSTR bstrPassword);
  4825. void __RPC_STUB IMsgrSP_Logon_Stub(
  4826. IRpcStubBuffer *This,
  4827. IRpcChannelBuffer *_pRpcChannelBuffer,
  4828. PRPC_MESSAGE _pRpcMessage,
  4829. DWORD *_pdwStubPhase);
  4830. /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE IMsgrSP_CreateUser_Proxy(
  4831. IMsgrSP __RPC_FAR * This,
  4832. /* [in] */ BSTR bstrLogonName,
  4833. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser);
  4834. void __RPC_STUB IMsgrSP_CreateUser_Stub(
  4835. IRpcStubBuffer *This,
  4836. IRpcChannelBuffer *_pRpcChannelBuffer,
  4837. PRPC_MESSAGE _pRpcMessage,
  4838. DWORD *_pdwStubPhase);
  4839. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrSP_get_List_Proxy(
  4840. IMsgrSP __RPC_FAR * This,
  4841. /* [in] */ MLIST mList,
  4842. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers);
  4843. void __RPC_STUB IMsgrSP_get_List_Stub(
  4844. IRpcStubBuffer *This,
  4845. IRpcChannelBuffer *_pRpcChannelBuffer,
  4846. PRPC_MESSAGE _pRpcMessage,
  4847. DWORD *_pdwStubPhase);
  4848. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrSP_put_MessagePrivacy_Proxy(
  4849. IMsgrSP __RPC_FAR * This,
  4850. /* [in] */ MMSGPRIVACY mmpSetting);
  4851. void __RPC_STUB IMsgrSP_put_MessagePrivacy_Stub(
  4852. IRpcStubBuffer *This,
  4853. IRpcChannelBuffer *_pRpcChannelBuffer,
  4854. PRPC_MESSAGE _pRpcMessage,
  4855. DWORD *_pdwStubPhase);
  4856. /* [propget] */ HRESULT STDMETHODCALLTYPE IMsgrSP_get_MessagePrivacy_Proxy(
  4857. IMsgrSP __RPC_FAR * This,
  4858. /* [retval][out] */ MMSGPRIVACY __RPC_FAR *pmmpSetting);
  4859. void __RPC_STUB IMsgrSP_get_MessagePrivacy_Stub(
  4860. IRpcStubBuffer *This,
  4861. IRpcChannelBuffer *_pRpcChannelBuffer,
  4862. PRPC_MESSAGE _pRpcMessage,
  4863. DWORD *_pdwStubPhase);
  4864. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrSP_put_Prompt_Proxy(
  4865. IMsgrSP __RPC_FAR * This,
  4866. /* [in] */ MPROMPT mpSetting);
  4867. void __RPC_STUB IMsgrSP_put_Prompt_Stub(
  4868. IRpcStubBuffer *This,
  4869. IRpcChannelBuffer *_pRpcChannelBuffer,
  4870. PRPC_MESSAGE _pRpcMessage,
  4871. DWORD *_pdwStubPhase);
  4872. /* [propget] */ HRESULT STDMETHODCALLTYPE IMsgrSP_get_Prompt_Proxy(
  4873. IMsgrSP __RPC_FAR * This,
  4874. /* [retval][out] */ MPROMPT __RPC_FAR *pmpSetting);
  4875. void __RPC_STUB IMsgrSP_get_Prompt_Stub(
  4876. IRpcStubBuffer *This,
  4877. IRpcChannelBuffer *_pRpcChannelBuffer,
  4878. PRPC_MESSAGE _pRpcMessage,
  4879. DWORD *_pdwStubPhase);
  4880. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrSP_put_LocalState_Proxy(
  4881. IMsgrSP __RPC_FAR * This,
  4882. /* [in] */ MSTATE mState);
  4883. void __RPC_STUB IMsgrSP_put_LocalState_Stub(
  4884. IRpcStubBuffer *This,
  4885. IRpcChannelBuffer *_pRpcChannelBuffer,
  4886. PRPC_MESSAGE _pRpcMessage,
  4887. DWORD *_pdwStubPhase);
  4888. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrSP_get_LocalState_Proxy(
  4889. IMsgrSP __RPC_FAR * This,
  4890. /* [retval][out] */ MSTATE __RPC_FAR *pmState);
  4891. void __RPC_STUB IMsgrSP_get_LocalState_Stub(
  4892. IRpcStubBuffer *This,
  4893. IRpcChannelBuffer *_pRpcChannelBuffer,
  4894. PRPC_MESSAGE _pRpcMessage,
  4895. DWORD *_pdwStubPhase);
  4896. /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE IMsgrSP_AddBuddy_Proxy(
  4897. IMsgrSP __RPC_FAR * This,
  4898. /* [in] */ IMsgrUser __RPC_FAR *pBuddy,
  4899. /* [in] */ MLIST mList);
  4900. void __RPC_STUB IMsgrSP_AddBuddy_Stub(
  4901. IRpcStubBuffer *This,
  4902. IRpcChannelBuffer *_pRpcChannelBuffer,
  4903. PRPC_MESSAGE _pRpcMessage,
  4904. DWORD *_pdwStubPhase);
  4905. /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE IMsgrSP_RemoveBuddy_Proxy(
  4906. IMsgrSP __RPC_FAR * This,
  4907. /* [in] */ IMsgrUser __RPC_FAR *pBuddy,
  4908. /* [in] */ MLIST mList);
  4909. void __RPC_STUB IMsgrSP_RemoveBuddy_Stub(
  4910. IRpcStubBuffer *This,
  4911. IRpcChannelBuffer *_pRpcChannelBuffer,
  4912. PRPC_MESSAGE _pRpcMessage,
  4913. DWORD *_pdwStubPhase);
  4914. /* [helpcontext][helpstring] */ HRESULT STDMETHODCALLTYPE IMsgrSP_CreateIMSession_Proxy(
  4915. IMsgrSP __RPC_FAR * This,
  4916. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4917. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession);
  4918. void __RPC_STUB IMsgrSP_CreateIMSession_Stub(
  4919. IRpcStubBuffer *This,
  4920. IRpcChannelBuffer *_pRpcChannelBuffer,
  4921. PRPC_MESSAGE _pRpcMessage,
  4922. DWORD *_pdwStubPhase);
  4923. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrSP_get_IMSessions_Proxy(
  4924. IMsgrSP __RPC_FAR * This,
  4925. /* [retval][out] */ IMsgrIMSessions __RPC_FAR *__RPC_FAR *ppIMSessions);
  4926. void __RPC_STUB IMsgrSP_get_IMSessions_Stub(
  4927. IRpcStubBuffer *This,
  4928. IRpcChannelBuffer *_pRpcChannelBuffer,
  4929. PRPC_MESSAGE _pRpcMessage,
  4930. DWORD *_pdwStubPhase);
  4931. #endif /* __IMsgrSP_INTERFACE_DEFINED__ */
  4932. #ifndef __IMsgrSP2_INTERFACE_DEFINED__
  4933. #define __IMsgrSP2_INTERFACE_DEFINED__
  4934. /* interface IMsgrSP2 */
  4935. /* [object][helpcontext][helpstring][uuid] */
  4936. EXTERN_C const IID IID_IMsgrSP2;
  4937. #if defined(__cplusplus) && !defined(CINTERFACE)
  4938. MIDL_INTERFACE("E5B42159-AF2C-11d2-8D9D-0000F875C541")
  4939. IMsgrSP2 : public IMsgrSP
  4940. {
  4941. public:
  4942. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_LocalIPAddress(
  4943. /* [retval][out] */ long __RPC_FAR *plAddr) = 0;
  4944. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_LocalProperty(
  4945. /* [in] */ MUSERPROPERTY ePropType,
  4946. /* [in] */ VARIANT vPropVal) = 0;
  4947. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_LocalProperty(
  4948. /* [in] */ MUSERPROPERTY ePropType,
  4949. /* [retval][out] */ VARIANT __RPC_FAR *pvPropVal) = 0;
  4950. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendPage(
  4951. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  4952. /* [in] */ BSTR bstrMessage,
  4953. /* [in] */ MUSERPROPERTY ePhoneType,
  4954. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  4955. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendCustomInviteMail(
  4956. /* [in] */ BSTR bstrEmailAddress,
  4957. /* [in] */ LONG lFindCookie,
  4958. /* [in] */ LONG lFindIndex,
  4959. /* [in] */ LONG lLCID,
  4960. /* [in] */ BSTR bstrCustomText,
  4961. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  4962. };
  4963. #else /* C style interface */
  4964. typedef struct IMsgrSP2Vtbl
  4965. {
  4966. BEGIN_INTERFACE
  4967. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4968. IMsgrSP2 __RPC_FAR * This,
  4969. /* [in] */ REFIID riid,
  4970. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4971. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4972. IMsgrSP2 __RPC_FAR * This);
  4973. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4974. IMsgrSP2 __RPC_FAR * This);
  4975. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4976. IMsgrSP2 __RPC_FAR * This,
  4977. /* [out] */ UINT __RPC_FAR *pctinfo);
  4978. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4979. IMsgrSP2 __RPC_FAR * This,
  4980. /* [in] */ UINT iTInfo,
  4981. /* [in] */ LCID lcid,
  4982. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4983. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4984. IMsgrSP2 __RPC_FAR * This,
  4985. /* [in] */ REFIID riid,
  4986. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4987. /* [in] */ UINT cNames,
  4988. /* [in] */ LCID lcid,
  4989. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4990. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4991. IMsgrSP2 __RPC_FAR * This,
  4992. /* [in] */ DISPID dispIdMember,
  4993. /* [in] */ REFIID riid,
  4994. /* [in] */ LCID lcid,
  4995. /* [in] */ WORD wFlags,
  4996. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4997. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4998. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4999. /* [out] */ UINT __RPC_FAR *puArgErr);
  5000. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ServiceName )(
  5001. IMsgrSP2 __RPC_FAR * This,
  5002. /* [retval][out] */ BSTR __RPC_FAR *pbstrServiceName);
  5003. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LogonName )(
  5004. IMsgrSP2 __RPC_FAR * This,
  5005. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  5006. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_FriendlyName )(
  5007. IMsgrSP2 __RPC_FAR * This,
  5008. /* [in] */ BSTR bstrName);
  5009. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FriendlyName )(
  5010. IMsgrSP2 __RPC_FAR * This,
  5011. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  5012. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Capabilities )(
  5013. IMsgrSP2 __RPC_FAR * This,
  5014. /* [retval][out] */ LONG __RPC_FAR *plCapabilities);
  5015. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Status )(
  5016. IMsgrSP2 __RPC_FAR * This,
  5017. /* [retval][out] */ MSVCSTATUS __RPC_FAR *pmStatus);
  5018. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Logoff )(
  5019. IMsgrSP2 __RPC_FAR * This);
  5020. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindUser )(
  5021. IMsgrSP2 __RPC_FAR * This,
  5022. /* [in] */ BSTR bstrFirstName,
  5023. /* [in] */ BSTR bstrLastName,
  5024. /* [in] */ BSTR bstrCity,
  5025. /* [in] */ BSTR bstrState,
  5026. /* [in] */ BSTR bstrCountry,
  5027. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  5028. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendInviteMail )(
  5029. IMsgrSP2 __RPC_FAR * This,
  5030. /* [in] */ BSTR bstrEmailAddress,
  5031. /* [in] */ LONG lFindCookie,
  5032. /* [in] */ LONG lFindIndex,
  5033. /* [in] */ LONG lLCID,
  5034. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  5035. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestURLPost )(
  5036. IMsgrSP2 __RPC_FAR * This,
  5037. /* [in] */ MURLTYPE muType,
  5038. /* [in] */ BSTR bstrAdditionalInfo,
  5039. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  5040. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ProfileField )(
  5041. IMsgrSP2 __RPC_FAR * This,
  5042. /* [in] */ MPFLFIELD mpflField,
  5043. /* [in] */ VARIANT vFieldValue);
  5044. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ProfileField )(
  5045. IMsgrSP2 __RPC_FAR * This,
  5046. /* [in] */ MPFLFIELD mpflField,
  5047. /* [retval][out] */ VARIANT __RPC_FAR *pvFieldValue);
  5048. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Logon )(
  5049. IMsgrSP2 __RPC_FAR * This,
  5050. /* [in] */ BSTR bstrUser,
  5051. /* [in] */ BSTR bstrPassword);
  5052. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateUser )(
  5053. IMsgrSP2 __RPC_FAR * This,
  5054. /* [in] */ BSTR bstrLogonName,
  5055. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser);
  5056. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_List )(
  5057. IMsgrSP2 __RPC_FAR * This,
  5058. /* [in] */ MLIST mList,
  5059. /* [retval][out] */ IMsgrUsers __RPC_FAR *__RPC_FAR *ppUsers);
  5060. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_MessagePrivacy )(
  5061. IMsgrSP2 __RPC_FAR * This,
  5062. /* [in] */ MMSGPRIVACY mmpSetting);
  5063. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MessagePrivacy )(
  5064. IMsgrSP2 __RPC_FAR * This,
  5065. /* [retval][out] */ MMSGPRIVACY __RPC_FAR *pmmpSetting);
  5066. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Prompt )(
  5067. IMsgrSP2 __RPC_FAR * This,
  5068. /* [in] */ MPROMPT mpSetting);
  5069. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Prompt )(
  5070. IMsgrSP2 __RPC_FAR * This,
  5071. /* [retval][out] */ MPROMPT __RPC_FAR *pmpSetting);
  5072. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_LocalState )(
  5073. IMsgrSP2 __RPC_FAR * This,
  5074. /* [in] */ MSTATE mState);
  5075. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocalState )(
  5076. IMsgrSP2 __RPC_FAR * This,
  5077. /* [retval][out] */ MSTATE __RPC_FAR *pmState);
  5078. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddBuddy )(
  5079. IMsgrSP2 __RPC_FAR * This,
  5080. /* [in] */ IMsgrUser __RPC_FAR *pBuddy,
  5081. /* [in] */ MLIST mList);
  5082. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveBuddy )(
  5083. IMsgrSP2 __RPC_FAR * This,
  5084. /* [in] */ IMsgrUser __RPC_FAR *pBuddy,
  5085. /* [in] */ MLIST mList);
  5086. /* [helpcontext][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateIMSession )(
  5087. IMsgrSP2 __RPC_FAR * This,
  5088. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  5089. /* [retval][out] */ IMsgrIMSession __RPC_FAR *__RPC_FAR *ppIMSession);
  5090. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IMSessions )(
  5091. IMsgrSP2 __RPC_FAR * This,
  5092. /* [retval][out] */ IMsgrIMSessions __RPC_FAR *__RPC_FAR *ppIMSessions);
  5093. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocalIPAddress )(
  5094. IMsgrSP2 __RPC_FAR * This,
  5095. /* [retval][out] */ long __RPC_FAR *plAddr);
  5096. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_LocalProperty )(
  5097. IMsgrSP2 __RPC_FAR * This,
  5098. /* [in] */ MUSERPROPERTY ePropType,
  5099. /* [in] */ VARIANT vPropVal);
  5100. /* [propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LocalProperty )(
  5101. IMsgrSP2 __RPC_FAR * This,
  5102. /* [in] */ MUSERPROPERTY ePropType,
  5103. /* [retval][out] */ VARIANT __RPC_FAR *pvPropVal);
  5104. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendPage )(
  5105. IMsgrSP2 __RPC_FAR * This,
  5106. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  5107. /* [in] */ BSTR bstrMessage,
  5108. /* [in] */ MUSERPROPERTY ePhoneType,
  5109. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  5110. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendCustomInviteMail )(
  5111. IMsgrSP2 __RPC_FAR * This,
  5112. /* [in] */ BSTR bstrEmailAddress,
  5113. /* [in] */ LONG lFindCookie,
  5114. /* [in] */ LONG lFindIndex,
  5115. /* [in] */ LONG lLCID,
  5116. /* [in] */ BSTR bstrCustomText,
  5117. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  5118. END_INTERFACE
  5119. } IMsgrSP2Vtbl;
  5120. interface IMsgrSP2
  5121. {
  5122. CONST_VTBL struct IMsgrSP2Vtbl __RPC_FAR *lpVtbl;
  5123. };
  5124. #ifdef COBJMACROS
  5125. #define IMsgrSP2_QueryInterface(This,riid,ppvObject) \
  5126. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5127. #define IMsgrSP2_AddRef(This) \
  5128. (This)->lpVtbl -> AddRef(This)
  5129. #define IMsgrSP2_Release(This) \
  5130. (This)->lpVtbl -> Release(This)
  5131. #define IMsgrSP2_GetTypeInfoCount(This,pctinfo) \
  5132. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5133. #define IMsgrSP2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5134. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5135. #define IMsgrSP2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5136. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5137. #define IMsgrSP2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5138. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5139. #define IMsgrSP2_get_ServiceName(This,pbstrServiceName) \
  5140. (This)->lpVtbl -> get_ServiceName(This,pbstrServiceName)
  5141. #define IMsgrSP2_get_LogonName(This,pbstrName) \
  5142. (This)->lpVtbl -> get_LogonName(This,pbstrName)
  5143. #define IMsgrSP2_put_FriendlyName(This,bstrName) \
  5144. (This)->lpVtbl -> put_FriendlyName(This,bstrName)
  5145. #define IMsgrSP2_get_FriendlyName(This,pbstrName) \
  5146. (This)->lpVtbl -> get_FriendlyName(This,pbstrName)
  5147. #define IMsgrSP2_get_Capabilities(This,plCapabilities) \
  5148. (This)->lpVtbl -> get_Capabilities(This,plCapabilities)
  5149. #define IMsgrSP2_get_Status(This,pmStatus) \
  5150. (This)->lpVtbl -> get_Status(This,pmStatus)
  5151. #define IMsgrSP2_Logoff(This) \
  5152. (This)->lpVtbl -> Logoff(This)
  5153. #define IMsgrSP2_FindUser(This,bstrFirstName,bstrLastName,bstrCity,bstrState,bstrCountry,plCookie) \
  5154. (This)->lpVtbl -> FindUser(This,bstrFirstName,bstrLastName,bstrCity,bstrState,bstrCountry,plCookie)
  5155. #define IMsgrSP2_SendInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,plCookie) \
  5156. (This)->lpVtbl -> SendInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,plCookie)
  5157. #define IMsgrSP2_RequestURLPost(This,muType,bstrAdditionalInfo,plCookie) \
  5158. (This)->lpVtbl -> RequestURLPost(This,muType,bstrAdditionalInfo,plCookie)
  5159. #define IMsgrSP2_put_ProfileField(This,mpflField,vFieldValue) \
  5160. (This)->lpVtbl -> put_ProfileField(This,mpflField,vFieldValue)
  5161. #define IMsgrSP2_get_ProfileField(This,mpflField,pvFieldValue) \
  5162. (This)->lpVtbl -> get_ProfileField(This,mpflField,pvFieldValue)
  5163. #define IMsgrSP2_Logon(This,bstrUser,bstrPassword) \
  5164. (This)->lpVtbl -> Logon(This,bstrUser,bstrPassword)
  5165. #define IMsgrSP2_CreateUser(This,bstrLogonName,ppUser) \
  5166. (This)->lpVtbl -> CreateUser(This,bstrLogonName,ppUser)
  5167. #define IMsgrSP2_get_List(This,mList,ppUsers) \
  5168. (This)->lpVtbl -> get_List(This,mList,ppUsers)
  5169. #define IMsgrSP2_put_MessagePrivacy(This,mmpSetting) \
  5170. (This)->lpVtbl -> put_MessagePrivacy(This,mmpSetting)
  5171. #define IMsgrSP2_get_MessagePrivacy(This,pmmpSetting) \
  5172. (This)->lpVtbl -> get_MessagePrivacy(This,pmmpSetting)
  5173. #define IMsgrSP2_put_Prompt(This,mpSetting) \
  5174. (This)->lpVtbl -> put_Prompt(This,mpSetting)
  5175. #define IMsgrSP2_get_Prompt(This,pmpSetting) \
  5176. (This)->lpVtbl -> get_Prompt(This,pmpSetting)
  5177. #define IMsgrSP2_put_LocalState(This,mState) \
  5178. (This)->lpVtbl -> put_LocalState(This,mState)
  5179. #define IMsgrSP2_get_LocalState(This,pmState) \
  5180. (This)->lpVtbl -> get_LocalState(This,pmState)
  5181. #define IMsgrSP2_AddBuddy(This,pBuddy,mList) \
  5182. (This)->lpVtbl -> AddBuddy(This,pBuddy,mList)
  5183. #define IMsgrSP2_RemoveBuddy(This,pBuddy,mList) \
  5184. (This)->lpVtbl -> RemoveBuddy(This,pBuddy,mList)
  5185. #define IMsgrSP2_CreateIMSession(This,pUser,ppIMSession) \
  5186. (This)->lpVtbl -> CreateIMSession(This,pUser,ppIMSession)
  5187. #define IMsgrSP2_get_IMSessions(This,ppIMSessions) \
  5188. (This)->lpVtbl -> get_IMSessions(This,ppIMSessions)
  5189. #define IMsgrSP2_get_LocalIPAddress(This,plAddr) \
  5190. (This)->lpVtbl -> get_LocalIPAddress(This,plAddr)
  5191. #define IMsgrSP2_put_LocalProperty(This,ePropType,vPropVal) \
  5192. (This)->lpVtbl -> put_LocalProperty(This,ePropType,vPropVal)
  5193. #define IMsgrSP2_get_LocalProperty(This,ePropType,pvPropVal) \
  5194. (This)->lpVtbl -> get_LocalProperty(This,ePropType,pvPropVal)
  5195. #define IMsgrSP2_SendPage(This,pUser,bstrMessage,ePhoneType,plCookie) \
  5196. (This)->lpVtbl -> SendPage(This,pUser,bstrMessage,ePhoneType,plCookie)
  5197. #define IMsgrSP2_SendCustomInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,bstrCustomText,plCookie) \
  5198. (This)->lpVtbl -> SendCustomInviteMail(This,bstrEmailAddress,lFindCookie,lFindIndex,lLCID,bstrCustomText,plCookie)
  5199. #endif /* COBJMACROS */
  5200. #endif /* C style interface */
  5201. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsgrSP2_get_LocalIPAddress_Proxy(
  5202. IMsgrSP2 __RPC_FAR * This,
  5203. /* [retval][out] */ long __RPC_FAR *plAddr);
  5204. void __RPC_STUB IMsgrSP2_get_LocalIPAddress_Stub(
  5205. IRpcStubBuffer *This,
  5206. IRpcChannelBuffer *_pRpcChannelBuffer,
  5207. PRPC_MESSAGE _pRpcMessage,
  5208. DWORD *_pdwStubPhase);
  5209. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsgrSP2_put_LocalProperty_Proxy(
  5210. IMsgrSP2 __RPC_FAR * This,
  5211. /* [in] */ MUSERPROPERTY ePropType,
  5212. /* [in] */ VARIANT vPropVal);
  5213. void __RPC_STUB IMsgrSP2_put_LocalProperty_Stub(
  5214. IRpcStubBuffer *This,
  5215. IRpcChannelBuffer *_pRpcChannelBuffer,
  5216. PRPC_MESSAGE _pRpcMessage,
  5217. DWORD *_pdwStubPhase);
  5218. /* [propget] */ HRESULT STDMETHODCALLTYPE IMsgrSP2_get_LocalProperty_Proxy(
  5219. IMsgrSP2 __RPC_FAR * This,
  5220. /* [in] */ MUSERPROPERTY ePropType,
  5221. /* [retval][out] */ VARIANT __RPC_FAR *pvPropVal);
  5222. void __RPC_STUB IMsgrSP2_get_LocalProperty_Stub(
  5223. IRpcStubBuffer *This,
  5224. IRpcChannelBuffer *_pRpcChannelBuffer,
  5225. PRPC_MESSAGE _pRpcMessage,
  5226. DWORD *_pdwStubPhase);
  5227. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrSP2_SendPage_Proxy(
  5228. IMsgrSP2 __RPC_FAR * This,
  5229. /* [in] */ IMsgrUser __RPC_FAR *pUser,
  5230. /* [in] */ BSTR bstrMessage,
  5231. /* [in] */ MUSERPROPERTY ePhoneType,
  5232. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  5233. void __RPC_STUB IMsgrSP2_SendPage_Stub(
  5234. IRpcStubBuffer *This,
  5235. IRpcChannelBuffer *_pRpcChannelBuffer,
  5236. PRPC_MESSAGE _pRpcMessage,
  5237. DWORD *_pdwStubPhase);
  5238. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsgrSP2_SendCustomInviteMail_Proxy(
  5239. IMsgrSP2 __RPC_FAR * This,
  5240. /* [in] */ BSTR bstrEmailAddress,
  5241. /* [in] */ LONG lFindCookie,
  5242. /* [in] */ LONG lFindIndex,
  5243. /* [in] */ LONG lLCID,
  5244. /* [in] */ BSTR bstrCustomText,
  5245. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  5246. void __RPC_STUB IMsgrSP2_SendCustomInviteMail_Stub(
  5247. IRpcStubBuffer *This,
  5248. IRpcChannelBuffer *_pRpcChannelBuffer,
  5249. PRPC_MESSAGE _pRpcMessage,
  5250. DWORD *_pdwStubPhase);
  5251. #endif /* __IMsgrSP2_INTERFACE_DEFINED__ */
  5252. EXTERN_C const CLSID CLSID_MsgrObject;
  5253. #ifdef __cplusplus
  5254. class DECLSPEC_UUID("F3A614DC-ABE0-11d2-A441-00C04F795683")
  5255. MsgrObject;
  5256. #endif
  5257. EXTERN_C const CLSID CLSID_MessengerApp;
  5258. #ifdef __cplusplus
  5259. class DECLSPEC_UUID("FB7199AB-79BF-11d2-8D94-0000F875C541")
  5260. MessengerApp;
  5261. #endif
  5262. #endif /* __Messenger_LIBRARY_DEFINED__ */
  5263. /* interface __MIDL_itf_mdisp_0154 */
  5264. /* [local] */
  5265. typedef /* [public][public] */
  5266. enum __MIDL___MIDL_itf_mdisp_0154_0001
  5267. { INFOBAR_DEFAULT = 0,
  5268. INFOBAR_INFORMATION = 1,
  5269. INFOBAR_EXCLAMATION = 2
  5270. } INFOBAR;
  5271. typedef /* [public][public][public] */
  5272. enum __MIDL___MIDL_itf_mdisp_0154_0002
  5273. { FONTSIZE_SMALLEST = 0,
  5274. FONTSIZE_SMALLER = 1,
  5275. FONTSIZE_MEDIUM = 2,
  5276. FONTSIZE_LARGER = 3,
  5277. FONTSIZE_LARGEST = 4
  5278. } FONTSIZE;
  5279. typedef /* [public][public][public][public] */
  5280. enum __MIDL___MIDL_itf_mdisp_0154_0003
  5281. { VOICESESSIONSTATE_DISABLED = 0,
  5282. VOICESESSIONSTATE_INACTIVE = 1,
  5283. VOICESESSIONSTATE_ACTIVE = 2
  5284. } VOICESESSIONSTATE;
  5285. typedef struct tagLOGFONT_DATA
  5286. {
  5287. LONG lfHeight;
  5288. LONG lfWidth;
  5289. LONG lfEscapement;
  5290. LONG lfOrientation;
  5291. LONG lfWeight;
  5292. LONG lfItalic;
  5293. LONG lfUnderline;
  5294. LONG lfStrikeOut;
  5295. LONG lfCharSet;
  5296. LONG lfOutPrecision;
  5297. LONG lfClipPrecision;
  5298. LONG lfQuality;
  5299. LONG lfPitchAndFamily;
  5300. BSTR bstrFaceName;
  5301. } LOGFONT_DATA;
  5302. extern RPC_IF_HANDLE __MIDL_itf_mdisp_0154_v0_0_c_ifspec;
  5303. extern RPC_IF_HANDLE __MIDL_itf_mdisp_0154_v0_0_s_ifspec;
  5304. #ifndef __IMsnMessengerIMWindow_INTERFACE_DEFINED__
  5305. #define __IMsnMessengerIMWindow_INTERFACE_DEFINED__
  5306. /* interface IMsnMessengerIMWindow */
  5307. /* [object][helpcontext][helpstring][uuid] */
  5308. EXTERN_C const IID IID_IMsnMessengerIMWindow;
  5309. #if defined(__cplusplus) && !defined(CINTERFACE)
  5310. MIDL_INTERFACE("2B7E6AA9-C4FA-4951-815B-4AFE39D81453")
  5311. IMsnMessengerIMWindow : public IUnknown
  5312. {
  5313. public:
  5314. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_HistoryHWND(
  5315. /* [retval][out] */ long __RPC_FAR *phWnd) = 0;
  5316. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_InputHWND(
  5317. /* [retval][out] */ long __RPC_FAR *phWnd) = 0;
  5318. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SetWindowStyle(
  5319. /* [in] */ long hWnd,
  5320. /* [in] */ long lStyle,
  5321. /* [in] */ long lExStyle) = 0;
  5322. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_TextSize(
  5323. /* [retval][out] */ FONTSIZE __RPC_FAR *plSize) = 0;
  5324. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_TextSize(
  5325. /* [in] */ FONTSIZE lSize) = 0;
  5326. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMessageFont(
  5327. /* [out] */ LOGFONT_DATA __RPC_FAR *plfMessage,
  5328. /* [out] */ COLORREF __RPC_FAR *pcrMessage,
  5329. /* [out] */ long __RPC_FAR *plMinPointSize,
  5330. /* [out] */ long __RPC_FAR *plMaxPointSize) = 0;
  5331. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SetMessageFont(
  5332. /* [in] */ LOGFONT_DATA __RPC_FAR *plfMessage,
  5333. /* [in] */ COLORREF crMessage) = 0;
  5334. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendFile(
  5335. /* [in] */ BSTR bstrFilePath) = 0;
  5336. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE CancelFileTransfer( void) = 0;
  5337. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_VoiceSessionState(
  5338. /* [retval][out] */ VOICESESSIONSTATE __RPC_FAR *plState) = 0;
  5339. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_VoiceSessionState(
  5340. /* [in] */ VOICESESSIONSTATE lState) = 0;
  5341. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_VoiceVolume(
  5342. /* [retval][out] */ long __RPC_FAR *plVolume) = 0;
  5343. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_VoiceVolume(
  5344. /* [in] */ long lVolume) = 0;
  5345. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_MicrophoneMute(
  5346. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolMute) = 0;
  5347. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_MicrophoneMute(
  5348. /* [in] */ VARIANT_BOOL BoolMute) = 0;
  5349. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_MicrophoneAmplitude(
  5350. /* [retval][out] */ long __RPC_FAR *plAmplitude) = 0;
  5351. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_IsPageMode(
  5352. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolPager) = 0;
  5353. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_PhoneNumber(
  5354. /* [retval][out] */ MUSERPROPERTY __RPC_FAR *plProp) = 0;
  5355. virtual /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_PhoneNumber(
  5356. /* [in] */ MUSERPROPERTY lProp) = 0;
  5357. virtual /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_DefaultUser(
  5358. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser) = 0;
  5359. };
  5360. #else /* C style interface */
  5361. typedef struct IMsnMessengerIMWindowVtbl
  5362. {
  5363. BEGIN_INTERFACE
  5364. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  5365. IMsnMessengerIMWindow __RPC_FAR * This,
  5366. /* [in] */ REFIID riid,
  5367. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5368. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  5369. IMsnMessengerIMWindow __RPC_FAR * This);
  5370. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  5371. IMsnMessengerIMWindow __RPC_FAR * This);
  5372. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_HistoryHWND )(
  5373. IMsnMessengerIMWindow __RPC_FAR * This,
  5374. /* [retval][out] */ long __RPC_FAR *phWnd);
  5375. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_InputHWND )(
  5376. IMsnMessengerIMWindow __RPC_FAR * This,
  5377. /* [retval][out] */ long __RPC_FAR *phWnd);
  5378. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetWindowStyle )(
  5379. IMsnMessengerIMWindow __RPC_FAR * This,
  5380. /* [in] */ long hWnd,
  5381. /* [in] */ long lStyle,
  5382. /* [in] */ long lExStyle);
  5383. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TextSize )(
  5384. IMsnMessengerIMWindow __RPC_FAR * This,
  5385. /* [retval][out] */ FONTSIZE __RPC_FAR *plSize);
  5386. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_TextSize )(
  5387. IMsnMessengerIMWindow __RPC_FAR * This,
  5388. /* [in] */ FONTSIZE lSize);
  5389. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMessageFont )(
  5390. IMsnMessengerIMWindow __RPC_FAR * This,
  5391. /* [out] */ LOGFONT_DATA __RPC_FAR *plfMessage,
  5392. /* [out] */ COLORREF __RPC_FAR *pcrMessage,
  5393. /* [out] */ long __RPC_FAR *plMinPointSize,
  5394. /* [out] */ long __RPC_FAR *plMaxPointSize);
  5395. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetMessageFont )(
  5396. IMsnMessengerIMWindow __RPC_FAR * This,
  5397. /* [in] */ LOGFONT_DATA __RPC_FAR *plfMessage,
  5398. /* [in] */ COLORREF crMessage);
  5399. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendFile )(
  5400. IMsnMessengerIMWindow __RPC_FAR * This,
  5401. /* [in] */ BSTR bstrFilePath);
  5402. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CancelFileTransfer )(
  5403. IMsnMessengerIMWindow __RPC_FAR * This);
  5404. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_VoiceSessionState )(
  5405. IMsnMessengerIMWindow __RPC_FAR * This,
  5406. /* [retval][out] */ VOICESESSIONSTATE __RPC_FAR *plState);
  5407. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_VoiceSessionState )(
  5408. IMsnMessengerIMWindow __RPC_FAR * This,
  5409. /* [in] */ VOICESESSIONSTATE lState);
  5410. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_VoiceVolume )(
  5411. IMsnMessengerIMWindow __RPC_FAR * This,
  5412. /* [retval][out] */ long __RPC_FAR *plVolume);
  5413. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_VoiceVolume )(
  5414. IMsnMessengerIMWindow __RPC_FAR * This,
  5415. /* [in] */ long lVolume);
  5416. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MicrophoneMute )(
  5417. IMsnMessengerIMWindow __RPC_FAR * This,
  5418. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolMute);
  5419. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_MicrophoneMute )(
  5420. IMsnMessengerIMWindow __RPC_FAR * This,
  5421. /* [in] */ VARIANT_BOOL BoolMute);
  5422. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MicrophoneAmplitude )(
  5423. IMsnMessengerIMWindow __RPC_FAR * This,
  5424. /* [retval][out] */ long __RPC_FAR *plAmplitude);
  5425. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IsPageMode )(
  5426. IMsnMessengerIMWindow __RPC_FAR * This,
  5427. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolPager);
  5428. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PhoneNumber )(
  5429. IMsnMessengerIMWindow __RPC_FAR * This,
  5430. /* [retval][out] */ MUSERPROPERTY __RPC_FAR *plProp);
  5431. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_PhoneNumber )(
  5432. IMsnMessengerIMWindow __RPC_FAR * This,
  5433. /* [in] */ MUSERPROPERTY lProp);
  5434. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DefaultUser )(
  5435. IMsnMessengerIMWindow __RPC_FAR * This,
  5436. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser);
  5437. END_INTERFACE
  5438. } IMsnMessengerIMWindowVtbl;
  5439. interface IMsnMessengerIMWindow
  5440. {
  5441. CONST_VTBL struct IMsnMessengerIMWindowVtbl __RPC_FAR *lpVtbl;
  5442. };
  5443. #ifdef COBJMACROS
  5444. #define IMsnMessengerIMWindow_QueryInterface(This,riid,ppvObject) \
  5445. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5446. #define IMsnMessengerIMWindow_AddRef(This) \
  5447. (This)->lpVtbl -> AddRef(This)
  5448. #define IMsnMessengerIMWindow_Release(This) \
  5449. (This)->lpVtbl -> Release(This)
  5450. #define IMsnMessengerIMWindow_get_HistoryHWND(This,phWnd) \
  5451. (This)->lpVtbl -> get_HistoryHWND(This,phWnd)
  5452. #define IMsnMessengerIMWindow_get_InputHWND(This,phWnd) \
  5453. (This)->lpVtbl -> get_InputHWND(This,phWnd)
  5454. #define IMsnMessengerIMWindow_SetWindowStyle(This,hWnd,lStyle,lExStyle) \
  5455. (This)->lpVtbl -> SetWindowStyle(This,hWnd,lStyle,lExStyle)
  5456. #define IMsnMessengerIMWindow_get_TextSize(This,plSize) \
  5457. (This)->lpVtbl -> get_TextSize(This,plSize)
  5458. #define IMsnMessengerIMWindow_put_TextSize(This,lSize) \
  5459. (This)->lpVtbl -> put_TextSize(This,lSize)
  5460. #define IMsnMessengerIMWindow_GetMessageFont(This,plfMessage,pcrMessage,plMinPointSize,plMaxPointSize) \
  5461. (This)->lpVtbl -> GetMessageFont(This,plfMessage,pcrMessage,plMinPointSize,plMaxPointSize)
  5462. #define IMsnMessengerIMWindow_SetMessageFont(This,plfMessage,crMessage) \
  5463. (This)->lpVtbl -> SetMessageFont(This,plfMessage,crMessage)
  5464. #define IMsnMessengerIMWindow_SendFile(This,bstrFilePath) \
  5465. (This)->lpVtbl -> SendFile(This,bstrFilePath)
  5466. #define IMsnMessengerIMWindow_CancelFileTransfer(This) \
  5467. (This)->lpVtbl -> CancelFileTransfer(This)
  5468. #define IMsnMessengerIMWindow_get_VoiceSessionState(This,plState) \
  5469. (This)->lpVtbl -> get_VoiceSessionState(This,plState)
  5470. #define IMsnMessengerIMWindow_put_VoiceSessionState(This,lState) \
  5471. (This)->lpVtbl -> put_VoiceSessionState(This,lState)
  5472. #define IMsnMessengerIMWindow_get_VoiceVolume(This,plVolume) \
  5473. (This)->lpVtbl -> get_VoiceVolume(This,plVolume)
  5474. #define IMsnMessengerIMWindow_put_VoiceVolume(This,lVolume) \
  5475. (This)->lpVtbl -> put_VoiceVolume(This,lVolume)
  5476. #define IMsnMessengerIMWindow_get_MicrophoneMute(This,pBoolMute) \
  5477. (This)->lpVtbl -> get_MicrophoneMute(This,pBoolMute)
  5478. #define IMsnMessengerIMWindow_put_MicrophoneMute(This,BoolMute) \
  5479. (This)->lpVtbl -> put_MicrophoneMute(This,BoolMute)
  5480. #define IMsnMessengerIMWindow_get_MicrophoneAmplitude(This,plAmplitude) \
  5481. (This)->lpVtbl -> get_MicrophoneAmplitude(This,plAmplitude)
  5482. #define IMsnMessengerIMWindow_get_IsPageMode(This,pBoolPager) \
  5483. (This)->lpVtbl -> get_IsPageMode(This,pBoolPager)
  5484. #define IMsnMessengerIMWindow_get_PhoneNumber(This,plProp) \
  5485. (This)->lpVtbl -> get_PhoneNumber(This,plProp)
  5486. #define IMsnMessengerIMWindow_put_PhoneNumber(This,lProp) \
  5487. (This)->lpVtbl -> put_PhoneNumber(This,lProp)
  5488. #define IMsnMessengerIMWindow_get_DefaultUser(This,ppUser) \
  5489. (This)->lpVtbl -> get_DefaultUser(This,ppUser)
  5490. #endif /* COBJMACROS */
  5491. #endif /* C style interface */
  5492. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_get_HistoryHWND_Proxy(
  5493. IMsnMessengerIMWindow __RPC_FAR * This,
  5494. /* [retval][out] */ long __RPC_FAR *phWnd);
  5495. void __RPC_STUB IMsnMessengerIMWindow_get_HistoryHWND_Stub(
  5496. IRpcStubBuffer *This,
  5497. IRpcChannelBuffer *_pRpcChannelBuffer,
  5498. PRPC_MESSAGE _pRpcMessage,
  5499. DWORD *_pdwStubPhase);
  5500. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_get_InputHWND_Proxy(
  5501. IMsnMessengerIMWindow __RPC_FAR * This,
  5502. /* [retval][out] */ long __RPC_FAR *phWnd);
  5503. void __RPC_STUB IMsnMessengerIMWindow_get_InputHWND_Stub(
  5504. IRpcStubBuffer *This,
  5505. IRpcChannelBuffer *_pRpcChannelBuffer,
  5506. PRPC_MESSAGE _pRpcMessage,
  5507. DWORD *_pdwStubPhase);
  5508. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_SetWindowStyle_Proxy(
  5509. IMsnMessengerIMWindow __RPC_FAR * This,
  5510. /* [in] */ long hWnd,
  5511. /* [in] */ long lStyle,
  5512. /* [in] */ long lExStyle);
  5513. void __RPC_STUB IMsnMessengerIMWindow_SetWindowStyle_Stub(
  5514. IRpcStubBuffer *This,
  5515. IRpcChannelBuffer *_pRpcChannelBuffer,
  5516. PRPC_MESSAGE _pRpcMessage,
  5517. DWORD *_pdwStubPhase);
  5518. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_get_TextSize_Proxy(
  5519. IMsnMessengerIMWindow __RPC_FAR * This,
  5520. /* [retval][out] */ FONTSIZE __RPC_FAR *plSize);
  5521. void __RPC_STUB IMsnMessengerIMWindow_get_TextSize_Stub(
  5522. IRpcStubBuffer *This,
  5523. IRpcChannelBuffer *_pRpcChannelBuffer,
  5524. PRPC_MESSAGE _pRpcMessage,
  5525. DWORD *_pdwStubPhase);
  5526. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_put_TextSize_Proxy(
  5527. IMsnMessengerIMWindow __RPC_FAR * This,
  5528. /* [in] */ FONTSIZE lSize);
  5529. void __RPC_STUB IMsnMessengerIMWindow_put_TextSize_Stub(
  5530. IRpcStubBuffer *This,
  5531. IRpcChannelBuffer *_pRpcChannelBuffer,
  5532. PRPC_MESSAGE _pRpcMessage,
  5533. DWORD *_pdwStubPhase);
  5534. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_GetMessageFont_Proxy(
  5535. IMsnMessengerIMWindow __RPC_FAR * This,
  5536. /* [out] */ LOGFONT_DATA __RPC_FAR *plfMessage,
  5537. /* [out] */ COLORREF __RPC_FAR *pcrMessage,
  5538. /* [out] */ long __RPC_FAR *plMinPointSize,
  5539. /* [out] */ long __RPC_FAR *plMaxPointSize);
  5540. void __RPC_STUB IMsnMessengerIMWindow_GetMessageFont_Stub(
  5541. IRpcStubBuffer *This,
  5542. IRpcChannelBuffer *_pRpcChannelBuffer,
  5543. PRPC_MESSAGE _pRpcMessage,
  5544. DWORD *_pdwStubPhase);
  5545. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_SetMessageFont_Proxy(
  5546. IMsnMessengerIMWindow __RPC_FAR * This,
  5547. /* [in] */ LOGFONT_DATA __RPC_FAR *plfMessage,
  5548. /* [in] */ COLORREF crMessage);
  5549. void __RPC_STUB IMsnMessengerIMWindow_SetMessageFont_Stub(
  5550. IRpcStubBuffer *This,
  5551. IRpcChannelBuffer *_pRpcChannelBuffer,
  5552. PRPC_MESSAGE _pRpcMessage,
  5553. DWORD *_pdwStubPhase);
  5554. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_SendFile_Proxy(
  5555. IMsnMessengerIMWindow __RPC_FAR * This,
  5556. /* [in] */ BSTR bstrFilePath);
  5557. void __RPC_STUB IMsnMessengerIMWindow_SendFile_Stub(
  5558. IRpcStubBuffer *This,
  5559. IRpcChannelBuffer *_pRpcChannelBuffer,
  5560. PRPC_MESSAGE _pRpcMessage,
  5561. DWORD *_pdwStubPhase);
  5562. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_CancelFileTransfer_Proxy(
  5563. IMsnMessengerIMWindow __RPC_FAR * This);
  5564. void __RPC_STUB IMsnMessengerIMWindow_CancelFileTransfer_Stub(
  5565. IRpcStubBuffer *This,
  5566. IRpcChannelBuffer *_pRpcChannelBuffer,
  5567. PRPC_MESSAGE _pRpcMessage,
  5568. DWORD *_pdwStubPhase);
  5569. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_get_VoiceSessionState_Proxy(
  5570. IMsnMessengerIMWindow __RPC_FAR * This,
  5571. /* [retval][out] */ VOICESESSIONSTATE __RPC_FAR *plState);
  5572. void __RPC_STUB IMsnMessengerIMWindow_get_VoiceSessionState_Stub(
  5573. IRpcStubBuffer *This,
  5574. IRpcChannelBuffer *_pRpcChannelBuffer,
  5575. PRPC_MESSAGE _pRpcMessage,
  5576. DWORD *_pdwStubPhase);
  5577. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_put_VoiceSessionState_Proxy(
  5578. IMsnMessengerIMWindow __RPC_FAR * This,
  5579. /* [in] */ VOICESESSIONSTATE lState);
  5580. void __RPC_STUB IMsnMessengerIMWindow_put_VoiceSessionState_Stub(
  5581. IRpcStubBuffer *This,
  5582. IRpcChannelBuffer *_pRpcChannelBuffer,
  5583. PRPC_MESSAGE _pRpcMessage,
  5584. DWORD *_pdwStubPhase);
  5585. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_get_VoiceVolume_Proxy(
  5586. IMsnMessengerIMWindow __RPC_FAR * This,
  5587. /* [retval][out] */ long __RPC_FAR *plVolume);
  5588. void __RPC_STUB IMsnMessengerIMWindow_get_VoiceVolume_Stub(
  5589. IRpcStubBuffer *This,
  5590. IRpcChannelBuffer *_pRpcChannelBuffer,
  5591. PRPC_MESSAGE _pRpcMessage,
  5592. DWORD *_pdwStubPhase);
  5593. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_put_VoiceVolume_Proxy(
  5594. IMsnMessengerIMWindow __RPC_FAR * This,
  5595. /* [in] */ long lVolume);
  5596. void __RPC_STUB IMsnMessengerIMWindow_put_VoiceVolume_Stub(
  5597. IRpcStubBuffer *This,
  5598. IRpcChannelBuffer *_pRpcChannelBuffer,
  5599. PRPC_MESSAGE _pRpcMessage,
  5600. DWORD *_pdwStubPhase);
  5601. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_get_MicrophoneMute_Proxy(
  5602. IMsnMessengerIMWindow __RPC_FAR * This,
  5603. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolMute);
  5604. void __RPC_STUB IMsnMessengerIMWindow_get_MicrophoneMute_Stub(
  5605. IRpcStubBuffer *This,
  5606. IRpcChannelBuffer *_pRpcChannelBuffer,
  5607. PRPC_MESSAGE _pRpcMessage,
  5608. DWORD *_pdwStubPhase);
  5609. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_put_MicrophoneMute_Proxy(
  5610. IMsnMessengerIMWindow __RPC_FAR * This,
  5611. /* [in] */ VARIANT_BOOL BoolMute);
  5612. void __RPC_STUB IMsnMessengerIMWindow_put_MicrophoneMute_Stub(
  5613. IRpcStubBuffer *This,
  5614. IRpcChannelBuffer *_pRpcChannelBuffer,
  5615. PRPC_MESSAGE _pRpcMessage,
  5616. DWORD *_pdwStubPhase);
  5617. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_get_MicrophoneAmplitude_Proxy(
  5618. IMsnMessengerIMWindow __RPC_FAR * This,
  5619. /* [retval][out] */ long __RPC_FAR *plAmplitude);
  5620. void __RPC_STUB IMsnMessengerIMWindow_get_MicrophoneAmplitude_Stub(
  5621. IRpcStubBuffer *This,
  5622. IRpcChannelBuffer *_pRpcChannelBuffer,
  5623. PRPC_MESSAGE _pRpcMessage,
  5624. DWORD *_pdwStubPhase);
  5625. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_get_IsPageMode_Proxy(
  5626. IMsnMessengerIMWindow __RPC_FAR * This,
  5627. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolPager);
  5628. void __RPC_STUB IMsnMessengerIMWindow_get_IsPageMode_Stub(
  5629. IRpcStubBuffer *This,
  5630. IRpcChannelBuffer *_pRpcChannelBuffer,
  5631. PRPC_MESSAGE _pRpcMessage,
  5632. DWORD *_pdwStubPhase);
  5633. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_get_PhoneNumber_Proxy(
  5634. IMsnMessengerIMWindow __RPC_FAR * This,
  5635. /* [retval][out] */ MUSERPROPERTY __RPC_FAR *plProp);
  5636. void __RPC_STUB IMsnMessengerIMWindow_get_PhoneNumber_Stub(
  5637. IRpcStubBuffer *This,
  5638. IRpcChannelBuffer *_pRpcChannelBuffer,
  5639. PRPC_MESSAGE _pRpcMessage,
  5640. DWORD *_pdwStubPhase);
  5641. /* [helpcontext][helpstring][propput] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_put_PhoneNumber_Proxy(
  5642. IMsnMessengerIMWindow __RPC_FAR * This,
  5643. /* [in] */ MUSERPROPERTY lProp);
  5644. void __RPC_STUB IMsnMessengerIMWindow_put_PhoneNumber_Stub(
  5645. IRpcStubBuffer *This,
  5646. IRpcChannelBuffer *_pRpcChannelBuffer,
  5647. PRPC_MESSAGE _pRpcMessage,
  5648. DWORD *_pdwStubPhase);
  5649. /* [helpcontext][helpstring][propget] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow_get_DefaultUser_Proxy(
  5650. IMsnMessengerIMWindow __RPC_FAR * This,
  5651. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser);
  5652. void __RPC_STUB IMsnMessengerIMWindow_get_DefaultUser_Stub(
  5653. IRpcStubBuffer *This,
  5654. IRpcChannelBuffer *_pRpcChannelBuffer,
  5655. PRPC_MESSAGE _pRpcMessage,
  5656. DWORD *_pdwStubPhase);
  5657. #endif /* __IMsnMessengerIMWindow_INTERFACE_DEFINED__ */
  5658. #ifndef __IMsnMessengerIMWindow2_INTERFACE_DEFINED__
  5659. #define __IMsnMessengerIMWindow2_INTERFACE_DEFINED__
  5660. /* interface IMsnMessengerIMWindow2 */
  5661. /* [object][helpcontext][helpstring][uuid] */
  5662. EXTERN_C const IID IID_IMsnMessengerIMWindow2;
  5663. #if defined(__cplusplus) && !defined(CINTERFACE)
  5664. MIDL_INTERFACE("70BF15A8-58CD-4687-A8B3-D14E2F760371")
  5665. IMsnMessengerIMWindow2 : public IMsnMessengerIMWindow
  5666. {
  5667. public:
  5668. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE ProcessSysChar(
  5669. long lChar) = 0;
  5670. };
  5671. #else /* C style interface */
  5672. typedef struct IMsnMessengerIMWindow2Vtbl
  5673. {
  5674. BEGIN_INTERFACE
  5675. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  5676. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5677. /* [in] */ REFIID riid,
  5678. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5679. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  5680. IMsnMessengerIMWindow2 __RPC_FAR * This);
  5681. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  5682. IMsnMessengerIMWindow2 __RPC_FAR * This);
  5683. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_HistoryHWND )(
  5684. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5685. /* [retval][out] */ long __RPC_FAR *phWnd);
  5686. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_InputHWND )(
  5687. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5688. /* [retval][out] */ long __RPC_FAR *phWnd);
  5689. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetWindowStyle )(
  5690. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5691. /* [in] */ long hWnd,
  5692. /* [in] */ long lStyle,
  5693. /* [in] */ long lExStyle);
  5694. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TextSize )(
  5695. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5696. /* [retval][out] */ FONTSIZE __RPC_FAR *plSize);
  5697. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_TextSize )(
  5698. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5699. /* [in] */ FONTSIZE lSize);
  5700. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMessageFont )(
  5701. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5702. /* [out] */ LOGFONT_DATA __RPC_FAR *plfMessage,
  5703. /* [out] */ COLORREF __RPC_FAR *pcrMessage,
  5704. /* [out] */ long __RPC_FAR *plMinPointSize,
  5705. /* [out] */ long __RPC_FAR *plMaxPointSize);
  5706. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetMessageFont )(
  5707. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5708. /* [in] */ LOGFONT_DATA __RPC_FAR *plfMessage,
  5709. /* [in] */ COLORREF crMessage);
  5710. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendFile )(
  5711. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5712. /* [in] */ BSTR bstrFilePath);
  5713. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CancelFileTransfer )(
  5714. IMsnMessengerIMWindow2 __RPC_FAR * This);
  5715. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_VoiceSessionState )(
  5716. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5717. /* [retval][out] */ VOICESESSIONSTATE __RPC_FAR *plState);
  5718. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_VoiceSessionState )(
  5719. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5720. /* [in] */ VOICESESSIONSTATE lState);
  5721. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_VoiceVolume )(
  5722. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5723. /* [retval][out] */ long __RPC_FAR *plVolume);
  5724. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_VoiceVolume )(
  5725. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5726. /* [in] */ long lVolume);
  5727. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MicrophoneMute )(
  5728. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5729. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolMute);
  5730. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_MicrophoneMute )(
  5731. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5732. /* [in] */ VARIANT_BOOL BoolMute);
  5733. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MicrophoneAmplitude )(
  5734. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5735. /* [retval][out] */ long __RPC_FAR *plAmplitude);
  5736. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IsPageMode )(
  5737. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5738. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pBoolPager);
  5739. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PhoneNumber )(
  5740. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5741. /* [retval][out] */ MUSERPROPERTY __RPC_FAR *plProp);
  5742. /* [helpcontext][helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_PhoneNumber )(
  5743. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5744. /* [in] */ MUSERPROPERTY lProp);
  5745. /* [helpcontext][helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DefaultUser )(
  5746. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5747. /* [retval][out] */ IMsgrUser __RPC_FAR *__RPC_FAR *ppUser);
  5748. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ProcessSysChar )(
  5749. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5750. long lChar);
  5751. END_INTERFACE
  5752. } IMsnMessengerIMWindow2Vtbl;
  5753. interface IMsnMessengerIMWindow2
  5754. {
  5755. CONST_VTBL struct IMsnMessengerIMWindow2Vtbl __RPC_FAR *lpVtbl;
  5756. };
  5757. #ifdef COBJMACROS
  5758. #define IMsnMessengerIMWindow2_QueryInterface(This,riid,ppvObject) \
  5759. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5760. #define IMsnMessengerIMWindow2_AddRef(This) \
  5761. (This)->lpVtbl -> AddRef(This)
  5762. #define IMsnMessengerIMWindow2_Release(This) \
  5763. (This)->lpVtbl -> Release(This)
  5764. #define IMsnMessengerIMWindow2_get_HistoryHWND(This,phWnd) \
  5765. (This)->lpVtbl -> get_HistoryHWND(This,phWnd)
  5766. #define IMsnMessengerIMWindow2_get_InputHWND(This,phWnd) \
  5767. (This)->lpVtbl -> get_InputHWND(This,phWnd)
  5768. #define IMsnMessengerIMWindow2_SetWindowStyle(This,hWnd,lStyle,lExStyle) \
  5769. (This)->lpVtbl -> SetWindowStyle(This,hWnd,lStyle,lExStyle)
  5770. #define IMsnMessengerIMWindow2_get_TextSize(This,plSize) \
  5771. (This)->lpVtbl -> get_TextSize(This,plSize)
  5772. #define IMsnMessengerIMWindow2_put_TextSize(This,lSize) \
  5773. (This)->lpVtbl -> put_TextSize(This,lSize)
  5774. #define IMsnMessengerIMWindow2_GetMessageFont(This,plfMessage,pcrMessage,plMinPointSize,plMaxPointSize) \
  5775. (This)->lpVtbl -> GetMessageFont(This,plfMessage,pcrMessage,plMinPointSize,plMaxPointSize)
  5776. #define IMsnMessengerIMWindow2_SetMessageFont(This,plfMessage,crMessage) \
  5777. (This)->lpVtbl -> SetMessageFont(This,plfMessage,crMessage)
  5778. #define IMsnMessengerIMWindow2_SendFile(This,bstrFilePath) \
  5779. (This)->lpVtbl -> SendFile(This,bstrFilePath)
  5780. #define IMsnMessengerIMWindow2_CancelFileTransfer(This) \
  5781. (This)->lpVtbl -> CancelFileTransfer(This)
  5782. #define IMsnMessengerIMWindow2_get_VoiceSessionState(This,plState) \
  5783. (This)->lpVtbl -> get_VoiceSessionState(This,plState)
  5784. #define IMsnMessengerIMWindow2_put_VoiceSessionState(This,lState) \
  5785. (This)->lpVtbl -> put_VoiceSessionState(This,lState)
  5786. #define IMsnMessengerIMWindow2_get_VoiceVolume(This,plVolume) \
  5787. (This)->lpVtbl -> get_VoiceVolume(This,plVolume)
  5788. #define IMsnMessengerIMWindow2_put_VoiceVolume(This,lVolume) \
  5789. (This)->lpVtbl -> put_VoiceVolume(This,lVolume)
  5790. #define IMsnMessengerIMWindow2_get_MicrophoneMute(This,pBoolMute) \
  5791. (This)->lpVtbl -> get_MicrophoneMute(This,pBoolMute)
  5792. #define IMsnMessengerIMWindow2_put_MicrophoneMute(This,BoolMute) \
  5793. (This)->lpVtbl -> put_MicrophoneMute(This,BoolMute)
  5794. #define IMsnMessengerIMWindow2_get_MicrophoneAmplitude(This,plAmplitude) \
  5795. (This)->lpVtbl -> get_MicrophoneAmplitude(This,plAmplitude)
  5796. #define IMsnMessengerIMWindow2_get_IsPageMode(This,pBoolPager) \
  5797. (This)->lpVtbl -> get_IsPageMode(This,pBoolPager)
  5798. #define IMsnMessengerIMWindow2_get_PhoneNumber(This,plProp) \
  5799. (This)->lpVtbl -> get_PhoneNumber(This,plProp)
  5800. #define IMsnMessengerIMWindow2_put_PhoneNumber(This,lProp) \
  5801. (This)->lpVtbl -> put_PhoneNumber(This,lProp)
  5802. #define IMsnMessengerIMWindow2_get_DefaultUser(This,ppUser) \
  5803. (This)->lpVtbl -> get_DefaultUser(This,ppUser)
  5804. #define IMsnMessengerIMWindow2_ProcessSysChar(This,lChar) \
  5805. (This)->lpVtbl -> ProcessSysChar(This,lChar)
  5806. #endif /* COBJMACROS */
  5807. #endif /* C style interface */
  5808. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IMsnMessengerIMWindow2_ProcessSysChar_Proxy(
  5809. IMsnMessengerIMWindow2 __RPC_FAR * This,
  5810. long lChar);
  5811. void __RPC_STUB IMsnMessengerIMWindow2_ProcessSysChar_Stub(
  5812. IRpcStubBuffer *This,
  5813. IRpcChannelBuffer *_pRpcChannelBuffer,
  5814. PRPC_MESSAGE _pRpcMessage,
  5815. DWORD *_pdwStubPhase);
  5816. #endif /* __IMsnMessengerIMWindow2_INTERFACE_DEFINED__ */
  5817. /* Additional Prototypes for ALL interfaces */
  5818. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  5819. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  5820. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  5821. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  5822. /* end of Additional Prototypes */
  5823. #ifdef __cplusplus
  5824. }
  5825. #endif
  5826. #endif