1#ifndef __CROSS_NT_RWLOCK__H__
2#define __CROSS_NT_RWLOCK__H__
4#ifndef MAXIMUM_PROCESSORS
5#define MAXIMUM_PROCESSORS 32
30#define RWLOCK_STATE_FREE 0
31#define RWLOCK_STATE_READ_ACQUIRED 1
32#define RWLOCK_STATE_WRITE_ACQUIRED 2
33#define RWLOCK_STATE_RECURSIVE 3
34#define RWLOCK_STATE_RELEASED 0xffff
36#define RWLOCK_FOR_WRITE TRUE
37#define RWLOCK_FOR_READ FALSE
struct _NDIS_RW_LOCK NDIS_RW_LOCK
struct _NDIS_RW_LOCK * PNDIS_RW_LOCK
#define MAXIMUM_PROCESSORS
union _NDIS_RW_LOCK_REFCOUNT NDIS_RW_LOCK_REFCOUNT
struct _LOCK_STATE * PLOCK_STATE
struct _LOCK_STATE LOCK_STATE
NDIS_RW_LOCK_REFCOUNT RefCount[MAXIMUM_PROCESSORS]
_Reserved_ PVOID Reserved