windows.cfg: Add Mutex function configurations (#1051)
This commit is contained in:
parent
6e8184f7cc
commit
26ff750848
|
@ -962,6 +962,11 @@
|
||||||
<alloc init="true">CreateEvent</alloc>
|
<alloc init="true">CreateEvent</alloc>
|
||||||
<alloc init="true">CreateEventEx</alloc>
|
<alloc init="true">CreateEventEx</alloc>
|
||||||
<alloc init="true">CreateMutex</alloc>
|
<alloc init="true">CreateMutex</alloc>
|
||||||
|
<alloc init="true">CreateMutexA</alloc>
|
||||||
|
<alloc init="true">CreateMutexW</alloc>
|
||||||
|
<alloc init="true">CreateMutexEx</alloc>
|
||||||
|
<alloc init="true">CreateMutexExA</alloc>
|
||||||
|
<alloc init="true">CreateMutexExW</alloc>
|
||||||
<alloc init="true">CreateSemaphore</alloc>
|
<alloc init="true">CreateSemaphore</alloc>
|
||||||
<alloc init="true">CreateSemaphoreA</alloc>
|
<alloc init="true">CreateSemaphoreA</alloc>
|
||||||
<alloc init="true">CreateSemaphoreW</alloc>
|
<alloc init="true">CreateSemaphoreW</alloc>
|
||||||
|
@ -972,6 +977,8 @@
|
||||||
<alloc init="true">CreateWaitableTimer</alloc>
|
<alloc init="true">CreateWaitableTimer</alloc>
|
||||||
<alloc init="true">OpenEvent</alloc>
|
<alloc init="true">OpenEvent</alloc>
|
||||||
<alloc init="true">OpenMutex</alloc>
|
<alloc init="true">OpenMutex</alloc>
|
||||||
|
<alloc init="true">OpenMutexA</alloc>
|
||||||
|
<alloc init="true">OpenMutexW</alloc>
|
||||||
<alloc init="true">OpenSemaphore</alloc>
|
<alloc init="true">OpenSemaphore</alloc>
|
||||||
<alloc init="true">OpenSemaphoreA</alloc>
|
<alloc init="true">OpenSemaphoreA</alloc>
|
||||||
<alloc init="true">OpenSemaphoreW</alloc>
|
<alloc init="true">OpenSemaphoreW</alloc>
|
||||||
|
@ -4045,6 +4052,80 @@ HFONT CreateFont(
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!--HANDLE WINAPI CreateMutex(
|
||||||
|
_In_opt_ LPSECURITY_ATTRIBUTES lpMutexAttributes,
|
||||||
|
_In_ BOOL bInitialOwner,
|
||||||
|
_In_opt_ LPCTSTR lpName);-->
|
||||||
|
<function name="CreateMutex,CreateMutexA,CreateMutexW">
|
||||||
|
<returnValue type="HANDLE"/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!--HANDLE WINAPI CreateMutexEx(
|
||||||
|
_In_opt_ LPSECURITY_ATTRIBUTES lpMutexAttributes,
|
||||||
|
_In_opt_ LPCTSTR lpName,
|
||||||
|
_In_ DWORD dwFlags,
|
||||||
|
_In_ DWORD dwDesiredAccess);-->
|
||||||
|
<function name="CreateMutexEx,CreateMutexExA,CreateMutexExW">
|
||||||
|
<returnValue type="HANDLE"/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<not-uninit/>
|
||||||
|
<valid>0,1</valid>
|
||||||
|
</arg>
|
||||||
|
<arg nr="4">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!--HANDLE WINAPI OpenMutex(
|
||||||
|
_In_ DWORD dwDesiredAccess,
|
||||||
|
_In_ BOOL bInheritHandle,
|
||||||
|
_In_ LPCTSTR lpName);-->
|
||||||
|
<function name="OpenMutex,OpenMutexA,OpenMutexW">
|
||||||
|
<returnValue type="HANDLE"/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-null/>
|
||||||
|
<not-bool/>
|
||||||
|
<strz/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!--BOOL WINAPI ReleaseMutex(
|
||||||
|
_In_ HANDLE hMutex);-->
|
||||||
|
<function name="ReleaseMutex">
|
||||||
|
<returnValue type="BOOL"/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
</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"/>
|
||||||
|
|
Loading…
Reference in New Issue