[Haskell-beginners] Windows API and FFI

iæfai iaefai at me.com
Fri Nov 20 02:58:30 EST 2009


I have a specific function that I would like to get info to allow me to accept clicks into the cmd.exe window.

The function seems to be here:

http://msdn.microsoft.com/en-us/library/ms684961(VS.85).aspx

One of the parameters is this: A pointer to an array of INPUT_RECORD structures that receives the input buffer data. The total size of the array required will be less than 64K.

There are in and out parameters for this function. I have never done anything like this before, and was hoping this is done somewhere, or it is fairly easy to do.

Any help would be appreciated.

- iæfai.


More information about the Beginners mailing list