[PSDK][BOOTMGR] Import NTSTATUS definitions of BitLocker (#4417)

This commit is contained in:
Vincent Franchomme 2022-04-28 21:36:34 +02:00 committed by Hermès BÉLUSCA - MAÏTO
parent 3cfd8ab775
commit 08d1009892
2 changed files with 45 additions and 3 deletions

View file

@ -432,7 +432,7 @@ BmpFatalErrorMessageFilter (
*ErrorResourceId = 9019;
Result = 2;
break;
case 0xC0210000:
case STATUS_FVE_LOCKED_VOLUME:
*ErrorResourceId = 9013;
break;
}
@ -2319,7 +2319,7 @@ BmpTransferExecution (
}
/* STATUS_FVE_LOCKED_VOLUME -- bitlocker volume is locked */
if (Status == 0xC0210000)
if (Status == STATUS_FVE_LOCKED_VOLUME)
{
/* Launch recovery mode */
*LaunchCode = 4;