windows.cfg: Added more returnValue-types.

This commit is contained in:
orbitcowboy 2017-08-03 09:57:12 +02:00
parent 4eb43a5557
commit bf9980b7e0
1 changed files with 17 additions and 0 deletions

View File

@ -3158,6 +3158,7 @@ HFONT CreateFont(
<!-- unsigned char *_mbsstr(const unsigned char *str, const unsigned char *strSearch -->
<function name="_mbsstr,_tcsstr">
<use-retval/>
<returnValue type="unsigned char *"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
@ -3173,6 +3174,7 @@ HFONT CreateFont(
</function>
<!-- unsigned char *_mbsstr_l(const unsigned char *str, const unsigned char *strSearch, _locale_t locale )-->
<function name="_mbsstr_l">
<returnValue type="unsigned char *"/>
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
@ -3220,6 +3222,7 @@ HFONT CreateFont(
int _wopen( const wchar_t *filename, int oflag [, int pmode]); -->
<function name="_open,_wopen,_topen">
<use-retval/>
<returnValue type="int"/>
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
@ -3234,6 +3237,7 @@ HFONT CreateFont(
</function>
<!-- int _close(int fildes); -->
<function name="_close">
<returnValue type="int"/>
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
@ -3263,6 +3267,7 @@ HFONT CreateFont(
<!-- int _mbsnicmp(const unsigned char *string1, const unsigned char *string2, size_t count); -->
<function name="_strnicmp,_wcsnicmp,_mbsnicmp,_tcsncicmp,_tcsnicmp">
<use-retval/>
<returnValue type="int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
@ -3286,6 +3291,7 @@ HFONT CreateFont(
<!-- int _mbsnicmp_l(const unsigned char *string1, const unsigned char *string2, size_t count, _locale_t locale); -->
<function name="_strnicmp_l,_wcsnicmp_l,_mbsnicmp_l,_tcsncicmp_l">
<use-retval/>
<returnValue type="int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
@ -3344,6 +3350,7 @@ HFONT CreateFont(
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<returnValue type="size_t"/>
<leak-ignore/>
<returnValue>strlen(arg1)</returnValue>
<arg nr="1">
@ -3359,6 +3366,7 @@ HFONT CreateFont(
<!-- size_t _mbstrlen( const char *str ); -->
<function name="_mbslen,_mbstrlen,_tcslen,_tcsclen">
<use-retval/>
<returnValue type="size_t"/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
@ -3375,6 +3383,7 @@ HFONT CreateFont(
<function name="_mbsrchr_l">
<use-retval/>
<noreturn>false</noreturn>
<returnValue type="unsigned char *"/>
<leak-ignore/>
<arg nr="1">
<not-null/>
@ -3393,6 +3402,7 @@ HFONT CreateFont(
<function name="_mbsrchr,_tcsrchr">
<use-retval/>
<noreturn>false</noreturn>
<returnValue type="unsigned char *"/>
<leak-ignore/>
<arg nr="1">
<not-null/>
@ -3406,6 +3416,7 @@ HFONT CreateFont(
<!-- size_t _wcsftime_l(wchar_t *strDest, size_t maxsize, const wchar_t *format, const struct tm *timeptr, _locale_t locale); -->
<function name="_strftime_l,_wcsftime_l">
<noreturn>false</noreturn>
<returnValue type="size_t"/>
<leak-ignore/>
<arg nr="1">
<not-null/>
@ -3429,6 +3440,7 @@ HFONT CreateFont(
<!-- size_t _tcsftime(char *s, size_t max, const char *fmt, const struct tm *p); -->
<function name="_tcsftime">
<noreturn>false</noreturn>
<returnValue type="size_t"/>
<leak-ignore/>
<arg nr="1">
<not-null/>
@ -3449,6 +3461,7 @@ HFONT CreateFont(
<!-- errno_t _wfreopen_s(FILE** pFile, const wchar_t *path, const wchar_t *mode, FILE *stream); -->
<function name="_wfreopen_s,_tfreopen_s">
<noreturn>false</noreturn>
<returnValue type="errno_t"/>
<use-retval/>
<arg nr="1">
<not-uninit/>
@ -3467,6 +3480,7 @@ HFONT CreateFont(
</function>
<!-- FILE *_wfreopen(const wchar_t *path, const wchar_t *mode, FILE *stream); -->
<function name="_wfreopen,_tfreopen">
<returnValue type="FILE *"/>
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
@ -3528,6 +3542,7 @@ HFONT CreateFont(
<!-- errno_t _localtime32_s( struct tm* _tm, const time32_t *time);
errno_t _localtime64_s( struct tm* _tm, const _time64_t *time); -->
<function name="_localtime32_s,_localtime64_s">
<returnValue type="errno_t"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
@ -3540,6 +3555,7 @@ HFONT CreateFont(
<!-- BOOL WINAPI CreateDirectory(_In_ LPCTSTR lpPathName,
_In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes); -->
<function name="CreateDirectory,CreateDirectoryA,CreateDirectoryW">
<returnValue type="BOOL"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
@ -3551,6 +3567,7 @@ HFONT CreateFont(
</function>
<!-- BOOL WINAPI RemoveDirectory(_In_ LPCTSTR lpPathName); -->
<function name="RemoveDirectory,RemoveDirectoryA,RemoveDirectoryW">
<returnValue type="BOOL"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">