Windows Dev Center

LsnLess function

Determines whether one LSN is less than another LSN. The two LSNs must be from the same stream.

Syntax


BOOL WINAPI LsnLess(
  _In_ const CLFS_LSN *plsn1,
  _In_ const CLFS_LSN *plsn2
);

Parameters

plsn1 [in]

A pointer to a CLFS_LSN structure to be compared with plsn2.

plsn2 [in]

A pointer to a CLFS_LSN structure to be compared with plsn1.

Return value

TRUE if plsn1 is strictly less than plsn2; otherwise, FALSE.

Remarks

CLFS_LSN_NULL (the smallest LSN) and CLFS_LSN_INVALID (larger than any valid LSN) are valid arguments to this function.

LSNs from different streams are not comparable. Do not use this function to compare LSNs from different streams.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Header

Clfs.h

Library

Clfsw32.lib

DLL

Clfsw32.dll

See also

LsnEqual
LsnGreater
LsnNull

 

 

Community Additions

ADD
Show:
© 2015 Microsoft