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.

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
Header rtnapi.h
Library RtTcpip.lib