windows.cfg: Added support for more windows functions.
This commit is contained in:
parent
dde34bb88c
commit
f7c724e3eb
|
@ -1444,6 +1444,7 @@
|
||||||
<not-null/>
|
<not-null/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- BOOL WINAPI CloseHandle(_In_ HANDLE hObject); -->
|
||||||
<function name="CloseHandle">
|
<function name="CloseHandle">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1">
|
<arg nr="1">
|
||||||
|
@ -1461,6 +1462,102 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</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(
|
HFONT CreateFont(
|
||||||
_In_ int nHeight,
|
_In_ int nHeight,
|
||||||
|
|
Loading…
Reference in New Issue