Windows Dev Center

LsnBlockOffset function

Returns the sector-aligned block offset that is contained in the specified LSN.

Syntax


ULONG WINAPI LsnBlockOffset(
  _In_ const CLFS_LSN *plsn
);

Parameters

plsn [in]

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

Return value

LsnBlockOffset returns the block offset that is contained in plsn.

Remarks

The block offset that is returned by this function 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.

Examples

For an example that uses this function, see Enumerating Log Containers.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Header

Clfsw32.h

Library

Clfsw32.lib

DLL

Clfsw32.dll

See also

LsnContainer
LsnCreate
LsnRecordSequence

 

 

Community Additions

ADD
Show:
© 2015 Microsoft