windows-nt/Source/XPSP1/NT/net/config/shell/netsetup/errorlog.h
2020-09-26 16:20:57 +08:00

20 lines
343 B
C++

#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;
};