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.

19 lines
343 B

  1. #pragma once
  2. class CErrorLog
  3. {
  4. public:
  5. CErrorLog();
  6. void Add(IN PCWSTR pszError);
  7. void Add(IN DWORD dwErrorId);
  8. void Add(IN PCWSTR pszErrorPrefix, IN DWORD dwErrorId);
  9. DWORD GetCount() { return m_slErrors.size(); }
  10. void GetErrorList(OUT TStringList*& slErrors);
  11. private:
  12. TStringList m_slErrors;
  13. };