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.

61 lines
1017 B

  1. /*++
  2. Copyright (c) 2000-2001 Microsoft Corporation
  3. Module Name:
  4. AssocComponent.h
  5. Abstract:
  6. Definition of:
  7. CAssocComponent
  8. Author:
  9. Mohit Srivastava 22-Mar-2001
  10. Revision History:
  11. --*/
  12. #ifndef _AssocComponent_h_
  13. #define _AssocComponent_h_
  14. #include <windows.h>
  15. #include <ole2.h>
  16. #include <stdio.h>
  17. #include <genlex.h>
  18. #include "sqllex.h"
  19. #include <sql_1ext.h>
  20. #include <opathlex.h>
  21. #include <objpath.h>
  22. #include <wbemprov.h>
  23. #include "WbemServices.h"
  24. #include "AssocBase.h"
  25. class CAssocComponent : public CAssocBase
  26. {
  27. public:
  28. CAssocComponent(
  29. CWbemServices* i_pNamespace,
  30. IWbemObjectSink* i_pResponseHandler,
  31. WMI_ASSOCIATION* i_pWmiAssoc);
  32. //
  33. // IAssocBase
  34. //
  35. void GetInstances(
  36. SQL_LEVEL_1_RPN_EXPRESSION_EXT* i_pExp = NULL);
  37. private:
  38. void EnumParts(
  39. SQL_LEVEL_1_TOKEN* pTokenLeft);
  40. void GetGroup(
  41. SQL_LEVEL_1_TOKEN* pTokenRight);
  42. };
  43. #endif // _AssocComponent_h_