FsRtlLookupLastLargeMcbEntryAndIndex - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

BOOLEAN FsRtlLookupLastLargeMcbEntryAndIndex(
  [in]  PLARGE_MCB OpaqueMcb,
  [out] PLONGLONG  LargeVbn,
  [out] PLONGLONG  LargeLbn,
  [out] PULONG     Index
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-_fsrtl_advanced_fcb_header-fsrtllookuplastlargemcbentryandindex)

FsRtlLookupLastLargeMcbEntryAndIndex function

Description

The FsRtlLookupLastLargeMcbEntryAndIndex routine retrieves the last mapping entry stored in a given map control block (MCB).

Parameters

OpaqueMcb [in]

Pointer to an initialized MCB structure to be searched.

LargeVbn [out]

Pointer to a variable that receives the last virtual block number (VBN) that was mapped.

LargeLbn [out]

Pointer to a variable that receives the logical block number (LBN) that is mapped to the VBN pointed to by LargeVbn, or -1 if no such LBN exists.

Index [out]

Pointer to a variable that receives the index of the last run in the MCB.

Return value

FsRtlLookupLastLargeMcbEntryAndIndex returns FALSE if the MCB contains no mapping entries, FALSE otherwise.

Remarks

FsRtlLookupLastLargeMcbEntryAndIndex searches for the last mapping of the last run in the MCB:

The upper 32 bits of the LBN are ignored. Only the lower 32 bits are used.

See also

FsRtlAddLargeMcbEntry

FsRtlGetNextLargeMcbEntry

FsRtlInitializeLargeMcb

FsRtlLookupLastLargeMcbEntry

FsRtlNumberOfRunsInLargeMcb

FsRtlRemoveLargeMcbEntry

FsRtlSplitLargeMcb

FsRtlTruncateLargeMcb

FsRtlUninitializeLargeMcb