NdisDprReleaseSpinLock (NDIS 5.1) function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

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

Syntax

VOID NdisDprReleaseSpinLock(
  _In_ 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.

For more information about acquiring and releasing NDIS spin locks, see Synchronization and Notification in Network Drivers.

Requirements

Target platform

Universal

Version

See NdisDprReleaseSpinLock.

Header

Ndis.h (include Ndis.h)

Library

Ndis.lib

IRQL

DISPATCH_LEVEL

See also

NdisDprAcquireSpinLock

 

 

Send comments about this topic to Microsoft