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.

48 lines
2.0 KiB

  1. #pragma once
  2. HRESULT HrGetNetupgrdDir(OUT tstring* pstrNetupgrdDir);
  3. HRESULT HrCopyFiles(IN PCWSTR pszSrcDir, IN PCWSTR pszDstDir);
  4. HRESULT HrDeleteDirectory(IN PCWSTR pszDir,
  5. IN BOOL fContinueOnError);
  6. HRESULT HrSetupGetLineText(PINFCONTEXT Context,
  7. HINF hinf,
  8. PCWSTR pszSection,
  9. PCWSTR pszKey,
  10. tstring* pstrReturnedText);
  11. HRESULT HrRegOpenServiceSubKey(IN PCWSTR pszServiceName,
  12. IN PCWSTR pszSubKeyName,
  13. REGSAM samDesired,
  14. OUT HKEY* phKey);
  15. HRESULT HrGetPreNT5InfIdAndDesc(IN HKEY hkeyCurrentVersion,
  16. OUT tstring* pstrInfId,
  17. OUT tstring* pstrDescription,
  18. OUT tstring* pstrServiceName);
  19. void GetUnsupportedMessage(IN PCWSTR pszComponentType,
  20. IN PCWSTR pszPreNT5InfId,
  21. IN PCWSTR pszDescription,
  22. OUT tstring* pstrMsg);
  23. void GetUnsupportedMessageBool(IN BOOL fIsHardwareComponent,
  24. IN PCWSTR pszPreNT5InfId,
  25. IN PCWSTR pszDescription,
  26. OUT tstring* pstrMsg);
  27. void ConvertMultiSzToDelimitedList(IN PCWSTR mszList,
  28. IN WCHAR chDelimeter,
  29. OUT tstring* pstrList);
  30. #ifdef ENABLETRACE
  31. void TraceStringList(IN TraceTagId ttid,
  32. IN PCWSTR pszMsgPrefix,
  33. IN TStringList& sl);
  34. void TraceMultiSz(IN TraceTagId ttid,
  35. IN PCWSTR pszMsgPrefix,
  36. IN PCWSTR msz);
  37. #else
  38. #define TraceStringList(ttid,szMsgPrefix,sl) (void) 0
  39. #define TraceMultiSz(ttid,szMsgPrefix,msz) (void) 0
  40. #endif
  41. HRESULT HrGetWindowsDir(OUT tstring* pstrWinDir);
  42. HRESULT HrDirectoryExists(IN PCWSTR pszDir);
  43. BOOL FIsPreNT5NetworkingInstalled();