34# define _RWSTD_CRITICAL_SECTION _CRITICAL_SECTION
36# define _RWSTD_CRITICAL_SECTION _RTL_CRITICAL_SECTION
39#ifdef _RWSTD_NO_FWD_DECLARATIONS
45# define _RWSTD_MUTEX_T _RWSTD_CRITICAL_SECTION
74union __rw_critical_section {
84# define _RWSTD_MUTEX_T _RW::__rw_critical_section
95# define __except(ignore) else if (0)
104 InitializeCriticalSection (__mutex);
115 DeleteCriticalSection (__mutex);
126 EnterCriticalSection (__mutex);
137 LeaveCriticalSection (__mutex);
145#define _RWSTD_MUTEX_INIT(mutex) \
146 __rw_mutex_init (_RWSTD_REINTERPRET_CAST (_RWSTD_CRITICAL_SECTION*, &mutex))
147#define _RWSTD_MUTEX_DESTROY(mutex) \
148 __rw_mutex_destroy (_RWSTD_REINTERPRET_CAST (_RWSTD_CRITICAL_SECTION*, &mutex))
149#define _RWSTD_MUTEX_LOCK(mutex) \
150 __rw_mutex_lock (_RWSTD_REINTERPRET_CAST (_RWSTD_CRITICAL_SECTION*, &mutex))
151#define _RWSTD_MUTEX_UNLOCK(mutex) \
152 __rw_mutex_unlock (_RWSTD_REINTERPRET_CAST (_RWSTD_CRITICAL_SECTION*, &mutex))
#define _RWSTD_NAMESPACE(name)
__declspec(dllimport) void __stdcall InitializeCriticalSection(_RWSTD_CRITICAL_SECTION *)
#define _RWSTD_CRITICAL_SECTION