KfAcquireSpinLock - NtDoc

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

KIRQL KfAcquireSpinLock(
  PKSPIN_LOCK SpinLock
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-kfacquirespinlock)

Description

The KfAcquireSpinLock routine acquires a spin lock so the caller can synchronize access to shared data in a multiprocessor-safe way by raising IRQL.

Parameters

SpinLock

Pointer to an initialized KSPIN_LOCK spin lock for which the caller provides the storage.

Return value

Remarks

For more information about spin locks, see Spin Locks.

See also