[ATL] cstringt.h: Uncomment and complete Format(UINT nFormatID, ...). It still uses a LoadString-stub, though.

svn path=/trunk/; revision=72813
This commit is contained in:
Benedikt Freisen 2016-09-26 14:11:50 +00:00
parent 75df465bbf
commit a5bb3a9997

View file

@ -575,15 +575,15 @@ public:
} }
//void __cdecl Format(UINT nFormatID, ...) void __cdecl Format(UINT nFormatID, ...)
//{ {
// va_list args; va_list args;
// va_start(args, dwMessageId); va_start(args, nFormatID);
// CStringT formatString; CStringT formatString;
// formatString.LoadString(?????); if (formatString.LoadString(nFormatID))
// FormatV(formatString, args); FormatV(formatString, args);
// va_end(args); va_end(args);
//} }
void __cdecl Format(PCXSTR pszFormat, ...) void __cdecl Format(PCXSTR pszFormat, ...)
{ {