One Led Control with GPIO

barka
I want to open and close one led ,that is connected on GPIO interface(PORT
F-->GPF0-->EINT0-->Pin9),with two button (visual c++) under wince 6.0.

Like this example: http://www.youtube.com/watch?v=9tr2FXdrZYg


How can I do this? or How can I write this with c++?

My ce 6.0 image has GPIO
driver.(http://www.thaieasyelec.com/Free-Service-from-ThaiEasyElec/ARM9-mini2440...)



Thanks