wince获取屏幕分辨率

 
 [DllImport("Coredll.dll")]
        public static extern int GetSystemMetrics(int nIndex);

使用时:

            int swidth = GetSystemMetrics(0);
            int sheight = GetSystemMetrics(1);


你可能感兴趣的:(wince获取屏幕分辨率)