ClfsLsnGreater function (clfs.h)

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

Syntax

CLFSUSER_API BOOLEAN ClfsLsnGreater(
  [in] const CLFS_LSN *plsn1,
  [in] const CLFS_LSN *plsn2
);

Parameters

[in] plsn1

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

[in] plsn2

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

Return value

TRUE if plsn1 is strictly greater 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

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

See also

LsnEqual

LsnLess

LsnNull