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.

36 lines
718 B

  1. #define ID_NO_FILE 0
  2. #define ID_BAD_PATH 1
  3. #define ID_BAD_CMDLINE 2
  4. #define ID_BAD_DEFDIR 3
  5. #define ID_BAD_TEMPFILE 4
  6. #define ID_NO_PIF 5
  7. #define ID_BAD_PIF 6
  8. #define ID_NO_MEMORY 7
  9. #define ID_BAD_PROCESS 8
  10. // KEEP THEM TOGETHER, The code relies on the sequence.
  11. #define ID_USAGE_00 20
  12. #define ID_USAGE_01 21
  13. #define ID_USAGE_02 22
  14. #define ID_USAGE_03 23
  15. #define ID_USAGE_04 24
  16. #define ID_USAGE_BASE ID_USAGE_00
  17. #define ID_USAGE_MAX ID_USAGE_04
  18. #define MAX_EXTENTION 3
  19. #define MAX_MSG_LENGTH 256
  20. BOOL
  21. IsDirectory
  22. (
  23. char * pDirectory
  24. );
  25. VOID YellAndExit
  26. (
  27. UINT MsgID,
  28. WORD ExitCode
  29. );