Source code of Windows XP (NT5)
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.

38 lines
1.2 KiB

  1. /****************************************************************************
  2. *
  3. * File: save.h
  4. * Project: DxDiag (DirectX Diagnostic Tool)
  5. * Author: Mike Anderson (manders@microsoft.com)
  6. * Purpose: Save gathered information to a file in text or CSV format
  7. *
  8. * (C) Copyright 1998 Microsoft Corp. All rights reserved.
  9. *
  10. ****************************************************************************/
  11. #ifndef SAVE_H
  12. #define SAVE_H
  13. struct BugInfo
  14. {
  15. TCHAR m_szName[100];
  16. TCHAR m_szEmail[100];
  17. TCHAR m_szCompany[100];
  18. TCHAR m_szPhone[100];
  19. TCHAR m_szCityState[100];
  20. TCHAR m_szCountry[100];
  21. TCHAR m_szBugDescription[300];
  22. TCHAR m_szReproSteps[300];
  23. TCHAR m_szSwHw[300];
  24. };
  25. HRESULT SaveAllInfo(TCHAR* pszFile, SysInfo* pSysInfo,
  26. FileInfo* pFileInfoWinComponentsFirst, FileInfo* pFileInfoComponentsFirst,
  27. DisplayInfo* pDisplayInfoFirst, SoundInfo* pSoundInfoFirst,
  28. MusicInfo* pMusicInfo, InputInfo* pInputInfo,
  29. NetInfo* pNetInfo, ShowInfo* pShowInfo, BugInfo* pBugInfo = NULL);
  30. HRESULT SaveAllInfoCsv(TCHAR* pszFile, SysInfo* pSysInfo,
  31. FileInfo* pFileInfoComponentsFirst,
  32. DisplayInfo* pDisplayInfoFirst, SoundInfo* pSoundInfoFirst,
  33. InputInfo* pInputInfo);
  34. #endif // SAVEINFO_H