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.

41 lines
1.3 KiB

  1. // DirectorySpecification.h: interface for the CDirectorySpecification class.
  2. //
  3. // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
  4. //
  5. //////////////////////////////////////////////////////////////////////
  6. #if !defined(AFX_DIRECTORYSPECIFICATION_H__DB614F27_DB84_11D1_8B5F_00A0C9954921__INCLUDED_)
  7. #define AFX_DIRECTORYSPECIFICATION_H__DB614F27_DB84_11D1_8B5F_00A0C9954921__INCLUDED_
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11. #include "GenericClass.h"
  12. class CDirectorySpecification : public CGenericClass
  13. {
  14. public:
  15. CDirectorySpecification(CRequestObject *pObj, IWbemServices *pNamespace, IWbemContext *pCtx = NULL);
  16. virtual ~CDirectorySpecification();
  17. virtual HRESULT PutInst(CRequestObject *pObj, IWbemClassObject *pInst, IWbemObjectSink *pHandler, IWbemContext *pCtx)
  18. {return WBEM_E_NOT_SUPPORTED;}
  19. virtual HRESULT CreateObject(IWbemObjectSink *pHandler, ACTIONTYPE atAction);
  20. protected:
  21. DWORD CreateDirectoryPath ( MSIHANDLE hProduct,
  22. MSIHANDLE hDatabase,
  23. WCHAR *wcDir,
  24. WCHAR *wcPath,
  25. DWORD *dwPath
  26. );
  27. WCHAR * ParseDefDir(WCHAR *wcDefaultDir);
  28. };
  29. #endif // !defined(AFX_DIRECTORYSPECIFICATION_H__DB614F27_DB84_11D1_8B5F_00A0C9954921__INCLUDED_)