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.

35 lines
1.2 KiB

  1. #ifndef SHARE_H
  2. #define SHARE_H
  3. #include <stdlib.h>
  4. static CONST WCHAR EMPTY[] = L"";
  5. static CONST WCHAR SEPARATOR[] = L"*";
  6. static CONST WCHAR APPLY_PATCH_SCRIPT[] = L"OEMApply.scp";
  7. static CONST ULONG LANGUAGE_LENGTH = 20;
  8. static CONST ULONG DRIVE_LETTER_LENGTH = _MAX_DRIVE - 1;
  9. static CONST ULONG STRING_LENGTH = _MAX_PATH + 1;
  10. static CONST ULONG SUPER_LENGTH = STRING_LENGTH * 8;
  11. static CONST ULONG SHORT_STRING_LENGTH = 128;
  12. static CONST WCHAR UNICODE_HEAD = 0xFEFF;
  13. static CONST WCHAR ENDOFLINE[] = L"\015";
  14. static CONST WCHAR CRETURN[] = L"\012";
  15. static CONST WCHAR ACTION_NEW_DIRECTORY[] = L"A";
  16. static CONST WCHAR ACTION_MOVE_FILE[] = L"M";
  17. static CONST WCHAR ACTION_EXCEPT_FILE[] = L"E";
  18. static CONST WCHAR ACTION_NEW_ZERO_FILE[] = L"Z";
  19. static CONST WCHAR ACTION_RENAME_FILE[] = L"R";
  20. static CONST WCHAR ACTION_COPY_FILE[] = L"C";
  21. static CONST WCHAR ACTION_PATCH_FILE[] = L"P";
  22. static CONST WCHAR ACTION_NOT_PATCH_FILE[] = L"N";
  23. static CONST WCHAR ACTION_SAVED_FILE[] = L"S";
  24. static CONST WCHAR ACTION_DELETE_DIRECTORY[] = L"X";
  25. static CONST WCHAR DIR_READONLY[] = L"R";
  26. static CONST WCHAR DIR_SYSTEM[] = L"S";
  27. static CONST WCHAR DIR_HIDDEN[] = L"H";
  28. static CONST WCHAR DIR_COMPRESSED[] = L"C";
  29. static CONST WCHAR DIR_ENCRYPTED[] = L"E";
  30. #endif // SHARE_H