ClfsLsnEqual function (clfs.h)

Determines whether two LSNs from the same stream are equal.

Syntax

CLFSUSER_API BOOLEAN ClfsLsnEqual(
  [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

Returns TRUE if the two LSNs are equal; 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

LsnGreater

LsnLess

LsnNull