EnumTaskWindows 

The EnumTaskWindows function is obsolete. It has been superseded by the EnumThreadWindowsPB6TVW function.

To maintain compatibility for 16-bit applications, EnumTaskWindows has been replaced with a macro that calls EnumThreadWindows. Earlier applications can continue to call EnumTaskWindows as previously documented, but new applications should use EnumThreadWindows.