LsnCreate

LsnCreate function

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

Syntax


CLFS_LSN WINAPI LsnCreate(
  _In_ CLFS_CONTAINER_ID cidContainer,
  _In_ ULONG             offBlock,
  _In_ ULONG             cRecord
);

Parameters

cidContainer [in]

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

offBlock [in]

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

cRecord [in]

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]

Header

Clfsw32.h

Library

Clfsw32.lib

DLL

Clfsw32.dll

See also

CLFS_LSN
LsnBlockOffset
LsnContainer
LsnRecordSequence

 

 

Community Additions

ADD
Show:
© 2016 Microsoft