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.

50 lines
828 B

  1. BOOL
  2. HexStringToDword(
  3. LPCWSTR lpsz,
  4. DWORD * RetValue,
  5. int cDigits,
  6. WCHAR chDelim
  7. );
  8. BOOL
  9. wUUIDFromString(
  10. LPCWSTR lpsz,
  11. LPGUID pguid
  12. );
  13. BOOL
  14. wGUIDFromString(
  15. LPCWSTR lpsz,
  16. LPGUID pguid
  17. );
  18. DWORD
  19. EnablePrivilege(
  20. LPCTSTR pszPrivilege
  21. );
  22. BOOL
  23. IsStringInArray(
  24. LPWSTR * ppszStrings,
  25. LPWSTR pszKey,
  26. DWORD dwNumStrings
  27. );
  28. DWORD
  29. GeneralizedTimeToTime(
  30. IN LPWSTR pszGenTime,
  31. OUT time_t * ptTime
  32. );
  33. // Minumum string length of an LDAP generalized UTC time
  34. //
  35. #define MIN_GEN_UTC_LEN 15
  36. //
  37. // Macro to truncate time_t value to DWORD; necessary because on IA64, time_t is
  38. // 64-bit, but right now polstore can only deal with 32-bit version of time_t
  39. #define TIME_T_TO_DWORD(_T) ((DWORD) _T)