[SETUPLIB][USETUP] Add support for setup error handling.

This commit is contained in:
Hermès Bélusca-Maïto 2018-10-28 22:51:33 +01:00
parent 64e217e97c
commit f894631472
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 35 additions and 0 deletions

View file

@ -675,6 +675,10 @@ InitializeSetup(
// pSetupData->LayoutList = NULL;
// pSetupData->LanguageList = NULL;
/* Initialize error handling */
pSetupData->LastErrorNumber = ERROR_SUCCESS;
pSetupData->ErrorRoutine = NULL;
/* Initialize global unicode strings */
RtlInitUnicodeString(&pSetupData->SourcePath, NULL);
RtlInitUnicodeString(&pSetupData->SourceRootPath, NULL);