mirror of https://github.com/tongzx/nt5src
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
19 lines
343 B
|
|
#pragma once
|
|
|
|
class CErrorLog
|
|
{
|
|
public:
|
|
CErrorLog();
|
|
|
|
void Add(IN PCWSTR pszError);
|
|
void Add(IN DWORD dwErrorId);
|
|
void Add(IN PCWSTR pszErrorPrefix, IN DWORD dwErrorId);
|
|
|
|
DWORD GetCount() { return m_slErrors.size(); }
|
|
void GetErrorList(OUT TStringList*& slErrors);
|
|
|
|
private:
|
|
TStringList m_slErrors;
|
|
};
|
|
|