GetSysModalWindow 

The GetSysModalWindow function is obsolete. This function is provided only for compatibility with 16-bit versions of Windows.