LsnCreate function

Creates a log sequence number (LSN), given a container ID, a block offset, and a record sequence number.

Syntax

CLFSUSER_API CLFS_LSN LsnCreate(
  IN CLFS_CONTAINER_ID cidContainer,
  IN ULONG             offBlock,
  IN ULONG             cRecord
);

Parameters

cidContainer

The container ID. This value must be an integer between 0x0 and 0xFFFFFFFF.

offBlock

The block offset. This value must be a multiple of 512.

cRecord

The record sequence number. This value must be an integer between 0 - 511.

Return Value

Returns a CLFS_LSN structure that represents the container ID, block offset, and record sequence number that is supplied by the caller.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 R2 [desktop apps only]
Target Platform Windows
Header clfsw32.h
Library Clfsw32.lib
DLL Clfsw32.dll

See Also

CLFS_LSN

LsnBlockOffset

LsnContainer

LsnRecordSequence