msimcsdk.h 104 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097
  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 5.03.0279 */
  4. /* at Thu Dec 14 06:29:16 2000
  5. */
  6. /* Compiler settings for P:\INSTMSG\src\idl\msimcsdk.idl:
  7. Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
  8. error checks: allocation ref bounds_check enum stub_data
  9. VC __declspec() decoration level:
  10. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  11. DECLSPEC_UUID(), MIDL_INTERFACE()
  12. */
  13. //@@MIDL_FILE_HEADING( )
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18. #include "rpc.h"
  19. #include "rpcndr.h"
  20. #ifndef __msimcsdk_h__
  21. #define __msimcsdk_h__
  22. /* Forward Declarations */
  23. #ifndef __IMSIMHost_FWD_DEFINED__
  24. #define __IMSIMHost_FWD_DEFINED__
  25. typedef interface IMSIMHost IMSIMHost;
  26. #endif /* __IMSIMHost_FWD_DEFINED__ */
  27. #ifndef __DMSIMHostEvents_FWD_DEFINED__
  28. #define __DMSIMHostEvents_FWD_DEFINED__
  29. typedef interface DMSIMHostEvents DMSIMHostEvents;
  30. #endif /* __DMSIMHostEvents_FWD_DEFINED__ */
  31. #ifndef __IMSIMWindow_FWD_DEFINED__
  32. #define __IMSIMWindow_FWD_DEFINED__
  33. typedef interface IMSIMWindow IMSIMWindow;
  34. #endif /* __IMSIMWindow_FWD_DEFINED__ */
  35. #ifndef __DMSIMWindowEvents_FWD_DEFINED__
  36. #define __DMSIMWindowEvents_FWD_DEFINED__
  37. typedef interface DMSIMWindowEvents DMSIMWindowEvents;
  38. #endif /* __DMSIMWindowEvents_FWD_DEFINED__ */
  39. #ifndef __IIMService_FWD_DEFINED__
  40. #define __IIMService_FWD_DEFINED__
  41. typedef interface IIMService IIMService;
  42. #endif /* __IIMService_FWD_DEFINED__ */
  43. #ifndef __DIMServiceEvents_FWD_DEFINED__
  44. #define __DIMServiceEvents_FWD_DEFINED__
  45. typedef interface DIMServiceEvents DIMServiceEvents;
  46. #endif /* __DIMServiceEvents_FWD_DEFINED__ */
  47. #ifndef __IIMContact_FWD_DEFINED__
  48. #define __IIMContact_FWD_DEFINED__
  49. typedef interface IIMContact IIMContact;
  50. #endif /* __IIMContact_FWD_DEFINED__ */
  51. #ifndef __IIMContacts_FWD_DEFINED__
  52. #define __IIMContacts_FWD_DEFINED__
  53. typedef interface IIMContacts IIMContacts;
  54. #endif /* __IIMContacts_FWD_DEFINED__ */
  55. #ifndef __IIMSession_FWD_DEFINED__
  56. #define __IIMSession_FWD_DEFINED__
  57. typedef interface IIMSession IIMSession;
  58. #endif /* __IIMSession_FWD_DEFINED__ */
  59. #ifndef __IIMSessions_FWD_DEFINED__
  60. #define __IIMSessions_FWD_DEFINED__
  61. typedef interface IIMSessions IIMSessions;
  62. #endif /* __IIMSessions_FWD_DEFINED__ */
  63. #ifndef __MSIMHost_FWD_DEFINED__
  64. #define __MSIMHost_FWD_DEFINED__
  65. #ifdef __cplusplus
  66. typedef class MSIMHost MSIMHost;
  67. #else
  68. typedef struct MSIMHost MSIMHost;
  69. #endif /* __cplusplus */
  70. #endif /* __MSIMHost_FWD_DEFINED__ */
  71. #ifndef __MSIMService_FWD_DEFINED__
  72. #define __MSIMService_FWD_DEFINED__
  73. #ifdef __cplusplus
  74. typedef class MSIMService MSIMService;
  75. #else
  76. typedef struct MSIMService MSIMService;
  77. #endif /* __cplusplus */
  78. #endif /* __MSIMService_FWD_DEFINED__ */
  79. #ifndef __MSIMWindow_FWD_DEFINED__
  80. #define __MSIMWindow_FWD_DEFINED__
  81. #ifdef __cplusplus
  82. typedef class MSIMWindow MSIMWindow;
  83. #else
  84. typedef struct MSIMWindow MSIMWindow;
  85. #endif /* __cplusplus */
  86. #endif /* __MSIMWindow_FWD_DEFINED__ */
  87. #ifndef __MSIMHostOption_FWD_DEFINED__
  88. #define __MSIMHostOption_FWD_DEFINED__
  89. #ifdef __cplusplus
  90. typedef class MSIMHostOption MSIMHostOption;
  91. #else
  92. typedef struct MSIMHostOption MSIMHostOption;
  93. #endif /* __cplusplus */
  94. #endif /* __MSIMHostOption_FWD_DEFINED__ */
  95. #ifndef __MSIMHostProfiles_FWD_DEFINED__
  96. #define __MSIMHostProfiles_FWD_DEFINED__
  97. #ifdef __cplusplus
  98. typedef class MSIMHostProfiles MSIMHostProfiles;
  99. #else
  100. typedef struct MSIMHostProfiles MSIMHostProfiles;
  101. #endif /* __cplusplus */
  102. #endif /* __MSIMHostProfiles_FWD_DEFINED__ */
  103. /* header files for imported files */
  104. #include "oaidl.h"
  105. #include "ocidl.h"
  106. #ifdef __cplusplus
  107. extern "C"{
  108. #endif
  109. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  110. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  111. /* interface __MIDL_itf_msimcsdk_0000 */
  112. /* [local] */
  113. #define MSIM_DISPID_ONLOGONRESULT 0x0E00
  114. #define MSIM_DISPID_ONLOGOFF 0x0E01
  115. #define MSIM_DISPID_ONLISTADDRESULT 0x0E02
  116. #define MSIM_DISPID_ONLISTREMOVERESULT 0x0E03
  117. #define MSIM_DISPID_ONFRIENDLYNAMECHANGERESULT 0x0E04
  118. #define MSIM_DISPID_ONCONTACTSTATECHANGED 0x0E05
  119. #define MSIM_DISPID_ONTEXTRECEIVED 0x0E06
  120. #define MSIM_DISPID_ONLOCALFRIENDLYNAMECHANGERESULT 0x0E07
  121. #define MSIM_DISPID_ONLOCALSTATECHANGERESULT 0x0E08
  122. #define MSIM_DISPID_ONSENDRESULT 0x0E09
  123. #define MSIM_DISPID_ONFINDRESULT 0x0E0A
  124. #define MSIM_DISPID_ONSESSIONSTATECHANGE 0x0E0B
  125. #define MSIM_DISPID_ONNEWSESSIONMEMBER 0x0E0C
  126. #define MSIM_DISPID_ONSESSIONMEMBERLEAVE 0x0E0D
  127. #define MSIM_DISPID_ONNEWSESSIONREQUEST 0x0E0F
  128. #define MSIM_DISPID_ONINVITECONTACT 0x0E10
  129. #define MSIM_DISPID_ONAPPSHUTDOWN 0x0E12
  130. #define MSIM_DISPID_ON_NM_INVITERECEIVED 0x0E13
  131. #define MSIM_DISPID_ON_NM_ACCEPTED 0x0E14
  132. #define MSIM_DISPID_ON_NM_CANCELLED 0x0E15
  133. #define MSIMWND_DISPID_ONMOVE 0x00E0
  134. #define MSIMWND_DISPID_ONCLOSE 0x00E1
  135. #define MSIMWND_DISPID_ONRESIZE 0x00E2
  136. #define MSIMWND_DISPID_ONSHOW 0x00E3
  137. #define MSIMWND_DISPID_ONFOCUS 0x00E4
  138. #define MSIMHOSTEVENTS_DISPID_ONDOUBLECLICK 0xD
  139. #define MSIMHOSTEVENTS_DISPID_ONSHUTDOWN 0xE
  140. #define MSIMHOSTEVENTS_DISPID_ONCLICKUSERNOTIFY 0xF
  141. typedef /* [public] */
  142. enum __MIDL___MIDL_itf_msimcsdk_0000_0001
  143. { IM_E_CONNECT = 0x81000300 + 0x1,
  144. IM_E_INVALID_SERVER_NAME = 0x81000300 + 0x2,
  145. IM_E_INVALID_PASSWORD = 0x81000300 + 0x3,
  146. IM_E_ALREADY_LOGGED_ON = 0x81000300 + 0x4,
  147. IM_E_SERVER_VERSION = 0x81000300 + 0x5,
  148. IM_E_LOGON_TIMEOUT = 0x81000300 + 0x6,
  149. IM_E_LIST_FULL = 0x81000300 + 0x7,
  150. IM_E_AI_REJECT = 0x81000300 + 0x8,
  151. IM_E_AI_REJECT_NOT_INST = 0x81000300 + 0x9,
  152. IM_E_USER_NOT_FOUND = 0x81000300 + 0xa,
  153. IM_E_ALREADY_IN_LIST = 0x81000300 + 0xb,
  154. IM_E_DISCONNECTED = 0x81000300 + 0xc,
  155. IM_E_UNEXPECTED = 0x81000300 + 0xd,
  156. IM_E_SERVER_TOO_BUSY = 0x81000300 + 0xe,
  157. IM_E_INVALID_AUTH_PACKAGES = 0x81000300 + 0xf,
  158. IM_E_NEWER_CLIENT_AVAILABLE = 0x81000300 + 0x10,
  159. IM_E_AI_TIMEOUT = 0x81000300 + 0x11,
  160. IM_E_CANCEL = 0x81000300 + 0x12,
  161. IM_E_TOO_MANY_MATCHES = 0x81000300 + 0x13,
  162. IM_E_SERVER_UNAVAILABLE = 0x81000300 + 0x14,
  163. IM_E_LOGON_UI_ACTIVE = 0x81000300 + 0x15,
  164. IM_E_OPTION_UI_ACTIVE = 0x81000300 + 0x16,
  165. IM_E_CONTACT_UI_ACTIVE = 0x81000300 + 0x17,
  166. IM_E_LOGGED_ON = 0x81000300 + 0x19,
  167. IM_E_CONNECT_PROXY = 0x81000300 + 0x1a,
  168. IM_E_PROXY_AUTH = 0x81000300 + 0x1b,
  169. IM_E_PROXY_AUTH_TYPE = 0x81000300 + 0x1c,
  170. IM_E_INVALID_PROXY_NAME = 0x81000300 + 0x1d,
  171. IM_E_NOT_PRIMARY_SERVICE = 0x81000300 + 0x20,
  172. IM_E_TOO_MANY_SESSIONS = 0x81000300 + 0x21,
  173. IM_E_TOO_MANY_MESSAGES = 0x81000300 + 0x22,
  174. IM_E_REMOTE_LOGIN = 0x81000300 + 0x23,
  175. IM_E_INVALID_FRIENDLY_NAME = 0x81000300 + 0x24,
  176. IM_E_SESSION_FULL = 0x81000300 + 0x25,
  177. IM_E_NOT_ALLOWING_NEW_USERS = 0x81000300 + 0x26,
  178. IM_E_INVALID_DOMAIN = 0x81000300 + 0x27,
  179. IM_E_TCP_ERROR = 0x81000300 + 0x28,
  180. IM_E_SESSION_TIMEOUT = 0x81000300 + 0x29,
  181. IM_E_MULTIPOINT_SESSION_BEGIN_TIMEOUT = 0x81000300 + 0x2a,
  182. IM_E_MULTIPOINT_SESSION_END_TIMEOUT = 0x81000300 + 0x2b,
  183. IM_E_REVERSE_LIST_FULL = 0x81000300 + 0x2c,
  184. IM_E_SERVER_ERROR = 0x81000300 + 0x2d,
  185. IM_E_SYSTEM_CONFIG = 0x81000300 + 0x2e,
  186. IM_E_NO_DIRECTORY = 0x81000300 + 0x2f,
  187. IM_E_USER_CANCELED_LOGON = 0x81000300 + 0x50,
  188. IM_E_ALREADY_EXISTS = 0x81000300 + 0x51,
  189. IM_E_DOES_NOT_EXIST = 0x81000300 + 0x52,
  190. IM_S_LOGGED_ON = 0x1000300 + 0x19,
  191. IM_S_ALREADY_IN_THE_MODE = 0x1000300 + 0x1
  192. } IM_RESULTS;
  193. typedef /* [public][public][public] */
  194. enum __MIDL___MIDL_itf_msimcsdk_0000_0002
  195. { IM_MSG_TYPE_NO_RESULT = 0,
  196. IM_MSG_TYPE_ERRORS_ONLY = 1,
  197. IM_MSG_TYPE_ALL_RESULTS = 2
  198. } IM_MSG_TYPE;
  199. typedef /* [public] */
  200. enum __MIDL___MIDL_itf_msimcsdk_0000_0003
  201. { IM_INVITE_TYPE_REQUEST_LAUNCH = 0x1,
  202. IM_INVITE_TYPE_REQUEST_IP = 0x4,
  203. IM_INVITE_TYPE_PROVIDE_IP = 0x8
  204. } IM_INVITE_FLAGS;
  205. typedef /* [public][public] */
  206. enum __MIDL___MIDL_itf_msimcsdk_0000_0004
  207. { IM_STATE_UNKNOWN = 0,
  208. IM_STATE_OFFLINE = 0x1,
  209. IM_STATE_ONLINE = 0x2,
  210. IM_STATE_INVISIBLE = 0x6,
  211. IM_STATE_BUSY = 0xa,
  212. IM_STATE_BE_RIGHT_BACK = 0xe,
  213. IM_STATE_IDLE = 0x12,
  214. IM_STATE_AWAY = 0x22,
  215. IM_STATE_ON_THE_PHONE = 0x32,
  216. IM_STATE_OUT_TO_LUNCH = 0x42,
  217. IM_STATE_LOCAL_FINDING_SERVER = 0x100,
  218. IM_STATE_LOCAL_CONNECTING_TO_SERVER = 0x200,
  219. IM_STATE_LOCAL_SYNCHRONIZING_WITH_SERVER = 0x300,
  220. IM_STATE_LOCAL_DISCONNECTING_FROM_SERVER = 0x400
  221. } IM_STATE;
  222. typedef /* [public][public] */
  223. enum __MIDL___MIDL_itf_msimcsdk_0000_0005
  224. { IM_SSTATE_DISCONNECTED = 0,
  225. IM_SSTATE_CONNECTING = 1,
  226. IM_SSTATE_CONNECTED = 2,
  227. IM_SSTATE_DISCONNECTING = 3,
  228. IM_SSTATE_ERROR = 4
  229. } IM_SSTATE;
  230. typedef /* [public] */
  231. enum __MIDL___MIDL_itf_msimcsdk_0000_0006
  232. { MSIM_LIST_CONTACT = 0x1,
  233. MSIM_LIST_ALLOW = 0x2,
  234. MSIM_LIST_BLOCK = 0x4,
  235. MSIM_LIST_REVERSE = 0x8,
  236. MSIM_LIST_NOREF = 0x10,
  237. MSIM_LIST_SAVE = 0x20,
  238. MSIM_LIST_SYSTEM = 0x80
  239. } MSIM_LIST_TYPE;
  240. typedef /* [public] */
  241. enum __MIDL___MIDL_itf_msimcsdk_0000_0007
  242. { MSIMWND_WS_OVERLAPPED = 0,
  243. MSIMWND_WS_TOOL = 1,
  244. MSIMWND_WS_POPUP = 2,
  245. MSIMWND_WS_DIALOG = 3,
  246. MSIMWND_WS_SIZEBOX = 4
  247. } MSIMWND_STYLES;
  248. typedef /* [public] */
  249. enum __MIDL___MIDL_itf_msimcsdk_0000_0008
  250. { MSIMWND_SIZE_MAXHIDE = 1,
  251. MSIMWND_SIZE_MAXIMIZED = 2,
  252. MSIMWND_SIZE_MAXSHOW = 3,
  253. MSIMWND_SIZE_MINIMIZED = 4,
  254. MSIMWND_SIZE_RESTORED = 5
  255. } MSIMWND_SIZE_TYPE;
  256. #define MSIM_LIST_CONTACT 0x00000001
  257. #define MSIM_LIST_ALLOW 0x00000002
  258. #define MSIM_LIST_BLOCK 0x00000004
  259. #define MSIM_LIST_REVERSE 0x00000008
  260. #define MSIM_LIST_NOREF 0x00000010
  261. #define MSIM_LIST_SAVE 0x00000020
  262. #define MSIM_LIST_SYSTEM 0x00000080
  263. #define MSIM_LIST_CONTACT_STR L"$$Messenger\\Contact"
  264. #define MSIM_LIST_ALLOW_STR L"$$Messenger\\Allow"
  265. #define MSIM_LIST_BLOCK_STR L"$$Messenger\\Block"
  266. #define MSIM_LIST_REVERSE_STR L"$$Messenger\\Reverse"
  267. extern RPC_IF_HANDLE __MIDL_itf_msimcsdk_0000_v0_0_c_ifspec;
  268. extern RPC_IF_HANDLE __MIDL_itf_msimcsdk_0000_v0_0_s_ifspec;
  269. #ifndef __MSIMCliSDKLib_LIBRARY_DEFINED__
  270. #define __MSIMCliSDKLib_LIBRARY_DEFINED__
  271. /* library MSIMCliSDKLib */
  272. /* [helpstring][version][uuid] */
  273. EXTERN_C const IID LIBID_MSIMCliSDKLib;
  274. #ifndef __IMSIMHost_INTERFACE_DEFINED__
  275. #define __IMSIMHost_INTERFACE_DEFINED__
  276. /* interface IMSIMHost */
  277. /* [unique][helpstring][dual][uuid][object] */
  278. EXTERN_C const IID IID_IMSIMHost;
  279. #if defined(__cplusplus) && !defined(CINTERFACE)
  280. MIDL_INTERFACE("7B8E28EB-1A74-4970-8AB4-4EA9DB048006")
  281. IMSIMHost : public IDispatch
  282. {
  283. public:
  284. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateContext(
  285. /* [in] */ VARIANT Profile,
  286. /* [in] */ VARIANT Flags,
  287. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppInterface) = 0;
  288. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ShowOptions( void) = 0;
  289. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Profiles(
  290. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *pProfile) = 0;
  291. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HostWindow(
  292. /* [in] */ BSTR bstrControl,
  293. /* [in] */ long lStyle,
  294. /* [in] */ VARIANT_BOOL fShowOnTaskbar,
  295. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppMSIMWnd) = 0;
  296. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateProfile(
  297. /* [in] */ BSTR bstrProfile,
  298. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppProfile) = 0;
  299. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PopupMessage(
  300. /* [in] */ BSTR bstrMessage,
  301. /* [defaultvalue][in] */ long nTimeout,
  302. /* [defaultvalue][in] */ VARIANT_BOOL fClick,
  303. /* [retval][out] */ long __RPC_FAR *plCookie) = 0;
  304. virtual /* [hidden][restricted][helpstring] */ HRESULT STDMETHODCALLTYPE HostWindowEx(
  305. /* [in] */ BSTR bstrControl,
  306. /* [in] */ long lStyle,
  307. /* [in] */ long lExStyle,
  308. /* [in] */ IStream __RPC_FAR *pStream,
  309. /* [out] */ IMSIMWindow __RPC_FAR *__RPC_FAR *ppMSIMWindow,
  310. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk,
  311. /* [in] */ REFIID iidAdvise,
  312. /* [in] */ IUnknown __RPC_FAR *punkSink) = 0;
  313. };
  314. #else /* C style interface */
  315. typedef struct IMSIMHostVtbl
  316. {
  317. BEGIN_INTERFACE
  318. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  319. IMSIMHost __RPC_FAR * This,
  320. /* [in] */ REFIID riid,
  321. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  322. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  323. IMSIMHost __RPC_FAR * This);
  324. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  325. IMSIMHost __RPC_FAR * This);
  326. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  327. IMSIMHost __RPC_FAR * This,
  328. /* [out] */ UINT __RPC_FAR *pctinfo);
  329. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  330. IMSIMHost __RPC_FAR * This,
  331. /* [in] */ UINT iTInfo,
  332. /* [in] */ LCID lcid,
  333. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  334. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  335. IMSIMHost __RPC_FAR * This,
  336. /* [in] */ REFIID riid,
  337. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  338. /* [in] */ UINT cNames,
  339. /* [in] */ LCID lcid,
  340. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  341. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  342. IMSIMHost __RPC_FAR * This,
  343. /* [in] */ DISPID dispIdMember,
  344. /* [in] */ REFIID riid,
  345. /* [in] */ LCID lcid,
  346. /* [in] */ WORD wFlags,
  347. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  348. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  349. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  350. /* [out] */ UINT __RPC_FAR *puArgErr);
  351. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateContext )(
  352. IMSIMHost __RPC_FAR * This,
  353. /* [in] */ VARIANT Profile,
  354. /* [in] */ VARIANT Flags,
  355. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppInterface);
  356. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowOptions )(
  357. IMSIMHost __RPC_FAR * This);
  358. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Profiles )(
  359. IMSIMHost __RPC_FAR * This,
  360. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *pProfile);
  361. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HostWindow )(
  362. IMSIMHost __RPC_FAR * This,
  363. /* [in] */ BSTR bstrControl,
  364. /* [in] */ long lStyle,
  365. /* [in] */ VARIANT_BOOL fShowOnTaskbar,
  366. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppMSIMWnd);
  367. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateProfile )(
  368. IMSIMHost __RPC_FAR * This,
  369. /* [in] */ BSTR bstrProfile,
  370. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppProfile);
  371. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PopupMessage )(
  372. IMSIMHost __RPC_FAR * This,
  373. /* [in] */ BSTR bstrMessage,
  374. /* [defaultvalue][in] */ long nTimeout,
  375. /* [defaultvalue][in] */ VARIANT_BOOL fClick,
  376. /* [retval][out] */ long __RPC_FAR *plCookie);
  377. /* [hidden][restricted][helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HostWindowEx )(
  378. IMSIMHost __RPC_FAR * This,
  379. /* [in] */ BSTR bstrControl,
  380. /* [in] */ long lStyle,
  381. /* [in] */ long lExStyle,
  382. /* [in] */ IStream __RPC_FAR *pStream,
  383. /* [out] */ IMSIMWindow __RPC_FAR *__RPC_FAR *ppMSIMWindow,
  384. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk,
  385. /* [in] */ REFIID iidAdvise,
  386. /* [in] */ IUnknown __RPC_FAR *punkSink);
  387. END_INTERFACE
  388. } IMSIMHostVtbl;
  389. interface IMSIMHost
  390. {
  391. CONST_VTBL struct IMSIMHostVtbl __RPC_FAR *lpVtbl;
  392. };
  393. #ifdef COBJMACROS
  394. #define IMSIMHost_QueryInterface(This,riid,ppvObject) \
  395. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  396. #define IMSIMHost_AddRef(This) \
  397. (This)->lpVtbl -> AddRef(This)
  398. #define IMSIMHost_Release(This) \
  399. (This)->lpVtbl -> Release(This)
  400. #define IMSIMHost_GetTypeInfoCount(This,pctinfo) \
  401. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  402. #define IMSIMHost_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  403. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  404. #define IMSIMHost_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  405. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  406. #define IMSIMHost_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  407. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  408. #define IMSIMHost_CreateContext(This,Profile,Flags,ppInterface) \
  409. (This)->lpVtbl -> CreateContext(This,Profile,Flags,ppInterface)
  410. #define IMSIMHost_ShowOptions(This) \
  411. (This)->lpVtbl -> ShowOptions(This)
  412. #define IMSIMHost_get_Profiles(This,pProfile) \
  413. (This)->lpVtbl -> get_Profiles(This,pProfile)
  414. #define IMSIMHost_HostWindow(This,bstrControl,lStyle,fShowOnTaskbar,ppMSIMWnd) \
  415. (This)->lpVtbl -> HostWindow(This,bstrControl,lStyle,fShowOnTaskbar,ppMSIMWnd)
  416. #define IMSIMHost_CreateProfile(This,bstrProfile,ppProfile) \
  417. (This)->lpVtbl -> CreateProfile(This,bstrProfile,ppProfile)
  418. #define IMSIMHost_PopupMessage(This,bstrMessage,nTimeout,fClick,plCookie) \
  419. (This)->lpVtbl -> PopupMessage(This,bstrMessage,nTimeout,fClick,plCookie)
  420. #define IMSIMHost_HostWindowEx(This,bstrControl,lStyle,lExStyle,pStream,ppMSIMWindow,ppUnk,iidAdvise,punkSink) \
  421. (This)->lpVtbl -> HostWindowEx(This,bstrControl,lStyle,lExStyle,pStream,ppMSIMWindow,ppUnk,iidAdvise,punkSink)
  422. #endif /* COBJMACROS */
  423. #endif /* C style interface */
  424. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSIMHost_CreateContext_Proxy(
  425. IMSIMHost __RPC_FAR * This,
  426. /* [in] */ VARIANT Profile,
  427. /* [in] */ VARIANT Flags,
  428. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppInterface);
  429. void __RPC_STUB IMSIMHost_CreateContext_Stub(
  430. IRpcStubBuffer *This,
  431. IRpcChannelBuffer *_pRpcChannelBuffer,
  432. PRPC_MESSAGE _pRpcMessage,
  433. DWORD *_pdwStubPhase);
  434. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSIMHost_ShowOptions_Proxy(
  435. IMSIMHost __RPC_FAR * This);
  436. void __RPC_STUB IMSIMHost_ShowOptions_Stub(
  437. IRpcStubBuffer *This,
  438. IRpcChannelBuffer *_pRpcChannelBuffer,
  439. PRPC_MESSAGE _pRpcMessage,
  440. DWORD *_pdwStubPhase);
  441. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMSIMHost_get_Profiles_Proxy(
  442. IMSIMHost __RPC_FAR * This,
  443. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *pProfile);
  444. void __RPC_STUB IMSIMHost_get_Profiles_Stub(
  445. IRpcStubBuffer *This,
  446. IRpcChannelBuffer *_pRpcChannelBuffer,
  447. PRPC_MESSAGE _pRpcMessage,
  448. DWORD *_pdwStubPhase);
  449. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSIMHost_HostWindow_Proxy(
  450. IMSIMHost __RPC_FAR * This,
  451. /* [in] */ BSTR bstrControl,
  452. /* [in] */ long lStyle,
  453. /* [in] */ VARIANT_BOOL fShowOnTaskbar,
  454. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppMSIMWnd);
  455. void __RPC_STUB IMSIMHost_HostWindow_Stub(
  456. IRpcStubBuffer *This,
  457. IRpcChannelBuffer *_pRpcChannelBuffer,
  458. PRPC_MESSAGE _pRpcMessage,
  459. DWORD *_pdwStubPhase);
  460. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSIMHost_CreateProfile_Proxy(
  461. IMSIMHost __RPC_FAR * This,
  462. /* [in] */ BSTR bstrProfile,
  463. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppProfile);
  464. void __RPC_STUB IMSIMHost_CreateProfile_Stub(
  465. IRpcStubBuffer *This,
  466. IRpcChannelBuffer *_pRpcChannelBuffer,
  467. PRPC_MESSAGE _pRpcMessage,
  468. DWORD *_pdwStubPhase);
  469. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSIMHost_PopupMessage_Proxy(
  470. IMSIMHost __RPC_FAR * This,
  471. /* [in] */ BSTR bstrMessage,
  472. /* [defaultvalue][in] */ long nTimeout,
  473. /* [defaultvalue][in] */ VARIANT_BOOL fClick,
  474. /* [retval][out] */ long __RPC_FAR *plCookie);
  475. void __RPC_STUB IMSIMHost_PopupMessage_Stub(
  476. IRpcStubBuffer *This,
  477. IRpcChannelBuffer *_pRpcChannelBuffer,
  478. PRPC_MESSAGE _pRpcMessage,
  479. DWORD *_pdwStubPhase);
  480. /* [hidden][restricted][helpstring] */ HRESULT STDMETHODCALLTYPE IMSIMHost_HostWindowEx_Proxy(
  481. IMSIMHost __RPC_FAR * This,
  482. /* [in] */ BSTR bstrControl,
  483. /* [in] */ long lStyle,
  484. /* [in] */ long lExStyle,
  485. /* [in] */ IStream __RPC_FAR *pStream,
  486. /* [out] */ IMSIMWindow __RPC_FAR *__RPC_FAR *ppMSIMWindow,
  487. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk,
  488. /* [in] */ REFIID iidAdvise,
  489. /* [in] */ IUnknown __RPC_FAR *punkSink);
  490. void __RPC_STUB IMSIMHost_HostWindowEx_Stub(
  491. IRpcStubBuffer *This,
  492. IRpcChannelBuffer *_pRpcChannelBuffer,
  493. PRPC_MESSAGE _pRpcMessage,
  494. DWORD *_pdwStubPhase);
  495. #endif /* __IMSIMHost_INTERFACE_DEFINED__ */
  496. #ifndef __DMSIMHostEvents_DISPINTERFACE_DEFINED__
  497. #define __DMSIMHostEvents_DISPINTERFACE_DEFINED__
  498. /* dispinterface DMSIMHostEvents */
  499. /* [helpstring][uuid] */
  500. EXTERN_C const IID DIID_DMSIMHostEvents;
  501. #if defined(__cplusplus) && !defined(CINTERFACE)
  502. MIDL_INTERFACE("E27DE165-A199-4427-A38F-BEED080AC9D4")
  503. DMSIMHostEvents : public IDispatch
  504. {
  505. };
  506. #else /* C style interface */
  507. typedef struct DMSIMHostEventsVtbl
  508. {
  509. BEGIN_INTERFACE
  510. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  511. DMSIMHostEvents __RPC_FAR * This,
  512. /* [in] */ REFIID riid,
  513. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  514. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  515. DMSIMHostEvents __RPC_FAR * This);
  516. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  517. DMSIMHostEvents __RPC_FAR * This);
  518. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  519. DMSIMHostEvents __RPC_FAR * This,
  520. /* [out] */ UINT __RPC_FAR *pctinfo);
  521. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  522. DMSIMHostEvents __RPC_FAR * This,
  523. /* [in] */ UINT iTInfo,
  524. /* [in] */ LCID lcid,
  525. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  526. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  527. DMSIMHostEvents __RPC_FAR * This,
  528. /* [in] */ REFIID riid,
  529. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  530. /* [in] */ UINT cNames,
  531. /* [in] */ LCID lcid,
  532. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  533. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  534. DMSIMHostEvents __RPC_FAR * This,
  535. /* [in] */ DISPID dispIdMember,
  536. /* [in] */ REFIID riid,
  537. /* [in] */ LCID lcid,
  538. /* [in] */ WORD wFlags,
  539. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  540. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  541. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  542. /* [out] */ UINT __RPC_FAR *puArgErr);
  543. END_INTERFACE
  544. } DMSIMHostEventsVtbl;
  545. interface DMSIMHostEvents
  546. {
  547. CONST_VTBL struct DMSIMHostEventsVtbl __RPC_FAR *lpVtbl;
  548. };
  549. #ifdef COBJMACROS
  550. #define DMSIMHostEvents_QueryInterface(This,riid,ppvObject) \
  551. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  552. #define DMSIMHostEvents_AddRef(This) \
  553. (This)->lpVtbl -> AddRef(This)
  554. #define DMSIMHostEvents_Release(This) \
  555. (This)->lpVtbl -> Release(This)
  556. #define DMSIMHostEvents_GetTypeInfoCount(This,pctinfo) \
  557. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  558. #define DMSIMHostEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  559. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  560. #define DMSIMHostEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  561. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  562. #define DMSIMHostEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  563. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  564. #endif /* COBJMACROS */
  565. #endif /* C style interface */
  566. #endif /* __DMSIMHostEvents_DISPINTERFACE_DEFINED__ */
  567. #ifndef __IMSIMWindow_INTERFACE_DEFINED__
  568. #define __IMSIMWindow_INTERFACE_DEFINED__
  569. /* interface IMSIMWindow */
  570. /* [unique][helpstring][dual][uuid][object] */
  571. EXTERN_C const IID IID_IMSIMWindow;
  572. #if defined(__cplusplus) && !defined(CINTERFACE)
  573. MIDL_INTERFACE("B3B674C2-844B-48F8-8EAA-A2C2E3BC43C7")
  574. IMSIMWindow : public IDispatch
  575. {
  576. public:
  577. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Object(
  578. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp) = 0;
  579. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Move(
  580. /* [in] */ long nX,
  581. /* [in] */ long nY,
  582. /* [in] */ long nWidth,
  583. /* [in] */ long nHeight) = 0;
  584. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Focus( void) = 0;
  585. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Show( void) = 0;
  586. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Hide( void) = 0;
  587. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Title(
  588. /* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
  589. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Title(
  590. /* [in] */ BSTR newVal) = 0;
  591. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  592. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HasFocus(
  593. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
  594. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsVisible(
  595. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
  596. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPosition(
  597. /* [out] */ VARIANT __RPC_FAR *pvarX,
  598. /* [out] */ VARIANT __RPC_FAR *pvarY,
  599. /* [out] */ VARIANT __RPC_FAR *pvarWidth,
  600. /* [out] */ VARIANT __RPC_FAR *pvarHeight) = 0;
  601. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TopMost(
  602. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
  603. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_TopMost(
  604. /* [in] */ VARIANT_BOOL newVal) = 0;
  605. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Window(
  606. /* [retval][out] */ long __RPC_FAR *pVal) = 0;
  607. };
  608. #else /* C style interface */
  609. typedef struct IMSIMWindowVtbl
  610. {
  611. BEGIN_INTERFACE
  612. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  613. IMSIMWindow __RPC_FAR * This,
  614. /* [in] */ REFIID riid,
  615. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  616. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  617. IMSIMWindow __RPC_FAR * This);
  618. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  619. IMSIMWindow __RPC_FAR * This);
  620. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  621. IMSIMWindow __RPC_FAR * This,
  622. /* [out] */ UINT __RPC_FAR *pctinfo);
  623. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  624. IMSIMWindow __RPC_FAR * This,
  625. /* [in] */ UINT iTInfo,
  626. /* [in] */ LCID lcid,
  627. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  628. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  629. IMSIMWindow __RPC_FAR * This,
  630. /* [in] */ REFIID riid,
  631. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  632. /* [in] */ UINT cNames,
  633. /* [in] */ LCID lcid,
  634. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  635. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  636. IMSIMWindow __RPC_FAR * This,
  637. /* [in] */ DISPID dispIdMember,
  638. /* [in] */ REFIID riid,
  639. /* [in] */ LCID lcid,
  640. /* [in] */ WORD wFlags,
  641. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  642. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  643. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  644. /* [out] */ UINT __RPC_FAR *puArgErr);
  645. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Object )(
  646. IMSIMWindow __RPC_FAR * This,
  647. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  648. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
  649. IMSIMWindow __RPC_FAR * This,
  650. /* [in] */ long nX,
  651. /* [in] */ long nY,
  652. /* [in] */ long nWidth,
  653. /* [in] */ long nHeight);
  654. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Focus )(
  655. IMSIMWindow __RPC_FAR * This);
  656. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Show )(
  657. IMSIMWindow __RPC_FAR * This);
  658. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Hide )(
  659. IMSIMWindow __RPC_FAR * This);
  660. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Title )(
  661. IMSIMWindow __RPC_FAR * This,
  662. /* [retval][out] */ BSTR __RPC_FAR *pVal);
  663. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Title )(
  664. IMSIMWindow __RPC_FAR * This,
  665. /* [in] */ BSTR newVal);
  666. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Close )(
  667. IMSIMWindow __RPC_FAR * This);
  668. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_HasFocus )(
  669. IMSIMWindow __RPC_FAR * This,
  670. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
  671. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IsVisible )(
  672. IMSIMWindow __RPC_FAR * This,
  673. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
  674. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )(
  675. IMSIMWindow __RPC_FAR * This,
  676. /* [out] */ VARIANT __RPC_FAR *pvarX,
  677. /* [out] */ VARIANT __RPC_FAR *pvarY,
  678. /* [out] */ VARIANT __RPC_FAR *pvarWidth,
  679. /* [out] */ VARIANT __RPC_FAR *pvarHeight);
  680. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TopMost )(
  681. IMSIMWindow __RPC_FAR * This,
  682. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
  683. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_TopMost )(
  684. IMSIMWindow __RPC_FAR * This,
  685. /* [in] */ VARIANT_BOOL newVal);
  686. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Window )(
  687. IMSIMWindow __RPC_FAR * This,
  688. /* [retval][out] */ long __RPC_FAR *pVal);
  689. END_INTERFACE
  690. } IMSIMWindowVtbl;
  691. interface IMSIMWindow
  692. {
  693. CONST_VTBL struct IMSIMWindowVtbl __RPC_FAR *lpVtbl;
  694. };
  695. #ifdef COBJMACROS
  696. #define IMSIMWindow_QueryInterface(This,riid,ppvObject) \
  697. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  698. #define IMSIMWindow_AddRef(This) \
  699. (This)->lpVtbl -> AddRef(This)
  700. #define IMSIMWindow_Release(This) \
  701. (This)->lpVtbl -> Release(This)
  702. #define IMSIMWindow_GetTypeInfoCount(This,pctinfo) \
  703. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  704. #define IMSIMWindow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  705. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  706. #define IMSIMWindow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  707. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  708. #define IMSIMWindow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  709. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  710. #define IMSIMWindow_get_Object(This,ppDisp) \
  711. (This)->lpVtbl -> get_Object(This,ppDisp)
  712. #define IMSIMWindow_Move(This,nX,nY,nWidth,nHeight) \
  713. (This)->lpVtbl -> Move(This,nX,nY,nWidth,nHeight)
  714. #define IMSIMWindow_Focus(This) \
  715. (This)->lpVtbl -> Focus(This)
  716. #define IMSIMWindow_Show(This) \
  717. (This)->lpVtbl -> Show(This)
  718. #define IMSIMWindow_Hide(This) \
  719. (This)->lpVtbl -> Hide(This)
  720. #define IMSIMWindow_get_Title(This,pVal) \
  721. (This)->lpVtbl -> get_Title(This,pVal)
  722. #define IMSIMWindow_put_Title(This,newVal) \
  723. (This)->lpVtbl -> put_Title(This,newVal)
  724. #define IMSIMWindow_Close(This) \
  725. (This)->lpVtbl -> Close(This)
  726. #define IMSIMWindow_get_HasFocus(This,pVal) \
  727. (This)->lpVtbl -> get_HasFocus(This,pVal)
  728. #define IMSIMWindow_get_IsVisible(This,pVal) \
  729. (This)->lpVtbl -> get_IsVisible(This,pVal)
  730. #define IMSIMWindow_GetPosition(This,pvarX,pvarY,pvarWidth,pvarHeight) \
  731. (This)->lpVtbl -> GetPosition(This,pvarX,pvarY,pvarWidth,pvarHeight)
  732. #define IMSIMWindow_get_TopMost(This,pVal) \
  733. (This)->lpVtbl -> get_TopMost(This,pVal)
  734. #define IMSIMWindow_put_TopMost(This,newVal) \
  735. (This)->lpVtbl -> put_TopMost(This,newVal)
  736. #define IMSIMWindow_get_Window(This,pVal) \
  737. (This)->lpVtbl -> get_Window(This,pVal)
  738. #endif /* COBJMACROS */
  739. #endif /* C style interface */
  740. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_get_Object_Proxy(
  741. IMSIMWindow __RPC_FAR * This,
  742. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDisp);
  743. void __RPC_STUB IMSIMWindow_get_Object_Stub(
  744. IRpcStubBuffer *This,
  745. IRpcChannelBuffer *_pRpcChannelBuffer,
  746. PRPC_MESSAGE _pRpcMessage,
  747. DWORD *_pdwStubPhase);
  748. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_Move_Proxy(
  749. IMSIMWindow __RPC_FAR * This,
  750. /* [in] */ long nX,
  751. /* [in] */ long nY,
  752. /* [in] */ long nWidth,
  753. /* [in] */ long nHeight);
  754. void __RPC_STUB IMSIMWindow_Move_Stub(
  755. IRpcStubBuffer *This,
  756. IRpcChannelBuffer *_pRpcChannelBuffer,
  757. PRPC_MESSAGE _pRpcMessage,
  758. DWORD *_pdwStubPhase);
  759. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_Focus_Proxy(
  760. IMSIMWindow __RPC_FAR * This);
  761. void __RPC_STUB IMSIMWindow_Focus_Stub(
  762. IRpcStubBuffer *This,
  763. IRpcChannelBuffer *_pRpcChannelBuffer,
  764. PRPC_MESSAGE _pRpcMessage,
  765. DWORD *_pdwStubPhase);
  766. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_Show_Proxy(
  767. IMSIMWindow __RPC_FAR * This);
  768. void __RPC_STUB IMSIMWindow_Show_Stub(
  769. IRpcStubBuffer *This,
  770. IRpcChannelBuffer *_pRpcChannelBuffer,
  771. PRPC_MESSAGE _pRpcMessage,
  772. DWORD *_pdwStubPhase);
  773. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_Hide_Proxy(
  774. IMSIMWindow __RPC_FAR * This);
  775. void __RPC_STUB IMSIMWindow_Hide_Stub(
  776. IRpcStubBuffer *This,
  777. IRpcChannelBuffer *_pRpcChannelBuffer,
  778. PRPC_MESSAGE _pRpcMessage,
  779. DWORD *_pdwStubPhase);
  780. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_get_Title_Proxy(
  781. IMSIMWindow __RPC_FAR * This,
  782. /* [retval][out] */ BSTR __RPC_FAR *pVal);
  783. void __RPC_STUB IMSIMWindow_get_Title_Stub(
  784. IRpcStubBuffer *This,
  785. IRpcChannelBuffer *_pRpcChannelBuffer,
  786. PRPC_MESSAGE _pRpcMessage,
  787. DWORD *_pdwStubPhase);
  788. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_put_Title_Proxy(
  789. IMSIMWindow __RPC_FAR * This,
  790. /* [in] */ BSTR newVal);
  791. void __RPC_STUB IMSIMWindow_put_Title_Stub(
  792. IRpcStubBuffer *This,
  793. IRpcChannelBuffer *_pRpcChannelBuffer,
  794. PRPC_MESSAGE _pRpcMessage,
  795. DWORD *_pdwStubPhase);
  796. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_Close_Proxy(
  797. IMSIMWindow __RPC_FAR * This);
  798. void __RPC_STUB IMSIMWindow_Close_Stub(
  799. IRpcStubBuffer *This,
  800. IRpcChannelBuffer *_pRpcChannelBuffer,
  801. PRPC_MESSAGE _pRpcMessage,
  802. DWORD *_pdwStubPhase);
  803. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_get_HasFocus_Proxy(
  804. IMSIMWindow __RPC_FAR * This,
  805. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
  806. void __RPC_STUB IMSIMWindow_get_HasFocus_Stub(
  807. IRpcStubBuffer *This,
  808. IRpcChannelBuffer *_pRpcChannelBuffer,
  809. PRPC_MESSAGE _pRpcMessage,
  810. DWORD *_pdwStubPhase);
  811. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_get_IsVisible_Proxy(
  812. IMSIMWindow __RPC_FAR * This,
  813. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
  814. void __RPC_STUB IMSIMWindow_get_IsVisible_Stub(
  815. IRpcStubBuffer *This,
  816. IRpcChannelBuffer *_pRpcChannelBuffer,
  817. PRPC_MESSAGE _pRpcMessage,
  818. DWORD *_pdwStubPhase);
  819. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_GetPosition_Proxy(
  820. IMSIMWindow __RPC_FAR * This,
  821. /* [out] */ VARIANT __RPC_FAR *pvarX,
  822. /* [out] */ VARIANT __RPC_FAR *pvarY,
  823. /* [out] */ VARIANT __RPC_FAR *pvarWidth,
  824. /* [out] */ VARIANT __RPC_FAR *pvarHeight);
  825. void __RPC_STUB IMSIMWindow_GetPosition_Stub(
  826. IRpcStubBuffer *This,
  827. IRpcChannelBuffer *_pRpcChannelBuffer,
  828. PRPC_MESSAGE _pRpcMessage,
  829. DWORD *_pdwStubPhase);
  830. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_get_TopMost_Proxy(
  831. IMSIMWindow __RPC_FAR * This,
  832. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
  833. void __RPC_STUB IMSIMWindow_get_TopMost_Stub(
  834. IRpcStubBuffer *This,
  835. IRpcChannelBuffer *_pRpcChannelBuffer,
  836. PRPC_MESSAGE _pRpcMessage,
  837. DWORD *_pdwStubPhase);
  838. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_put_TopMost_Proxy(
  839. IMSIMWindow __RPC_FAR * This,
  840. /* [in] */ VARIANT_BOOL newVal);
  841. void __RPC_STUB IMSIMWindow_put_TopMost_Stub(
  842. IRpcStubBuffer *This,
  843. IRpcChannelBuffer *_pRpcChannelBuffer,
  844. PRPC_MESSAGE _pRpcMessage,
  845. DWORD *_pdwStubPhase);
  846. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMSIMWindow_get_Window_Proxy(
  847. IMSIMWindow __RPC_FAR * This,
  848. /* [retval][out] */ long __RPC_FAR *pVal);
  849. void __RPC_STUB IMSIMWindow_get_Window_Stub(
  850. IRpcStubBuffer *This,
  851. IRpcChannelBuffer *_pRpcChannelBuffer,
  852. PRPC_MESSAGE _pRpcMessage,
  853. DWORD *_pdwStubPhase);
  854. #endif /* __IMSIMWindow_INTERFACE_DEFINED__ */
  855. #ifndef __DMSIMWindowEvents_DISPINTERFACE_DEFINED__
  856. #define __DMSIMWindowEvents_DISPINTERFACE_DEFINED__
  857. /* dispinterface DMSIMWindowEvents */
  858. /* [helpstring][uuid] */
  859. EXTERN_C const IID DIID_DMSIMWindowEvents;
  860. #if defined(__cplusplus) && !defined(CINTERFACE)
  861. MIDL_INTERFACE("D7417B39-EBB1-45a7-88C9-B69A7DC6E3BB")
  862. DMSIMWindowEvents : public IDispatch
  863. {
  864. };
  865. #else /* C style interface */
  866. typedef struct DMSIMWindowEventsVtbl
  867. {
  868. BEGIN_INTERFACE
  869. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  870. DMSIMWindowEvents __RPC_FAR * This,
  871. /* [in] */ REFIID riid,
  872. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  873. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  874. DMSIMWindowEvents __RPC_FAR * This);
  875. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  876. DMSIMWindowEvents __RPC_FAR * This);
  877. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  878. DMSIMWindowEvents __RPC_FAR * This,
  879. /* [out] */ UINT __RPC_FAR *pctinfo);
  880. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  881. DMSIMWindowEvents __RPC_FAR * This,
  882. /* [in] */ UINT iTInfo,
  883. /* [in] */ LCID lcid,
  884. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  885. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  886. DMSIMWindowEvents __RPC_FAR * This,
  887. /* [in] */ REFIID riid,
  888. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  889. /* [in] */ UINT cNames,
  890. /* [in] */ LCID lcid,
  891. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  892. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  893. DMSIMWindowEvents __RPC_FAR * This,
  894. /* [in] */ DISPID dispIdMember,
  895. /* [in] */ REFIID riid,
  896. /* [in] */ LCID lcid,
  897. /* [in] */ WORD wFlags,
  898. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  899. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  900. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  901. /* [out] */ UINT __RPC_FAR *puArgErr);
  902. END_INTERFACE
  903. } DMSIMWindowEventsVtbl;
  904. interface DMSIMWindowEvents
  905. {
  906. CONST_VTBL struct DMSIMWindowEventsVtbl __RPC_FAR *lpVtbl;
  907. };
  908. #ifdef COBJMACROS
  909. #define DMSIMWindowEvents_QueryInterface(This,riid,ppvObject) \
  910. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  911. #define DMSIMWindowEvents_AddRef(This) \
  912. (This)->lpVtbl -> AddRef(This)
  913. #define DMSIMWindowEvents_Release(This) \
  914. (This)->lpVtbl -> Release(This)
  915. #define DMSIMWindowEvents_GetTypeInfoCount(This,pctinfo) \
  916. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  917. #define DMSIMWindowEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  918. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  919. #define DMSIMWindowEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  920. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  921. #define DMSIMWindowEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  922. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  923. #endif /* COBJMACROS */
  924. #endif /* C style interface */
  925. #endif /* __DMSIMWindowEvents_DISPINTERFACE_DEFINED__ */
  926. #ifndef __IIMService_INTERFACE_DEFINED__
  927. #define __IIMService_INTERFACE_DEFINED__
  928. /* interface IIMService */
  929. /* [unique][helpstring][dual][uuid][object] */
  930. EXTERN_C const IID IID_IIMService;
  931. #if defined(__cplusplus) && !defined(CINTERFACE)
  932. MIDL_INTERFACE("2F5FC78B-B85C-43F8-A8F9-C9241869600B")
  933. IIMService : public IDispatch
  934. {
  935. public:
  936. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Server(
  937. /* [retval][out] */ BSTR __RPC_FAR *pbstrName) = 0;
  938. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IMAddress(
  939. /* [retval][out] */ BSTR __RPC_FAR *pbstrName) = 0;
  940. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_FriendlyName(
  941. /* [in] */ BSTR bstrName) = 0;
  942. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_FriendlyName(
  943. /* [retval][out] */ BSTR __RPC_FAR *pbstrName) = 0;
  944. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Logoff( void) = 0;
  945. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE FindContact(
  946. /* [in] */ BSTR bstrFirstName,
  947. /* [in] */ BSTR bstrLastName,
  948. /* [in] */ BSTR bstrAlias,
  949. /* [in] */ BSTR bstrCity,
  950. /* [in] */ BSTR bstrState,
  951. /* [in] */ BSTR bstrCountry,
  952. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  953. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Logon(
  954. /* [optional][in] */ VARIANT varParameter) = 0;
  955. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateContact(
  956. /* [in] */ BSTR bstrAlias,
  957. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppContact) = 0;
  958. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SetLocalState(
  959. /* [in] */ long lState,
  960. /* [defaultvalue][in] */ BSTR bstrDescription,
  961. /* [optional][in] */ VARIANT varData) = 0;
  962. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetLocalState(
  963. /* [out] */ VARIANT __RPC_FAR *pvarState,
  964. /* [optional][full][out] */ VARIANT __RPC_FAR *pvarDescription,
  965. /* [optional][full][out] */ VARIANT __RPC_FAR *pvarData) = 0;
  966. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateIMSession(
  967. /* [in] */ VARIANT varIMContact,
  968. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppIMSession) = 0;
  969. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IMSessions(
  970. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppIMSessions) = 0;
  971. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NewList(
  972. /* [in] */ BSTR bstrListName,
  973. /* [in] */ long bfProperties,
  974. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppList) = 0;
  975. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE List(
  976. BSTR bstrListName,
  977. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppList) = 0;
  978. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveList(
  979. /* [in] */ BSTR bstrListName) = 0;
  980. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendNetMeetingInvite(
  981. /* [in] */ VARIANT varContact,
  982. /* [in] */ long lInviteCookie,
  983. /* [retval][out] */ long __RPC_FAR *plSendCookie) = 0;
  984. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendNetMeetingAccept(
  985. /* [in] */ VARIANT varContact,
  986. /* [in] */ long lInviteCookie,
  987. /* [in] */ long lInviteType,
  988. /* [retval][out] */ long __RPC_FAR *plSendCookie) = 0;
  989. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendNetMeetingCancel(
  990. /* [in] */ VARIANT varContact,
  991. /* [in] */ long lInviteCookie,
  992. /* [in] */ long hrReason,
  993. /* [retval][out] */ long __RPC_FAR *plSendCookie) = 0;
  994. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BlockByDefault(
  995. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
  996. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BlockByDefault(
  997. /* [in] */ VARIANT_BOOL newVal) = 0;
  998. };
  999. #else /* C style interface */
  1000. typedef struct IIMServiceVtbl
  1001. {
  1002. BEGIN_INTERFACE
  1003. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1004. IIMService __RPC_FAR * This,
  1005. /* [in] */ REFIID riid,
  1006. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1007. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1008. IIMService __RPC_FAR * This);
  1009. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1010. IIMService __RPC_FAR * This);
  1011. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1012. IIMService __RPC_FAR * This,
  1013. /* [out] */ UINT __RPC_FAR *pctinfo);
  1014. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1015. IIMService __RPC_FAR * This,
  1016. /* [in] */ UINT iTInfo,
  1017. /* [in] */ LCID lcid,
  1018. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1019. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1020. IIMService __RPC_FAR * This,
  1021. /* [in] */ REFIID riid,
  1022. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1023. /* [in] */ UINT cNames,
  1024. /* [in] */ LCID lcid,
  1025. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1026. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1027. IIMService __RPC_FAR * This,
  1028. /* [in] */ DISPID dispIdMember,
  1029. /* [in] */ REFIID riid,
  1030. /* [in] */ LCID lcid,
  1031. /* [in] */ WORD wFlags,
  1032. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1033. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1034. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1035. /* [out] */ UINT __RPC_FAR *puArgErr);
  1036. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Server )(
  1037. IIMService __RPC_FAR * This,
  1038. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  1039. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IMAddress )(
  1040. IIMService __RPC_FAR * This,
  1041. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  1042. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_FriendlyName )(
  1043. IIMService __RPC_FAR * This,
  1044. /* [in] */ BSTR bstrName);
  1045. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FriendlyName )(
  1046. IIMService __RPC_FAR * This,
  1047. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  1048. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Logoff )(
  1049. IIMService __RPC_FAR * This);
  1050. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindContact )(
  1051. IIMService __RPC_FAR * This,
  1052. /* [in] */ BSTR bstrFirstName,
  1053. /* [in] */ BSTR bstrLastName,
  1054. /* [in] */ BSTR bstrAlias,
  1055. /* [in] */ BSTR bstrCity,
  1056. /* [in] */ BSTR bstrState,
  1057. /* [in] */ BSTR bstrCountry,
  1058. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  1059. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Logon )(
  1060. IIMService __RPC_FAR * This,
  1061. /* [optional][in] */ VARIANT varParameter);
  1062. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateContact )(
  1063. IIMService __RPC_FAR * This,
  1064. /* [in] */ BSTR bstrAlias,
  1065. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppContact);
  1066. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLocalState )(
  1067. IIMService __RPC_FAR * This,
  1068. /* [in] */ long lState,
  1069. /* [defaultvalue][in] */ BSTR bstrDescription,
  1070. /* [optional][in] */ VARIANT varData);
  1071. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLocalState )(
  1072. IIMService __RPC_FAR * This,
  1073. /* [out] */ VARIANT __RPC_FAR *pvarState,
  1074. /* [optional][full][out] */ VARIANT __RPC_FAR *pvarDescription,
  1075. /* [optional][full][out] */ VARIANT __RPC_FAR *pvarData);
  1076. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateIMSession )(
  1077. IIMService __RPC_FAR * This,
  1078. /* [in] */ VARIANT varIMContact,
  1079. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppIMSession);
  1080. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IMSessions )(
  1081. IIMService __RPC_FAR * This,
  1082. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppIMSessions);
  1083. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NewList )(
  1084. IIMService __RPC_FAR * This,
  1085. /* [in] */ BSTR bstrListName,
  1086. /* [in] */ long bfProperties,
  1087. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppList);
  1088. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *List )(
  1089. IIMService __RPC_FAR * This,
  1090. BSTR bstrListName,
  1091. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppList);
  1092. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveList )(
  1093. IIMService __RPC_FAR * This,
  1094. /* [in] */ BSTR bstrListName);
  1095. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendNetMeetingInvite )(
  1096. IIMService __RPC_FAR * This,
  1097. /* [in] */ VARIANT varContact,
  1098. /* [in] */ long lInviteCookie,
  1099. /* [retval][out] */ long __RPC_FAR *plSendCookie);
  1100. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendNetMeetingAccept )(
  1101. IIMService __RPC_FAR * This,
  1102. /* [in] */ VARIANT varContact,
  1103. /* [in] */ long lInviteCookie,
  1104. /* [in] */ long lInviteType,
  1105. /* [retval][out] */ long __RPC_FAR *plSendCookie);
  1106. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendNetMeetingCancel )(
  1107. IIMService __RPC_FAR * This,
  1108. /* [in] */ VARIANT varContact,
  1109. /* [in] */ long lInviteCookie,
  1110. /* [in] */ long hrReason,
  1111. /* [retval][out] */ long __RPC_FAR *plSendCookie);
  1112. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_BlockByDefault )(
  1113. IIMService __RPC_FAR * This,
  1114. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
  1115. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_BlockByDefault )(
  1116. IIMService __RPC_FAR * This,
  1117. /* [in] */ VARIANT_BOOL newVal);
  1118. END_INTERFACE
  1119. } IIMServiceVtbl;
  1120. interface IIMService
  1121. {
  1122. CONST_VTBL struct IIMServiceVtbl __RPC_FAR *lpVtbl;
  1123. };
  1124. #ifdef COBJMACROS
  1125. #define IIMService_QueryInterface(This,riid,ppvObject) \
  1126. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1127. #define IIMService_AddRef(This) \
  1128. (This)->lpVtbl -> AddRef(This)
  1129. #define IIMService_Release(This) \
  1130. (This)->lpVtbl -> Release(This)
  1131. #define IIMService_GetTypeInfoCount(This,pctinfo) \
  1132. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1133. #define IIMService_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1134. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1135. #define IIMService_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1136. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1137. #define IIMService_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1138. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1139. #define IIMService_get_Server(This,pbstrName) \
  1140. (This)->lpVtbl -> get_Server(This,pbstrName)
  1141. #define IIMService_get_IMAddress(This,pbstrName) \
  1142. (This)->lpVtbl -> get_IMAddress(This,pbstrName)
  1143. #define IIMService_put_FriendlyName(This,bstrName) \
  1144. (This)->lpVtbl -> put_FriendlyName(This,bstrName)
  1145. #define IIMService_get_FriendlyName(This,pbstrName) \
  1146. (This)->lpVtbl -> get_FriendlyName(This,pbstrName)
  1147. #define IIMService_Logoff(This) \
  1148. (This)->lpVtbl -> Logoff(This)
  1149. #define IIMService_FindContact(This,bstrFirstName,bstrLastName,bstrAlias,bstrCity,bstrState,bstrCountry,plCookie) \
  1150. (This)->lpVtbl -> FindContact(This,bstrFirstName,bstrLastName,bstrAlias,bstrCity,bstrState,bstrCountry,plCookie)
  1151. #define IIMService_Logon(This,varParameter) \
  1152. (This)->lpVtbl -> Logon(This,varParameter)
  1153. #define IIMService_CreateContact(This,bstrAlias,ppContact) \
  1154. (This)->lpVtbl -> CreateContact(This,bstrAlias,ppContact)
  1155. #define IIMService_SetLocalState(This,lState,bstrDescription,varData) \
  1156. (This)->lpVtbl -> SetLocalState(This,lState,bstrDescription,varData)
  1157. #define IIMService_GetLocalState(This,pvarState,pvarDescription,pvarData) \
  1158. (This)->lpVtbl -> GetLocalState(This,pvarState,pvarDescription,pvarData)
  1159. #define IIMService_CreateIMSession(This,varIMContact,ppIMSession) \
  1160. (This)->lpVtbl -> CreateIMSession(This,varIMContact,ppIMSession)
  1161. #define IIMService_get_IMSessions(This,ppIMSessions) \
  1162. (This)->lpVtbl -> get_IMSessions(This,ppIMSessions)
  1163. #define IIMService_NewList(This,bstrListName,bfProperties,ppList) \
  1164. (This)->lpVtbl -> NewList(This,bstrListName,bfProperties,ppList)
  1165. #define IIMService_List(This,bstrListName,ppList) \
  1166. (This)->lpVtbl -> List(This,bstrListName,ppList)
  1167. #define IIMService_RemoveList(This,bstrListName) \
  1168. (This)->lpVtbl -> RemoveList(This,bstrListName)
  1169. #define IIMService_SendNetMeetingInvite(This,varContact,lInviteCookie,plSendCookie) \
  1170. (This)->lpVtbl -> SendNetMeetingInvite(This,varContact,lInviteCookie,plSendCookie)
  1171. #define IIMService_SendNetMeetingAccept(This,varContact,lInviteCookie,lInviteType,plSendCookie) \
  1172. (This)->lpVtbl -> SendNetMeetingAccept(This,varContact,lInviteCookie,lInviteType,plSendCookie)
  1173. #define IIMService_SendNetMeetingCancel(This,varContact,lInviteCookie,hrReason,plSendCookie) \
  1174. (This)->lpVtbl -> SendNetMeetingCancel(This,varContact,lInviteCookie,hrReason,plSendCookie)
  1175. #define IIMService_get_BlockByDefault(This,pVal) \
  1176. (This)->lpVtbl -> get_BlockByDefault(This,pVal)
  1177. #define IIMService_put_BlockByDefault(This,newVal) \
  1178. (This)->lpVtbl -> put_BlockByDefault(This,newVal)
  1179. #endif /* COBJMACROS */
  1180. #endif /* C style interface */
  1181. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IIMService_get_Server_Proxy(
  1182. IIMService __RPC_FAR * This,
  1183. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  1184. void __RPC_STUB IIMService_get_Server_Stub(
  1185. IRpcStubBuffer *This,
  1186. IRpcChannelBuffer *_pRpcChannelBuffer,
  1187. PRPC_MESSAGE _pRpcMessage,
  1188. DWORD *_pdwStubPhase);
  1189. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IIMService_get_IMAddress_Proxy(
  1190. IIMService __RPC_FAR * This,
  1191. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  1192. void __RPC_STUB IIMService_get_IMAddress_Stub(
  1193. IRpcStubBuffer *This,
  1194. IRpcChannelBuffer *_pRpcChannelBuffer,
  1195. PRPC_MESSAGE _pRpcMessage,
  1196. DWORD *_pdwStubPhase);
  1197. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IIMService_put_FriendlyName_Proxy(
  1198. IIMService __RPC_FAR * This,
  1199. /* [in] */ BSTR bstrName);
  1200. void __RPC_STUB IIMService_put_FriendlyName_Stub(
  1201. IRpcStubBuffer *This,
  1202. IRpcChannelBuffer *_pRpcChannelBuffer,
  1203. PRPC_MESSAGE _pRpcMessage,
  1204. DWORD *_pdwStubPhase);
  1205. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IIMService_get_FriendlyName_Proxy(
  1206. IIMService __RPC_FAR * This,
  1207. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  1208. void __RPC_STUB IIMService_get_FriendlyName_Stub(
  1209. IRpcStubBuffer *This,
  1210. IRpcChannelBuffer *_pRpcChannelBuffer,
  1211. PRPC_MESSAGE _pRpcMessage,
  1212. DWORD *_pdwStubPhase);
  1213. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMService_Logoff_Proxy(
  1214. IIMService __RPC_FAR * This);
  1215. void __RPC_STUB IIMService_Logoff_Stub(
  1216. IRpcStubBuffer *This,
  1217. IRpcChannelBuffer *_pRpcChannelBuffer,
  1218. PRPC_MESSAGE _pRpcMessage,
  1219. DWORD *_pdwStubPhase);
  1220. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMService_FindContact_Proxy(
  1221. IIMService __RPC_FAR * This,
  1222. /* [in] */ BSTR bstrFirstName,
  1223. /* [in] */ BSTR bstrLastName,
  1224. /* [in] */ BSTR bstrAlias,
  1225. /* [in] */ BSTR bstrCity,
  1226. /* [in] */ BSTR bstrState,
  1227. /* [in] */ BSTR bstrCountry,
  1228. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  1229. void __RPC_STUB IIMService_FindContact_Stub(
  1230. IRpcStubBuffer *This,
  1231. IRpcChannelBuffer *_pRpcChannelBuffer,
  1232. PRPC_MESSAGE _pRpcMessage,
  1233. DWORD *_pdwStubPhase);
  1234. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMService_Logon_Proxy(
  1235. IIMService __RPC_FAR * This,
  1236. /* [optional][in] */ VARIANT varParameter);
  1237. void __RPC_STUB IIMService_Logon_Stub(
  1238. IRpcStubBuffer *This,
  1239. IRpcChannelBuffer *_pRpcChannelBuffer,
  1240. PRPC_MESSAGE _pRpcMessage,
  1241. DWORD *_pdwStubPhase);
  1242. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMService_CreateContact_Proxy(
  1243. IIMService __RPC_FAR * This,
  1244. /* [in] */ BSTR bstrAlias,
  1245. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppContact);
  1246. void __RPC_STUB IIMService_CreateContact_Stub(
  1247. IRpcStubBuffer *This,
  1248. IRpcChannelBuffer *_pRpcChannelBuffer,
  1249. PRPC_MESSAGE _pRpcMessage,
  1250. DWORD *_pdwStubPhase);
  1251. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMService_SetLocalState_Proxy(
  1252. IIMService __RPC_FAR * This,
  1253. /* [in] */ long lState,
  1254. /* [defaultvalue][in] */ BSTR bstrDescription,
  1255. /* [optional][in] */ VARIANT varData);
  1256. void __RPC_STUB IIMService_SetLocalState_Stub(
  1257. IRpcStubBuffer *This,
  1258. IRpcChannelBuffer *_pRpcChannelBuffer,
  1259. PRPC_MESSAGE _pRpcMessage,
  1260. DWORD *_pdwStubPhase);
  1261. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMService_GetLocalState_Proxy(
  1262. IIMService __RPC_FAR * This,
  1263. /* [out] */ VARIANT __RPC_FAR *pvarState,
  1264. /* [optional][full][out] */ VARIANT __RPC_FAR *pvarDescription,
  1265. /* [optional][full][out] */ VARIANT __RPC_FAR *pvarData);
  1266. void __RPC_STUB IIMService_GetLocalState_Stub(
  1267. IRpcStubBuffer *This,
  1268. IRpcChannelBuffer *_pRpcChannelBuffer,
  1269. PRPC_MESSAGE _pRpcMessage,
  1270. DWORD *_pdwStubPhase);
  1271. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMService_CreateIMSession_Proxy(
  1272. IIMService __RPC_FAR * This,
  1273. /* [in] */ VARIANT varIMContact,
  1274. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppIMSession);
  1275. void __RPC_STUB IIMService_CreateIMSession_Stub(
  1276. IRpcStubBuffer *This,
  1277. IRpcChannelBuffer *_pRpcChannelBuffer,
  1278. PRPC_MESSAGE _pRpcMessage,
  1279. DWORD *_pdwStubPhase);
  1280. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IIMService_get_IMSessions_Proxy(
  1281. IIMService __RPC_FAR * This,
  1282. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppIMSessions);
  1283. void __RPC_STUB IIMService_get_IMSessions_Stub(
  1284. IRpcStubBuffer *This,
  1285. IRpcChannelBuffer *_pRpcChannelBuffer,
  1286. PRPC_MESSAGE _pRpcMessage,
  1287. DWORD *_pdwStubPhase);
  1288. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMService_NewList_Proxy(
  1289. IIMService __RPC_FAR * This,
  1290. /* [in] */ BSTR bstrListName,
  1291. /* [in] */ long bfProperties,
  1292. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppList);
  1293. void __RPC_STUB IIMService_NewList_Stub(
  1294. IRpcStubBuffer *This,
  1295. IRpcChannelBuffer *_pRpcChannelBuffer,
  1296. PRPC_MESSAGE _pRpcMessage,
  1297. DWORD *_pdwStubPhase);
  1298. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMService_List_Proxy(
  1299. IIMService __RPC_FAR * This,
  1300. BSTR bstrListName,
  1301. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppList);
  1302. void __RPC_STUB IIMService_List_Stub(
  1303. IRpcStubBuffer *This,
  1304. IRpcChannelBuffer *_pRpcChannelBuffer,
  1305. PRPC_MESSAGE _pRpcMessage,
  1306. DWORD *_pdwStubPhase);
  1307. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMService_RemoveList_Proxy(
  1308. IIMService __RPC_FAR * This,
  1309. /* [in] */ BSTR bstrListName);
  1310. void __RPC_STUB IIMService_RemoveList_Stub(
  1311. IRpcStubBuffer *This,
  1312. IRpcChannelBuffer *_pRpcChannelBuffer,
  1313. PRPC_MESSAGE _pRpcMessage,
  1314. DWORD *_pdwStubPhase);
  1315. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMService_SendNetMeetingInvite_Proxy(
  1316. IIMService __RPC_FAR * This,
  1317. /* [in] */ VARIANT varContact,
  1318. /* [in] */ long lInviteCookie,
  1319. /* [retval][out] */ long __RPC_FAR *plSendCookie);
  1320. void __RPC_STUB IIMService_SendNetMeetingInvite_Stub(
  1321. IRpcStubBuffer *This,
  1322. IRpcChannelBuffer *_pRpcChannelBuffer,
  1323. PRPC_MESSAGE _pRpcMessage,
  1324. DWORD *_pdwStubPhase);
  1325. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMService_SendNetMeetingAccept_Proxy(
  1326. IIMService __RPC_FAR * This,
  1327. /* [in] */ VARIANT varContact,
  1328. /* [in] */ long lInviteCookie,
  1329. /* [in] */ long lInviteType,
  1330. /* [retval][out] */ long __RPC_FAR *plSendCookie);
  1331. void __RPC_STUB IIMService_SendNetMeetingAccept_Stub(
  1332. IRpcStubBuffer *This,
  1333. IRpcChannelBuffer *_pRpcChannelBuffer,
  1334. PRPC_MESSAGE _pRpcMessage,
  1335. DWORD *_pdwStubPhase);
  1336. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMService_SendNetMeetingCancel_Proxy(
  1337. IIMService __RPC_FAR * This,
  1338. /* [in] */ VARIANT varContact,
  1339. /* [in] */ long lInviteCookie,
  1340. /* [in] */ long hrReason,
  1341. /* [retval][out] */ long __RPC_FAR *plSendCookie);
  1342. void __RPC_STUB IIMService_SendNetMeetingCancel_Stub(
  1343. IRpcStubBuffer *This,
  1344. IRpcChannelBuffer *_pRpcChannelBuffer,
  1345. PRPC_MESSAGE _pRpcMessage,
  1346. DWORD *_pdwStubPhase);
  1347. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IIMService_get_BlockByDefault_Proxy(
  1348. IIMService __RPC_FAR * This,
  1349. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
  1350. void __RPC_STUB IIMService_get_BlockByDefault_Stub(
  1351. IRpcStubBuffer *This,
  1352. IRpcChannelBuffer *_pRpcChannelBuffer,
  1353. PRPC_MESSAGE _pRpcMessage,
  1354. DWORD *_pdwStubPhase);
  1355. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IIMService_put_BlockByDefault_Proxy(
  1356. IIMService __RPC_FAR * This,
  1357. /* [in] */ VARIANT_BOOL newVal);
  1358. void __RPC_STUB IIMService_put_BlockByDefault_Stub(
  1359. IRpcStubBuffer *This,
  1360. IRpcChannelBuffer *_pRpcChannelBuffer,
  1361. PRPC_MESSAGE _pRpcMessage,
  1362. DWORD *_pdwStubPhase);
  1363. #endif /* __IIMService_INTERFACE_DEFINED__ */
  1364. #ifndef __DIMServiceEvents_DISPINTERFACE_DEFINED__
  1365. #define __DIMServiceEvents_DISPINTERFACE_DEFINED__
  1366. /* dispinterface DIMServiceEvents */
  1367. /* [helpstring][uuid] */
  1368. EXTERN_C const IID DIID_DIMServiceEvents;
  1369. #if defined(__cplusplus) && !defined(CINTERFACE)
  1370. MIDL_INTERFACE("4153D194-2A21-4aca-8DCB-C09BEA9F7E51")
  1371. DIMServiceEvents : public IDispatch
  1372. {
  1373. };
  1374. #else /* C style interface */
  1375. typedef struct DIMServiceEventsVtbl
  1376. {
  1377. BEGIN_INTERFACE
  1378. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1379. DIMServiceEvents __RPC_FAR * This,
  1380. /* [in] */ REFIID riid,
  1381. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1382. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1383. DIMServiceEvents __RPC_FAR * This);
  1384. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1385. DIMServiceEvents __RPC_FAR * This);
  1386. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1387. DIMServiceEvents __RPC_FAR * This,
  1388. /* [out] */ UINT __RPC_FAR *pctinfo);
  1389. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1390. DIMServiceEvents __RPC_FAR * This,
  1391. /* [in] */ UINT iTInfo,
  1392. /* [in] */ LCID lcid,
  1393. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1394. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1395. DIMServiceEvents __RPC_FAR * This,
  1396. /* [in] */ REFIID riid,
  1397. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1398. /* [in] */ UINT cNames,
  1399. /* [in] */ LCID lcid,
  1400. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1401. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1402. DIMServiceEvents __RPC_FAR * This,
  1403. /* [in] */ DISPID dispIdMember,
  1404. /* [in] */ REFIID riid,
  1405. /* [in] */ LCID lcid,
  1406. /* [in] */ WORD wFlags,
  1407. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1408. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1409. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1410. /* [out] */ UINT __RPC_FAR *puArgErr);
  1411. END_INTERFACE
  1412. } DIMServiceEventsVtbl;
  1413. interface DIMServiceEvents
  1414. {
  1415. CONST_VTBL struct DIMServiceEventsVtbl __RPC_FAR *lpVtbl;
  1416. };
  1417. #ifdef COBJMACROS
  1418. #define DIMServiceEvents_QueryInterface(This,riid,ppvObject) \
  1419. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1420. #define DIMServiceEvents_AddRef(This) \
  1421. (This)->lpVtbl -> AddRef(This)
  1422. #define DIMServiceEvents_Release(This) \
  1423. (This)->lpVtbl -> Release(This)
  1424. #define DIMServiceEvents_GetTypeInfoCount(This,pctinfo) \
  1425. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1426. #define DIMServiceEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1427. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1428. #define DIMServiceEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1429. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1430. #define DIMServiceEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1431. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1432. #endif /* COBJMACROS */
  1433. #endif /* C style interface */
  1434. #endif /* __DIMServiceEvents_DISPINTERFACE_DEFINED__ */
  1435. #ifndef __IIMContact_INTERFACE_DEFINED__
  1436. #define __IIMContact_INTERFACE_DEFINED__
  1437. /* interface IIMContact */
  1438. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  1439. EXTERN_C const IID IID_IIMContact;
  1440. #if defined(__cplusplus) && !defined(CINTERFACE)
  1441. MIDL_INTERFACE("B419C5AC-8B72-482c-8430-4D812DC587EA")
  1442. IIMContact : public IDispatch
  1443. {
  1444. public:
  1445. virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_FriendlyName(
  1446. /* [in] */ BSTR bstrFriendlyName) = 0;
  1447. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_FriendlyName(
  1448. /* [retval][out] */ BSTR __RPC_FAR *pbstrFriendlyName) = 0;
  1449. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_EmailAddress(
  1450. /* [retval][out] */ BSTR __RPC_FAR *pbstrEmailAddress) = 0;
  1451. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_State(
  1452. /* [retval][out] */ IM_STATE __RPC_FAR *pmState) = 0;
  1453. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_LogonName(
  1454. /* [retval][out] */ BSTR __RPC_FAR *pbstrLogonName) = 0;
  1455. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendText(
  1456. /* [in] */ BSTR bstrMsgHeader,
  1457. /* [in] */ BSTR bstrMsgText,
  1458. /* [in] */ IM_MSG_TYPE MsgType,
  1459. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  1460. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Service(
  1461. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppService) = 0;
  1462. };
  1463. #else /* C style interface */
  1464. typedef struct IIMContactVtbl
  1465. {
  1466. BEGIN_INTERFACE
  1467. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1468. IIMContact __RPC_FAR * This,
  1469. /* [in] */ REFIID riid,
  1470. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1471. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1472. IIMContact __RPC_FAR * This);
  1473. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1474. IIMContact __RPC_FAR * This);
  1475. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1476. IIMContact __RPC_FAR * This,
  1477. /* [out] */ UINT __RPC_FAR *pctinfo);
  1478. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1479. IIMContact __RPC_FAR * This,
  1480. /* [in] */ UINT iTInfo,
  1481. /* [in] */ LCID lcid,
  1482. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1483. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1484. IIMContact __RPC_FAR * This,
  1485. /* [in] */ REFIID riid,
  1486. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1487. /* [in] */ UINT cNames,
  1488. /* [in] */ LCID lcid,
  1489. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1490. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1491. IIMContact __RPC_FAR * This,
  1492. /* [in] */ DISPID dispIdMember,
  1493. /* [in] */ REFIID riid,
  1494. /* [in] */ LCID lcid,
  1495. /* [in] */ WORD wFlags,
  1496. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1497. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1498. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1499. /* [out] */ UINT __RPC_FAR *puArgErr);
  1500. /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_FriendlyName )(
  1501. IIMContact __RPC_FAR * This,
  1502. /* [in] */ BSTR bstrFriendlyName);
  1503. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_FriendlyName )(
  1504. IIMContact __RPC_FAR * This,
  1505. /* [retval][out] */ BSTR __RPC_FAR *pbstrFriendlyName);
  1506. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_EmailAddress )(
  1507. IIMContact __RPC_FAR * This,
  1508. /* [retval][out] */ BSTR __RPC_FAR *pbstrEmailAddress);
  1509. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_State )(
  1510. IIMContact __RPC_FAR * This,
  1511. /* [retval][out] */ IM_STATE __RPC_FAR *pmState);
  1512. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LogonName )(
  1513. IIMContact __RPC_FAR * This,
  1514. /* [retval][out] */ BSTR __RPC_FAR *pbstrLogonName);
  1515. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendText )(
  1516. IIMContact __RPC_FAR * This,
  1517. /* [in] */ BSTR bstrMsgHeader,
  1518. /* [in] */ BSTR bstrMsgText,
  1519. /* [in] */ IM_MSG_TYPE MsgType,
  1520. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  1521. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Service )(
  1522. IIMContact __RPC_FAR * This,
  1523. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppService);
  1524. END_INTERFACE
  1525. } IIMContactVtbl;
  1526. interface IIMContact
  1527. {
  1528. CONST_VTBL struct IIMContactVtbl __RPC_FAR *lpVtbl;
  1529. };
  1530. #ifdef COBJMACROS
  1531. #define IIMContact_QueryInterface(This,riid,ppvObject) \
  1532. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1533. #define IIMContact_AddRef(This) \
  1534. (This)->lpVtbl -> AddRef(This)
  1535. #define IIMContact_Release(This) \
  1536. (This)->lpVtbl -> Release(This)
  1537. #define IIMContact_GetTypeInfoCount(This,pctinfo) \
  1538. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1539. #define IIMContact_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1540. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1541. #define IIMContact_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1542. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1543. #define IIMContact_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1544. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1545. #define IIMContact_put_FriendlyName(This,bstrFriendlyName) \
  1546. (This)->lpVtbl -> put_FriendlyName(This,bstrFriendlyName)
  1547. #define IIMContact_get_FriendlyName(This,pbstrFriendlyName) \
  1548. (This)->lpVtbl -> get_FriendlyName(This,pbstrFriendlyName)
  1549. #define IIMContact_get_EmailAddress(This,pbstrEmailAddress) \
  1550. (This)->lpVtbl -> get_EmailAddress(This,pbstrEmailAddress)
  1551. #define IIMContact_get_State(This,pmState) \
  1552. (This)->lpVtbl -> get_State(This,pmState)
  1553. #define IIMContact_get_LogonName(This,pbstrLogonName) \
  1554. (This)->lpVtbl -> get_LogonName(This,pbstrLogonName)
  1555. #define IIMContact_SendText(This,bstrMsgHeader,bstrMsgText,MsgType,plCookie) \
  1556. (This)->lpVtbl -> SendText(This,bstrMsgHeader,bstrMsgText,MsgType,plCookie)
  1557. #define IIMContact_get_Service(This,ppService) \
  1558. (This)->lpVtbl -> get_Service(This,ppService)
  1559. #endif /* COBJMACROS */
  1560. #endif /* C style interface */
  1561. /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IIMContact_put_FriendlyName_Proxy(
  1562. IIMContact __RPC_FAR * This,
  1563. /* [in] */ BSTR bstrFriendlyName);
  1564. void __RPC_STUB IIMContact_put_FriendlyName_Stub(
  1565. IRpcStubBuffer *This,
  1566. IRpcChannelBuffer *_pRpcChannelBuffer,
  1567. PRPC_MESSAGE _pRpcMessage,
  1568. DWORD *_pdwStubPhase);
  1569. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IIMContact_get_FriendlyName_Proxy(
  1570. IIMContact __RPC_FAR * This,
  1571. /* [retval][out] */ BSTR __RPC_FAR *pbstrFriendlyName);
  1572. void __RPC_STUB IIMContact_get_FriendlyName_Stub(
  1573. IRpcStubBuffer *This,
  1574. IRpcChannelBuffer *_pRpcChannelBuffer,
  1575. PRPC_MESSAGE _pRpcMessage,
  1576. DWORD *_pdwStubPhase);
  1577. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IIMContact_get_EmailAddress_Proxy(
  1578. IIMContact __RPC_FAR * This,
  1579. /* [retval][out] */ BSTR __RPC_FAR *pbstrEmailAddress);
  1580. void __RPC_STUB IIMContact_get_EmailAddress_Stub(
  1581. IRpcStubBuffer *This,
  1582. IRpcChannelBuffer *_pRpcChannelBuffer,
  1583. PRPC_MESSAGE _pRpcMessage,
  1584. DWORD *_pdwStubPhase);
  1585. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IIMContact_get_State_Proxy(
  1586. IIMContact __RPC_FAR * This,
  1587. /* [retval][out] */ IM_STATE __RPC_FAR *pmState);
  1588. void __RPC_STUB IIMContact_get_State_Stub(
  1589. IRpcStubBuffer *This,
  1590. IRpcChannelBuffer *_pRpcChannelBuffer,
  1591. PRPC_MESSAGE _pRpcMessage,
  1592. DWORD *_pdwStubPhase);
  1593. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IIMContact_get_LogonName_Proxy(
  1594. IIMContact __RPC_FAR * This,
  1595. /* [retval][out] */ BSTR __RPC_FAR *pbstrLogonName);
  1596. void __RPC_STUB IIMContact_get_LogonName_Stub(
  1597. IRpcStubBuffer *This,
  1598. IRpcChannelBuffer *_pRpcChannelBuffer,
  1599. PRPC_MESSAGE _pRpcMessage,
  1600. DWORD *_pdwStubPhase);
  1601. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMContact_SendText_Proxy(
  1602. IIMContact __RPC_FAR * This,
  1603. /* [in] */ BSTR bstrMsgHeader,
  1604. /* [in] */ BSTR bstrMsgText,
  1605. /* [in] */ IM_MSG_TYPE MsgType,
  1606. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  1607. void __RPC_STUB IIMContact_SendText_Stub(
  1608. IRpcStubBuffer *This,
  1609. IRpcChannelBuffer *_pRpcChannelBuffer,
  1610. PRPC_MESSAGE _pRpcMessage,
  1611. DWORD *_pdwStubPhase);
  1612. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IIMContact_get_Service_Proxy(
  1613. IIMContact __RPC_FAR * This,
  1614. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppService);
  1615. void __RPC_STUB IIMContact_get_Service_Stub(
  1616. IRpcStubBuffer *This,
  1617. IRpcChannelBuffer *_pRpcChannelBuffer,
  1618. PRPC_MESSAGE _pRpcMessage,
  1619. DWORD *_pdwStubPhase);
  1620. #endif /* __IIMContact_INTERFACE_DEFINED__ */
  1621. #ifndef __IIMContacts_INTERFACE_DEFINED__
  1622. #define __IIMContacts_INTERFACE_DEFINED__
  1623. /* interface IIMContacts */
  1624. /* [unique][helpstring][dual][uuid][object] */
  1625. EXTERN_C const IID IID_IIMContacts;
  1626. #if defined(__cplusplus) && !defined(CINTERFACE)
  1627. MIDL_INTERFACE("89FE8208-B3F8-4096-A482-159DF13DF62A")
  1628. IIMContacts : public IDispatch
  1629. {
  1630. public:
  1631. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  1632. /* [in] */ VARIANT varItem,
  1633. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppContact) = 0;
  1634. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  1635. /* [retval][out] */ long __RPC_FAR *pVal) = 0;
  1636. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  1637. /* [in] */ IDispatch __RPC_FAR *pContact) = 0;
  1638. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  1639. /* [in] */ IDispatch __RPC_FAR *pContact) = 0;
  1640. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  1641. /* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
  1642. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name(
  1643. /* [in] */ BSTR newVal) = 0;
  1644. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Properties(
  1645. /* [retval][out] */ long __RPC_FAR *pVal) = 0;
  1646. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Cookie(
  1647. /* [retval][out] */ long __RPC_FAR *pVal) = 0;
  1648. virtual /* [helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  1649. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppVal) = 0;
  1650. };
  1651. #else /* C style interface */
  1652. typedef struct IIMContactsVtbl
  1653. {
  1654. BEGIN_INTERFACE
  1655. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1656. IIMContacts __RPC_FAR * This,
  1657. /* [in] */ REFIID riid,
  1658. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1659. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1660. IIMContacts __RPC_FAR * This);
  1661. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1662. IIMContacts __RPC_FAR * This);
  1663. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1664. IIMContacts __RPC_FAR * This,
  1665. /* [out] */ UINT __RPC_FAR *pctinfo);
  1666. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1667. IIMContacts __RPC_FAR * This,
  1668. /* [in] */ UINT iTInfo,
  1669. /* [in] */ LCID lcid,
  1670. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1671. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1672. IIMContacts __RPC_FAR * This,
  1673. /* [in] */ REFIID riid,
  1674. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1675. /* [in] */ UINT cNames,
  1676. /* [in] */ LCID lcid,
  1677. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1678. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1679. IIMContacts __RPC_FAR * This,
  1680. /* [in] */ DISPID dispIdMember,
  1681. /* [in] */ REFIID riid,
  1682. /* [in] */ LCID lcid,
  1683. /* [in] */ WORD wFlags,
  1684. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1685. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1686. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1687. /* [out] */ UINT __RPC_FAR *puArgErr);
  1688. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Item )(
  1689. IIMContacts __RPC_FAR * This,
  1690. /* [in] */ VARIANT varItem,
  1691. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppContact);
  1692. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  1693. IIMContacts __RPC_FAR * This,
  1694. /* [retval][out] */ long __RPC_FAR *pVal);
  1695. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Add )(
  1696. IIMContacts __RPC_FAR * This,
  1697. /* [in] */ IDispatch __RPC_FAR *pContact);
  1698. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Remove )(
  1699. IIMContacts __RPC_FAR * This,
  1700. /* [in] */ IDispatch __RPC_FAR *pContact);
  1701. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  1702. IIMContacts __RPC_FAR * This,
  1703. /* [retval][out] */ BSTR __RPC_FAR *pVal);
  1704. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Name )(
  1705. IIMContacts __RPC_FAR * This,
  1706. /* [in] */ BSTR newVal);
  1707. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Properties )(
  1708. IIMContacts __RPC_FAR * This,
  1709. /* [retval][out] */ long __RPC_FAR *pVal);
  1710. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Cookie )(
  1711. IIMContacts __RPC_FAR * This,
  1712. /* [retval][out] */ long __RPC_FAR *pVal);
  1713. /* [helpstring][id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )(
  1714. IIMContacts __RPC_FAR * This,
  1715. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppVal);
  1716. END_INTERFACE
  1717. } IIMContactsVtbl;
  1718. interface IIMContacts
  1719. {
  1720. CONST_VTBL struct IIMContactsVtbl __RPC_FAR *lpVtbl;
  1721. };
  1722. #ifdef COBJMACROS
  1723. #define IIMContacts_QueryInterface(This,riid,ppvObject) \
  1724. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1725. #define IIMContacts_AddRef(This) \
  1726. (This)->lpVtbl -> AddRef(This)
  1727. #define IIMContacts_Release(This) \
  1728. (This)->lpVtbl -> Release(This)
  1729. #define IIMContacts_GetTypeInfoCount(This,pctinfo) \
  1730. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1731. #define IIMContacts_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1732. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1733. #define IIMContacts_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1734. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1735. #define IIMContacts_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1736. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1737. #define IIMContacts_Item(This,varItem,ppContact) \
  1738. (This)->lpVtbl -> Item(This,varItem,ppContact)
  1739. #define IIMContacts_get_Count(This,pVal) \
  1740. (This)->lpVtbl -> get_Count(This,pVal)
  1741. #define IIMContacts_Add(This,pContact) \
  1742. (This)->lpVtbl -> Add(This,pContact)
  1743. #define IIMContacts_Remove(This,pContact) \
  1744. (This)->lpVtbl -> Remove(This,pContact)
  1745. #define IIMContacts_get_Name(This,pVal) \
  1746. (This)->lpVtbl -> get_Name(This,pVal)
  1747. #define IIMContacts_put_Name(This,newVal) \
  1748. (This)->lpVtbl -> put_Name(This,newVal)
  1749. #define IIMContacts_get_Properties(This,pVal) \
  1750. (This)->lpVtbl -> get_Properties(This,pVal)
  1751. #define IIMContacts_get_Cookie(This,pVal) \
  1752. (This)->lpVtbl -> get_Cookie(This,pVal)
  1753. #define IIMContacts_get__NewEnum(This,ppVal) \
  1754. (This)->lpVtbl -> get__NewEnum(This,ppVal)
  1755. #endif /* COBJMACROS */
  1756. #endif /* C style interface */
  1757. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMContacts_Item_Proxy(
  1758. IIMContacts __RPC_FAR * This,
  1759. /* [in] */ VARIANT varItem,
  1760. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppContact);
  1761. void __RPC_STUB IIMContacts_Item_Stub(
  1762. IRpcStubBuffer *This,
  1763. IRpcChannelBuffer *_pRpcChannelBuffer,
  1764. PRPC_MESSAGE _pRpcMessage,
  1765. DWORD *_pdwStubPhase);
  1766. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IIMContacts_get_Count_Proxy(
  1767. IIMContacts __RPC_FAR * This,
  1768. /* [retval][out] */ long __RPC_FAR *pVal);
  1769. void __RPC_STUB IIMContacts_get_Count_Stub(
  1770. IRpcStubBuffer *This,
  1771. IRpcChannelBuffer *_pRpcChannelBuffer,
  1772. PRPC_MESSAGE _pRpcMessage,
  1773. DWORD *_pdwStubPhase);
  1774. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMContacts_Add_Proxy(
  1775. IIMContacts __RPC_FAR * This,
  1776. /* [in] */ IDispatch __RPC_FAR *pContact);
  1777. void __RPC_STUB IIMContacts_Add_Stub(
  1778. IRpcStubBuffer *This,
  1779. IRpcChannelBuffer *_pRpcChannelBuffer,
  1780. PRPC_MESSAGE _pRpcMessage,
  1781. DWORD *_pdwStubPhase);
  1782. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMContacts_Remove_Proxy(
  1783. IIMContacts __RPC_FAR * This,
  1784. /* [in] */ IDispatch __RPC_FAR *pContact);
  1785. void __RPC_STUB IIMContacts_Remove_Stub(
  1786. IRpcStubBuffer *This,
  1787. IRpcChannelBuffer *_pRpcChannelBuffer,
  1788. PRPC_MESSAGE _pRpcMessage,
  1789. DWORD *_pdwStubPhase);
  1790. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IIMContacts_get_Name_Proxy(
  1791. IIMContacts __RPC_FAR * This,
  1792. /* [retval][out] */ BSTR __RPC_FAR *pVal);
  1793. void __RPC_STUB IIMContacts_get_Name_Stub(
  1794. IRpcStubBuffer *This,
  1795. IRpcChannelBuffer *_pRpcChannelBuffer,
  1796. PRPC_MESSAGE _pRpcMessage,
  1797. DWORD *_pdwStubPhase);
  1798. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IIMContacts_put_Name_Proxy(
  1799. IIMContacts __RPC_FAR * This,
  1800. /* [in] */ BSTR newVal);
  1801. void __RPC_STUB IIMContacts_put_Name_Stub(
  1802. IRpcStubBuffer *This,
  1803. IRpcChannelBuffer *_pRpcChannelBuffer,
  1804. PRPC_MESSAGE _pRpcMessage,
  1805. DWORD *_pdwStubPhase);
  1806. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IIMContacts_get_Properties_Proxy(
  1807. IIMContacts __RPC_FAR * This,
  1808. /* [retval][out] */ long __RPC_FAR *pVal);
  1809. void __RPC_STUB IIMContacts_get_Properties_Stub(
  1810. IRpcStubBuffer *This,
  1811. IRpcChannelBuffer *_pRpcChannelBuffer,
  1812. PRPC_MESSAGE _pRpcMessage,
  1813. DWORD *_pdwStubPhase);
  1814. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IIMContacts_get_Cookie_Proxy(
  1815. IIMContacts __RPC_FAR * This,
  1816. /* [retval][out] */ long __RPC_FAR *pVal);
  1817. void __RPC_STUB IIMContacts_get_Cookie_Stub(
  1818. IRpcStubBuffer *This,
  1819. IRpcChannelBuffer *_pRpcChannelBuffer,
  1820. PRPC_MESSAGE _pRpcMessage,
  1821. DWORD *_pdwStubPhase);
  1822. /* [helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE IIMContacts_get__NewEnum_Proxy(
  1823. IIMContacts __RPC_FAR * This,
  1824. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppVal);
  1825. void __RPC_STUB IIMContacts_get__NewEnum_Stub(
  1826. IRpcStubBuffer *This,
  1827. IRpcChannelBuffer *_pRpcChannelBuffer,
  1828. PRPC_MESSAGE _pRpcMessage,
  1829. DWORD *_pdwStubPhase);
  1830. #endif /* __IIMContacts_INTERFACE_DEFINED__ */
  1831. #ifndef __IIMSession_INTERFACE_DEFINED__
  1832. #define __IIMSession_INTERFACE_DEFINED__
  1833. /* interface IIMSession */
  1834. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  1835. EXTERN_C const IID IID_IIMSession;
  1836. #if defined(__cplusplus) && !defined(CINTERFACE)
  1837. MIDL_INTERFACE("8A37FCCA-2087-4b0e-83B2-7A7B63C1D133")
  1838. IIMSession : public IDispatch
  1839. {
  1840. public:
  1841. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Members(
  1842. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppMembers) = 0;
  1843. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_State(
  1844. /* [retval][out] */ IM_SSTATE __RPC_FAR *psState) = 0;
  1845. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Service(
  1846. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppService) = 0;
  1847. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Invitees(
  1848. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppInvitees) = 0;
  1849. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LeaveSession( void) = 0;
  1850. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InviteContact(
  1851. /* [in] */ VARIANT vContact) = 0;
  1852. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE SendText(
  1853. /* [in] */ BSTR bstrMsgHeader,
  1854. /* [in] */ BSTR bstrMsgText,
  1855. /* [in] */ IM_MSG_TYPE MsgType,
  1856. /* [retval][out] */ LONG __RPC_FAR *plCookie) = 0;
  1857. };
  1858. #else /* C style interface */
  1859. typedef struct IIMSessionVtbl
  1860. {
  1861. BEGIN_INTERFACE
  1862. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1863. IIMSession __RPC_FAR * This,
  1864. /* [in] */ REFIID riid,
  1865. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1866. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1867. IIMSession __RPC_FAR * This);
  1868. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1869. IIMSession __RPC_FAR * This);
  1870. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1871. IIMSession __RPC_FAR * This,
  1872. /* [out] */ UINT __RPC_FAR *pctinfo);
  1873. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1874. IIMSession __RPC_FAR * This,
  1875. /* [in] */ UINT iTInfo,
  1876. /* [in] */ LCID lcid,
  1877. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1878. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1879. IIMSession __RPC_FAR * This,
  1880. /* [in] */ REFIID riid,
  1881. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1882. /* [in] */ UINT cNames,
  1883. /* [in] */ LCID lcid,
  1884. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1885. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1886. IIMSession __RPC_FAR * This,
  1887. /* [in] */ DISPID dispIdMember,
  1888. /* [in] */ REFIID riid,
  1889. /* [in] */ LCID lcid,
  1890. /* [in] */ WORD wFlags,
  1891. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1892. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1893. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1894. /* [out] */ UINT __RPC_FAR *puArgErr);
  1895. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Members )(
  1896. IIMSession __RPC_FAR * This,
  1897. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppMembers);
  1898. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_State )(
  1899. IIMSession __RPC_FAR * This,
  1900. /* [retval][out] */ IM_SSTATE __RPC_FAR *psState);
  1901. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Service )(
  1902. IIMSession __RPC_FAR * This,
  1903. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppService);
  1904. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Invitees )(
  1905. IIMSession __RPC_FAR * This,
  1906. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppInvitees);
  1907. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LeaveSession )(
  1908. IIMSession __RPC_FAR * This);
  1909. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InviteContact )(
  1910. IIMSession __RPC_FAR * This,
  1911. /* [in] */ VARIANT vContact);
  1912. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendText )(
  1913. IIMSession __RPC_FAR * This,
  1914. /* [in] */ BSTR bstrMsgHeader,
  1915. /* [in] */ BSTR bstrMsgText,
  1916. /* [in] */ IM_MSG_TYPE MsgType,
  1917. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  1918. END_INTERFACE
  1919. } IIMSessionVtbl;
  1920. interface IIMSession
  1921. {
  1922. CONST_VTBL struct IIMSessionVtbl __RPC_FAR *lpVtbl;
  1923. };
  1924. #ifdef COBJMACROS
  1925. #define IIMSession_QueryInterface(This,riid,ppvObject) \
  1926. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1927. #define IIMSession_AddRef(This) \
  1928. (This)->lpVtbl -> AddRef(This)
  1929. #define IIMSession_Release(This) \
  1930. (This)->lpVtbl -> Release(This)
  1931. #define IIMSession_GetTypeInfoCount(This,pctinfo) \
  1932. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1933. #define IIMSession_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1934. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1935. #define IIMSession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1936. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1937. #define IIMSession_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1938. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1939. #define IIMSession_get_Members(This,ppMembers) \
  1940. (This)->lpVtbl -> get_Members(This,ppMembers)
  1941. #define IIMSession_get_State(This,psState) \
  1942. (This)->lpVtbl -> get_State(This,psState)
  1943. #define IIMSession_get_Service(This,ppService) \
  1944. (This)->lpVtbl -> get_Service(This,ppService)
  1945. #define IIMSession_get_Invitees(This,ppInvitees) \
  1946. (This)->lpVtbl -> get_Invitees(This,ppInvitees)
  1947. #define IIMSession_LeaveSession(This) \
  1948. (This)->lpVtbl -> LeaveSession(This)
  1949. #define IIMSession_InviteContact(This,vContact) \
  1950. (This)->lpVtbl -> InviteContact(This,vContact)
  1951. #define IIMSession_SendText(This,bstrMsgHeader,bstrMsgText,MsgType,plCookie) \
  1952. (This)->lpVtbl -> SendText(This,bstrMsgHeader,bstrMsgText,MsgType,plCookie)
  1953. #endif /* COBJMACROS */
  1954. #endif /* C style interface */
  1955. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IIMSession_get_Members_Proxy(
  1956. IIMSession __RPC_FAR * This,
  1957. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppMembers);
  1958. void __RPC_STUB IIMSession_get_Members_Stub(
  1959. IRpcStubBuffer *This,
  1960. IRpcChannelBuffer *_pRpcChannelBuffer,
  1961. PRPC_MESSAGE _pRpcMessage,
  1962. DWORD *_pdwStubPhase);
  1963. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IIMSession_get_State_Proxy(
  1964. IIMSession __RPC_FAR * This,
  1965. /* [retval][out] */ IM_SSTATE __RPC_FAR *psState);
  1966. void __RPC_STUB IIMSession_get_State_Stub(
  1967. IRpcStubBuffer *This,
  1968. IRpcChannelBuffer *_pRpcChannelBuffer,
  1969. PRPC_MESSAGE _pRpcMessage,
  1970. DWORD *_pdwStubPhase);
  1971. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IIMSession_get_Service_Proxy(
  1972. IIMSession __RPC_FAR * This,
  1973. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppService);
  1974. void __RPC_STUB IIMSession_get_Service_Stub(
  1975. IRpcStubBuffer *This,
  1976. IRpcChannelBuffer *_pRpcChannelBuffer,
  1977. PRPC_MESSAGE _pRpcMessage,
  1978. DWORD *_pdwStubPhase);
  1979. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IIMSession_get_Invitees_Proxy(
  1980. IIMSession __RPC_FAR * This,
  1981. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppInvitees);
  1982. void __RPC_STUB IIMSession_get_Invitees_Stub(
  1983. IRpcStubBuffer *This,
  1984. IRpcChannelBuffer *_pRpcChannelBuffer,
  1985. PRPC_MESSAGE _pRpcMessage,
  1986. DWORD *_pdwStubPhase);
  1987. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMSession_LeaveSession_Proxy(
  1988. IIMSession __RPC_FAR * This);
  1989. void __RPC_STUB IIMSession_LeaveSession_Stub(
  1990. IRpcStubBuffer *This,
  1991. IRpcChannelBuffer *_pRpcChannelBuffer,
  1992. PRPC_MESSAGE _pRpcMessage,
  1993. DWORD *_pdwStubPhase);
  1994. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMSession_InviteContact_Proxy(
  1995. IIMSession __RPC_FAR * This,
  1996. /* [in] */ VARIANT vContact);
  1997. void __RPC_STUB IIMSession_InviteContact_Stub(
  1998. IRpcStubBuffer *This,
  1999. IRpcChannelBuffer *_pRpcChannelBuffer,
  2000. PRPC_MESSAGE _pRpcMessage,
  2001. DWORD *_pdwStubPhase);
  2002. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMSession_SendText_Proxy(
  2003. IIMSession __RPC_FAR * This,
  2004. /* [in] */ BSTR bstrMsgHeader,
  2005. /* [in] */ BSTR bstrMsgText,
  2006. /* [in] */ IM_MSG_TYPE MsgType,
  2007. /* [retval][out] */ LONG __RPC_FAR *plCookie);
  2008. void __RPC_STUB IIMSession_SendText_Stub(
  2009. IRpcStubBuffer *This,
  2010. IRpcChannelBuffer *_pRpcChannelBuffer,
  2011. PRPC_MESSAGE _pRpcMessage,
  2012. DWORD *_pdwStubPhase);
  2013. #endif /* __IIMSession_INTERFACE_DEFINED__ */
  2014. #ifndef __IIMSessions_INTERFACE_DEFINED__
  2015. #define __IIMSessions_INTERFACE_DEFINED__
  2016. /* interface IIMSessions */
  2017. /* [object][oleautomation][dual][helpcontext][helpstring][uuid] */
  2018. EXTERN_C const IID IID_IIMSessions;
  2019. #if defined(__cplusplus) && !defined(CINTERFACE)
  2020. MIDL_INTERFACE("0E0FC368-285C-4117-953C-1C3C74611FBD")
  2021. IIMSessions : public IDispatch
  2022. {
  2023. public:
  2024. virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  2025. /* [retval][out] */ long __RPC_FAR *pcSessions) = 0;
  2026. virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  2027. /* [in] */ long Index,
  2028. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppIMSession) = 0;
  2029. virtual /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  2030. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown) = 0;
  2031. };
  2032. #else /* C style interface */
  2033. typedef struct IIMSessionsVtbl
  2034. {
  2035. BEGIN_INTERFACE
  2036. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2037. IIMSessions __RPC_FAR * This,
  2038. /* [in] */ REFIID riid,
  2039. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2040. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2041. IIMSessions __RPC_FAR * This);
  2042. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2043. IIMSessions __RPC_FAR * This);
  2044. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2045. IIMSessions __RPC_FAR * This,
  2046. /* [out] */ UINT __RPC_FAR *pctinfo);
  2047. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2048. IIMSessions __RPC_FAR * This,
  2049. /* [in] */ UINT iTInfo,
  2050. /* [in] */ LCID lcid,
  2051. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2052. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2053. IIMSessions __RPC_FAR * This,
  2054. /* [in] */ REFIID riid,
  2055. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2056. /* [in] */ UINT cNames,
  2057. /* [in] */ LCID lcid,
  2058. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2059. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2060. IIMSessions __RPC_FAR * This,
  2061. /* [in] */ DISPID dispIdMember,
  2062. /* [in] */ REFIID riid,
  2063. /* [in] */ LCID lcid,
  2064. /* [in] */ WORD wFlags,
  2065. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2066. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2067. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2068. /* [out] */ UINT __RPC_FAR *puArgErr);
  2069. /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  2070. IIMSessions __RPC_FAR * This,
  2071. /* [retval][out] */ long __RPC_FAR *pcSessions);
  2072. /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Item )(
  2073. IIMSessions __RPC_FAR * This,
  2074. /* [in] */ long Index,
  2075. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppIMSession);
  2076. /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )(
  2077. IIMSessions __RPC_FAR * This,
  2078. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown);
  2079. END_INTERFACE
  2080. } IIMSessionsVtbl;
  2081. interface IIMSessions
  2082. {
  2083. CONST_VTBL struct IIMSessionsVtbl __RPC_FAR *lpVtbl;
  2084. };
  2085. #ifdef COBJMACROS
  2086. #define IIMSessions_QueryInterface(This,riid,ppvObject) \
  2087. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2088. #define IIMSessions_AddRef(This) \
  2089. (This)->lpVtbl -> AddRef(This)
  2090. #define IIMSessions_Release(This) \
  2091. (This)->lpVtbl -> Release(This)
  2092. #define IIMSessions_GetTypeInfoCount(This,pctinfo) \
  2093. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2094. #define IIMSessions_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2095. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2096. #define IIMSessions_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2097. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2098. #define IIMSessions_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2099. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2100. #define IIMSessions_get_Count(This,pcSessions) \
  2101. (This)->lpVtbl -> get_Count(This,pcSessions)
  2102. #define IIMSessions_Item(This,Index,ppIMSession) \
  2103. (This)->lpVtbl -> Item(This,Index,ppIMSession)
  2104. #define IIMSessions_get__NewEnum(This,ppUnknown) \
  2105. (This)->lpVtbl -> get__NewEnum(This,ppUnknown)
  2106. #endif /* COBJMACROS */
  2107. #endif /* C style interface */
  2108. /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IIMSessions_get_Count_Proxy(
  2109. IIMSessions __RPC_FAR * This,
  2110. /* [retval][out] */ long __RPC_FAR *pcSessions);
  2111. void __RPC_STUB IIMSessions_get_Count_Stub(
  2112. IRpcStubBuffer *This,
  2113. IRpcChannelBuffer *_pRpcChannelBuffer,
  2114. PRPC_MESSAGE _pRpcMessage,
  2115. DWORD *_pdwStubPhase);
  2116. /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE IIMSessions_Item_Proxy(
  2117. IIMSessions __RPC_FAR * This,
  2118. /* [in] */ long Index,
  2119. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppIMSession);
  2120. void __RPC_STUB IIMSessions_Item_Stub(
  2121. IRpcStubBuffer *This,
  2122. IRpcChannelBuffer *_pRpcChannelBuffer,
  2123. PRPC_MESSAGE _pRpcMessage,
  2124. DWORD *_pdwStubPhase);
  2125. /* [helpcontext][helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE IIMSessions_get__NewEnum_Proxy(
  2126. IIMSessions __RPC_FAR * This,
  2127. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnknown);
  2128. void __RPC_STUB IIMSessions_get__NewEnum_Stub(
  2129. IRpcStubBuffer *This,
  2130. IRpcChannelBuffer *_pRpcChannelBuffer,
  2131. PRPC_MESSAGE _pRpcMessage,
  2132. DWORD *_pdwStubPhase);
  2133. #endif /* __IIMSessions_INTERFACE_DEFINED__ */
  2134. EXTERN_C const CLSID CLSID_MSIMHost;
  2135. #ifdef __cplusplus
  2136. class DECLSPEC_UUID("0E16DE3E-3470-4588-9113-903713375D4F")
  2137. MSIMHost;
  2138. #endif
  2139. EXTERN_C const CLSID CLSID_MSIMService;
  2140. #ifdef __cplusplus
  2141. class DECLSPEC_UUID("955AC874-205C-4397-BD48-5DAB20E82C20")
  2142. MSIMService;
  2143. #endif
  2144. EXTERN_C const CLSID CLSID_MSIMWindow;
  2145. #ifdef __cplusplus
  2146. class DECLSPEC_UUID("A7BA7FD1-55EA-4d25-BC93-7D7941937113")
  2147. MSIMWindow;
  2148. #endif
  2149. EXTERN_C const CLSID CLSID_MSIMHostOption;
  2150. #ifdef __cplusplus
  2151. class DECLSPEC_UUID("F71FB4C1-4539-4022-8EAD-8C2D473770C2")
  2152. MSIMHostOption;
  2153. #endif
  2154. EXTERN_C const CLSID CLSID_MSIMHostProfiles;
  2155. #ifdef __cplusplus
  2156. class DECLSPEC_UUID("4AE5D919-D316-470F-A073-1F569B4BD3EA")
  2157. MSIMHostProfiles;
  2158. #endif
  2159. #endif /* __MSIMCliSDKLib_LIBRARY_DEFINED__ */
  2160. /* Additional Prototypes for ALL interfaces */
  2161. /* end of Additional Prototypes */
  2162. #ifdef __cplusplus
  2163. }
  2164. #endif
  2165. #endif