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.

2035 lines
50 KiB

  1. // Machine generated IDispatch wrapper class(es) created with ClassWizard
  2. #include "stdafx.h"
  3. #include "msclus.h"
  4. #ifdef _DEBUG
  5. #define new DEBUG_NEW
  6. #undef THIS_FILE
  7. static char THIS_FILE[] = __FILE__;
  8. #endif
  9. /////////////////////////////////////////////////////////////////////////////
  10. // IClusterApplication properties
  11. /////////////////////////////////////////////////////////////////////////////
  12. // IClusterApplication operations
  13. unsigned long IClusterApplication::AddRef()
  14. {
  15. unsigned long result;
  16. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  17. return result;
  18. }
  19. unsigned long IClusterApplication::Release()
  20. {
  21. unsigned long result;
  22. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  23. return result;
  24. }
  25. LPDISPATCH IClusterApplication::GetDomainNames()
  26. {
  27. LPDISPATCH result;
  28. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  29. return result;
  30. }
  31. LPDISPATCH IClusterApplication::GetClusterNames(LPCTSTR bstrDomainName)
  32. {
  33. LPDISPATCH result;
  34. static BYTE parms[] =
  35. VTS_BSTR;
  36. InvokeHelper(0x60020001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  37. bstrDomainName);
  38. return result;
  39. }
  40. LPDISPATCH IClusterApplication::OpenCluster(LPCTSTR bstrClusterName)
  41. {
  42. LPDISPATCH result;
  43. static BYTE parms[] =
  44. VTS_BSTR;
  45. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
  46. bstrClusterName);
  47. return result;
  48. }
  49. /////////////////////////////////////////////////////////////////////////////
  50. // DomainNames properties
  51. /////////////////////////////////////////////////////////////////////////////
  52. // DomainNames operations
  53. unsigned long DomainNames::AddRef()
  54. {
  55. unsigned long result;
  56. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  57. return result;
  58. }
  59. unsigned long DomainNames::Release()
  60. {
  61. unsigned long result;
  62. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  63. return result;
  64. }
  65. long DomainNames::GetCount()
  66. {
  67. long result;
  68. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  69. return result;
  70. }
  71. LPUNKNOWN DomainNames::Get_NewEnum()
  72. {
  73. LPUNKNOWN result;
  74. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  75. return result;
  76. }
  77. void DomainNames::Refresh()
  78. {
  79. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  80. }
  81. CString DomainNames::GetItem(long nIndex)
  82. {
  83. CString result;
  84. static BYTE parms[] =
  85. VTS_I4;
  86. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
  87. nIndex);
  88. return result;
  89. }
  90. /////////////////////////////////////////////////////////////////////////////
  91. // ClusObjCollection properties
  92. /////////////////////////////////////////////////////////////////////////////
  93. // ClusObjCollection operations
  94. unsigned long ClusObjCollection::AddRef()
  95. {
  96. unsigned long result;
  97. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  98. return result;
  99. }
  100. unsigned long ClusObjCollection::Release()
  101. {
  102. unsigned long result;
  103. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  104. return result;
  105. }
  106. long ClusObjCollection::GetCount()
  107. {
  108. long result;
  109. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  110. return result;
  111. }
  112. LPUNKNOWN ClusObjCollection::Get_NewEnum()
  113. {
  114. LPUNKNOWN result;
  115. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  116. return result;
  117. }
  118. void ClusObjCollection::Refresh()
  119. {
  120. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  121. }
  122. /////////////////////////////////////////////////////////////////////////////
  123. // ClusterNames properties
  124. /////////////////////////////////////////////////////////////////////////////
  125. // ClusterNames operations
  126. unsigned long ClusterNames::AddRef()
  127. {
  128. unsigned long result;
  129. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  130. return result;
  131. }
  132. unsigned long ClusterNames::Release()
  133. {
  134. unsigned long result;
  135. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  136. return result;
  137. }
  138. long ClusterNames::GetCount()
  139. {
  140. long result;
  141. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  142. return result;
  143. }
  144. LPUNKNOWN ClusterNames::Get_NewEnum()
  145. {
  146. LPUNKNOWN result;
  147. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  148. return result;
  149. }
  150. void ClusterNames::Refresh()
  151. {
  152. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  153. }
  154. CString ClusterNames::GetItem(long nIndex)
  155. {
  156. CString result;
  157. static BYTE parms[] =
  158. VTS_I4;
  159. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
  160. nIndex);
  161. return result;
  162. }
  163. CString ClusterNames::GetDomainName()
  164. {
  165. CString result;
  166. InvokeHelper(0x60030001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  167. return result;
  168. }
  169. /////////////////////////////////////////////////////////////////////////////
  170. // ICluster properties
  171. /////////////////////////////////////////////////////////////////////////////
  172. // ICluster operations
  173. unsigned long ICluster::AddRef()
  174. {
  175. unsigned long result;
  176. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  177. return result;
  178. }
  179. unsigned long ICluster::Release()
  180. {
  181. unsigned long result;
  182. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  183. return result;
  184. }
  185. CString ICluster::GetName()
  186. {
  187. CString result;
  188. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  189. return result;
  190. }
  191. LPDISPATCH ICluster::GetCommonProperties()
  192. {
  193. LPDISPATCH result;
  194. InvokeHelper(0x60020001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  195. return result;
  196. }
  197. LPDISPATCH ICluster::GetPrivateProperties()
  198. {
  199. LPDISPATCH result;
  200. InvokeHelper(0x60020002, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  201. return result;
  202. }
  203. LPDISPATCH ICluster::GetCommonROProperties()
  204. {
  205. LPDISPATCH result;
  206. InvokeHelper(0x60020003, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  207. return result;
  208. }
  209. LPDISPATCH ICluster::GetPrivateROProperties()
  210. {
  211. LPDISPATCH result;
  212. InvokeHelper(0x60020004, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  213. return result;
  214. }
  215. long ICluster::GetHandle()
  216. {
  217. long result;
  218. InvokeHelper(0x60030000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  219. return result;
  220. }
  221. void ICluster::Open(LPCTSTR bstrClusterName)
  222. {
  223. static BYTE parms[] =
  224. VTS_BSTR;
  225. InvokeHelper(0x60030001, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  226. bstrClusterName);
  227. }
  228. void ICluster::SetName(LPCTSTR lpszNewValue)
  229. {
  230. static BYTE parms[] =
  231. VTS_BSTR;
  232. InvokeHelper(0x60030002, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  233. lpszNewValue);
  234. }
  235. void ICluster::GetVersion(BSTR* pbstrClusterName, short* MajorVersion, short* MinorVersion, short* BuildNumber, BSTR* pbstrVendorId, BSTR* pbstrCSDVersion)
  236. {
  237. static BYTE parms[] =
  238. VTS_PBSTR VTS_PI2 VTS_PI2 VTS_PI2 VTS_PBSTR VTS_PBSTR;
  239. InvokeHelper(0x60030003, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  240. pbstrClusterName, MajorVersion, MinorVersion, BuildNumber, pbstrVendorId, pbstrCSDVersion);
  241. }
  242. void ICluster::SetQuorumResource(LPDISPATCH newValue)
  243. {
  244. static BYTE parms[] =
  245. VTS_DISPATCH;
  246. InvokeHelper(0x60030004, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  247. newValue);
  248. }
  249. LPDISPATCH ICluster::GetQuorumResource()
  250. {
  251. LPDISPATCH result;
  252. InvokeHelper(0x60030004, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  253. return result;
  254. }
  255. void ICluster::SetQuorumInfo(LPCTSTR DevicePath, long nLogSize)
  256. {
  257. static BYTE parms[] =
  258. VTS_BSTR VTS_I4;
  259. InvokeHelper(0x60030006, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  260. DevicePath, nLogSize);
  261. }
  262. void ICluster::GetQuorumInfo(BSTR* DevicePath, long* pLogSize)
  263. {
  264. static BYTE parms[] =
  265. VTS_PBSTR VTS_PI4;
  266. InvokeHelper(0x60030007, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  267. DevicePath, pLogSize);
  268. }
  269. LPDISPATCH ICluster::GetNodes()
  270. {
  271. LPDISPATCH result;
  272. InvokeHelper(0x60030008, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  273. return result;
  274. }
  275. LPDISPATCH ICluster::GetResourceGroups()
  276. {
  277. LPDISPATCH result;
  278. InvokeHelper(0x60030009, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  279. return result;
  280. }
  281. LPDISPATCH ICluster::GetResources()
  282. {
  283. LPDISPATCH result;
  284. InvokeHelper(0x6003000a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  285. return result;
  286. }
  287. LPDISPATCH ICluster::GetResourceTypes()
  288. {
  289. LPDISPATCH result;
  290. InvokeHelper(0x6003000b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  291. return result;
  292. }
  293. LPDISPATCH ICluster::GetNetworks()
  294. {
  295. LPDISPATCH result;
  296. InvokeHelper(0x6003000c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  297. return result;
  298. }
  299. LPDISPATCH ICluster::GetNetInterfaces()
  300. {
  301. LPDISPATCH result;
  302. InvokeHelper(0x6003000d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  303. return result;
  304. }
  305. /////////////////////////////////////////////////////////////////////////////
  306. // ClusObj properties
  307. /////////////////////////////////////////////////////////////////////////////
  308. // ClusObj operations
  309. unsigned long ClusObj::AddRef()
  310. {
  311. unsigned long result;
  312. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  313. return result;
  314. }
  315. unsigned long ClusObj::Release()
  316. {
  317. unsigned long result;
  318. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  319. return result;
  320. }
  321. CString ClusObj::GetName()
  322. {
  323. CString result;
  324. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  325. return result;
  326. }
  327. LPDISPATCH ClusObj::GetCommonProperties()
  328. {
  329. LPDISPATCH result;
  330. InvokeHelper(0x60020001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  331. return result;
  332. }
  333. LPDISPATCH ClusObj::GetPrivateProperties()
  334. {
  335. LPDISPATCH result;
  336. InvokeHelper(0x60020002, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  337. return result;
  338. }
  339. LPDISPATCH ClusObj::GetCommonROProperties()
  340. {
  341. LPDISPATCH result;
  342. InvokeHelper(0x60020003, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  343. return result;
  344. }
  345. LPDISPATCH ClusObj::GetPrivateROProperties()
  346. {
  347. LPDISPATCH result;
  348. InvokeHelper(0x60020004, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  349. return result;
  350. }
  351. /////////////////////////////////////////////////////////////////////////////
  352. // ClusProperties properties
  353. /////////////////////////////////////////////////////////////////////////////
  354. // ClusProperties operations
  355. unsigned long ClusProperties::AddRef()
  356. {
  357. unsigned long result;
  358. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  359. return result;
  360. }
  361. unsigned long ClusProperties::Release()
  362. {
  363. unsigned long result;
  364. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  365. return result;
  366. }
  367. long ClusProperties::GetCount()
  368. {
  369. long result;
  370. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  371. return result;
  372. }
  373. LPUNKNOWN ClusProperties::Get_NewEnum()
  374. {
  375. LPUNKNOWN result;
  376. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  377. return result;
  378. }
  379. void ClusProperties::Refresh()
  380. {
  381. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  382. }
  383. LPDISPATCH ClusProperties::GetItem(const VARIANT& varIndex)
  384. {
  385. LPDISPATCH result;
  386. static BYTE parms[] =
  387. VTS_VARIANT;
  388. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  389. &varIndex);
  390. return result;
  391. }
  392. LPDISPATCH ClusProperties::Add(LPCTSTR bstrName, const VARIANT& varValue)
  393. {
  394. LPDISPATCH result;
  395. static BYTE parms[] =
  396. VTS_BSTR VTS_VARIANT;
  397. InvokeHelper(0x60030001, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
  398. bstrName, &varValue);
  399. return result;
  400. }
  401. void ClusProperties::Remove(const VARIANT& varIndex)
  402. {
  403. static BYTE parms[] =
  404. VTS_VARIANT;
  405. InvokeHelper(0x60030002, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  406. &varIndex);
  407. }
  408. void ClusProperties::SaveChanges()
  409. {
  410. InvokeHelper(0x60030003, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  411. }
  412. /////////////////////////////////////////////////////////////////////////////
  413. // ClusProperty properties
  414. /////////////////////////////////////////////////////////////////////////////
  415. // ClusProperty operations
  416. unsigned long ClusProperty::AddRef()
  417. {
  418. unsigned long result;
  419. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  420. return result;
  421. }
  422. unsigned long ClusProperty::Release()
  423. {
  424. unsigned long result;
  425. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  426. return result;
  427. }
  428. CString ClusProperty::GetName()
  429. {
  430. CString result;
  431. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  432. return result;
  433. }
  434. VARIANT ClusProperty::GetValue()
  435. {
  436. VARIANT result;
  437. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
  438. return result;
  439. }
  440. void ClusProperty::SetValue(const VARIANT& newValue)
  441. {
  442. static BYTE parms[] =
  443. VTS_VARIANT;
  444. InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  445. &newValue);
  446. }
  447. /////////////////////////////////////////////////////////////////////////////
  448. // ClusResource properties
  449. /////////////////////////////////////////////////////////////////////////////
  450. // ClusResource operations
  451. unsigned long ClusResource::AddRef()
  452. {
  453. unsigned long result;
  454. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  455. return result;
  456. }
  457. unsigned long ClusResource::Release()
  458. {
  459. unsigned long result;
  460. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  461. return result;
  462. }
  463. CString ClusResource::GetName()
  464. {
  465. CString result;
  466. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  467. return result;
  468. }
  469. LPDISPATCH ClusResource::GetCommonProperties()
  470. {
  471. LPDISPATCH result;
  472. InvokeHelper(0x60020001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  473. return result;
  474. }
  475. LPDISPATCH ClusResource::GetPrivateProperties()
  476. {
  477. LPDISPATCH result;
  478. InvokeHelper(0x60020002, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  479. return result;
  480. }
  481. LPDISPATCH ClusResource::GetCommonROProperties()
  482. {
  483. LPDISPATCH result;
  484. InvokeHelper(0x60020003, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  485. return result;
  486. }
  487. LPDISPATCH ClusResource::GetPrivateROProperties()
  488. {
  489. LPDISPATCH result;
  490. InvokeHelper(0x60020004, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  491. return result;
  492. }
  493. long ClusResource::GetHandle()
  494. {
  495. long result;
  496. InvokeHelper(0x60030000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  497. return result;
  498. }
  499. void ClusResource::SetName(LPCTSTR lpszNewValue)
  500. {
  501. static BYTE parms[] =
  502. VTS_BSTR;
  503. InvokeHelper(0x60030001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  504. lpszNewValue);
  505. }
  506. long ClusResource::GetState()
  507. {
  508. long result;
  509. InvokeHelper(0x60030002, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  510. return result;
  511. }
  512. void ClusResource::BecomeQuorumResource(LPCTSTR bstrDevicePath, long lMaxLogSize)
  513. {
  514. static BYTE parms[] =
  515. VTS_BSTR VTS_I4;
  516. InvokeHelper(0x60030003, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  517. bstrDevicePath, lMaxLogSize);
  518. }
  519. void ClusResource::Delete()
  520. {
  521. InvokeHelper(0x60030004, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  522. }
  523. void ClusResource::Fail()
  524. {
  525. InvokeHelper(0x60030005, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  526. }
  527. void ClusResource::Online(long nTimeout, long* bPending)
  528. {
  529. static BYTE parms[] =
  530. VTS_I4 VTS_PI4;
  531. InvokeHelper(0x60030006, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  532. nTimeout, bPending);
  533. }
  534. void ClusResource::Offline(long nTimeout, long* bPending)
  535. {
  536. static BYTE parms[] =
  537. VTS_I4 VTS_PI4;
  538. InvokeHelper(0x60030007, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  539. nTimeout, bPending);
  540. }
  541. void ClusResource::ChangeResourceGroup(LPDISPATCH pResourceGroup)
  542. {
  543. static BYTE parms[] =
  544. VTS_DISPATCH;
  545. InvokeHelper(0x60030008, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  546. pResourceGroup);
  547. }
  548. void ClusResource::AddResourceNode(LPDISPATCH pNode)
  549. {
  550. static BYTE parms[] =
  551. VTS_DISPATCH;
  552. InvokeHelper(0x60030009, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  553. pNode);
  554. }
  555. void ClusResource::RemoveResourceNode(LPDISPATCH pNode)
  556. {
  557. static BYTE parms[] =
  558. VTS_DISPATCH;
  559. InvokeHelper(0x6003000a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  560. pNode);
  561. }
  562. long ClusResource::CanResourceBeDependent(LPDISPATCH pResource)
  563. {
  564. long result;
  565. static BYTE parms[] =
  566. VTS_DISPATCH;
  567. InvokeHelper(0x6003000b, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
  568. pResource);
  569. return result;
  570. }
  571. LPDISPATCH ClusResource::GetPossibleOwnerNodes()
  572. {
  573. LPDISPATCH result;
  574. InvokeHelper(0x6003000c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  575. return result;
  576. }
  577. LPDISPATCH ClusResource::GetDependencies()
  578. {
  579. LPDISPATCH result;
  580. InvokeHelper(0x6003000d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  581. return result;
  582. }
  583. LPDISPATCH ClusResource::GetGroup()
  584. {
  585. LPDISPATCH result;
  586. InvokeHelper(0x6003000e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  587. return result;
  588. }
  589. LPDISPATCH ClusResource::GetOwnerNode()
  590. {
  591. LPDISPATCH result;
  592. InvokeHelper(0x6003000f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  593. return result;
  594. }
  595. LPDISPATCH ClusResource::GetCluster()
  596. {
  597. LPDISPATCH result;
  598. InvokeHelper(0x60030010, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  599. return result;
  600. }
  601. /////////////////////////////////////////////////////////////////////////////
  602. // ClusResGroup properties
  603. /////////////////////////////////////////////////////////////////////////////
  604. // ClusResGroup operations
  605. unsigned long ClusResGroup::AddRef()
  606. {
  607. unsigned long result;
  608. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  609. return result;
  610. }
  611. unsigned long ClusResGroup::Release()
  612. {
  613. unsigned long result;
  614. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  615. return result;
  616. }
  617. CString ClusResGroup::GetName()
  618. {
  619. CString result;
  620. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  621. return result;
  622. }
  623. LPDISPATCH ClusResGroup::GetCommonProperties()
  624. {
  625. LPDISPATCH result;
  626. InvokeHelper(0x60020001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  627. return result;
  628. }
  629. LPDISPATCH ClusResGroup::GetPrivateProperties()
  630. {
  631. LPDISPATCH result;
  632. InvokeHelper(0x60020002, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  633. return result;
  634. }
  635. LPDISPATCH ClusResGroup::GetCommonROProperties()
  636. {
  637. LPDISPATCH result;
  638. InvokeHelper(0x60020003, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  639. return result;
  640. }
  641. LPDISPATCH ClusResGroup::GetPrivateROProperties()
  642. {
  643. LPDISPATCH result;
  644. InvokeHelper(0x60020004, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  645. return result;
  646. }
  647. long ClusResGroup::GetHandle()
  648. {
  649. long result;
  650. InvokeHelper(0x60030000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  651. return result;
  652. }
  653. void ClusResGroup::SetName(LPCTSTR lpszNewValue)
  654. {
  655. static BYTE parms[] =
  656. VTS_BSTR;
  657. InvokeHelper(0x60030001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  658. lpszNewValue);
  659. }
  660. long ClusResGroup::GetState()
  661. {
  662. long result;
  663. InvokeHelper(0x60030002, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  664. return result;
  665. }
  666. LPDISPATCH ClusResGroup::GetOwnerNode()
  667. {
  668. LPDISPATCH result;
  669. InvokeHelper(0x60030003, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  670. return result;
  671. }
  672. LPDISPATCH ClusResGroup::GetResources()
  673. {
  674. LPDISPATCH result;
  675. InvokeHelper(0x60030004, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  676. return result;
  677. }
  678. LPDISPATCH ClusResGroup::GetPreferredOwnerNodes()
  679. {
  680. LPDISPATCH result;
  681. InvokeHelper(0x60030005, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  682. return result;
  683. }
  684. void ClusResGroup::SetPreferredOwnerNodes()
  685. {
  686. InvokeHelper(0x60030006, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  687. }
  688. void ClusResGroup::Delete()
  689. {
  690. InvokeHelper(0x60030007, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  691. }
  692. long ClusResGroup::Online(long nTimeout, LPDISPATCH pDestinationNode)
  693. {
  694. long result;
  695. static BYTE parms[] =
  696. VTS_I4 VTS_DISPATCH;
  697. InvokeHelper(0x60030008, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
  698. nTimeout, pDestinationNode);
  699. return result;
  700. }
  701. long ClusResGroup::Move(long nTimeout, LPDISPATCH pDestinationNode)
  702. {
  703. long result;
  704. static BYTE parms[] =
  705. VTS_I4 VTS_DISPATCH;
  706. InvokeHelper(0x60030009, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
  707. nTimeout, pDestinationNode);
  708. return result;
  709. }
  710. long ClusResGroup::Offline(long nTimeout)
  711. {
  712. long result;
  713. static BYTE parms[] =
  714. VTS_I4;
  715. InvokeHelper(0x6003000a, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
  716. nTimeout);
  717. return result;
  718. }
  719. LPDISPATCH ClusResGroup::GetCluster()
  720. {
  721. LPDISPATCH result;
  722. InvokeHelper(0x6003000b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  723. return result;
  724. }
  725. /////////////////////////////////////////////////////////////////////////////
  726. // ClusNode properties
  727. /////////////////////////////////////////////////////////////////////////////
  728. // ClusNode operations
  729. unsigned long ClusNode::AddRef()
  730. {
  731. unsigned long result;
  732. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  733. return result;
  734. }
  735. unsigned long ClusNode::Release()
  736. {
  737. unsigned long result;
  738. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  739. return result;
  740. }
  741. CString ClusNode::GetName()
  742. {
  743. CString result;
  744. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  745. return result;
  746. }
  747. LPDISPATCH ClusNode::GetCommonProperties()
  748. {
  749. LPDISPATCH result;
  750. InvokeHelper(0x60020001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  751. return result;
  752. }
  753. LPDISPATCH ClusNode::GetPrivateProperties()
  754. {
  755. LPDISPATCH result;
  756. InvokeHelper(0x60020002, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  757. return result;
  758. }
  759. LPDISPATCH ClusNode::GetCommonROProperties()
  760. {
  761. LPDISPATCH result;
  762. InvokeHelper(0x60020003, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  763. return result;
  764. }
  765. LPDISPATCH ClusNode::GetPrivateROProperties()
  766. {
  767. LPDISPATCH result;
  768. InvokeHelper(0x60020004, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  769. return result;
  770. }
  771. long ClusNode::GetHandle()
  772. {
  773. long result;
  774. InvokeHelper(0x60030000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  775. return result;
  776. }
  777. CString ClusNode::GetNodeID()
  778. {
  779. CString result;
  780. InvokeHelper(0x60030001, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  781. return result;
  782. }
  783. long ClusNode::GetState()
  784. {
  785. long result;
  786. InvokeHelper(0x60030002, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  787. return result;
  788. }
  789. void ClusNode::Pause()
  790. {
  791. InvokeHelper(0x60030003, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  792. }
  793. void ClusNode::Resume()
  794. {
  795. InvokeHelper(0x60030004, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  796. }
  797. void ClusNode::Evict()
  798. {
  799. InvokeHelper(0x60030005, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  800. }
  801. LPDISPATCH ClusNode::GetResourceGroups()
  802. {
  803. LPDISPATCH result;
  804. InvokeHelper(0x60030006, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  805. return result;
  806. }
  807. LPDISPATCH ClusNode::GetCluster()
  808. {
  809. LPDISPATCH result;
  810. InvokeHelper(0x60030007, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  811. return result;
  812. }
  813. LPDISPATCH ClusNode::GetNetInterfaces()
  814. {
  815. LPDISPATCH result;
  816. InvokeHelper(0x60030008, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  817. return result;
  818. }
  819. /////////////////////////////////////////////////////////////////////////////
  820. // ClusResGroups properties
  821. /////////////////////////////////////////////////////////////////////////////
  822. // ClusResGroups operations
  823. unsigned long ClusResGroups::AddRef()
  824. {
  825. unsigned long result;
  826. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  827. return result;
  828. }
  829. unsigned long ClusResGroups::Release()
  830. {
  831. unsigned long result;
  832. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  833. return result;
  834. }
  835. long ClusResGroups::GetCount()
  836. {
  837. long result;
  838. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  839. return result;
  840. }
  841. LPUNKNOWN ClusResGroups::Get_NewEnum()
  842. {
  843. LPUNKNOWN result;
  844. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  845. return result;
  846. }
  847. void ClusResGroups::Refresh()
  848. {
  849. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  850. }
  851. LPDISPATCH ClusResGroups::GetItem(const VARIANT& varIndex)
  852. {
  853. LPDISPATCH result;
  854. static BYTE parms[] =
  855. VTS_VARIANT;
  856. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  857. &varIndex);
  858. return result;
  859. }
  860. LPDISPATCH ClusResGroups::CreateItem(LPCTSTR bstrResourceGroupName)
  861. {
  862. LPDISPATCH result;
  863. static BYTE parms[] =
  864. VTS_BSTR;
  865. InvokeHelper(0x60030001, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
  866. bstrResourceGroupName);
  867. return result;
  868. }
  869. void ClusResGroups::DeleteItem(const VARIANT& varIndex)
  870. {
  871. static BYTE parms[] =
  872. VTS_VARIANT;
  873. InvokeHelper(0x60030002, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  874. &varIndex);
  875. }
  876. /////////////////////////////////////////////////////////////////////////////
  877. // ClusNodeNetInterfaces properties
  878. /////////////////////////////////////////////////////////////////////////////
  879. // ClusNodeNetInterfaces operations
  880. unsigned long ClusNodeNetInterfaces::AddRef()
  881. {
  882. unsigned long result;
  883. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  884. return result;
  885. }
  886. unsigned long ClusNodeNetInterfaces::Release()
  887. {
  888. unsigned long result;
  889. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  890. return result;
  891. }
  892. long ClusNodeNetInterfaces::GetCount()
  893. {
  894. long result;
  895. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  896. return result;
  897. }
  898. LPUNKNOWN ClusNodeNetInterfaces::Get_NewEnum()
  899. {
  900. LPUNKNOWN result;
  901. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  902. return result;
  903. }
  904. void ClusNodeNetInterfaces::Refresh()
  905. {
  906. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  907. }
  908. LPDISPATCH ClusNodeNetInterfaces::GetItem(const VARIANT& varIndex)
  909. {
  910. LPDISPATCH result;
  911. static BYTE parms[] =
  912. VTS_VARIANT;
  913. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  914. &varIndex);
  915. return result;
  916. }
  917. /////////////////////////////////////////////////////////////////////////////
  918. // ClusNetInterface properties
  919. /////////////////////////////////////////////////////////////////////////////
  920. // ClusNetInterface operations
  921. unsigned long ClusNetInterface::AddRef()
  922. {
  923. unsigned long result;
  924. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  925. return result;
  926. }
  927. unsigned long ClusNetInterface::Release()
  928. {
  929. unsigned long result;
  930. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  931. return result;
  932. }
  933. CString ClusNetInterface::GetName()
  934. {
  935. CString result;
  936. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  937. return result;
  938. }
  939. LPDISPATCH ClusNetInterface::GetCommonProperties()
  940. {
  941. LPDISPATCH result;
  942. InvokeHelper(0x60020001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  943. return result;
  944. }
  945. LPDISPATCH ClusNetInterface::GetPrivateProperties()
  946. {
  947. LPDISPATCH result;
  948. InvokeHelper(0x60020002, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  949. return result;
  950. }
  951. LPDISPATCH ClusNetInterface::GetCommonROProperties()
  952. {
  953. LPDISPATCH result;
  954. InvokeHelper(0x60020003, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  955. return result;
  956. }
  957. LPDISPATCH ClusNetInterface::GetPrivateROProperties()
  958. {
  959. LPDISPATCH result;
  960. InvokeHelper(0x60020004, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  961. return result;
  962. }
  963. long ClusNetInterface::GetHandle()
  964. {
  965. long result;
  966. InvokeHelper(0x60030000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  967. return result;
  968. }
  969. long ClusNetInterface::GetState()
  970. {
  971. long result;
  972. InvokeHelper(0x60030001, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  973. return result;
  974. }
  975. LPDISPATCH ClusNetInterface::GetCluster()
  976. {
  977. LPDISPATCH result;
  978. InvokeHelper(0x60030002, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  979. return result;
  980. }
  981. /////////////////////////////////////////////////////////////////////////////
  982. // ClusGroupResources properties
  983. /////////////////////////////////////////////////////////////////////////////
  984. // ClusGroupResources operations
  985. unsigned long ClusGroupResources::AddRef()
  986. {
  987. unsigned long result;
  988. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  989. return result;
  990. }
  991. unsigned long ClusGroupResources::Release()
  992. {
  993. unsigned long result;
  994. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  995. return result;
  996. }
  997. long ClusGroupResources::GetCount()
  998. {
  999. long result;
  1000. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  1001. return result;
  1002. }
  1003. LPUNKNOWN ClusGroupResources::Get_NewEnum()
  1004. {
  1005. LPUNKNOWN result;
  1006. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  1007. return result;
  1008. }
  1009. void ClusGroupResources::Refresh()
  1010. {
  1011. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  1012. }
  1013. LPDISPATCH ClusGroupResources::GetItem(const VARIANT& varIndex)
  1014. {
  1015. LPDISPATCH result;
  1016. static BYTE parms[] =
  1017. VTS_VARIANT;
  1018. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  1019. &varIndex);
  1020. return result;
  1021. }
  1022. LPDISPATCH ClusGroupResources::CreateItem(LPCTSTR bstrResourceName, LPCTSTR bstrResourceType, long dwFlags)
  1023. {
  1024. LPDISPATCH result;
  1025. static BYTE parms[] =
  1026. VTS_BSTR VTS_BSTR VTS_I4;
  1027. InvokeHelper(0x60030001, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
  1028. bstrResourceName, bstrResourceType, dwFlags);
  1029. return result;
  1030. }
  1031. void ClusGroupResources::DeleteItem(const VARIANT& varIndex)
  1032. {
  1033. static BYTE parms[] =
  1034. VTS_VARIANT;
  1035. InvokeHelper(0x60030002, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  1036. &varIndex);
  1037. }
  1038. /////////////////////////////////////////////////////////////////////////////
  1039. // ClusGroupOwners properties
  1040. /////////////////////////////////////////////////////////////////////////////
  1041. // ClusGroupOwners operations
  1042. unsigned long ClusGroupOwners::AddRef()
  1043. {
  1044. unsigned long result;
  1045. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1046. return result;
  1047. }
  1048. unsigned long ClusGroupOwners::Release()
  1049. {
  1050. unsigned long result;
  1051. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1052. return result;
  1053. }
  1054. long ClusGroupOwners::GetCount()
  1055. {
  1056. long result;
  1057. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  1058. return result;
  1059. }
  1060. LPUNKNOWN ClusGroupOwners::Get_NewEnum()
  1061. {
  1062. LPUNKNOWN result;
  1063. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  1064. return result;
  1065. }
  1066. void ClusGroupOwners::Refresh()
  1067. {
  1068. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  1069. }
  1070. LPDISPATCH ClusGroupOwners::GetItem(const VARIANT& varIndex)
  1071. {
  1072. LPDISPATCH result;
  1073. static BYTE parms[] =
  1074. VTS_VARIANT;
  1075. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  1076. &varIndex);
  1077. return result;
  1078. }
  1079. void ClusGroupOwners::InsertItem(LPDISPATCH pClusNode, long nPosition)
  1080. {
  1081. static BYTE parms[] =
  1082. VTS_DISPATCH VTS_I4;
  1083. InvokeHelper(0x60030001, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  1084. pClusNode, nPosition);
  1085. }
  1086. void ClusGroupOwners::RemoveItem(const VARIANT& varIndex)
  1087. {
  1088. static BYTE parms[] =
  1089. VTS_VARIANT;
  1090. InvokeHelper(0x60030002, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  1091. &varIndex);
  1092. }
  1093. /////////////////////////////////////////////////////////////////////////////
  1094. // ClusResOwners properties
  1095. /////////////////////////////////////////////////////////////////////////////
  1096. // ClusResOwners operations
  1097. unsigned long ClusResOwners::AddRef()
  1098. {
  1099. unsigned long result;
  1100. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1101. return result;
  1102. }
  1103. unsigned long ClusResOwners::Release()
  1104. {
  1105. unsigned long result;
  1106. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1107. return result;
  1108. }
  1109. long ClusResOwners::GetCount()
  1110. {
  1111. long result;
  1112. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  1113. return result;
  1114. }
  1115. LPUNKNOWN ClusResOwners::Get_NewEnum()
  1116. {
  1117. LPUNKNOWN result;
  1118. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  1119. return result;
  1120. }
  1121. void ClusResOwners::Refresh()
  1122. {
  1123. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  1124. }
  1125. LPDISPATCH ClusResOwners::GetItem(const VARIANT& varIndex)
  1126. {
  1127. LPDISPATCH result;
  1128. static BYTE parms[] =
  1129. VTS_VARIANT;
  1130. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  1131. &varIndex);
  1132. return result;
  1133. }
  1134. void ClusResOwners::AddItem(LPDISPATCH pNode)
  1135. {
  1136. static BYTE parms[] =
  1137. VTS_DISPATCH;
  1138. InvokeHelper(0x60030001, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  1139. pNode);
  1140. }
  1141. void ClusResOwners::RemoveItem(const VARIANT& varIndex)
  1142. {
  1143. static BYTE parms[] =
  1144. VTS_VARIANT;
  1145. InvokeHelper(0x60030002, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  1146. &varIndex);
  1147. }
  1148. /////////////////////////////////////////////////////////////////////////////
  1149. // ClusResDependencies properties
  1150. /////////////////////////////////////////////////////////////////////////////
  1151. // ClusResDependencies operations
  1152. unsigned long ClusResDependencies::AddRef()
  1153. {
  1154. unsigned long result;
  1155. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1156. return result;
  1157. }
  1158. unsigned long ClusResDependencies::Release()
  1159. {
  1160. unsigned long result;
  1161. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1162. return result;
  1163. }
  1164. long ClusResDependencies::GetCount()
  1165. {
  1166. long result;
  1167. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  1168. return result;
  1169. }
  1170. LPUNKNOWN ClusResDependencies::Get_NewEnum()
  1171. {
  1172. LPUNKNOWN result;
  1173. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  1174. return result;
  1175. }
  1176. void ClusResDependencies::Refresh()
  1177. {
  1178. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  1179. }
  1180. LPDISPATCH ClusResDependencies::GetItem(const VARIANT& varIndex)
  1181. {
  1182. LPDISPATCH result;
  1183. static BYTE parms[] =
  1184. VTS_VARIANT;
  1185. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  1186. &varIndex);
  1187. return result;
  1188. }
  1189. LPDISPATCH ClusResDependencies::CreateItem(LPCTSTR bstrResourceName, LPCTSTR bstrResourceType, LPCTSTR bstrGroupName, long dwFlags)
  1190. {
  1191. LPDISPATCH result;
  1192. static BYTE parms[] =
  1193. VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4;
  1194. InvokeHelper(0x60030001, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
  1195. bstrResourceName, bstrResourceType, bstrGroupName, dwFlags);
  1196. return result;
  1197. }
  1198. void ClusResDependencies::DeleteItem(const VARIANT& varIndex)
  1199. {
  1200. static BYTE parms[] =
  1201. VTS_VARIANT;
  1202. InvokeHelper(0x60030002, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  1203. &varIndex);
  1204. }
  1205. void ClusResDependencies::AddItem(LPDISPATCH pResource)
  1206. {
  1207. static BYTE parms[] =
  1208. VTS_DISPATCH;
  1209. InvokeHelper(0x60030003, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  1210. pResource);
  1211. }
  1212. void ClusResDependencies::RemoveItem(const VARIANT& varIndex)
  1213. {
  1214. static BYTE parms[] =
  1215. VTS_VARIANT;
  1216. InvokeHelper(0x60030004, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  1217. &varIndex);
  1218. }
  1219. /////////////////////////////////////////////////////////////////////////////
  1220. // ClusNodes properties
  1221. /////////////////////////////////////////////////////////////////////////////
  1222. // ClusNodes operations
  1223. unsigned long ClusNodes::AddRef()
  1224. {
  1225. unsigned long result;
  1226. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1227. return result;
  1228. }
  1229. unsigned long ClusNodes::Release()
  1230. {
  1231. unsigned long result;
  1232. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1233. return result;
  1234. }
  1235. long ClusNodes::GetCount()
  1236. {
  1237. long result;
  1238. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  1239. return result;
  1240. }
  1241. LPUNKNOWN ClusNodes::Get_NewEnum()
  1242. {
  1243. LPUNKNOWN result;
  1244. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  1245. return result;
  1246. }
  1247. void ClusNodes::Refresh()
  1248. {
  1249. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  1250. }
  1251. LPDISPATCH ClusNodes::GetItem(const VARIANT& varIndex)
  1252. {
  1253. LPDISPATCH result;
  1254. static BYTE parms[] =
  1255. VTS_VARIANT;
  1256. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  1257. &varIndex);
  1258. return result;
  1259. }
  1260. /////////////////////////////////////////////////////////////////////////////
  1261. // ClusResources properties
  1262. /////////////////////////////////////////////////////////////////////////////
  1263. // ClusResources operations
  1264. unsigned long ClusResources::AddRef()
  1265. {
  1266. unsigned long result;
  1267. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1268. return result;
  1269. }
  1270. unsigned long ClusResources::Release()
  1271. {
  1272. unsigned long result;
  1273. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1274. return result;
  1275. }
  1276. long ClusResources::GetCount()
  1277. {
  1278. long result;
  1279. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  1280. return result;
  1281. }
  1282. LPUNKNOWN ClusResources::Get_NewEnum()
  1283. {
  1284. LPUNKNOWN result;
  1285. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  1286. return result;
  1287. }
  1288. void ClusResources::Refresh()
  1289. {
  1290. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  1291. }
  1292. LPDISPATCH ClusResources::GetItem(const VARIANT& varIndex)
  1293. {
  1294. LPDISPATCH result;
  1295. static BYTE parms[] =
  1296. VTS_VARIANT;
  1297. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  1298. &varIndex);
  1299. return result;
  1300. }
  1301. LPDISPATCH ClusResources::CreateItem(LPCTSTR bstrResourceName, LPCTSTR bstrResourceType, LPCTSTR bstrGroupName, long dwFlags)
  1302. {
  1303. LPDISPATCH result;
  1304. static BYTE parms[] =
  1305. VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4;
  1306. InvokeHelper(0x60030001, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
  1307. bstrResourceName, bstrResourceType, bstrGroupName, dwFlags);
  1308. return result;
  1309. }
  1310. void ClusResources::DeleteItem(const VARIANT& varIndex)
  1311. {
  1312. static BYTE parms[] =
  1313. VTS_VARIANT;
  1314. InvokeHelper(0x60030002, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  1315. &varIndex);
  1316. }
  1317. /////////////////////////////////////////////////////////////////////////////
  1318. // ClusResTypes properties
  1319. /////////////////////////////////////////////////////////////////////////////
  1320. // ClusResTypes operations
  1321. unsigned long ClusResTypes::AddRef()
  1322. {
  1323. unsigned long result;
  1324. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1325. return result;
  1326. }
  1327. unsigned long ClusResTypes::Release()
  1328. {
  1329. unsigned long result;
  1330. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1331. return result;
  1332. }
  1333. long ClusResTypes::GetCount()
  1334. {
  1335. long result;
  1336. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  1337. return result;
  1338. }
  1339. LPUNKNOWN ClusResTypes::Get_NewEnum()
  1340. {
  1341. LPUNKNOWN result;
  1342. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  1343. return result;
  1344. }
  1345. void ClusResTypes::Refresh()
  1346. {
  1347. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  1348. }
  1349. LPDISPATCH ClusResTypes::GetItem(const VARIANT& varIndex)
  1350. {
  1351. LPDISPATCH result;
  1352. static BYTE parms[] =
  1353. VTS_VARIANT;
  1354. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  1355. &varIndex);
  1356. return result;
  1357. }
  1358. LPDISPATCH ClusResTypes::CreateItem(LPCTSTR bstrResourceTypeName, LPCTSTR bstrDisplayName, LPCTSTR bstrResourceTypeDll, long dwLooksAlivePollInterval, long dwIsAlivePollInterval)
  1359. {
  1360. LPDISPATCH result;
  1361. static BYTE parms[] =
  1362. VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4 VTS_I4;
  1363. InvokeHelper(0x60030001, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
  1364. bstrResourceTypeName, bstrDisplayName, bstrResourceTypeDll, dwLooksAlivePollInterval, dwIsAlivePollInterval);
  1365. return result;
  1366. }
  1367. void ClusResTypes::DeleteItem(const VARIANT& varIndex)
  1368. {
  1369. static BYTE parms[] =
  1370. VTS_VARIANT;
  1371. InvokeHelper(0x60030002, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  1372. &varIndex);
  1373. }
  1374. /////////////////////////////////////////////////////////////////////////////
  1375. // ClusResType properties
  1376. /////////////////////////////////////////////////////////////////////////////
  1377. // ClusResType operations
  1378. unsigned long ClusResType::AddRef()
  1379. {
  1380. unsigned long result;
  1381. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1382. return result;
  1383. }
  1384. unsigned long ClusResType::Release()
  1385. {
  1386. unsigned long result;
  1387. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1388. return result;
  1389. }
  1390. CString ClusResType::GetName()
  1391. {
  1392. CString result;
  1393. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  1394. return result;
  1395. }
  1396. LPDISPATCH ClusResType::GetCommonProperties()
  1397. {
  1398. LPDISPATCH result;
  1399. InvokeHelper(0x60020001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  1400. return result;
  1401. }
  1402. LPDISPATCH ClusResType::GetPrivateProperties()
  1403. {
  1404. LPDISPATCH result;
  1405. InvokeHelper(0x60020002, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  1406. return result;
  1407. }
  1408. LPDISPATCH ClusResType::GetCommonROProperties()
  1409. {
  1410. LPDISPATCH result;
  1411. InvokeHelper(0x60020003, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  1412. return result;
  1413. }
  1414. LPDISPATCH ClusResType::GetPrivateROProperties()
  1415. {
  1416. LPDISPATCH result;
  1417. InvokeHelper(0x60020004, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  1418. return result;
  1419. }
  1420. void ClusResType::Delete()
  1421. {
  1422. InvokeHelper(0x60030000, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  1423. }
  1424. LPDISPATCH ClusResType::GetCluster()
  1425. {
  1426. LPDISPATCH result;
  1427. InvokeHelper(0x60030001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  1428. return result;
  1429. }
  1430. LPDISPATCH ClusResType::GetResources()
  1431. {
  1432. LPDISPATCH result;
  1433. InvokeHelper(0x60030002, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  1434. return result;
  1435. }
  1436. /////////////////////////////////////////////////////////////////////////////
  1437. // ClusResTypeResources properties
  1438. /////////////////////////////////////////////////////////////////////////////
  1439. // ClusResTypeResources operations
  1440. unsigned long ClusResTypeResources::AddRef()
  1441. {
  1442. unsigned long result;
  1443. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1444. return result;
  1445. }
  1446. unsigned long ClusResTypeResources::Release()
  1447. {
  1448. unsigned long result;
  1449. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1450. return result;
  1451. }
  1452. long ClusResTypeResources::GetCount()
  1453. {
  1454. long result;
  1455. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  1456. return result;
  1457. }
  1458. LPUNKNOWN ClusResTypeResources::Get_NewEnum()
  1459. {
  1460. LPUNKNOWN result;
  1461. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  1462. return result;
  1463. }
  1464. void ClusResTypeResources::Refresh()
  1465. {
  1466. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  1467. }
  1468. LPDISPATCH ClusResTypeResources::GetItem(const VARIANT& varIndex)
  1469. {
  1470. LPDISPATCH result;
  1471. static BYTE parms[] =
  1472. VTS_VARIANT;
  1473. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  1474. &varIndex);
  1475. return result;
  1476. }
  1477. LPDISPATCH ClusResTypeResources::CreateItem(LPCTSTR bstrResourceName, LPCTSTR bstrGroupName, long dwFlags)
  1478. {
  1479. LPDISPATCH result;
  1480. static BYTE parms[] =
  1481. VTS_BSTR VTS_BSTR VTS_I4;
  1482. InvokeHelper(0x60030001, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
  1483. bstrResourceName, bstrGroupName, dwFlags);
  1484. return result;
  1485. }
  1486. void ClusResTypeResources::DeleteItem(const VARIANT& varIndex)
  1487. {
  1488. static BYTE parms[] =
  1489. VTS_VARIANT;
  1490. InvokeHelper(0x60030002, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  1491. &varIndex);
  1492. }
  1493. /////////////////////////////////////////////////////////////////////////////
  1494. // ClusNetworks properties
  1495. /////////////////////////////////////////////////////////////////////////////
  1496. // ClusNetworks operations
  1497. unsigned long ClusNetworks::AddRef()
  1498. {
  1499. unsigned long result;
  1500. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1501. return result;
  1502. }
  1503. unsigned long ClusNetworks::Release()
  1504. {
  1505. unsigned long result;
  1506. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1507. return result;
  1508. }
  1509. long ClusNetworks::GetCount()
  1510. {
  1511. long result;
  1512. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  1513. return result;
  1514. }
  1515. LPUNKNOWN ClusNetworks::Get_NewEnum()
  1516. {
  1517. LPUNKNOWN result;
  1518. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  1519. return result;
  1520. }
  1521. void ClusNetworks::Refresh()
  1522. {
  1523. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  1524. }
  1525. LPDISPATCH ClusNetworks::GetItem(const VARIANT& varIndex)
  1526. {
  1527. LPDISPATCH result;
  1528. static BYTE parms[] =
  1529. VTS_VARIANT;
  1530. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  1531. &varIndex);
  1532. return result;
  1533. }
  1534. /////////////////////////////////////////////////////////////////////////////
  1535. // ClusNetwork properties
  1536. /////////////////////////////////////////////////////////////////////////////
  1537. // ClusNetwork operations
  1538. unsigned long ClusNetwork::AddRef()
  1539. {
  1540. unsigned long result;
  1541. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1542. return result;
  1543. }
  1544. unsigned long ClusNetwork::Release()
  1545. {
  1546. unsigned long result;
  1547. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1548. return result;
  1549. }
  1550. CString ClusNetwork::GetName()
  1551. {
  1552. CString result;
  1553. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  1554. return result;
  1555. }
  1556. LPDISPATCH ClusNetwork::GetCommonProperties()
  1557. {
  1558. LPDISPATCH result;
  1559. InvokeHelper(0x60020001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  1560. return result;
  1561. }
  1562. LPDISPATCH ClusNetwork::GetPrivateProperties()
  1563. {
  1564. LPDISPATCH result;
  1565. InvokeHelper(0x60020002, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  1566. return result;
  1567. }
  1568. LPDISPATCH ClusNetwork::GetCommonROProperties()
  1569. {
  1570. LPDISPATCH result;
  1571. InvokeHelper(0x60020003, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  1572. return result;
  1573. }
  1574. LPDISPATCH ClusNetwork::GetPrivateROProperties()
  1575. {
  1576. LPDISPATCH result;
  1577. InvokeHelper(0x60020004, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  1578. return result;
  1579. }
  1580. long ClusNetwork::GetHandle()
  1581. {
  1582. long result;
  1583. InvokeHelper(0x60030000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  1584. return result;
  1585. }
  1586. void ClusNetwork::SetName(LPCTSTR lpszNewValue)
  1587. {
  1588. static BYTE parms[] =
  1589. VTS_BSTR;
  1590. InvokeHelper(0x60030001, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  1591. lpszNewValue);
  1592. }
  1593. CString ClusNetwork::GetNetworkID()
  1594. {
  1595. CString result;
  1596. InvokeHelper(0x60030002, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  1597. return result;
  1598. }
  1599. long ClusNetwork::GetState()
  1600. {
  1601. long result;
  1602. InvokeHelper(0x60030003, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  1603. return result;
  1604. }
  1605. LPDISPATCH ClusNetwork::GetNetInterfaces()
  1606. {
  1607. LPDISPATCH result;
  1608. InvokeHelper(0x60030004, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  1609. return result;
  1610. }
  1611. LPDISPATCH ClusNetwork::GetCluster()
  1612. {
  1613. LPDISPATCH result;
  1614. InvokeHelper(0x60030005, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  1615. return result;
  1616. }
  1617. /////////////////////////////////////////////////////////////////////////////
  1618. // ClusNetworkNetInterfaces properties
  1619. /////////////////////////////////////////////////////////////////////////////
  1620. // ClusNetworkNetInterfaces operations
  1621. unsigned long ClusNetworkNetInterfaces::AddRef()
  1622. {
  1623. unsigned long result;
  1624. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1625. return result;
  1626. }
  1627. unsigned long ClusNetworkNetInterfaces::Release()
  1628. {
  1629. unsigned long result;
  1630. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1631. return result;
  1632. }
  1633. long ClusNetworkNetInterfaces::GetCount()
  1634. {
  1635. long result;
  1636. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  1637. return result;
  1638. }
  1639. LPUNKNOWN ClusNetworkNetInterfaces::Get_NewEnum()
  1640. {
  1641. LPUNKNOWN result;
  1642. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  1643. return result;
  1644. }
  1645. void ClusNetworkNetInterfaces::Refresh()
  1646. {
  1647. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  1648. }
  1649. LPDISPATCH ClusNetworkNetInterfaces::GetItem(const VARIANT& varIndex)
  1650. {
  1651. LPDISPATCH result;
  1652. static BYTE parms[] =
  1653. VTS_VARIANT;
  1654. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  1655. &varIndex);
  1656. return result;
  1657. }
  1658. /////////////////////////////////////////////////////////////////////////////
  1659. // ClusNetInterfaces properties
  1660. /////////////////////////////////////////////////////////////////////////////
  1661. // ClusNetInterfaces operations
  1662. unsigned long ClusNetInterfaces::AddRef()
  1663. {
  1664. unsigned long result;
  1665. InvokeHelper(0x60000001, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1666. return result;
  1667. }
  1668. unsigned long ClusNetInterfaces::Release()
  1669. {
  1670. unsigned long result;
  1671. InvokeHelper(0x60000002, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  1672. return result;
  1673. }
  1674. long ClusNetInterfaces::GetCount()
  1675. {
  1676. long result;
  1677. InvokeHelper(0x60020000, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  1678. return result;
  1679. }
  1680. LPUNKNOWN ClusNetInterfaces::Get_NewEnum()
  1681. {
  1682. LPUNKNOWN result;
  1683. InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  1684. return result;
  1685. }
  1686. void ClusNetInterfaces::Refresh()
  1687. {
  1688. InvokeHelper(0x60020002, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  1689. }
  1690. LPDISPATCH ClusNetInterfaces::GetItem(const VARIANT& varIndex)
  1691. {
  1692. LPDISPATCH result;
  1693. static BYTE parms[] =
  1694. VTS_VARIANT;
  1695. InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
  1696. &varIndex);
  1697. return result;
  1698. }