Bewerken

Delen via


CcRemapBcb function (ntifs.h)

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

[in] Bcb

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

Requirement Value
Minimum supported client Windows 2000
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe

See also

CcMapData

CcPinMappedData

CcPinRead

CcPreparePinWrite

CcUnpinData