CcRepinBcb routine

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

Bcb [in]

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

Target platform

Universal

Header

Ntifs.h (include Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

See also

CcPinRead
CcPreparePinWrite
CcUnpinData
CcUnpinRepinnedBcb

 

 

Send comments about this topic to Microsoft

Show: