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.

27 lines
917 B

  1. #ifndef WMI_TO_XML_MAIN_DLL_H
  2. #define WMI_TO_XML_MAIN_DLL_H
  3. // These globals are initialized in the OpenWbemTextSource() call to the class factory
  4. // and released in the CloseWbemTextSource() call
  5. extern BSTR g_strName;
  6. extern BSTR g_strSuperClass;
  7. extern BSTR g_strType;
  8. extern BSTR g_strClassOrigin;
  9. extern BSTR g_strSize;
  10. extern BSTR g_strClassName;
  11. extern BSTR g_strValueType;
  12. extern BSTR g_strToSubClass;
  13. extern BSTR g_strToInstance;
  14. extern BSTR g_strAmended;
  15. extern BSTR g_strOverridable;
  16. extern BSTR g_strArraySize;
  17. extern BSTR g_strReferenceClass;
  18. // This is the object factory used to create free-form objects
  19. // This is initialized in OpenWbemTextSource() and released in CloseWbemTextSource()
  20. extern _IWmiObjectFactory *g_pObjectFactory;
  21. // A couple of routines to allocate and deallocate global variables
  22. HRESULT ReleaseDLLResources();
  23. HRESULT AllocateDLLResources();
  24. #endif