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.

61 lines
1.1 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1993.
  5. //
  6. // File: pathapi.hxx
  7. //
  8. // Contents: Path APIs from Chicago.
  9. //
  10. // History: 28-Apr-94 BruceFo Created
  11. // 17-May-94 BruceFo Added "Sm" prefix: shell232.h defines
  12. // the same names, but shell232.lib doesn't
  13. // implement them!
  14. //
  15. //----------------------------------------------------------------------------
  16. #ifndef __PATHAPI_HXX__
  17. #define __PATHAPI_HXX__
  18. LPTSTR
  19. SmPathFindFileName(
  20. IN LPCTSTR pPath
  21. );
  22. //
  23. // These functions deal with paths
  24. //
  25. BOOL
  26. SmPathCompactPath(
  27. IN HDC hDC,
  28. IN OUT LPTSTR lpszPath,
  29. IN UINT dx
  30. );
  31. VOID
  32. SmPathSetDlgItemPath(
  33. IN HWND hDlg,
  34. IN int id,
  35. IN LPCTSTR pszPath
  36. );
  37. //
  38. // These functions deal with any string
  39. //
  40. BOOL
  41. SmCompactString(
  42. IN HDC hDC,
  43. IN OUT LPTSTR lpszString,
  44. IN UINT dx
  45. );
  46. VOID
  47. SmSetDlgItemString(
  48. IN HWND hDlg,
  49. IN int id,
  50. IN LPCTSTR pszString
  51. );
  52. #endif // __PATHAPI_HXX__