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.
|
|
#ifndef _MYLOGFILE_H_
#define _MYLOGFILE_H_
class MyLogFile { protected: // for our log file
TCHAR m_szLogFileName[MAX_PATH]; TCHAR m_szLogFileName_Full[MAX_PATH]; BOOL m_bDisplayTimeStamp; BOOL m_bDisplayPreLineInfo;
// logfile2
HANDLE m_hFile;
public: MyLogFile(); ~MyLogFile();
TCHAR m_szLogPreLineInfo[100]; TCHAR m_szLogPreLineInfo2[100]; int LogFileCreate(TCHAR * lpLogFileName); int LogFileClose();
void LogFileTimeStamp(); void LogFileWrite(TCHAR * pszFormatString, ...); };
#endif
|