Compartilhar via


NdisDprReleaseSpinLock (Compact 2013)

3/26/2014

This function releases a spin lock acquired in the immediately preceding call to the NdisDprAcquireSpinLock function.

Syntax

VOID NdisDprReleaseSpinLock(
  PNDIS_SPIN_LOCK SpinLock
);

Parameters

  • SpinLock
    [in] Pointer to the acquired spin lock to be released.

Return Value

None.

Remarks

Release of the spin lock allows another driver function to use the resources the lock protects after that function acquires the spin lock.

A spin lock acquired with NdisDprAcquireSpinLock must be released with NdisDprReleaseSpinLock. A spin lock acquired with NdisAcquireSpinLock must be released with NdisReleaseSpinLock.

Requirements

Header

ndis.h

Library

ndis.lib

See Also

Reference

NDIS Spin Lock Interface
NdisDprAcquireSpinLock