windows.cfg: Added support for _dupenv_s() and _wdupenv_s()

This commit is contained in:
orbitcowboy 2021-12-04 16:32:22 +01:00
parent 29dbded4af
commit 9ddc7f2d71
1 changed files with 23 additions and 0 deletions

View File

@ -1203,6 +1203,12 @@
<dealloc>ExFreePool</dealloc>
<dealloc>ExFreePoolWithTag</dealloc>
</memory>
<memory>
<alloc init="false" arg="1">_dupenv_s</alloc>
<alloc init="false" arg="1">_wdupenv_s</alloc>
<alloc init="false" arg="1">_tdupenv_s</alloc>
<dealloc>free</dealloc>
</memory>
<memory>
<alloc buffer-size="malloc:3">HeapAlloc</alloc>
<alloc>HeapReAlloc</alloc>
@ -1624,6 +1630,23 @@
</arg>
<arg nr="4"/>
</function>
<!-- errno_t _dupenv_s(char **buffer, size_t *numberOfElements, const char *varname);
errno_t _wdupenv_s(wchar_t **buffer, size_t *numberOfElements, const wchar_t *varname); -->
<function name="_dupenv_s,_wdupenv_s,_tdupenv_s">
<noreturn>false</noreturn>
<returnValue type="errno_t"/>
<arg nr="1" direction="out">
<not-null/>
<minsize type="argvalue" arg="2"/>
</arg>
<arg nr="2" direction="out">
<not-null/>
</arg>
<arg nr="3" direction="in">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- ULONG vDbgPrintExWithPrefix(PCCH Prefix, ULONG ComponentId, ULONG Level, PCCH Format, va_list arglist); -->
<function name="vDbgPrintExWithPrefix">
<noreturn>false</noreturn>