Bewerken

Delen via


CcRepinBcb function (ntifs.h)

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

Syntax

void CcRepinBcb(
  [in] PVOID Bcb
);

Parameters

[in] Bcb

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

Return value

None

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.

Requirements

Requirement Value
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe

See also

CcPinRead

CcPreparePinWrite

CcUnpinData

CcUnpinRepinnedBcb