windows.cfg: Added support for swprintf_s().

This commit is contained in:
orbitcowboy 2016-10-25 17:03:30 +02:00
parent 0162f76c63
commit 6b168aba14
1 changed files with 19 additions and 4 deletions

View File

@ -1751,10 +1751,7 @@
</arg>
<arg nr="5"/>
</function>
<!-- int __cdecl wsprintf(
_Out_ LPTSTR lpOut,
_In_ LPCTSTR lpFmt,
_In_ ...); -->
<!-- int __cdecl wsprintf(_Out_ LPTSTR lpOut, _In_ LPCTSTR lpFmt, _In_ ...);-->
<function name="wsprintf,wsprintfA,wsprintfW">
<noreturn>false</noreturn>
<leak-ignore/>
@ -1769,6 +1766,24 @@
<not-uninit/>
</arg>
</function>
<!-- int swprintf_s(wchar_t *buffer, size_t sizeOfBuffer, const wchar_t *format, ...); -->
<function name="swprintf_s">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<minsize type="argvalue" arg="2"/>
</arg>
<arg nr="2">
<not-uninit/>
<valid>0:</valid>
</arg>
<formatstr/>
<arg nr="3">
<formatstr/>
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- int _sprintf_s_l(char *buffer, size_t sizeOfBuffer, const char *format, locale_t locale, ... );
int _swprintf_s_l(wchar_t *buffer, size_t sizeOfBuffer, const wchar_t *format, locale_t locale, ...);-->
<function name="_sprintf_s_l,_swprintf_s_l">