HWND flashwnd = gAttentionTimerMonitor->GetFlashWindowFor(hwnd);
static VOID CALLBACK nsGetAttentionTimerFunc(HWND hwnd, UINT uMsg, UINT idEvent, DWORD dwTime) {  // flash the outermost owner if we're not the foreground  HWND flashwnd = gAttentionTimerMonitor->GetFlashWindowFor(hwnd);  // flash the window until we're in the foreground.  if (::GetForegroundWindow() != hwnd)    ::FlashWindow(flashwnd, TRUE);  else    gAttentionTimerMonitor->KillTimer(hwnd);}