https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-hasoverlappediocompleted?redirectedfrom=MSDN
HasOverlappedIoCompleted macro (winbase.h) - Win32 apps | Microsoft Learn
Provides a high performance test operation that can be used to poll for the completion of an outstanding I/O operation.
macrowinbasehappsmicrosoft