Export (0) Print
Expand All

ClfsLsnBlockOffset routine

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

Syntax


ULONG ClfsLsnBlockOffset(
  _In_  const CLFS_LSN *plsn
);

Parameters

plsn [in]

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

Version

Available in Windows Server 2003 R2, Windows Vista, and later versions of Windows.

Header

Wdm.h (include Wdm.h)

Library

Clfs.lib

IRQL

Any level

See also

ClfsLsnCreate
ClfsLsnContainer
ClfsLsnRecordSequence

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft