ClfsLsnEqual routine

The ClfsLsnEqual routine determines whether two LSNs from the same stream are equal.

Syntax


BOOLEAN ClfsLsnEqual(
  _In_ const CLFS_LSN *plsn1,
  _In_ const CLFS_LSN *plsn2
);

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

ClfsLsnEqual returns TRUE if the two LSNs are equal; otherwise, it returns FALSE.

Remarks

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

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

Target platform

Version

Available in Windows Server 2003 R2, Windows Vista, and later versions of Windows.

Header

Wdm.h (include Wdm.h)

Library

Clfs.lib

DLL

Clfs.sys

IRQL

Any level

See also

ClfsLsnGreater
ClfsLsnLess
ClfsLsnNull

 

 

Send comments about this topic to Microsoft

Show: