windows.cfg: Added support for more windows functions.

This commit is contained in:
orbitcowboy 2015-03-30 16:25:36 +02:00
parent dde34bb88c
commit f7c724e3eb
1 changed files with 97 additions and 0 deletions

View File

@ -1444,6 +1444,7 @@
<not-null/>
</arg>
</function>
<!-- BOOL WINAPI CloseHandle(_In_ HANDLE hObject); -->
<function name="CloseHandle">
<noreturn>false</noreturn>
<arg nr="1">
@ -1461,6 +1462,102 @@
<not-uninit/>
</arg>
</function>
<!-- BOOL WINAPI WriteFile(
_In_ HANDLE hFile,
_In_ LPCVOID lpBuffer,
_In_ DWORD nNumberOfBytesToWrite,
_Out_opt_ LPDWORD lpNumberOfBytesWritten,
_Inout_opt_ LPOVERLAPPED lpOverlapped); -->
<function name="WriteFile">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4"/>
<arg nr="5"/>
</function>
<!-- BOOL WINAPI ReadFile(
_In_ HANDLE hFile,
_Out_ LPVOID lpBuffer,
_In_ DWORD nNumberOfBytesToRead,
_Out_opt_ LPDWORD lpNumberOfBytesRead,
_Inout_opt_ LPOVERLAPPED lpOverlapped); -->
<function name="ReadFile">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4"/>
<arg nr="5"/>
</function>
<!-- HANDLE WINAPI CreateFile(
_In_ LPCTSTR lpFileName,
_In_ DWORD dwDesiredAccess,
_In_ DWORD dwShareMode,
_In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes,
_In_ DWORD dwCreationDisposition,
_In_ DWORD dwFlagsAndAttributes,
_In_opt_ HANDLE hTemplateFile); -->
<function name="CreateFile">
<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">
<not-uninit/>
</arg>
<arg nr="7">
<not-uninit/>
</arg>
</function>
<!-- BOOL WINAPI SetCommTimeouts(
_In_ HANDLE hFile,
_In_ LPCOMMTIMEOUTS lpCommTimeouts); -->
<function name="SetCommTimeouts">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<!-- BOOL WINAPI SetCommState(
_In_ HANDLE hFile,
_In_ LPDCB lpDCB);-->
<function name="SetCommState">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<!--
HFONT CreateFont(
_In_ int nHeight,