GetFunctionWindowEx(
LPVFSFUNCDATA:lpVFSData,
DWORD:dwFlags
)
→ HWND
| GFWE_ALLOWANYLISTER | Consider any lister as a candidate. (Implies GFWE_ALLOWFOREGROUNDLISTER.) |
| GFWE_ALLOWFOREGROUNDLISTER | Consider the foreground lister as a candidate. |
| GFWE_ALLOWDESKTOP | If all else fails, return the Windows desktop instead of NULL. |
The GetFunctionWindowEx function is an extended version of GetFunctionWindow that lets you control which windows are considered as candidates.