Skip to content

Commit f7c724e

Browse files
committed
windows.cfg: Added support for more windows functions.
1 parent dde34bb commit f7c724e

File tree

1 file changed

+97
-0
lines changed

1 file changed

+97
-0
lines changed

cfg/windows.cfg

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,6 +1444,7 @@
14441444
<not-null/>
14451445
</arg>
14461446
</function>
1447+
<!-- BOOL WINAPI CloseHandle(_In_ HANDLE hObject); -->
14471448
<function name="CloseHandle">
14481449
<noreturn>false</noreturn>
14491450
<arg nr="1">
@@ -1461,6 +1462,102 @@
14611462
<not-uninit/>
14621463
</arg>
14631464
</function>
1465+
<!-- BOOL WINAPI WriteFile(
1466+
_In_ HANDLE hFile,
1467+
_In_ LPCVOID lpBuffer,
1468+
_In_ DWORD nNumberOfBytesToWrite,
1469+
_Out_opt_ LPDWORD lpNumberOfBytesWritten,
1470+
_Inout_opt_ LPOVERLAPPED lpOverlapped); -->
1471+
<function name="WriteFile">
1472+
<noreturn>false</noreturn>
1473+
<arg nr="1">
1474+
<not-uninit/>
1475+
</arg>
1476+
<arg nr="2">
1477+
<not-uninit/>
1478+
</arg>
1479+
<arg nr="3">
1480+
<not-uninit/>
1481+
</arg>
1482+
<arg nr="4"/>
1483+
<arg nr="5"/>
1484+
</function>
1485+
<!-- BOOL WINAPI ReadFile(
1486+
_In_ HANDLE hFile,
1487+
_Out_ LPVOID lpBuffer,
1488+
_In_ DWORD nNumberOfBytesToRead,
1489+
_Out_opt_ LPDWORD lpNumberOfBytesRead,
1490+
_Inout_opt_ LPOVERLAPPED lpOverlapped); -->
1491+
<function name="ReadFile">
1492+
<noreturn>false</noreturn>
1493+
<arg nr="1">
1494+
<not-uninit/>
1495+
</arg>
1496+
<arg nr="2">
1497+
<not-null/>
1498+
</arg>
1499+
<arg nr="3">
1500+
<not-uninit/>
1501+
</arg>
1502+
<arg nr="4"/>
1503+
<arg nr="5"/>
1504+
</function>
1505+
<!-- HANDLE WINAPI CreateFile(
1506+
_In_ LPCTSTR lpFileName,
1507+
_In_ DWORD dwDesiredAccess,
1508+
_In_ DWORD dwShareMode,
1509+
_In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes,
1510+
_In_ DWORD dwCreationDisposition,
1511+
_In_ DWORD dwFlagsAndAttributes,
1512+
_In_opt_ HANDLE hTemplateFile); -->
1513+
<function name="CreateFile">
1514+
<noreturn>false</noreturn>
1515+
<arg nr="1">
1516+
<not-uninit/>
1517+
</arg>
1518+
<arg nr="2">
1519+
<not-uninit/>
1520+
</arg>
1521+
<arg nr="3">
1522+
<not-uninit/>
1523+
</arg>
1524+
<arg nr="4">
1525+
<not-uninit/>
1526+
</arg>
1527+
<arg nr="5">
1528+
<not-uninit/>
1529+
</arg>
1530+
<arg nr="6">
1531+
<not-uninit/>
1532+
</arg>
1533+
<arg nr="7">
1534+
<not-uninit/>
1535+
</arg>
1536+
</function>
1537+
<!-- BOOL WINAPI SetCommTimeouts(
1538+
_In_ HANDLE hFile,
1539+
_In_ LPCOMMTIMEOUTS lpCommTimeouts); -->
1540+
<function name="SetCommTimeouts">
1541+
<noreturn>false</noreturn>
1542+
<arg nr="1">
1543+
<not-uninit/>
1544+
</arg>
1545+
<arg nr="2">
1546+
<not-uninit/>
1547+
</arg>
1548+
</function>
1549+
<!-- BOOL WINAPI SetCommState(
1550+
_In_ HANDLE hFile,
1551+
_In_ LPDCB lpDCB);-->
1552+
<function name="SetCommState">
1553+
<noreturn>false</noreturn>
1554+
<arg nr="1">
1555+
<not-uninit/>
1556+
</arg>
1557+
<arg nr="2">
1558+
<not-uninit/>
1559+
</arg>
1560+
</function>
14641561
<!--
14651562
HFONT CreateFont(
14661563
_In_ int nHeight,

0 commit comments

Comments
 (0)