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

Method GetPrimary

FastCopy/WindowHelper.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66MONITORINFO MonitorInfo::GetPrimary()
67{
68 MONITORINFO info
69 {
70 .cbSize = sizeof(info)
71 };
72 GetMonitorInfo(MonitorFromPoint(POINT{}, MONITOR_DEFAULTTOPRIMARY), &info);
73 return info;
74}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected