| 8923 | //////////////////////////////// |
| 8924 | |
| 8925 | DECLSPEC_NOINLINE // Lexikos: noinline saves ~300 bytes. Originally the duplicated code prevented inlining. |
| 8926 | HWND Line::DetermineTargetWindow(LPTSTR aTitle, LPTSTR aText, LPTSTR aExcludeTitle, LPTSTR aExcludeText) |
| 8927 | { |
| 8928 | // Lexikos: Not sure why these checks were duplicated here and in WinExist(), |
| 8929 | // so they're left here for reference: |
| 8930 | //HWND target_window; // A variable of this name is used by the macros below. |
| 8931 | //IF_USE_FOREGROUND_WINDOW(g->DetectHiddenWindows, aTitle, aText, aExcludeTitle, aExcludeText) |
| 8932 | //else if (*aTitle || *aText || *aExcludeTitle || *aExcludeText) |
| 8933 | // target_window = WinExist(*g, aTitle, aText, aExcludeTitle, aExcludeText); |
| 8934 | //else // Use the "last found" window. |
| 8935 | // target_window = GetValidLastUsedWindow(*g); |
| 8936 | return WinExist(*g, aTitle, aText, aExcludeTitle, aExcludeText); |
| 8937 | } |
| 8938 | |
| 8939 | |
| 8940 | ResultType GetObjectIntProperty(IObject *aObject, LPTSTR aPropName, __int64 &aValue, ResultToken &aResultToken, bool aOptional) |
nothing calls this directly
no test coverage detected