windows.cfg: Add *Event functions configuration (#1025)

This commit is contained in:
Sebastian 2018-01-10 15:38:02 +01:00 committed by Daniel Marjamäki
parent b17807c568
commit dc0bcce3c2
1 changed files with 84 additions and 0 deletions

View File

@ -960,6 +960,7 @@
<alloc init="true">OpenFileMapping</alloc> <alloc init="true">OpenFileMapping</alloc>
<alloc init="true">CreateNamedPipe</alloc> <alloc init="true">CreateNamedPipe</alloc>
<alloc init="true">CreateEvent</alloc> <alloc init="true">CreateEvent</alloc>
<alloc init="true">CreateEventEx</alloc>
<alloc init="true">CreateMutex</alloc> <alloc init="true">CreateMutex</alloc>
<alloc init="true">CreateSemaphore</alloc> <alloc init="true">CreateSemaphore</alloc>
<alloc init="true">CreateTimerQueue</alloc> <alloc init="true">CreateTimerQueue</alloc>
@ -3738,6 +3739,89 @@ HFONT CreateFont(
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!--HANDLE WINAPI CreateEvent(
_In_opt_ LPSECURITY_ATTRIBUTES lpEventAttributes,
_In_ BOOL bManualReset,
_In_ BOOL bInitialState,
_In_opt_ LPCTSTR lpName);-->
<function name="CreateEvent">
<noreturn>false</noreturn>
<returnValue type="HANDLE"/>
<arg nr="1">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!--HANDLE WINAPI CreateEventEx(
_In_opt_ LPSECURITY_ATTRIBUTES lpEventAttributes,
_In_opt_ LPCTSTR lpName,
_In_ DWORD dwFlags,
_In_ DWORD dwDesiredAccess);-->
<function name="CreateEventEx">
<noreturn>false</noreturn>
<returnValue type="HANDLE"/>
<arg nr="1">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="3">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="4">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!--HANDLE WINAPI OpenEvent(
_In_ DWORD dwDesiredAccess,
_In_ BOOL bInheritHandle,
_In_ LPCTSTR lpName);-->
<function name="OpenEvent">
<noreturn>false</noreturn>
<returnValue type="HANDLE"/>
<arg nr="1">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-null/>
<not-uninit/>
<strz/>
</arg>
</function>
<!--BOOL WINAPI PulseEvent(
_In_ HANDLE hEvent);-->
<!--BOOL WINAPI ResetEvent(
_In_ HANDLE hEvent);-->
<!--BOOL WINAPI SetEvent(
_In_ HANDLE hEvent);-->
<function name="PulseEvent,ResetEvent,SetEvent">
<noreturn>false</noreturn>
<returnValue type="BOOL"/>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<podtype name="LARGE_INTEGER" sign="s" size="8"/> <podtype name="LARGE_INTEGER" sign="s" size="8"/>
<podtype name="POINTER_SIGNED" sign="s"/> <podtype name="POINTER_SIGNED" sign="s"/>
<podtype name="POINTER_UNSIGNED" sign="u"/> <podtype name="POINTER_UNSIGNED" sign="u"/>