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.

52 lines
1.6 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright(C) 1998-1999 Microsoft Corporation all rights reserved.
  4. //
  5. // Module: propbagfactory.h
  6. //
  7. // Project: Chameleon
  8. //
  9. // Description: Property bag factory function declarations
  10. //
  11. // Author: TLP
  12. //
  13. // When Who What
  14. // ---- --- ----
  15. // 12/3/98 TLP Original version
  16. //
  17. ///////////////////////////////////////////////////////////////////////////
  18. #ifndef __INC_PROPERTY_BAG_FACTORY_H_
  19. #define __INC_PROPERTY_BAG_FACTORY_H_
  20. #include "propertybag.h"
  21. /////////////////////////////////////////////////////////////////////////////
  22. // Factory functions used to create property bags and property bag containers
  23. /////////////////////////////////////////////////////////////////////////////
  24. typedef enum _PROPERTY_BAG_TYPE
  25. {
  26. PROPERTY_BAG_REGISTRY, // Registry based property bag
  27. PROPERTY_BAG_WBEMOBJ, // WBEM IWbemClassObject based property bag
  28. // New types here...
  29. PROPERTY_BAG_INVALID // Error checking
  30. } PROPERTY_BAG_TYPE;
  31. //////////////////////////////////////////////////////////////////////////////
  32. PPROPERTYBAG
  33. MakePropertyBag(
  34. /*[in]*/ PROPERTY_BAG_TYPE eType,
  35. /*[in]*/ CLocationInfo& locationInfo
  36. );
  37. //////////////////////////////////////////////////////////////////////////////
  38. PPROPERTYBAGCONTAINER
  39. MakePropertyBagContainer(
  40. /*[in]*/ PROPERTY_BAG_TYPE eType,
  41. /*[in]*/ CLocationInfo& locationInfo
  42. );
  43. #endif // __INC_PROPERTY_BAG_FACTORY_H_