LsnCreate function (clfsw32.h)

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

[in] cidContainer

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

[in] offBlock

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

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

Requirement Value
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