| 702 | } |
| 703 | |
| 704 | static BOOL GetGUIThreadInfoL(DWORD pid, GUITHREADINFO *lpgui) |
| 705 | { |
| 706 | typedef BOOL (WINAPI *funk_t)(DWORD pid, GUITHREADINFO *lpgui); |
| 707 | static funk_t funk=(funk_t)IPTR; |
| 708 | |
| 709 | if (funk == (funk_t)IPTR) { /* First time */ |
| 710 | funk = (funk_t)LoadDLLProc("USER32.DLL", "GetGUIThreadInfo"); |
| 711 | } |
| 712 | if (funk) { /* We know we have the function */ |
| 713 | return funk(pid, lpgui); |
| 714 | } |
| 715 | return FALSE; |
| 716 | } |
| 717 | |
| 718 | static HRESULT GetDpiForMonitorL(HMONITOR hmonitor, int dpiType, UINT *dpiX, UINT *dpiY) |
| 719 | { |
nothing calls this directly
no test coverage detected