MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / GetFromPoint

Method GetFromPoint

FastCopy/WindowHelper.cpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56MONITORINFO MonitorInfo::GetFromPoint(POINT p)
57{
58 MONITORINFO info
59 {
60 .cbSize = sizeof(info)
61 };
62 GetMonitorInfo(MonitorFromPoint(p, MONITOR_DEFAULTTONEAREST), &info);
63 return info;
64}
65
66MONITORINFO MonitorInfo::GetPrimary()
67{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected