Source code of Windows XP (NT5)
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.

764 lines
22 KiB

  1. /*++
  2. Copyright (c) 1994-1998 Microsoft Corporation
  3. Module Name :
  4. svrinfo.h
  5. Abstract:
  6. ISM API Header File
  7. Author:
  8. Ronald Meijer (ronaldm)
  9. Project:
  10. Internet Services Manager
  11. Revision History:
  12. Notes:
  13. Anything tagged as K2 or greater (v4+) can be changed as required as it is
  14. not a public interface. Anything designated as IIS 1, 2, or 3 is frozen
  15. and must not be altered as it will break existing configuration Dlls.
  16. --*/
  17. #ifndef _SVRINFO_H_
  18. #define _SVRINFO_H_
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. //
  23. // Version number (x1000) of the ISM API set
  24. //
  25. #define ISM_VERSION 104 // Version 0.104
  26. //
  27. // API Structures
  28. //
  29. // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  30. #ifndef _SVCLOC_
  31. #pragma message("Assuming service does not use inetsloc for discovery.")
  32. //
  33. // Datatype definitions.
  34. //
  35. typedef unsigned __int64 ULONGLONG;
  36. //
  37. // Provided for non-inetsloc compliant services. Those
  38. // services which DO use inetsloc should include
  39. // svcloc.h before including this file.
  40. //
  41. enum
  42. {
  43. //
  44. // the service has invoked de-registration or
  45. // the service has never called registration.
  46. //
  47. INetServiceStopped,
  48. //
  49. // the service is running.
  50. //
  51. INetServiceRunning,
  52. //
  53. // the service is paused.
  54. //
  55. INetServicePaused,
  56. };
  57. #endif // _SVCLOC_
  58. #define INetServiceUnknown INetServicePaused + 1
  59. //
  60. // Memory Allocation Macros
  61. //
  62. #define ISMAllocMem(cbSize)\
  63. LocalAlloc(LPTR, cbSize)
  64. #define ISMFreeMem(lp)\
  65. if (lp) LocalFree(lp)
  66. #define ISMAllocMemByType(citems, type)\
  67. (type *)AllocMem(citems * sizeof(type))
  68. //
  69. // Maximum length of some members in characters
  70. //
  71. #define MAX_SERVERNAME_LEN (256) // We allow hostnames
  72. #define MAX_COMMENT_LEN MAXCOMMENTSZ
  73. //
  74. // Dimensions of the toolbar bitmaps
  75. //
  76. #define TOOLBAR_BMP_CX (16)
  77. #define TOOLBAR_BMP_CY (16)
  78. //
  79. // Standard Server information structure.
  80. //
  81. typedef struct tagISMSERVERINFO
  82. {
  83. DWORD dwSize; // Structure size
  84. TCHAR atchServerName[MAX_SERVERNAME_LEN + 1]; // Server name
  85. TCHAR atchComment[MAX_COMMENT_LEN + 1 ]; // Server Comment
  86. int nState; // State (Running, paused, etc)
  87. } ISMSERVERINFO, *PISMSERVERINFO;
  88. //
  89. // Expected size of structure
  90. //
  91. #define ISMSERVERINFO_SIZE sizeof(ISMSERVERINFO)
  92. //
  93. // Service information flags
  94. //
  95. #define ISMI_INETSLOCDISCOVER 0x00000001 // Use INETSLOC for discovery
  96. #define ISMI_CANCONTROLSERVICE 0x00000002 // Service state can be changed
  97. #define ISMI_CANPAUSESERVICE 0x00000004 // Service is pausable.
  98. #define ISMI_NORMALTBMAPPING 0x00000100 // Use normal toolbar colour mapping
  99. //
  100. // New for K2:
  101. //
  102. #define ISMI_INSTANCES 0x00000200 // Service supports instance
  103. #define ISMI_CHILDREN 0x00000400 // Service supports children
  104. #define ISMI_UNDERSTANDINSTANCE 0x00000800 // Understand instance codes
  105. #define ISMI_FILESYSTEM 0x00001000 // Support file system properties
  106. //
  107. // New for IIS5
  108. //
  109. #define ISMI_TASKPADS 0x00002000 // Supports MMC taskpads
  110. #define ISMI_SECURITYWIZARD 0x00004000 // Supports security wizard
  111. #define ISMI_HASWEBPROTOCOL 0x00008000 // Supports browsing by protocol
  112. #define ISMI_SUPPORTSMETABASE 0x00010000 // Supports metabase
  113. #define ISMI_SUPPORTSMASTER 0x00020000 // Supports master instance (instance 0)
  114. #define MAX_SNLEN (20) // Maximum short name length
  115. #define MAX_LNLEN (48) // Maximum long name length
  116. //
  117. // Standard service configuration information structure
  118. //
  119. // Note: This structure was used for IIS Version 1, 2 and 3
  120. //
  121. typedef struct tagISMSERVICEINFO1
  122. {
  123. DWORD dwSize; // Structure size
  124. DWORD dwVersion; // Version information
  125. DWORD flServiceInfoFlags; // ISMI_ flags
  126. ULONGLONG ullDiscoveryMask; // InetSloc mask (if necessary)
  127. COLORREF rgbButtonBkMask; // Toolbar button bitmap background mask
  128. UINT nButtonBitmapID; // Toolbar button bitmap resource ID
  129. COLORREF rgbServiceBkMask; // Service bitmap background mask
  130. UINT nServiceBitmapID; // Service bitmap resource ID
  131. TCHAR atchShortName[MAX_SNLEN+1]; // The name as it appears in the menu
  132. TCHAR atchLongName[MAX_LNLEN+1]; // The name as it appears in tool tips
  133. } ISMSERVICEINFO1, *PISMSERVICEINFO1;
  134. //
  135. // Expected size of structure
  136. //
  137. #define ISMSERVICEINFO1_SIZE sizeof(ISMSERVICEINFO1)
  138. ///////////////////////////////////////////////////////////////////////////////
  139. // //
  140. // /* K2 */ //
  141. // //
  142. ///////////////////////////////////////////////////////////////////////////////
  143. //
  144. // Standard service configuration information structure.
  145. //
  146. typedef struct tagISMSERVICEINFO
  147. {
  148. //////////////////////////////////////
  149. //
  150. DWORD dwSize; // Structure size
  151. DWORD dwVersion; // Version information
  152. DWORD flServiceInfoFlags; // ISMI_ flags
  153. ULONGLONG ullDiscoveryMask; // InetSloc mask (if necessary)
  154. COLORREF rgbButtonBkMask; // Toolbar button bitmap background mask
  155. UINT nButtonBitmapID; // Toolbar button bitmap resource ID
  156. COLORREF rgbServiceBkMask; // Service bitmap background mask
  157. UINT nServiceBitmapID; // Service bitmap resource ID
  158. TCHAR atchShortName[MAX_SNLEN+1]; // The name as it appears in the menu
  159. TCHAR atchLongName[MAX_LNLEN+1]; // The name as it appears in tool tips
  160. //
  161. //////////////////////////////////////
  162. //
  163. // New for K2
  164. //
  165. //////////////////////////////////////
  166. //
  167. COLORREF rgbLargeServiceBkMask; // Large Service bitmap background mask
  168. COLORREF rgbChildBkMask; // Child node background mask
  169. COLORREF rgbLargeChildBkMask; // Child node background mask
  170. UINT nLargeServiceBitmapID; // Large Service bitmap resource ID or 0.
  171. UINT nChildBitmapID; // Child node resource ID
  172. UINT nLargeChildBitmapID; // Child node resource ID or 0
  173. //
  174. //////////////////////////////////////
  175. //
  176. // New for IIS5
  177. //
  178. //////////////////////////////////////
  179. //
  180. TCHAR atchMetaBaseName[MAX_SNLEN+1];// Service name
  181. TCHAR atchProtocol[MAX_SNLEN+1]; // Protocol or NULL
  182. //
  183. //////////////////////////////////////
  184. } ISMSERVICEINFO, *PISMSERVICEINFO;
  185. //
  186. // Expected size of structure
  187. //
  188. #define ISMSERVICEINFO_SIZE sizeof(ISMSERVICEINFO)
  189. #define MAX_COMMENT (255)
  190. //
  191. // Instance info (IIS4)
  192. //
  193. typedef struct tagISMINSTANCEINFO
  194. {
  195. DWORD dwSize; // Structure size
  196. DWORD dwID; // Instance ID
  197. TCHAR szServerName[MAX_PATH + 1];// Domain name
  198. TCHAR szComment[MAX_COMMENT + 1];// Comment
  199. int nState; // State (Running, paused, etc)
  200. DWORD dwIPAddress; // IP Address
  201. SHORT sPort; // Port
  202. TCHAR szPath[MAX_PATH + 1]; // Home directory path
  203. TCHAR szRedirPath[MAX_PATH + 1]; // Redirected Path
  204. BOOL fDeletable; // TRUE if not deletable
  205. BOOL fClusterEnabled; // TRUE if cluster enabled
  206. BOOL fChildOnlyRedir; // TRUE if redir is "child only"
  207. DWORD dwError; // WIN32 error
  208. } ISMINSTANCEINFO, *PISMINSTANCEINFO;
  209. //
  210. // Expected size of structure
  211. //
  212. #define ISMINSTANCEINFO_SIZE sizeof(ISMINSTANCEINFO)
  213. //
  214. // Child info (IIS4)
  215. //
  216. typedef struct tagISMCHILDINFO
  217. {
  218. DWORD dwSize; // Structure size
  219. BOOL fEnabledApplication; // TRUE if enabled app
  220. BOOL fInheritedPath; // Inherited path
  221. TCHAR szAlias[MAX_PATH + 1]; // Alias
  222. TCHAR szPath[MAX_PATH + 1]; // Physical Path
  223. TCHAR szRedirPath[MAX_PATH + 1]; // Redirected Path
  224. BOOL fChildOnlyRedir; // TRUE if redir is "child only"
  225. DWORD dwError; // WIN32 error
  226. } ISMCHILDINFO, *PCHILDINFO;
  227. //
  228. // Expected size of structure
  229. //
  230. #define ISMCHILDINFO_SIZE sizeof(ISMCHILDINFO)
  231. //
  232. // Function prototypes
  233. //
  234. // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  235. //
  236. // Return service-specific information back to
  237. // to the application. This function is called
  238. // by the service manager immediately after
  239. // LoadLibary();
  240. //
  241. // IIS1-3
  242. //
  243. DWORD APIENTRY
  244. ISMQueryServiceInfo(
  245. ISMSERVICEINFO * psi // Service information returned.
  246. );
  247. //
  248. // Perform a discovery (if not using inetsloc discovery)
  249. // The application will call this API the first time with
  250. // a BufferSize of 0, which should return the required buffer
  251. // size. Next it will attempt to allocate a buffer of that
  252. // size, and then pass a pointer to that buffer to the api.
  253. //
  254. // IIS1-3
  255. //
  256. DWORD APIENTRY
  257. ISMDiscoverServers(
  258. ISMSERVERINFO * psi, // Server info buffer.
  259. DWORD * pdwBufferSize, // Size required/available.
  260. int * cServers // Number of servers in buffer.
  261. );
  262. //
  263. // Get information on a single server with regards to
  264. // this service.
  265. //
  266. // IIS1-3
  267. //
  268. DWORD APIENTRY
  269. ISMQueryServerInfo(
  270. LPCTSTR lpszServerName, // Name of server.
  271. ISMSERVERINFO * psi // Server information returned.
  272. );
  273. //
  274. // Change the state of the service (started, stopped, paused) for the
  275. // listed servers.
  276. //
  277. // IIS1-3
  278. //
  279. DWORD APIENTRY
  280. ISMChangeServiceState(
  281. int nNewState, // INetService* definition.
  282. int * pnCurrentState, // Pointer to the current state of the service.
  283. DWORD dwInstance, // /* K2 */ Instance or 0
  284. LPCTSTR lpszServers // Double NULL terminated list of servers.
  285. );
  286. //
  287. // The big-one: Show the configuration dialog or
  288. // property sheets, whatever, and allow the user
  289. // to make changes as needed.
  290. //
  291. // IIS1-3
  292. //
  293. DWORD APIENTRY
  294. ISMConfigureServers(
  295. HWND hWnd, // Main app window handle
  296. DWORD dwInstance, // /* K2 */ Instance or 0
  297. LPCTSTR lpszServers // Double NULL terminated list of servers
  298. );
  299. ///////////////////////////////////////////////////////////////////////////////
  300. // //
  301. // /* K2 */ //
  302. // //
  303. ///////////////////////////////////////////////////////////////////////////////
  304. //
  305. // K2 Extended APIs use handles instead of server names. First obtain a
  306. // handle with Bind(), use the handle with all APIs below, and then Unbind
  307. // the handle
  308. //
  309. // IIS5
  310. //
  311. HRESULT APIENTRY
  312. ISMBind(
  313. LPCTSTR lpszServer, // A single server name.
  314. HANDLE * phServer // Returns server name.
  315. );
  316. HRESULT APIENTRY
  317. ISMUnbind(
  318. HANDLE hServer // Server handle
  319. );
  320. //
  321. // Enumerate instances. This API should first be called with a buffer
  322. // size of 0, which will return the required number of bytes
  323. //
  324. // IIS5
  325. //
  326. HRESULT APIENTRY
  327. ISMEnumerateInstances(
  328. HANDLE hServer, // Server handle
  329. ISMINSTANCEINFO * pii, // Instance info buffer
  330. HANDLE * phEnum // Enumeration handle: init with NULL
  331. );
  332. //
  333. // Get instance specific information.
  334. //
  335. // IIS5
  336. //
  337. HRESULT APIENTRY
  338. ISMQueryInstanceInfo(
  339. HANDLE hServer, // Server handle
  340. BOOL fInherit, // TRUE to inherit, FALSE otherwise
  341. ISMINSTANCEINFO * pii, // Instance info buffer
  342. DWORD dwInstance // Instance number
  343. );
  344. //
  345. // Add an instance
  346. //
  347. // IIS5
  348. //
  349. HRESULT APIENTRY
  350. ISMAddInstance(
  351. HANDLE hServer, // Server handle
  352. DWORD dwSourceInstance, // Source instance
  353. ISMINSTANCEINFO * pii, // Instance info buffer. May be NULL
  354. DWORD dwBufferSize // Size of buffer
  355. );
  356. //
  357. // Delete an instance
  358. //
  359. // IIS5
  360. //
  361. HRESULT APIENTRY
  362. ISMDeleteInstance(
  363. HANDLE hServer, // Server handle
  364. DWORD dwInstance // Instance to be deleted
  365. );
  366. //
  367. // Enumerate children This API should first be called with a buffer
  368. // size of 0, which will return the required number of bytes.
  369. //
  370. // IIS5
  371. //
  372. HRESULT APIENTRY
  373. ISMEnumerateChildren(
  374. HANDLE hServer, // Server handle
  375. ISMCHILDINFO * pii, // Child info buffer
  376. HANDLE * phEnum, // Enumeration handle: init with NULL
  377. DWORD dwInstance, // Parent instance
  378. LPCTSTR lpszParent // Parent Path ("" for root)
  379. );
  380. //
  381. // Get child-specific info
  382. //
  383. // IIS5
  384. //
  385. HRESULT APIENTRY
  386. ISMQueryChildInfo(
  387. HANDLE hServer, // Server handle
  388. BOOL fInherit, // TRUE to inherit, FALSE otherwise
  389. ISMCHILDINFO * pii, // Child info buffer
  390. DWORD dwInstance, // Parent instance
  391. LPCTSTR lpszParent, // Parent Path ("" for root)
  392. LPCTSTR lpszAlias // Alias of child to be deleted
  393. );
  394. //
  395. // Add a child
  396. //
  397. // IIS5
  398. //
  399. HRESULT APIENTRY
  400. ISMAddChild(
  401. HANDLE hServer, // Server handle
  402. ISMCHILDINFO * pii, // Child info buffer. May be NULL
  403. DWORD dwBufferSize, // Size of info buffer
  404. DWORD dwInstance, // Parent instance
  405. LPCTSTR lpszParent // Parent Path ("" for root)
  406. );
  407. //
  408. // Delete a child
  409. //
  410. // IIS5
  411. //
  412. HRESULT APIENTRY
  413. ISMDeleteChild(
  414. HANDLE hServer, // Server handle
  415. DWORD dwInstance, // Parent instance
  416. LPCTSTR lpszParent, // Parent Path ("" for root)
  417. LPCTSTR lpszAlias // Alias of child to be deleted
  418. );
  419. //
  420. // Rename a child
  421. //
  422. // IIS5
  423. //
  424. HRESULT APIENTRY
  425. ISMRenameChild(
  426. HANDLE hServer, // Server handle
  427. DWORD dwInstance, // Parent instance
  428. LPCTSTR lpszParent, // Parent Path ("" for root)
  429. LPCTSTR lpszAlias, // Alias of child to be renamed
  430. LPCTSTR lpszNewAlias // New alias name of the child
  431. );
  432. //
  433. // Private FILE_ATTRIBUTE used to designate a virtual directory
  434. //
  435. #define FILE_ATTRIBUTE_VIRTUAL_DIRECTORY (0x10000000)
  436. //
  437. // Configure Child
  438. //
  439. // IIS5
  440. //
  441. HRESULT APIENTRY
  442. ISMConfigureChild(
  443. HANDLE hServer, // Server handle
  444. HWND hWnd, // Main app window handle
  445. DWORD dwAttributes, // File system attributes
  446. DWORD dwInstance, // Parent instance
  447. LPCTSTR lpszParent, // Parent path
  448. LPCTSTR lpszAlias // Child alias name
  449. );
  450. //
  451. // Configure servers with MMC property sheet
  452. //
  453. // IIS5
  454. //
  455. HRESULT APIENTRY
  456. ISMMMCConfigureServers(
  457. HANDLE hServer, // Server handle
  458. PVOID lpfnProvider, // MMC parameter
  459. LPARAM lParam, // MMC parameter
  460. LONG_PTR handle, // MMC parameter
  461. DWORD dwInstance // Instance number
  462. );
  463. //
  464. // Configure Child with MMC property sheet
  465. //
  466. // IIS5
  467. //
  468. HRESULT APIENTRY
  469. ISMMMCConfigureChild(
  470. HANDLE hServer, // Server handle
  471. PVOID lpfnProvider, // MMC parameter
  472. LPARAM lParam, // MMC parameter
  473. LONG_PTR handle, // MMC parameter
  474. DWORD dwAttributes, // Child attributes
  475. DWORD dwInstance, // Instance number
  476. LPCTSTR lpszParent, // Parent path
  477. LPCTSTR lpszAlias // Child alias name
  478. );
  479. //
  480. // Launch security wizard
  481. //
  482. // IIS5
  483. //
  484. HRESULT APIENTRY
  485. ISMSecurityWizard(
  486. HANDLE hServer, // Server handle
  487. DWORD dwInstance, // Instance number
  488. LPCTSTR lpszParent, // Parent path
  489. LPCTSTR lpszAlias // Child alias name
  490. );
  491. //
  492. // GetProcAddress() Prototypes
  493. //
  494. // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  495. ///////////////////////////////////////////////////////////////////////////////
  496. // //
  497. // IIS1-3 //
  498. // //
  499. ///////////////////////////////////////////////////////////////////////////////
  500. typedef DWORD (APIENTRY * pfnQueryServiceInfo)(ISMSERVICEINFO * psi);
  501. typedef DWORD (APIENTRY * pfnDiscoverServers)(
  502. ISMSERVERINFO * psi,
  503. DWORD * pdwBufferSize,
  504. int * cServers
  505. );
  506. typedef DWORD (APIENTRY * pfnQueryServerInfo)(
  507. LPCTSTR lpszServerName,
  508. ISMSERVERINFO * psi
  509. );
  510. typedef DWORD (APIENTRY * pfnChangeServiceState)(
  511. int nNewState,
  512. int * pnCurrentState,
  513. DWORD dwInstance,
  514. LPCTSTR lpszServers
  515. );
  516. typedef DWORD (APIENTRY * pfnConfigure)(
  517. HWND hWnd,
  518. DWORD dwInstance,
  519. LPCTSTR lpszServers
  520. );
  521. ///////////////////////////////////////////////////////////////////////////////
  522. // //
  523. // /* K2 */ //
  524. // //
  525. ///////////////////////////////////////////////////////////////////////////////
  526. typedef HRESULT (APIENTRY * pfnBind)(
  527. LPCTSTR lpszServer,
  528. HANDLE * phServer
  529. );
  530. typedef HRESULT (APIENTRY * pfnUnbind)(
  531. HANDLE hServer
  532. );
  533. typedef HRESULT (APIENTRY * pfnEnumerateInstances)(
  534. HANDLE hServer,
  535. ISMINSTANCEINFO * pii,
  536. HANDLE * phEnum
  537. );
  538. typedef HRESULT (APIENTRY * pfnQueryInstanceInfo)(
  539. HANDLE hServer,
  540. BOOL fInherit,
  541. ISMINSTANCEINFO * pii,
  542. DWORD dwInstance
  543. );
  544. typedef HRESULT (APIENTRY * pfnEnumerateChildren)(
  545. HANDLE hServer,
  546. ISMCHILDINFO * pii,
  547. HANDLE * phEnum,
  548. DWORD dwInstance,
  549. LPCTSTR lpszParent
  550. );
  551. typedef HRESULT (APIENTRY * pfnAddInstance)(
  552. HANDLE hServer,
  553. DWORD dwSourceInstance,
  554. ISMINSTANCEINFO * pii,
  555. DWORD dwBufferSize
  556. );
  557. typedef HRESULT (APIENTRY * pfnDeleteInstance)(
  558. HANDLE hServer,
  559. DWORD dwInstance
  560. );
  561. typedef HRESULT (APIENTRY * pfnAddChild)(
  562. HANDLE hServer,
  563. ISMCHILDINFO * pii,
  564. DWORD dwBufferSize,
  565. DWORD dwInstance,
  566. LPCTSTR lpszParent
  567. );
  568. typedef HRESULT (APIENTRY * pfnDeleteChild)(
  569. HANDLE hServer,
  570. DWORD dwInstance,
  571. LPCTSTR lpszParent,
  572. LPCTSTR lpszAlias
  573. );
  574. typedef HRESULT (APIENTRY * pfnRenameChild)(
  575. HANDLE hServer,
  576. DWORD dwInstance,
  577. LPCTSTR lpszParent,
  578. LPCTSTR lpszAlias,
  579. LPCTSTR lpszNewAlias
  580. );
  581. typedef HRESULT (APIENTRY * pfnQueryChildInfo)(
  582. HANDLE hServer,
  583. BOOL fInherit,
  584. ISMCHILDINFO * pii,
  585. DWORD dwInstance,
  586. LPCTSTR lpszParent,
  587. LPCTSTR lpszAlias
  588. );
  589. typedef HRESULT (APIENTRY * pfnConfigureChild)(
  590. HANDLE hServer,
  591. HWND hWnd,
  592. DWORD dwAttributes,
  593. DWORD dwInstance,
  594. LPCTSTR lpszParent,
  595. LPCTSTR lpszAlias
  596. );
  597. typedef HRESULT (APIENTRY * pfnISMMMCConfigureServers)(
  598. HANDLE hServer,
  599. PVOID lpfnProvider,
  600. LPARAM lParam,
  601. LONG_PTR handle,
  602. DWORD dwInstance
  603. );
  604. typedef HRESULT (APIENTRY * pfnISMMMCConfigureChild)(
  605. HANDLE hServer,
  606. PVOID lpfnProvider,
  607. LPARAM lParam,
  608. LONG_PTR handle,
  609. DWORD dwAttributes,
  610. DWORD dwInstance,
  611. LPCTSTR lpszParent,
  612. LPCTSTR lpszAlias
  613. );
  614. typedef HRESULT (APIENTRY * pfnISMSecurityWizard)(
  615. HANDLE hServer,
  616. DWORD dwInstance,
  617. LPCTSTR lpszParent,
  618. LPCTSTR lpszAlias
  619. );
  620. //
  621. // GetProcAddress() Function Names
  622. //
  623. // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  624. //
  625. // IIS1-3
  626. //
  627. #define SZ_SERVICEINFO_PROC ("ISMQueryServiceInfo")
  628. #define SZ_DISCOVERY_PROC ("ISMDiscoverServers")
  629. #define SZ_SERVERINFO_PROC ("ISMQueryServerInfo")
  630. #define SZ_CHANGESTATE_PROC ("ISMChangeServiceState")
  631. #define SZ_CONFIGURE_PROC ("ISMConfigureServers")
  632. ///////////////////////////////////////////////////////////////////////////////
  633. // //
  634. // /* K2 */ //
  635. // //
  636. ///////////////////////////////////////////////////////////////////////////////
  637. #define SZ_BIND_PROC ("ISMBind")
  638. #define SZ_UNBIND_PROC ("ISMUnbind")
  639. #define SZ_CONFIGURE_CHILD_PROC ("ISMConfigureChild")
  640. #define SZ_ENUMERATE_INSTANCES_PROC ("ISMEnumerateInstances")
  641. #define SZ_QUERY_INSTANCE_INFO_PROC ("ISMQueryInstanceInfo")
  642. #define SZ_ENUMERATE_CHILDREN_PROC ("ISMEnumerateChildren")
  643. #define SZ_ADD_INSTANCE_PROC ("ISMAddInstance")
  644. #define SZ_DELETE_INSTANCE_PROC ("ISMDeleteInstance")
  645. #define SZ_ADD_CHILD_PROC ("ISMAddChild")
  646. #define SZ_DELETE_CHILD_PROC ("ISMDeleteChild")
  647. #define SZ_RENAME_CHILD_PROC ("ISMRenameChild")
  648. #define SZ_QUERY_CHILD_INFO_PROC ("ISMQueryChildInfo")
  649. #define SZ_MMC_CONFIGURE_PROC ("ISMMMCConfigureServers")
  650. #define SZ_MMC_CONFIGURE_CHILD_PROC ("ISMMMCConfigureChild")
  651. #define SZ_SECURITY_WIZARD_PROC ("ISMSecurityWizard")
  652. ///////////////////////////////////////////////////////////////////////////////
  653. // //
  654. // Taskpad resource names //
  655. // //
  656. // * IIS5 * //
  657. // //
  658. ///////////////////////////////////////////////////////////////////////////////
  659. #define RES_TASKPAD_NEWVROOT _T("/img\\newvroot.gif")
  660. #define RES_TASKPAD_NEWSITE _T("/img\\newsite.gif")
  661. #define RES_TASKPAD_SECWIZ _T("/img\\secwiz.gif")
  662. #ifdef __cplusplus
  663. }
  664. #endif
  665. #endif // _SVRINFO_H_