FsRtlLookupLastLargeMcbEntryAndIndex 函式 (ntifs.h)

FsRtlLookupLastLargeMcbEntryAndIndex 例程會擷取儲存在指定地圖控件區塊中的最後一個對應專案, (MCB) 。

語法

BOOLEAN FsRtlLookupLastLargeMcbEntryAndIndex(
  [in]  PLARGE_MCB OpaqueMcb,
  [out] PLONGLONG  LargeVbn,
  [out] PLONGLONG  LargeLbn,
  [out] PULONG     Index
);

參數

[in] OpaqueMcb

要搜尋之初始化MCB結構的指標。

[out] LargeVbn

接收已對應之 V) BN (最後一個虛擬區塊編號之變數的指標。

[out] LargeLbn

接收邏輯區塊編號的變數指標 (LBN) 對應至 LargeVbn 所指向的 VBN,如果沒有這類 LBN,則為 -1。

[out] Index

接收MCB中上次執行索引之變數的指標。

傳回值

如果MCB不含對應專案,FsRtlLookupLastLargeMcbEntryAndIndex 會傳回 FALSE,否則為 FALSE。

備註

FsRtlLookupLastLargeMcbEntryAndIndex 會搜尋 MCB 中上次執行的最後一個對應:

  • 如果 MCB 不包含任何對應, FsRtlLookupLastLargeMcbEntryAndIndex 會傳回 FALSE。

  • 如果最後一個對應是空的, FsRtlLookupLastLargeMcbEntryAndIndex 會傳回 FALSE,但查閱作業會產生 LBN 的 -1 值。

  • 如果最後一個對應不是空的,查閱作業會產生 LBN 的正值, 而 FsRtlLookupLastLargeMcbEntryAndIndex 會傳回 FALSE。

LBN 的上層 32 位會被忽略。 只會使用較低的32位。

規格需求

需求
最低支援的用戶端 Windows XP
目標平台 Universal
標頭 ntifs.h (包含 Ntifs.h)
程式庫 NtosKrnl.lib
Dll NtosKrnl.exe
IRQL <= APC_LEVEL

另請參閱

FsRtlAddLargeMcbEntry

FsRtlGetNextLargeMcbEntry

FsRtlInitializeLargeMcb

FsRtlLookupLastLargeMcbEntry

FsRtlNumberOfRunsInLargeMcb

FsRtlRemoveLargeMcbEntry

FsRtlSplitLargeMcb

FsRtlTruncateLargeMcb

FsRtlUninitializeLargeMcb