mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 16:31:50 +00:00
[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:
parent
75df465bbf
commit
a5bb3a9997
1 changed files with 9 additions and 9 deletions
|
@ -575,15 +575,15 @@ public:
|
|||
}
|
||||
|
||||
|
||||
//void __cdecl Format(UINT nFormatID, ...)
|
||||
//{
|
||||
// va_list args;
|
||||
// va_start(args, dwMessageId);
|
||||
// CStringT formatString;
|
||||
// formatString.LoadString(?????);
|
||||
// FormatV(formatString, args);
|
||||
// va_end(args);
|
||||
//}
|
||||
void __cdecl Format(UINT nFormatID, ...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, nFormatID);
|
||||
CStringT formatString;
|
||||
if (formatString.LoadString(nFormatID))
|
||||
FormatV(formatString, args);
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
void __cdecl Format(PCXSTR pszFormat, ...)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue