Share via


NdisFreeReadWriteLock

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function is called to deallocate a ReadWriteLock allocated with an earlier call to NdisInitializeReadWriteLock.

Syntax

VOID NdisFreeReadWriteLock(
  PNDIS_RW_LOCK Lock
);

Parameters

  • Lock
    [in] Points to an opaque variable that represents a lock. The caller can use this lock to gain write or read access to resources that are shared among non-ISR driver threads.

Return Value

None.

Remarks

The Lock pointer that is passed to NdisInitializeReadWriteLock is a required parameter for all other NdisXXXReadWriteLock functions.

This function is defined for Windows Embedded CE only.

Requirements

Header ndis.h
Library ndis.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NdisAcquireReadWriteLock
NdisReleaseReadWriteLock
NdisInitializeReadWriteLock