https://learn.microsoft.com/en-us/windows/win32/api/winevt/nf-winevt-evtgetextendedstatus
EvtGetExtendedStatus function (winevt.h) - Win32 apps | Microsoft Learn
Gets a text message that contains the extended error information for the current error.
functionhappsmicrosoftlearn