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.

51 lines
1.1 KiB

  1. /*++
  2. Copyright (C) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. wbemdef.h
  5. Abstract:
  6. data types and other declarations used internally by the
  7. Data Provider Helper functions for interface with WBEM data
  8. providers
  9. --*/
  10. #ifndef _PDHI_WBEM_DEF_H_
  11. #define _PDHI_WBEM_DEF_H_
  12. #include <windows.h>
  13. #include <wbemcli.h>
  14. #include <wbemprov.h>
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. typedef struct _PDHI_WBEM_OBJECT_DEF {
  19. struct _PDHI_WBEM_OBJECT_DEF * pNext;
  20. LPWSTR szObject;
  21. LPWSTR szDisplay;
  22. BOOL bDefault;
  23. IWbemClassObject * pClass;
  24. } PDHI_WBEM_OBJECT_DEF, * PPDHI_WBEM_OBJECT_DEF;
  25. typedef struct _PDHI_WBEM_SERVER_DEF {
  26. struct _PDHI_WBEM_SERVER_DEF * pNext;
  27. LPWSTR szMachine; // includes namespace
  28. DWORD dwCache;
  29. IWbemServices * pSvc;
  30. LONG lRefCount;
  31. PPDHI_WBEM_OBJECT_DEF pObjList;
  32. } PDHI_WBEM_SERVER_DEF, * PPDHI_WBEM_SERVER_DEF;
  33. extern PPDHI_WBEM_SERVER_DEF pFirstWbemServer;
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. #endif //_PDHI_WBEM_DEF_H_