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.

22 lines
508 B

  1. // FILE: QuickTrie.h
  2. //
  3. // Definitions for QuickTrie program and access code.
  4. // Flag values.
  5. #define QT_FLAG_VALID 0x01
  6. #define QT_FLAG_END 0x02
  7. // Basic node in trie.
  8. typedef struct tagQT_NODE {
  9. BYTE label;
  10. BYTE flags;
  11. WORD oDown;
  12. } QT_NODE;
  13. // Table name generated by QuickTrie.
  14. extern const QT_NODE g_aQuickTrie[];
  15. // Functions to access the QuickTrie.
  16. extern WCHAR FirstChildQuickTrie(DWORD *hState);
  17. extern WCHAR NextSiblingQuickTrie(DWORD *hState);
  18. extern BOOL IsValidQuickTrie(DWORD state);