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.

19 lines
362 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. };