compact framework windows CE using ExtEscape to control the brightness

Posted by mack369 on Stack Overflow See other posts from Stack Overflow or by mack369
Published on 2010-04-21T15:17:46Z Indexed on 2010/04/21 15:23 UTC
Read the original article Hit count: 231

I need to be able to control brightness of 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?

© Stack Overflow or respective owner

Related posts about compact-framework

Related posts about windows-ce