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.

35 lines
654 B

  1. #if !defined(_FUSION_INC_FUSIONHASHSTRING_H_INCLUDED_)
  2. #define _FUSION_INC_FUSIONHASHSTRING_H_INCLUDED_
  3. #pragma once
  4. //
  5. // Do not change this algorithm ID! We depend on persisted string hashes for
  6. // quick lookups.
  7. //
  8. #define FUSION_HASH_ALGORITHM HASH_STRING_ALGORITHM_X65599
  9. BOOL
  10. FusionpHashUnicodeString(
  11. PCWSTR szString,
  12. SIZE_T cchString,
  13. PULONG HashValue,
  14. bool fCaseInsensitive
  15. );
  16. ULONG
  17. __fastcall
  18. FusionpHashUnicodeStringCaseSensitive(
  19. PCWSTR String,
  20. SIZE_T Cch
  21. );
  22. ULONG
  23. __fastcall
  24. FusionpHashUnicodeStringCaseInsensitive(
  25. PCWSTR String,
  26. SIZE_T Cch
  27. );
  28. #endif