使用(setmonitorbrightness)函数 [英] Use (setmonitorbrightness) function

查看:334
本文介绍了使用(setmonitorbrightness)函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好我想使用(SetMonitorBrightness)函数,但它说它未定义

我从这个https://docs.microsoft.com/en-us/windows/找到了这个函数desktop / api / highlevelmonitorconfigurationapi / nf-highlevelmonitorconfigurationapi-setmonitorbrightness链接

你能帮我解决这个问题吗?



什么我试过了:



我已将Dxva2.lib添加到我的解决方案属性中 - >连接体 - > input

hello I want to use (SetMonitorBrightness) function but it says it it's undefined
and i found this function from this "https://docs.microsoft.com/en-us/windows/desktop/api/highlevelmonitorconfigurationapi/nf-highlevelmonitorconfigurationapi-setmonitorbrightness" link
could you please help me solving this problem?

What I have tried:

I have added Dxva2.lib into my solution properties-> linker-> input

推荐答案

您还需要在源文件中包含 highlevelmonitorconfigurationapi.h 吗?
You also need to include highlevelmonitorconfigurationapi.h in your source file?


这篇关于使用(setmonitorbrightness)函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆