RxForceFinalizeAllVNetRoots function (rxprocs.h)
RxForceFinalizeAllVNetRoots force finalizes all the V_NET_ROOT structures associated with a given NET_ROOT structure. The caller must have an exclusive lock on the netname table associated with the device object.
void RxForceFinalizeAllVNetRoots(
PNET_ROOT NetRoot
);
NetRoot
A pointer to the NET_ROOT structure.
None
The RxForceFinalizeAllVNetRoots routine is not called internally by RDBSS. RxForceFinalizeAllVNetRoots is normally called by network mini-redirector drivers directly. If a network mini-redirector implements client-side caching, the RxForceFinalizeAllVNetRoots routine could be used to close all open files for client-side caching. Forcing a close on all the V_NET_ROOT structures is equivalent to a WNetCancelConnection call from user mode on a share with forced close of all files.
Before calling RxForceFinalizeAllVNetRoots, a lock on the netname table associated with the device object must be acquired in exclusive mode.
RxForceFinalizeAllVNetRoots calls RxFinalizeVNetRoot to finalize each V_NET_ROOT associated with the NET_ROOT.
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | rxprocs.h (include Rxprocs.h) |
IRQL | <= APC_LEVEL |