RxReleaseFcbResourceForThreadInMRx function (mrxfcb.h)

RxReleaseFcbResourceForThreadInMRx releases the FCB resource acquired by a network mini-redirector driver with a particular thread ID.

Syntax

void RxReleaseFcbResourceForThreadInMRx(
  [in]      IN PRX_CONTEXT      pRxContext,
  [in, out] IN OUT PMRX_FCB     MrxFcb,
  [in]      IN ERESOURCE_THREAD ResourceThreadId
);

Parameters

[in] pRxContext

A pointer to the RX_CONTEXT structure.

[in, out] MrxFcb

A pointer to the FCB. This parameter is required and cannot be NULL.

[in] ResourceThreadId

The thread ID that originally acquired the resource.

Return value

None

Remarks

The synchronization resources of interest to a network mini-redirector driver are primarily associated with the FCB. There is a paging I/O resource and a regular resource. The paging I/O resource is managed internally by RDBSS. The only resource accessible to a network mini-redirector driver is the regular resource.

The RxReleaseFcbResourceForThreadInMRx routine will release an FCB resource previously acquired for a particular thread ID. This resource would have been acquired by calling RxAcquireExclusiveFcbResourceInMRx, RxAcquireSharedFcbResourceInMRx, or RxAcquireSharedFcbResourceInMRxEx. If there are any pending buffering state change requests for this FCB, then these buffering state changes will be processed first before the RxReleaseFcbResourceForThreadInMRx routine returns.

Requirements

Requirement Value
Minimum supported client RxReleaseFcbResourceForThreadInMRx is only available on Windows Server 2003 SP1 and later.
Target Platform Desktop
Header mrxfcb.h (include Mrxfcb.h)
IRQL <= APC_LEVEL

See also

RxAcquireExclusiveFcbResourceInMRx

RxAcquireSharedFcbResourceInMRx

RxAcquireSharedFcbResourceInMRxEx

RxReleaseFcbResourceInMRx