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.

45 lines
776 B

  1. void MyToUpper(LPWSTR wsrc);
  2. BOOL FStringIsValidItemName(LPCWSTR szTrialString);
  3. // allocing wrapper for g_Callback->FGetUser
  4. BOOL FGetCurrentUser(
  5. PST_PROVIDER_HANDLE* phPSTProv,
  6. LPWSTR* ppszUser,
  7. PST_KEY Key);
  8. // GET registry wrapper
  9. DWORD RegGetValue(
  10. HKEY hItemKey,
  11. LPWSTR szItem,
  12. PBYTE* ppb,
  13. DWORD* pcb);
  14. DWORD RegGetStringValue(
  15. HKEY hItemKey,
  16. LPWSTR szItem,
  17. PBYTE* ppb,
  18. DWORD* pcb);
  19. #if 0
  20. void FreeRuleset(
  21. PST_ACCESSRULESET *psRules
  22. );
  23. #endif
  24. BOOL
  25. GetFileDescription(
  26. LPCWSTR szFile,
  27. LPWSTR *FileDescription // on success, allocated description
  28. );
  29. BOOL FIsCachedPassword(
  30. LPCWSTR szUser,
  31. LPCWSTR szPassword,
  32. LUID* pluidAuthID
  33. );