ClfsLsnBlockOffset function (wdm.h)

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

Syntax

CLFSUSER_API ULONG ClfsLsnBlockOffset(
  [in] const CLFS_LSN *plsn
);

Parameters

[in] 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

Requirement Value
Minimum supported client 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

ClfsLsnCreate

ClfsLsnRecordSequence