| 640 | } |
| 641 | |
| 642 | BOOL CALLBACK Alert::FindDirectUIChild(HWND hwnd, LPARAM arg){ |
| 643 | HWND *dialog_handle = reinterpret_cast<HWND*>(arg); |
| 644 | std::vector<wchar_t> child_window_class(100); |
| 645 | ::GetClassName(hwnd, &child_window_class[0], 100); |
| 646 | |
| 647 | if (wcscmp(&child_window_class[0], L"DirectUIHWND") != 0) { |
| 648 | return TRUE; |
| 649 | } |
| 650 | *dialog_handle = hwnd; |
| 651 | return FALSE; |
| 652 | } |
| 653 | |
| 654 | BOOL CALLBACK Alert::FindTextBoxes(HWND hwnd, LPARAM arg) { |
| 655 | std::vector<HWND>* dialog_handles = reinterpret_cast<std::vector<HWND>*>(arg); |
nothing calls this directly
no test coverage detected