windows-nt/Source/XPSP1/NT/shell/ext/cscui/pin/print.h
2020-09-26 16:20:57 +08:00

33 lines
682 B
C++

//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 2000
//
// File: print.h
//
//--------------------------------------------------------------------------
#ifndef __CSCPIN_PRINT_H_
#define __CSCPIN_PRINT_H_
class CPrint
{
public:
CPrint(BOOL bVerbose, LPCWSTR pszLogFile = NULL);
~CPrint(void);
void PrintAlways(LPCWSTR pszFmt, ...) const;
void PrintVerbose(LPCWSTR pszFmt, ...) const;
private:
FILE *m_pfLog;
BOOL m_bVerbose;
void _Print(LPCWSTR pszFmt, va_list args) const;
};
#endif // __CSCPIN_PRINT_H_