Compartilhar via


NdisDprReleaseSpinLock

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

VOID NdisDprReleaseSpinLock(
IN PNDIS_SPIN_LOCK SpinLock );

Parameters

  • SpinLock
    Pointer to the acquired spin lock to be released.

Remarks

In Windows CE, NDIS spinlocks are implemented using critical sections.

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

A spin lock acquired with NdisDprAcquireSpinLock must be released with this function. A spin lock acquired with the NdisAcquireSpinLock function must be released with the NdisReleaseSpinLock function.

A driver that calls this function is running at IRQL DISPATCH_LEVEL.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

NdisDprAcquireSpinLock

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.