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

327 lines
16 KiB

  1. #include <olectl.h>
  2. // icwhelp.idl : IDL source for icwhelp.dll
  3. //
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (icwhelp.tlb) and marshalling code.
  6. import "oaidl.idl";
  7. import "ocidl.idl";
  8. [
  9. object,
  10. uuid(1E794A09-86F4-11D1-ADD8-0000F87734F0),
  11. dual,
  12. helpstring("IRefDial Interface"),
  13. pointer_default(unique)
  14. ]
  15. interface IRefDial : IDispatch
  16. {
  17. [id(1), helpstring("method DoConnect")] HRESULT DoConnect([out, retval] BOOL *pbRetVal);
  18. [propget, id(2), helpstring("property DownloadStatusString")] HRESULT DownloadStatusString([out, retval] BSTR *pVal);
  19. [id(4), helpstring("method SetupForDialing")] HRESULT SetupForDialing(BSTR bstrISPFILE, DWORD dwCountry, BSTR bstrAreaCode, DWORD dwFlag, [out, retval] BOOL *pbRetVal);
  20. [propget, id(5), helpstring("property QuitWizard")] HRESULT QuitWizard([out, retval] BOOL *pVal);
  21. [propget, id(6), helpstring("property UserPickNumber")] HRESULT UserPickNumber([out, retval] BOOL *pVal);
  22. [propget, id(7), helpstring("property DialPhoneNumber")] HRESULT DialPhoneNumber([out, retval] BSTR *pVal);
  23. [propput, id(7), helpstring("property DialPhoneNumber")] HRESULT DialPhoneNumber([in] BSTR newVal);
  24. [propget, id(8), helpstring("property URL")] HRESULT URL([out, retval] BSTR *pVal);
  25. [propget, id(9), helpstring("property PromoCode")] HRESULT PromoCode([out, retval] BSTR *pVal);
  26. [propput, id(9), helpstring("property PromoCode")] HRESULT PromoCode([in] BSTR newVal);
  27. [propget, id(10), helpstring("property ProductCode")] HRESULT ProductCode([out, retval] BSTR *pVal);
  28. [propput, id(10), helpstring("property ProductCode")] HRESULT ProductCode([in] BSTR newVal);
  29. [id(11), helpstring("method DoOfferDownload")] HRESULT DoOfferDownload([out, retval] BOOL *pbRetVal);
  30. [propget, id(12), helpstring("property DialStatusString")] HRESULT DialStatusString([out, retval] BSTR *pVal);
  31. [id(13), helpstring("method DoHangup")] HRESULT DoHangup();
  32. [id(14), helpstring("method ProcessSignedPID")] HRESULT ProcessSignedPID([out, retval] BOOL *pbRetVal);
  33. [propget, id(15), helpstring("property SignedPID")] HRESULT SignedPID([out, retval] BSTR *pVal);
  34. [id(16), helpstring("method FormReferralServerURL")] HRESULT FormReferralServerURL([out, retval] BOOL *pbRetVal);
  35. [propget, id(17), helpstring("property SignupURL")] HRESULT SignupURL([out, retval] BSTR *pVal);
  36. [propget, id(18), helpstring("property TryAgain")] HRESULT TryAgain([out, retval] BOOL *pVal);
  37. [propget, id(19), helpstring("property DialErrorMsg")] HRESULT DialErrorMsg([out, retval] BSTR *pVal);
  38. [id(20), helpstring("method ModemEnum_Reset")] HRESULT ModemEnum_Reset();
  39. [id(21), helpstring("method ModemEnum_Next")] HRESULT ModemEnum_Next([out, retval] BSTR *pDeviceName);
  40. [propget, id(22), helpstring("property ModemEnum_NumDevices")] HRESULT ModemEnum_NumDevices([out, retval] long *pVal);
  41. [propget, id(23), helpstring("property SupportNumber")] HRESULT SupportNumber([out, retval] BSTR *pVal);
  42. [id(24), helpstring("method ShowDialingProperties")] HRESULT ShowDialingProperties([out,retval] BOOL *pbRetVal);
  43. [id(25), helpstring("method ShowPhoneBook")] HRESULT ShowPhoneBook([in] DWORD dwCountryCode, [in] long newVal, [out,retval] BOOL *pbRetVal);
  44. [id(26), helpstring("method ValidatePhoneNumber")] HRESULT ValidatePhoneNumber([in] BSTR bstrPhoneNumber, [out,retval] BOOL *pbRetVal);
  45. [propget, id(27), helpstring("property HavePhoneBook")] HRESULT HavePhoneBook([out, retval] BOOL *pVal);
  46. [propget, id(28), helpstring("property BrandingFlags")] HRESULT BrandingFlags([out, retval] long *pVal);
  47. [propput, id(28), helpstring("property BrandingFlags")] HRESULT BrandingFlags([in] long newVal);
  48. [propget, id(29), helpstring("property CurrentModem")] HRESULT CurrentModem([out, retval] long *pVal);
  49. [propput, id(29), helpstring("property CurrentModem")] HRESULT CurrentModem([in] long newVal);
  50. [propget, id(30), helpstring("property ISPSupportPhoneNumber")] HRESULT ISPSupportPhoneNumber([out, retval] BSTR *pVal);
  51. [propput, id(30), helpstring("property ISPSupportPhoneNumber")] HRESULT ISPSupportPhoneNumber([in] BSTR newVal);
  52. [propget, id(31), helpstring("property LoggingStartUrl")] HRESULT LoggingStartUrl([out, retval] BSTR *pVal);
  53. [propget, id(32), helpstring("property LoggingEndUrl")] HRESULT LoggingEndUrl([out, retval] BSTR *pVal);
  54. [id(33), helpstring("method SelectedPhoneNumber")] HRESULT SelectedPhoneNumber([in] long newVal, [out, retval] BOOL * pbRetVal);
  55. [id(34), helpstring("method PhoneNumberEnum_Reset")] HRESULT PhoneNumberEnum_Reset();
  56. [id(35), helpstring("method PhoneNumberEnum_Next")] HRESULT PhoneNumberEnum_Next ([out, retval] BSTR *pNumber);
  57. [propget, id(36), helpstring("property PhoneNumberEnum_NumDevices")] HRESULT PhoneNumberEnum_NumDevices([out, retval] long *pVal);
  58. [propget, id(37), helpstring("property DialError")] HRESULT DialError([out, retval] HRESULT *pVal);
  59. [propput, id(38), helpstring("property Redial")] HRESULT Redial([in] BOOL newbVal);
  60. [propget, id(39), helpstring("property SignupURL")] HRESULT AutoConfigURL([out, retval] BSTR *pVal);
  61. [id(40), helpstring("method DoInit")] HRESULT DoInit();
  62. [propput, id(41), helpstring("property OemCode")] HRESULT OemCode([in] BSTR newVal);
  63. [propput, id(42), helpstring("property AllOfferCode")] HRESULT AllOfferCode([in] long newVal);
  64. [propget, id(43), helpstring("property ISDNURL")] HRESULT ISDNURL([out, retval] BSTR *pVal);
  65. [propget, id(44), helpstring("property ISDNAutoConfigURL")] HRESULT ISDNAutoConfigURL([out, retval] BSTR *pVal);
  66. [propget, id(45), helpstring("property bIsISDNDevice")] HRESULT bIsISDNDevice([out, retval] BOOL *pVal);
  67. [propput, id(46), helpstring("property ModemOverride")] HRESULT ModemOverride([in] BOOL newbVal);
  68. [id(47), helpstring("method RemoveConnectoid")] HRESULT RemoveConnectoid([out, retval] BOOL *pbRetVal);
  69. [propget, id(48), helpstring("property ISPSupportNumber")] HRESULT ISPSupportNumber([out, retval] BSTR *pVal);
  70. [propget, id(49), helpstring("property RasGetConnectStatus")] HRESULT RasGetConnectStatus([out, retval] BOOL *pVal);
  71. };
  72. [
  73. object,
  74. uuid(462F7757-8848-11D1-ADD8-0000F87734F0),
  75. dual,
  76. helpstring("IDialErr Interface"),
  77. pointer_default(unique)
  78. ]
  79. interface IDialErr : IDispatch
  80. {
  81. };
  82. [
  83. object,
  84. uuid(5D8D8F19-8B89-11D1-ADDB-0000F87734F0),
  85. dual,
  86. helpstring("ISmartStart Interface"),
  87. pointer_default(unique)
  88. ]
  89. interface ISmartStart : IDispatch
  90. {
  91. [id(1), helpstring("method IsInternetCapable")] HRESULT IsInternetCapable([out, retval] BOOL *pbRetVal);
  92. };
  93. [
  94. object,
  95. uuid(7954DD9A-8C2A-11D1-ADDB-0000F87734F0),
  96. dual,
  97. helpstring("IICWSystemConfig Interface"),
  98. pointer_default(unique)
  99. ]
  100. interface IICWSystemConfig : IDispatch
  101. {
  102. [id(1), helpstring("method ConfigSystem")] HRESULT ConfigSystem([out, retval] BOOL *pbRetVal);
  103. [propget, id(2), helpstring("property NeedsReboot")] HRESULT NeedsReboot([out, retval] BOOL *pVal);
  104. [propget, id(3), helpstring("property QuitWizard")] HRESULT QuitWizard([out, retval] BOOL *pVal);
  105. [id(4), helpstring("method VerifyRASIsRunning")] HRESULT VerifyRASIsRunning([out, retval] BOOL *pbRetVal);
  106. [propget, id(5), helpstring("property NeedsRestart")] HRESULT NeedsRestart([out, retval] BOOL *pVal);
  107. [id(6), helpstring("method CheckPasswordCachingPolicy")] HRESULT CheckPasswordCachingPolicy([out, retval] BOOL *pbRetVal);
  108. };
  109. [
  110. object,
  111. uuid(CB632C75-8DD4-11D1-ADDF-0000F87734F0),
  112. dual,
  113. helpstring("ITapiLocationInfo Interface"),
  114. pointer_default(unique)
  115. ]
  116. interface ITapiLocationInfo : IDispatch
  117. {
  118. [propget, id(1), helpstring("property wNumberOfLocations")] HRESULT wNumberOfLocations([out] short *psVal, [out, retval] long* pCurrLoc);
  119. [propget, id(2), helpstring("property bstrAreaCode")] HRESULT bstrAreaCode([out, retval] BSTR *pbstrAreaCode);
  120. [propput, id(2), helpstring("property bstrAreaCode")] HRESULT bstrAreaCode([in] BSTR bstrAreaCode);
  121. [propget, id(3), helpstring("property lCountryCode")] HRESULT lCountryCode([out, retval] long *plVal);
  122. [id(4), helpstring("method GetTapiLocationInfo")] HRESULT GetTapiLocationInfo([out, retval] BOOL *pbRetVal);
  123. [propget, id(5), helpstring("property NumCountries")] HRESULT NumCountries([out, retval] long* pNumOfCountry);
  124. [propget, id(6), helpstring("property CountryName")] HRESULT CountryName([in] long lCountryIndex, [out] BSTR * pszCountryName, [out, retval] long * pCountryCode);
  125. [propget, id(7), helpstring("property DefaultCountry")] HRESULT DefaultCountry([out, retval] BSTR *pszCountryName);
  126. [propget, id(8), helpstring("property LocationName")] HRESULT LocationName([in] long lLocationIndex, [out] BSTR * pszLocationName);
  127. [propget, id(9), helpstring("property LocationInfo")] HRESULT LocationInfo([in] long lLocationIndex, [out] long *pLocationID, [out] BSTR * pszCountryName, [out] long * pCountryCode, [out, retval] BSTR * pszAreaCode);
  128. [propput, id(10), helpstring("property LocationId")] HRESULT LocationId([in] long lLocationID);
  129. };
  130. [
  131. object,
  132. uuid(9E12E76C-94D6-11D1-ADE2-0000F87734F0),
  133. dual,
  134. helpstring("IUserInfo Interface"),
  135. pointer_default(unique)
  136. ]
  137. interface IUserInfo : IDispatch
  138. {
  139. [id(1), helpstring("method CollectRegisteredUserInfo")] HRESULT CollectRegisteredUserInfo([out, retval] BOOL *pbRetVal);
  140. [propget, id(2), helpstring("property Company")] HRESULT Company([out, retval] BSTR *pVal);
  141. [propput, id(2), helpstring("property Company")] HRESULT Company([in] BSTR newVal);
  142. [propget, id(3), helpstring("property FirstName")] HRESULT FirstName([out, retval] BSTR *pVal);
  143. [propput, id(3), helpstring("property FirstName")] HRESULT FirstName([in] BSTR newVal);
  144. [propget, id(4), helpstring("property LastName")] HRESULT LastName([out, retval] BSTR *pVal);
  145. [propput, id(4), helpstring("property LastName")] HRESULT LastName([in] BSTR newVal);
  146. [propget, id(5), helpstring("property Address1")] HRESULT Address1([out, retval] BSTR *pVal);
  147. [propput, id(5), helpstring("property Address1")] HRESULT Address1([in] BSTR newVal);
  148. [propget, id(6), helpstring("property Address2")] HRESULT Address2([out, retval] BSTR *pVal);
  149. [propput, id(6), helpstring("property Address2")] HRESULT Address2([in] BSTR newVal);
  150. [propget, id(7), helpstring("property City")] HRESULT City([out, retval] BSTR *pVal);
  151. [propput, id(7), helpstring("property City")] HRESULT City([in] BSTR newVal);
  152. [propget, id(8), helpstring("property State")] HRESULT State([out, retval] BSTR *pVal);
  153. [propput, id(8), helpstring("property State")] HRESULT State([in] BSTR newVal);
  154. [propget, id(9), helpstring("property ZIPCode")] HRESULT ZIPCode([out, retval] BSTR *pVal);
  155. [propput, id(9), helpstring("property ZIPCode")] HRESULT ZIPCode([in] BSTR newVal);
  156. [propget, id(10), helpstring("property PhoneNumber")] HRESULT PhoneNumber([out, retval] BSTR *pVal);
  157. [propput, id(10), helpstring("property PhoneNumber")] HRESULT PhoneNumber([in] BSTR newVal);
  158. [propget, id(11), helpstring("property Lcid")] HRESULT Lcid([out, retval] long *pVal);
  159. [id(12), helpstring("method PersistRegisteredUserInfo")] HRESULT PersistRegisteredUserInfo([out, retval] BOOL *pbRetVal);
  160. };
  161. [
  162. object,
  163. uuid(3724B9A0-9503-11D1-B86A-00A0C90DC849),
  164. dual,
  165. helpstring("IWebGate Interface"),
  166. pointer_default(unique)
  167. ]
  168. interface IWebGate : IDispatch
  169. {
  170. [propput, id(1), helpstring("property Path")] HRESULT Path([in] BSTR newVal);
  171. [propput, id(2), helpstring("property FormData")] HRESULT FormData([in] BSTR newVal);
  172. [id(3), helpstring("method FetchPage")] HRESULT FetchPage([in] DWORD dwKeepPage, [in] DWORD dwDoWait, [out, retval] BOOL *pbRetVal);
  173. [propget, id(4), helpstring("property Buffer")] HRESULT Buffer([out, retval] BSTR *pVal);
  174. [propget, id(5), helpstring("property DownloadFname")] HRESULT DownloadFname([out, retval] BSTR *pVal);
  175. [id(7), helpstring("method DumpBufferToFile")] HRESULT DumpBufferToFile([out] BSTR *pFileName, [out, retval] BOOL *pbRetVal);
  176. };
  177. [
  178. object,
  179. uuid(6342E1B5-94DB-11D1-ADE2-0000F87734F0),
  180. dual,
  181. helpstring("IINSHandler Interface"),
  182. pointer_default(unique)
  183. ]
  184. interface IINSHandler : IDispatch
  185. {
  186. [id(1), helpstring("method ProcessINS")] HRESULT ProcessINS(BSTR bstrINSFilePath, [out, retval] BOOL *pbRetVal);
  187. [propget, id(2), helpstring("property NeedRestart")] HRESULT NeedRestart([out, retval] BOOL *pVal);
  188. [propput, id(3), helpstring("property BrandingFlags")] HRESULT BrandingFlags([in] long lFlags);
  189. [propget, id(4), helpstring("property DefaultURL")] HRESULT DefaultURL([out, retval] BSTR *pszURL);
  190. [propput, id(5), helpstring("property SilentMode")] HRESULT SilentMode([in] BOOL bSilent);
  191. };
  192. [
  193. uuid(1E7949FA-86F4-11D1-ADD8-0000F87734F0),
  194. version(1.0),
  195. helpstring("icwhelp 1.0 Type Library")
  196. ]
  197. library ICWHELPLib
  198. {
  199. importlib("stdole2.tlb");
  200. [
  201. uuid(07DB96D0-91D8-11D1-ADE1-0000F87734F0),
  202. helpstring("Event interface for RefDial")
  203. ]
  204. dispinterface _RefDialEvents
  205. {
  206. properties:
  207. methods:
  208. [id(1)] void RasDialStatus();
  209. [id(2)] void DownloadProgress([in] long lProgress );
  210. [id(3)] void DownloadComplete([in] BSTR bstrURL, [in] BOOL bSuccess);
  211. [id(4)] void RasConnectComplete([in] BOOL bSuccess);
  212. };
  213. [
  214. uuid(1E794A0A-86F4-11D1-ADD8-0000F87734F0),
  215. helpstring("RefDial Class")
  216. ]
  217. coclass RefDial
  218. {
  219. [default] interface IRefDial;
  220. [default, source] dispinterface _RefDialEvents;
  221. };
  222. [
  223. uuid(462F7758-8848-11D1-ADD8-0000F87734F0),
  224. helpstring("DialErr Class")
  225. ]
  226. coclass DialErr
  227. {
  228. [default] interface IDialErr;
  229. };
  230. [
  231. uuid(5D8D8F1A-8B89-11D1-ADDB-0000F87734F0),
  232. helpstring("SmartStart Class")
  233. ]
  234. coclass SmartStart
  235. {
  236. [default] interface ISmartStart;
  237. };
  238. [
  239. uuid(7954DD9B-8C2A-11D1-ADDB-0000F87734F0),
  240. helpstring("ICWSystemConfig Class")
  241. ]
  242. coclass ICWSystemConfig
  243. {
  244. [default] interface IICWSystemConfig;
  245. };
  246. [
  247. uuid(CB632C76-8DD4-11D1-ADDF-0000F87734F0),
  248. helpstring("TapiLocationInfo Class")
  249. ]
  250. coclass TapiLocationInfo
  251. {
  252. [default] interface ITapiLocationInfo;
  253. };
  254. [
  255. uuid(9E12E76D-94D6-11D1-ADE2-0000F87734F0),
  256. helpstring("UserInfo Class")
  257. ]
  258. coclass UserInfo
  259. {
  260. [default] interface IUserInfo;
  261. };
  262. [
  263. uuid(166A20C0-AE10-11D1-ADEB-0000F87734F0),
  264. helpstring("Event interface for WebGate")
  265. ]
  266. dispinterface _WebGateEvents
  267. {
  268. properties:
  269. methods:
  270. [id(1)] void WebGateDownloadComplete([in] long lProgress );
  271. };
  272. [
  273. uuid(3724B9A1-9503-11D1-B86A-00A0C90DC849),
  274. helpstring("WebGate Class")
  275. ]
  276. coclass WebGate
  277. {
  278. [default] interface IWebGate;
  279. [default, source] dispinterface _WebGateEvents;
  280. };
  281. [
  282. uuid(1F6D88A2-98D2-11d1-ADE3-0000F87734F0),
  283. helpstring("Event interface for INSHandler")
  284. ]
  285. dispinterface _INSHandlerEvents
  286. {
  287. properties:
  288. methods:
  289. [id(1)] void RunningCustomExecutable();
  290. [id(2)] void KillConnection();
  291. };
  292. [
  293. uuid(6342E1B6-94DB-11D1-ADE2-0000F87734F0),
  294. helpstring("INSHandler Class")
  295. ]
  296. coclass INSHandler
  297. {
  298. [default] interface IINSHandler;
  299. [default, source] dispinterface _INSHandlerEvents;
  300. };
  301. };