ReactOS 0.4.16-dev-2274-gc61d98f
synchansi.c
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: dll/win32/kernel32/client/synchansi.c
5 * PURPOSE: Synchronization functions (ANSI)
6 */
7
8/* INCLUDES ******************************************************************/
9
10#include <k32.h>
11
12/* FUNCTIONS ****************************************************************/
13
14/*
15 * @implemented
16 */
20 IN BOOL bManualReset,
21 IN LPCSTR lpTimerName OPTIONAL)
22{
23 ConvertWin32AnsiObjectApiToUnicodeApi(WaitableTimer, lpTimerName, lpTimerAttributes, bManualReset);
24}
25
26/*
27 * @implemented
28 */
31OpenWaitableTimerA(IN DWORD dwDesiredAccess,
33 IN LPCSTR lpTimerName)
34{
36}
37
38/*
39 * @implemented
40 */
45 IN LONG lInitialCount,
46 IN LONG lMaximumCount,
48{
49 ConvertWin32AnsiObjectApiToUnicodeApi(Semaphore, lpName, lpSemaphoreAttributes, lInitialCount, lMaximumCount);
50}
51
52/*
53 * @implemented
54 */
58OpenSemaphoreA(IN DWORD dwDesiredAccess,
61{
63}
64
65/*
66 * @implemented
67 */
71OpenMutexA(IN DWORD dwDesiredAccess,
74{
76}
77
78/* EOF */
#define DECLSPEC_HOTPATCH
Definition: _mingw.h:240
#define ConvertWin32AnsiObjectApiToUnicodeApi(obj, name,...)
Definition: base_x.h:54
#define ConvertOpenWin32AnsiObjectApiToUnicodeApi(obj, acc, inh, name)
Definition: base_x.h:86
Definition: Mutex.h:16
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
HANDLE WaitableTimer
Definition: notevil.c:39
static BOOL bInheritHandle
Definition: pipe.c:82
long LONG
Definition: pedump.c:60
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
HANDLE WINAPI CreateWaitableTimerA(IN LPSECURITY_ATTRIBUTES lpTimerAttributes OPTIONAL, IN BOOL bManualReset, IN LPCSTR lpTimerName OPTIONAL)
Definition: synchansi.c:19
HANDLE WINAPI DECLSPEC_HOTPATCH CreateSemaphoreA(IN LPSECURITY_ATTRIBUTES lpSemaphoreAttributes OPTIONAL, IN LONG lInitialCount, IN LONG lMaximumCount, IN LPCSTR lpName OPTIONAL)
Definition: synchansi.c:44
HANDLE WINAPI DECLSPEC_HOTPATCH OpenMutexA(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN LPCSTR lpName)
Definition: synchansi.c:71
HANDLE WINAPI DECLSPEC_HOTPATCH OpenSemaphoreA(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN LPCSTR lpName)
Definition: synchansi.c:58
HANDLE WINAPI OpenWaitableTimerA(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN LPCSTR lpTimerName)
Definition: synchansi.c:31
#define IN
Definition: typedefs.h:39
_In_ LPCSTR lpName
Definition: winbase.h:2543
#define WINAPI
Definition: msvc.h:6
const char * LPCSTR
Definition: xmlstorage.h:183