windows.cfg: Added support for FindClose() and FindFirstFile().

This commit is contained in:
orbitcowboy 2016-10-27 09:36:33 +02:00
parent 0de47f709e
commit d95a4d83bc
1 changed files with 32 additions and 0 deletions

View File

@ -968,6 +968,16 @@
<alloc init="true">CreateMailslot</alloc> <alloc init="true">CreateMailslot</alloc>
<dealloc>CloseHandle</dealloc> <dealloc>CloseHandle</dealloc>
</resource> </resource>
<resource>
<alloc init="true">FindFirstFile</alloc>
<alloc init="true">FindFirstFileEx</alloc>
<alloc init="true">FindFirstFileNameW</alloc>
<alloc init="true">FindFirstFileNameTransactedW</alloc>
<alloc init="true">FindFirstStreamTransactedW</alloc>
<alloc init="true">FindFirstFileTransacted</alloc>
<alloc init="true">FindFirstStreamW</alloc>
<dealloc>FindClose</dealloc>
</resource>
<resource> <resource>
<alloc init="true">OpenSCManager</alloc> <alloc init="true">OpenSCManager</alloc>
<alloc init="true">OpenService</alloc> <alloc init="true">OpenService</alloc>
@ -2783,4 +2793,26 @@ HFONT CreateFont(
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- HANDLE WINAPI FindFirstFile(
_In_ LPCTSTR lpFileName,
_Out_ LPWIN32_FIND_DATA lpFindFileData); -->
<function name="FindFirstFile">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
</function>
<!-- BOOL WINAPI FindClose(_Inout_ HANDLE hFindFile); -->
<function name="FindClose">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
</def> </def>