RtnDeleteCriticalLock

RtnDeleteCriticalLock frees any associated memory from a CriticalLock. Once a CriticalLock has been deleted it should no longer be used unless a RtnInitializeCriticalLock is called on the CriticalLock structure again. Normally, CriticalLocks are initialized in RtndConfigure for use throughout the driver. At shutdown time (in RtndUpDown) the locks are deleted. See RtnInitializeCriticalLock for more information on CriticalLocks.

IMPORTANT! It is NOT safe to nest CritcalLocks.

Syntax

VOID RtnDeleteCriticalLock(
    CriticalLock *pLock
);

Parameters

pLock

Pointer to a critical lock data structure to delete

Return Value

None.

Requirements

Minimum Supported Version

RTX64 2013

NOTE: RTX64 Network Abstraction Layer (NAL) support requires RTX64 4.0 or later

Header

rtnapi.h

Library

To use with the NAL: RTX64Nal.lib

To use with the TCP/IP Stack: RtTcpip.lib