NDIS_RW_LOCK - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

typedef struct _NDIS_RW_LOCK {
  union {
    struct {
      KSPIN_LOCK SpinLock;
      PVOID      Context;
    };
    UCHAR Reserved[16];
  };
  union {
    NDIS_RW_LOCK_REFCOUNT RefCount[MAXIMUM_PROCESSORS];
    ULONG                 *RefCountEx[sizeof(NDIS_RW_LOCK_REFCOUNT)/ sizeof(ULONG) MAXIMUM_PROCESSORS];
    struct {
      KSPIN_LOCK RefCountLock;
      ULONG      SharedRefCount;
      BOOLEAN    WriterWaiting;
    };
  };
} NDIS_RW_LOCK, *PNDIS_RW_LOCK;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ndis-_ndis_rw_lock)

_NDIS_RW_LOCK structure

Description

The NDIS_RW_LOCK structure defines the attributes of a read/write lock. This structure is opaque to NDIS drivers and is reserved for NDIS.

Members

SpinLock

Reserved.

Context

Reserved.

Reserved

Reserved.

RefCount

Reserved.

RefCountEx

Reserved.

RefCountLock

Reserved.

SharedRefCount

Reserved.

WriterWaiting

Reserved.

See also

NDIS_RW_LOCK_EX