获取windows系统分屏个数

int dspNum = ::GetSystemMetrics(SM_CMONITORS);

原文地址:https://www.cnblogs.com/132818Creator/p/12614966.html