https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-queryfullprocessimagenamea?redirectedfrom=MSDN
QueryFullProcessImageNameA function (winbase.h) - Win32 apps | Microsoft Learn
Retrieves the full name of the executable image for the specified process. (ANSI)
functionwinbasehappsmicrosoft