首页 相关文章 用VB改变屏幕的分辨率和刷新频率

用VB改变屏幕的分辨率和刷新频率

  OptionExplicit

  PublicDeclareFunctionChangeDisplaySettingsLib"user32.dll"Alias"ChangeDisplaySettingsA"

  (ByReflpDevModeAsDEVMODE,ByValdwFlagsAsLong)AsLong
  PublicDeclareFunctionEnumDisplaySettingsLib"user32.dll"Alias"EnumDisplaySettingsA"(ByVal

  lpszDeviceNameAsString,ByValiModeNumAsLong,ByReflpDevModeAsDEVMODE)AsLong

  ConstDM_PELSHEIGHTAsLong=&H100000
  ConstDM_PELSWIDTHAsLong=&H80000
  ConstDM_BITSPERPELAsLong=&H40000
  ConstDM_DISPLAYFREQUENCYAsLong=&H400000

  ConstCCHDEVICENAMEAsLong=32[ 查看全文 ]

2016-02-19 标签:

用VB改变屏幕的分辨率和刷新频率的相关文章

手机页面
收藏网站 回到头部