windows.cfg: Add Semaphore function configuration (#1038)
This commit is contained in:
parent
594561b9ab
commit
d08709d10f
104
cfg/windows.cfg
104
cfg/windows.cfg
|
@ -963,11 +963,18 @@
|
||||||
<alloc init="true">CreateEventEx</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">CreateSemaphoreA</alloc>
|
||||||
|
<alloc init="true">CreateSemaphoreW</alloc>
|
||||||
|
<alloc init="true">CreateSemaphoreEx</alloc>
|
||||||
|
<alloc init="true">CreateSemaphoreExA</alloc>
|
||||||
|
<alloc init="true">CreateSemaphoreExW</alloc>
|
||||||
<alloc init="true">CreateTimerQueue</alloc>
|
<alloc init="true">CreateTimerQueue</alloc>
|
||||||
<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">OpenSemaphore</alloc>
|
<alloc init="true">OpenSemaphore</alloc>
|
||||||
|
<alloc init="true">OpenSemaphoreA</alloc>
|
||||||
|
<alloc init="true">OpenSemaphoreW</alloc>
|
||||||
<alloc init="true">OpenWaitableTimer</alloc>
|
<alloc init="true">OpenWaitableTimer</alloc>
|
||||||
<alloc init="true">OpenJobObject</alloc>
|
<alloc init="true">OpenJobObject</alloc>
|
||||||
<alloc init="true">OpenProcess</alloc>
|
<alloc init="true">OpenProcess</alloc>
|
||||||
|
@ -3941,6 +3948,103 @@ HFONT CreateFont(
|
||||||
<strz/>
|
<strz/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!--HANDLE WINAPI CreateSemaphore(
|
||||||
|
_In_opt_ LPSECURITY_ATTRIBUTES lpSemaphoreAttributes,
|
||||||
|
_In_ LONG lInitialCount,
|
||||||
|
_In_ LONG lMaximumCount,
|
||||||
|
_In_opt_ LPCTSTR lpName);-->
|
||||||
|
<function name="CreateSemaphore,CreateSemaphoreA,CreateSemaphoreW">
|
||||||
|
<returnValue type="HANDLE"/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<not-uninit/>
|
||||||
|
<valid>1:</valid>
|
||||||
|
</arg>
|
||||||
|
<arg nr="4">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!--HANDLE WINAPI CreateSemaphoreEx(
|
||||||
|
_In_opt_ LPSECURITY_ATTRIBUTES lpSemaphoreAttributes,
|
||||||
|
_In_ LONG lInitialCount,
|
||||||
|
_In_ LONG lMaximumCount,
|
||||||
|
_In_opt_ LPCTSTR lpName,
|
||||||
|
_Reserved_ DWORD dwFlags,
|
||||||
|
_In_ DWORD dwDesiredAccess);-->
|
||||||
|
<function name="CreateSemaphoreEx,CreateSemaphoreExA,CreateSemaphoreExW">
|
||||||
|
<returnValue type="HANDLE"/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<not-uninit/>
|
||||||
|
<valid>1:</valid>
|
||||||
|
</arg>
|
||||||
|
<arg nr="4">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="5">
|
||||||
|
<not-uninit/>
|
||||||
|
<!-- dwFlags is reserved and must be 0 -->
|
||||||
|
<valid>0</valid>
|
||||||
|
</arg>
|
||||||
|
<arg nr="6">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!--HANDLE WINAPI OpenSemaphore(
|
||||||
|
_In_ DWORD dwDesiredAccess,
|
||||||
|
_In_ BOOL bInheritHandle,
|
||||||
|
_In_ LPCTSTR lpName);-->
|
||||||
|
<function name="OpenSemaphore,OpenSemaphoreA,OpenSemaphoreW">
|
||||||
|
<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 ReleaseSemaphore(
|
||||||
|
_In_ HANDLE hSemaphore,
|
||||||
|
_In_ LONG lReleaseCount,
|
||||||
|
_Out_opt_ LPLONG lpPreviousCount);-->
|
||||||
|
<function name="ReleaseSemaphore">
|
||||||
|
<returnValue type="BOOL"/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
<valid>1:</valid>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<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