Share via


NdisFreeReadWriteLock (Windows Embedded CE 6.0)

1/6/2010

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

NDIS Library Functions
NdisAcquireReadWriteLock
NdisReleaseReadWriteLock
NdisInitializeReadWriteLock