Author: bfreisen
Date: Mon Sep 26 14:11:50 2016
New Revision: 72813
URL:
http://svn.reactos.org/svn/reactos?rev=72813&view=rev
Log:
[ATL] cstringt.h: Uncomment and complete Format(UINT nFormatID, ...). It still uses a
LoadString-stub, though.
Modified:
trunk/reactos/sdk/lib/atl/cstringt.h
Modified: trunk/reactos/sdk/lib/atl/cstringt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/atl/cstringt.h?rev…
==============================================================================
--- trunk/reactos/sdk/lib/atl/cstringt.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/atl/cstringt.h [iso-8859-1] Mon Sep 26 14:11:50 2016
@@ -575,15 +575,15 @@
}
- //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, ...)
{