Is GetKeyboardState supported in the CompactFramework?
i looked at
:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboardinputfunctions/getkeyboardstate.asp

but it doesn't indicate whether it is.

I'd like to be able to set the state of the CAPLOCKs key
programmatically. i thought that perhaps with GetKeyboardState, i
could retrieve a pointer to the buffer and set the state using that
buffer....

RE: GetKeyboardState by RobertBurdickeMVP

RobertBurdickeMVP
Mon Oct 10 23:36:02 CDT 2005

You can call the Win32 version of the API with P/Invoke. There are tons of
P/Invoke sample on MSDN, Google etc
showing how to call native code from the .NET Compact Framework.

"farseer" wrote:

> Is GetKeyboardState supported in the CompactFramework?
> i looked at
> :http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboardinputfunctions/getkeyboardstate.asp
>
> but it doesn't indicate whether it is.
>
> I'd like to be able to set the state of the CAPLOCKs key
> programmatically. i thought that perhaps with GetKeyboardState, i
> could retrieve a pointer to the buffer and set the state using that
> buffer....
>
>