Source code of Windows XP (NT5)
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

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: printfu.hxx
  8. //
  9. // Contents: Unicode Console Printf's
  10. //
  11. // History: 02-May-1997 xiaohs created
  12. // 06-May-1997 pberkman converted to C++
  13. //
  14. //--------------------------------------------------------------------------
  15. #ifndef PRINTFU_HXX
  16. #define PRINTFU_HXX
  17. class PrintfU_
  18. {
  19. public:
  20. PrintfU_(DWORD ccMaxString = 256);
  21. virtual ~PrintfU_(void);
  22. void _cdecl Display(DWORD idFmt, ...);
  23. WCHAR *get_String(DWORD dwID, WCHAR *pwszRet = NULL, DWORD ccRet = 0);
  24. private:
  25. WCHAR *pwszDispString;
  26. WCHAR *pwszResString;
  27. DWORD ccMax;
  28. HMODULE hModule;
  29. };
  30. #endif // PRINTFU_HXX