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.

68 lines
2.0 KiB

  1. /* File: _filecm.h */
  2. /**************************************************************************/
  3. /* Install: File commands local header.
  4. /**************************************************************************/
  5. /*
  6. ** CopyFile Limits
  7. */
  8. #define cbCopyBufMax (64*1021)
  9. typedef BOOL RO;
  10. #define fOn fTrue
  11. #define fOff fFalse
  12. extern BOOL fUserQuit;
  13. /*
  14. ** Read-Only Return Code
  15. */
  16. typedef unsigned YNRC; // 1632 -- was USHORT
  17. #define ynrcNo 0
  18. #define ynrcYes 1
  19. #define ynrcErr1 2
  20. #define ynrcErr2 3
  21. #define ynrcErr3 4
  22. #define ynrcErr4 5
  23. #define ynrcErr5 6
  24. #define ynrcErr6 7
  25. #define ynrcErr7 8
  26. #define ynrcErr8 9
  27. #define ynrcErr9 10
  28. typedef USHORT CFRC;
  29. #define cfrcFailure (0)
  30. #define cfrcSuccess (1)
  31. #define cfrcCancel (2)
  32. #ifdef UNUSED
  33. extern BOOL APIENTRY FBackupSectFile(SZ, PSFD);
  34. extern BOOL APIENTRY FRemoveSectFile(SZ, PSFD);
  35. #endif // UNUSED
  36. extern BOOL APIENTRY FCopyListFile(HANDLE, PCLN, PSDLE, LONG);
  37. extern BOOL APIENTRY FBuildFullSrcPath(SZ, SZ, SZ, SZ);
  38. extern BOOL APIENTRY FBuildFullDstPath(SZ, SZ, PSFD, BOOL);
  39. extern BOOL APIENTRY FBuildFullBakPath(SZ, SZ, PSFD);
  40. extern SZ APIENTRY SzFindFileFromPath(SZ);
  41. extern SZ APIENTRY SzFindExt(SZ);
  42. extern BOOL APIENTRY FFileFound(SZ);
  43. extern YNRC APIENTRY YnrcFileReadOnly(SZ);
  44. extern BOOL APIENTRY FSetFileReadOnlyStatus(SZ, BOOL);
  45. extern YNRC APIENTRY YnrcBackupFile(SZ, SZ, PSFD);
  46. extern YNRC APIENTRY YnrcNewerExistingFile(USHORT, SZ, DWORD, DWORD);
  47. extern BOOL APIENTRY FGetFileVersion(SZ, DWORD *, DWORD *);
  48. extern BOOL APIENTRY FYield(VOID);
  49. extern YNRC APIENTRY YnrcEnsurePathExists(SZ, BOOL, SZ);
  50. extern SZ APIENTRY FRenameActiveFile(SZ);
  51. extern BOOL APIENTRY FGetCopyListCost(SZ, SZ, SZ, SZ, SZ, SZ, SZ, SZ);
  52. extern BOOL APIENTRY FSetupGetCopyListCost(SZ, SZ, SZ);
  53. extern BOOL APIENTRY FParseSharedAppList(SZ);
  54. extern BOOL APIENTRY FInstallSharedAppList(SZ);
  55. extern SZ APIENTRY SzFindNthIniField(SZ, INT);