MCPcopy Create free account
hub / github.com/RamonUnch/AltSnap / GetGUIThreadInfoL

Function GetGUIThreadInfoL

unfuck.h:704–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702}
703
704static 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
718static HRESULT GetDpiForMonitorL(HMONITOR hmonitor, int dpiType, UINT *dpiX, UINT *dpiY)
719{

Callers

nothing calls this directly

Calls 1

LoadDLLProcFunction · 0.85

Tested by

no test coverage detected