windows-nt/Source/XPSP1/NT/net/config/shell/netsetup/errorlog.h

20 lines
343 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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;
};