CLFS_SCAN_MODE Constants

Controls how records are scanned. The constants are passed to CreateLogContainerScanContext, and have the following possible values.

Constant/value Description
CLFS_SCAN_INIT
0x01
Initializes the scan context, but does not allocate associated storage.
The initialization is destructive, because all data that is stored in the current scan context is lost.
CLFS_SCAN_FORWARD
0x02
Causes the next call to ScanLogContainers to proceed in a forward direction.
Cannot be used if CLFS_SCAN_BACKWARD is specified.
CLFS_SCAN_BACKWARD
0x04
Causes the next call to ScanLogContainers to proceed in a backward direction.
Cannot be used if CLFS_SCAN_FORWARD is specified.
CLFS_SCAN_CLOSE
0x08
Uninitializes the scan context, and deallocates system storage that is associated with a scan context.
CLFS_SCAN_INITIALIZED
0x10
Indicates that the scan context is already initialized.
CLFS_SCAN_BUFFERED
0x20
Indicates that the scanned container descriptors are pre-fetched and buffered.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 R2 [desktop apps only]
Header
Clfs.h (include Clfsw32.h)

See also

CreateLogContainerScanContext