https://learn.microsoft.com/en-us/windows/win32/api/winsafer/nf-winsafer-saferiisexecutablefiletype?redirectedfrom=MSDN
SaferiIsExecutableFileType function (winsafer.h) - Win32 apps | Microsoft Learn
Determines whether a specified file is an executable file.
functionhappsmicrosoftlearn