windows.cfg: Added support for more functions.

This commit is contained in:
orbitcowboy 2016-11-18 11:28:34 +01:00
parent 2f27a0c8f6
commit e94407fbce
1 changed files with 90 additions and 1 deletions

View File

@ -970,6 +970,8 @@
</resource>
<resource>
<alloc init="true">FindFirstFile</alloc>
<alloc init="true">FindFirstFileW</alloc>
<alloc init="true">FindFirstFileA</alloc>
<alloc init="true">FindFirstFileEx</alloc>
<alloc init="true">FindFirstFileNameW</alloc>
<alloc init="true">FindFirstFileNameTransactedW</alloc>
@ -2796,7 +2798,7 @@ HFONT CreateFont(
<!-- HANDLE WINAPI FindFirstFile(
_In_ LPCTSTR lpFileName,
_Out_ LPWIN32_FIND_DATA lpFindFileData); -->
<function name="FindFirstFile">
<function name="FindFirstFile,FindFirstFileW,FindFirstFileA">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
@ -2815,4 +2817,91 @@ HFONT CreateFont(
<not-uninit/>
</arg>
</function>
<!-- HANDLE WINAPI CreateThread(
_In_opt_ LPSECURITY_ATTRIBUTES lpThreadAttributes,
_In_ SIZE_T dwStackSize,
_In_ LPTHREAD_START_ROUTINE lpStartAddress,
_In_opt_ LPVOID lpParameter,
_In_ DWORD dwCreationFlags,
_Out_opt_ LPDWORD lpThreadId); -->
<function name="CreateThread">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
<arg nr="5">
<not-uninit/>
</arg>
<arg nr="6"/>
</function>
<!-- BOOL WINAPI FindNextFile(
_In_ HANDLE hFindFile,
_Out_ LPWIN32_FIND_DATA lpFindFileData); -->
<function name="FindNextFile,FindNextFileW,FindNextFileA">
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
</function>
<!-- BOOL WINAPI SetEnvironmentVariable(
_In_ LPCTSTR lpName,
_In_opt_ LPCTSTR lpValue);-->
<function name="SetEnvironmentVariable,SetEnvironmentVariableW,SetEnvironmentVariableA">
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
</function>
<!-- DWORD WINAPI QueryDosDevice(
_In_opt_ LPCTSTR lpDeviceName,
_Out_ LPTSTR lpTargetPath,
_In_ DWORD ucchMax);-->
<function name="QueryDosDevice,QueryDosDeviceW,QueryDosDeviceA">
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
</function>
<!-- BOOL WINAPI GetDefaultCommConfig(
_In_ LPCTSTR lpszName,
_Out_ LPCOMMCONFIG lpCC,
_Inout_ LPDWORD lpdwSize);-->
<function name="GetDefaultCommConfig,GetDefaultCommConfigW,GetDefaultCommConfigA">
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
<arg nr="3"/>
</function>
</def>