Bewerken

Delen via


ClfsLsnGreater function (wdm.h)

The ClfsLsnGreater routine 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 that supplies one of the LSNs to be compared.

[in] plsn2

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

Return value

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

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

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

Requirements

Requirement Value
Minimum supported client Available in Windows Server 2003 R2, Windows Vista, and later versions of Windows.
Target Platform Desktop
Header wdm.h (include Wdm.h)
Library Clfs.lib
DLL Clfs.sys
IRQL Any level

See also

ClfsLsnEqual

ClfsLsnLess

ClfsLsnNull