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.

68 lines
1.2 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: clients.h
  4. //
  5. // Synopsis: This file holds the declarations of the
  6. // CClients class
  7. //
  8. //
  9. // History: 9/23/97 MKarki Created
  10. //
  11. // Copyright (C) 1997-98 Microsoft Corporation
  12. // All rights reserved.
  13. //
  14. //----------------------------------------------------------------
  15. #ifndef _CLIENTS_H_
  16. #define _CLIENTS_H_
  17. #include "clientstrie.h"
  18. class CClients
  19. {
  20. public:
  21. //
  22. // set up the clients in the collection
  23. //
  24. HRESULT SetClients (
  25. VARIANT *pVarClients
  26. );
  27. BOOL FindObject (
  28. /*[in]*/ DWORD dwKey,
  29. /*[out]*/ IIasClient **ppIIasClient = NULL
  30. );
  31. VOID DeleteObjects (VOID);
  32. HRESULT Init (VOID);
  33. VOID Shutdown (VOID);
  34. CClients(VOID);
  35. virtual ~CClients(VOID);
  36. private:
  37. BOOL m_bConfigure;
  38. HANDLE m_hResolverEvent;
  39. VOID Resolver (
  40. /*[in]*/ DWORD dwCount
  41. );
  42. HRESULT StopConfiguringClients (VOID);
  43. CClient** m_pCClientArray;
  44. CRITICAL_SECTION m_CritSect;
  45. ClientTrie m_mapClients;
  46. IClassFactory *m_pIClassFactory;
  47. };
  48. #endif // ifndef _CLIENTS_H_