ClfsLsnBlockOffset function

The ClfsLsnBlockOffset routine returns the sector-aligned block offset contained in a specified LSN.

Syntax

ULONG ClfsLsnBlockOffset(
  _In_ const CLFS_LSN *plsn
);

Parameters

plsn

A pointer to a CLFS_LSN structure from which the block offset is retrieved.

Return Value

ClfsLsnBlockOffset returns the block offset contained in the LSN that is supplied by the caller.

Remarks

The block offset returned by this routine is a multiple of the sector size on the stable storage medium. For example, if the sector size is 1024 bytes, the block offset is a multiple of 1024.

For an explanation of CLFS concepts and terminology, see Common Log File System.

Requirements

   
Windows version Available in Windows Server 2003 R2, Windows Vista, and later versions of Windows.
Target Platform Desktop
Header wdm.h (include Wdm.h)
Library Clfs.lib
DLL Clfs.sys
IRQL Any level

See Also

ClfsLsnContainer

ClfsLsnRecordSequence

ClfsLsnCreate

Send comments about this topic to Microsoft