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.

42 lines
635 B

  1. /*++
  2. Copyright (C) 1996-2001 Microsoft Corporation
  3. Module Name:
  4. Abstract:
  5. History:
  6. --*/
  7. #ifndef __PATHUTL_H__
  8. #define __PATHUTL_H__
  9. #include <genlex.h>
  10. #include <objpath.h>
  11. class CRelativeObjectPath
  12. {
  13. CObjectPathParser m_Parser;
  14. LPWSTR m_wszRelPath;
  15. CRelativeObjectPath( const CRelativeObjectPath& );
  16. CRelativeObjectPath& operator=( const CRelativeObjectPath& );
  17. public:
  18. ParsedObjectPath* m_pPath;
  19. CRelativeObjectPath();
  20. ~CRelativeObjectPath();
  21. BOOL Parse( LPCWSTR wszPath );
  22. BOOL operator== ( CRelativeObjectPath& rPath );
  23. LPCWSTR GetPath();
  24. };
  25. #endif // __PATHUTL_H__