开发者

compact framework windows CE using ExtEscape to control the brightness

I need to be able to control brightness o开发者_运维知识库f my Windows CE 5.0 device.

I've found that there is an API function ExtEscape to do that ( http://msdn.microsoft.com/en-us/library/aa453063 ) but it needs a structure ContrastCmdInputParm (http://msdn.microsoft.com/en-us/library/Aa447689 ) as a parameter. Since ExtEscape is unmanaged, I cannot pass a .net structure.

What is the simplest way to call this function?


Before you go down this road, contact your OEM to see if they have an API for controlling backlight intensity. In my experience no one implements it via ExtEscape (I've not seen it even once). Generally if backlight adjustment is supported at all (sometimes it's not physiclaly possible on a device, sometimes it's not implemented by the OEM), then it has a proprietary API for adjusting it.

So again, contact your device OEM before going any further to avoid wasting your own time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜