RxpAcquirePrefixTableLockShared acquires the prefix table lock shared.
A pointer to the RX_PREFIX_TABLE structure where the lock will be acquired.
A Boolean value that specifies the behavior whenever the resource cannot be acquired immediately. If TRUE, the caller is put into a wait state until the resource can be acquired. If FALSE, the routine immediately returns, whether the shared resource can be acquired.
RxpAcquirePrefixTableLockShared returns TRUE if the resource is acquired. This routine returns FALSE if the Wait parameter is FALSE and shared access cannot be granted immediately.
The RxAcquirePrefixTableLockShared macro calls the RxpAcquirePrefixTableLockShared routine. The RxIsPrefixTableLockAcquired macro can be used to determine whether an exclusive or shared prefix table lock was previously acquired.
Normal kernel APC delivery should be disabled before calling this routine. Normal kernel APC delivery can be disabled by calling FsRtlEnterFileSystem or KeEnterCriticalRegion. Delivery must remain disabled until the resource is released, at which point it can be reenabled by calling FsRtlExitFileSystem or KeLeaveCriticalRegion.
|On Windows Server 2003, the RxpAcquirePrefixTableLockShared routine is implemented as a macro. This routine is only available onWindows XP and Windows 2000.|
Build date: 1/29/2014