mirror of https://github.com/tongzx/nt5src
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.
36 lines
863 B
36 lines
863 B
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1996 - 1999
|
|
//
|
|
// File: printfu.hxx
|
|
//
|
|
// Contents: Unicode Console Printf's
|
|
//
|
|
// History: 02-May-1997 xiaohs created
|
|
// 06-May-1997 pberkman converted to C++
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
#ifndef PRINTFU_HXX
|
|
#define PRINTFU_HXX
|
|
|
|
class PrintfU_
|
|
{
|
|
public:
|
|
PrintfU_(DWORD ccMaxString = 256);
|
|
virtual ~PrintfU_(void);
|
|
|
|
void _cdecl Display(DWORD idFmt, ...);
|
|
|
|
WCHAR *get_String(DWORD dwID, WCHAR *pwszRet = NULL, DWORD ccRet = 0);
|
|
|
|
private:
|
|
WCHAR *pwszDispString;
|
|
WCHAR *pwszResString;
|
|
DWORD ccMax;
|
|
HMODULE hModule;
|
|
};
|
|
|
|
#endif // PRINTFU_HXX
|