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.

69 lines
1.4 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997
  5. //
  6. // File: cenumns.hxx
  7. //
  8. // Contents: Windows NT 4.0 Enumerator Code
  9. //
  10. // History: 21-Feb-97 SophiaC Created.
  11. //----------------------------------------------------------------------------
  12. class FAR CIISNamespaceEnum : public CIISEnumVariant
  13. {
  14. public:
  15. // IEnumVARIANT methods
  16. STDMETHOD(Next)(
  17. ULONG cElements,
  18. VARIANT FAR* pvar,
  19. ULONG FAR* pcElementFetched
  20. );
  21. STDMETHOD(Reset)();
  22. static
  23. HRESULT
  24. Create(
  25. CIISNamespaceEnum FAR* FAR*,
  26. VARIANT var,
  27. CCredentials& Credentials
  28. );
  29. CIISNamespaceEnum();
  30. ~CIISNamespaceEnum();
  31. HRESULT
  32. GetServerObject(
  33. IDispatch ** ppDispatch
  34. );
  35. HRESULT
  36. CIISNamespaceEnum::EnumServerObjects(
  37. ULONG cElements,
  38. VARIANT FAR* pvar,
  39. ULONG FAR* pcElementFetched
  40. );
  41. HRESULT
  42. GenerateServerList(void);
  43. HRESULT
  44. FreeServerList(void);
  45. private:
  46. ObjectTypeList FAR *_pObjList;
  47. BOOL _fRegistryRead;
  48. CCredentials _Credentials;
  49. bool bDone;
  50. // Server list
  51. //LPINET_SERVERS_LIST _lpServerList;
  52. //UINT _iCurrentServer;
  53. };