windows-nt/Source/XPSP1/NT/shell/ext/cscui/pin/print.h

33 lines
682 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// 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_