CcRemapBcb routine

The CcRemapBcb routine maps a buffer control block (BCB) an additional time to preserve it through several calls that perform additional maps and unpins.

Syntax


PVOID CcRemapBcb(
  _In_  PVOID Bcb
);

Parameters

Bcb [in]

Pointer to the BCB to be remapped.

Return value

CcRemapBcb returns a pointer to the remapped BCB with a read-only indicator.

Remarks

Like CcMapData, CcRemapBcb maps data in a cached file for read access. Note that after CcRemapBcb is called, the data is mapped; but it is not pinned. This distinction is important. Data that is mapped but not pinned cannot safely be modified. To pin the data, use CcPinMappedData, CcPinRead, or CcPreparePinWrite.

Requirements

Version

Available on Microsoft Windows 2000 and later.

Header

Ntifs.h (include Ntifs.h)

Library

Ntoskrnl.lib

See also

CcMapData
CcPinMappedData
CcPinRead
CcPreparePinWrite
CcUnpinData

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft