CcRepinBcb - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

VOID CcRepinBcb(
  [in] PVOID Bcb
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-ccrepinbcb)

CcRepinBcb function

Description

The CcRepinBcb routine pins a buffer control block (BCB) an additional time to prevent it from being freed by a subsequent call to CcUnpinData.

Parameters

Bcb [in]

Buffer control block (BCB) pointer returned by CcPinRead or CcPreparePinWrite.

Remarks

File systems call CcRepinBcb to preserve a BCB for write-through or error recovery. Typically a file system would do this the first time it marks a BCB as dirty while processing a write-through request, or any time that it determines that a buffer will be required for write-through.

Every call to CcRepinBcb must be matched by a subsequent call to CcUnpinRepinnedBcb.

See also

CcPinRead

CcPreparePinWrite

CcUnpinData

CcUnpinRepinnedBcb