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.

40 lines
879 B

  1. //+----------------------------------------------------------------------------
  2. //
  3. // File: cfilename.h
  4. //
  5. // Module: CMUTIL.DLL
  6. //
  7. // Synopsis: Definition of the CFileNameParts class.
  8. //
  9. // Copyright (c) 1998 Microsoft Corporation
  10. //
  11. // Author: quintinb Created Header 08/19/99
  12. //
  13. //+----------------------------------------------------------------------------
  14. #ifndef _CFILENAMEPARTS_H_
  15. #define _CFILENAMEPARTS_H_
  16. #include <windows.h>
  17. #include <stdlib.h>
  18. #include <tchar.h>
  19. #include "cmdebug.h"
  20. class CFileNameParts
  21. {
  22. public:
  23. CFileNameParts(LPCTSTR szFullPath);
  24. ~CFileNameParts() {}
  25. public: // Public member variables use them directly
  26. TCHAR m_szFullPath[MAX_PATH+1];
  27. TCHAR m_Drive[_MAX_DRIVE+1];
  28. TCHAR m_Dir[_MAX_DIR+1];
  29. TCHAR m_FileName[_MAX_FNAME+1];
  30. TCHAR m_Extension[_MAX_EXT+1];
  31. };
  32. #endif