WIN32API:獲取螢幕的解析度
#include <windows.h>
#include <stdio.h>
int main()
{
DWORD widthScreen = GetSystemMetrics(SM_CXSCREEN);
DWORD heightScreen = GetSystemMetrics(SM_CYSCREEN);
printf("%lu x %lu\n", widthScreen, heightScreen);
return 0;
}
相關文章
- React Native 之 獲取螢幕解析度React Native
- 請教java中如何獲取螢幕解析度Java
- Java及Jquery獲取螢幕解析度的實現程式碼JavajQuery
- javascript獲取螢幕的尺寸JavaScript
- javascript獲取視窗和螢幕解析度等尺寸程式碼JavaScript
- JS獲取螢幕大小JS
- win10系統如何獲取高解析度螢幕截圖Win10
- javascript如何獲取電腦螢幕的尺寸JavaScript
- 螢幕解析度修改SwitchResX
- android 螢幕 解析度Android
- js獲取網頁螢幕寬高JS網頁
- 獲取各種螢幕高度寬度(工作)
- Flutter 中獲取螢幕以及 Widget 的寬高Flutter
- 獲取當前螢幕顯示的viewcontrollerViewController
- js獲取div相對螢幕的座標位置JS
- android 獲取螢幕高度和寬度的方法Android
- Android獲取當前Activity的螢幕截圖Android
- SwitchResX for Mac(螢幕解析度修改工具)Mac
- SwitchResX(Mac螢幕解析度修改工具)Mac
- SwitchResX for Mac 螢幕解析度修改工具Mac
- SwitchResX for Mac 螢幕解析度修改工具Mac
- 螢幕解析度修改工具SwitchResX MacMac
- Mac螢幕解析度修改工具:SwitchResXMac
- 螢幕解析度修改工具:SwitchResX for MacMac
- 常見裝置螢幕解析度
- 利用 xrandr 命令修改螢幕解析度
- SwitchResX for Mac(好用的螢幕解析度修改工具)Mac
- CentOS7.0怎麼設定螢幕解析度?CentOS7.0設定螢幕解析度教程CentOS
- android通過MediaProjection獲取螢幕內容AndroidProject
- 小程式獲取當前元素在螢幕中的位置
- C#獲取Windows10螢幕的縮放比例C#Windows
- JS,Jquery獲取各種螢幕的寬度和高度JSjQuery
- javascript獲取移動裝置螢幕尺寸的程式碼JavaScript
- JavaScript獲取瀏覽器、元素、螢幕的寬高尺寸JavaScript瀏覽器
- Mac螢幕解析度修改工具——SwitchResX for MacMac
- Windows 8如何調整螢幕解析度Windows
- Mac螢幕解析度怎麼設定Mac
- 【求助】關於響應式設計螢幕解析度和螢幕尺寸的問題