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.

23 lines
405 B

  1. // FILE: probhack.h
  2. #define MAX_PROB ((WORD)0xFFFF)
  3. #define ZERO_PROB ((WORD)0x0000)
  4. #define MAX_PROB_ENTRY (128 * 1024)
  5. #define MAX_PROB_ALT (1024 * 1024)
  6. typedef struct tagPROB_ALT {
  7. wchar_t wchAlt;
  8. WORD prob;
  9. } PROB_ALT;
  10. typedef struct tagPROB_ENTRY {
  11. wchar_t wch;
  12. WORD cAlts;
  13. } PROB_ENTRY;
  14. typedef struct tagPROB_HEADER {
  15. DWORD aEntryOffset[30];
  16. DWORD aAltOffset[30];
  17. } PROB_HEADER;