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.

24 lines
613 B

  1. #include "basic.h"
  2. NTSTATUS SxspUCS2StringToUTF8String(
  3. DWORD dwFlags,
  4. PCWSTR Ucs2Str,
  5. DWORD CchUcs2Str,
  6. PBYTE Buf,
  7. DWORD *chBuf
  8. );
  9. NTSTATUS SxspUTF82StringToUCS2String(
  10. IN DWORD dwFlags,
  11. IN PBYTE Buf,
  12. IN DWORD chBuf, // size in byte
  13. IN OUT PWSTR Ucs2String,
  14. IN OUT DWORD *chUcs2String
  15. );
  16. #define FUSION_HASH_ALGORITHM HASH_STRING_ALGORITHM_X65599
  17. NTSTATUS SxspHashString(PCWSTR String, SIZE_T cch, PULONG HashValue, bool CaseInsensitive);
  18. NTSTATUS SxspHashGUID(REFGUID rguid, ULONG &rulPseudoKey);