ClfsLsnLess - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

CLFSUSER_API BOOLEAN ClfsLsnLess(
  [in] const CLFS_LSN *plsn1,
  [in] const CLFS_LSN *plsn2
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-clfslsnless)

ClfsLsnLess function

Description

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

Parameters

plsn1 [in]

A pointer to a CLFS_LSN structure that supplies one of the LSNs to be compared.

plsn2 [in]

A pointer to a CLFS_LSN structure that supplies the other LSN to be compared.

Return value

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

Remarks

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

LSNs from different streams are not comparable. Do not use ClfsLsnEqual, ClfsLsnLess and the like to compare LSNs from different streams.

For an explanation of CLFS concepts and terminology, see Common Log File System.

See also

ClfsLsnEqual

ClfsLsnGreater

ClfsLsnNull