| 784 | } |
| 785 | |
| 786 | int CDuiString::SmallFormat(LPCTSTR pstrFormat, ...) |
| 787 | { |
| 788 | CDuiString sFormat = pstrFormat; |
| 789 | TCHAR szBuffer[64] = { 0 }; |
| 790 | va_list argList; |
| 791 | va_start(argList, pstrFormat); |
| 792 | int iRet = ::_vsntprintf(szBuffer, sizeof(szBuffer), sFormat, argList); |
| 793 | va_end(argList); |
| 794 | Assign(szBuffer); |
| 795 | return iRet; |
| 796 | } |
| 797 | |
| 798 | ///////////////////////////////////////////////////////////////////////////// |
| 799 | // |
no outgoing calls
no test coverage detected