Getting input in PocketPC

how can I tell if a button is pressed?
and what button was it?
if I use GAPI, so I need to use the messege queue(WM_KEYDOWN), and it's not good for me...
is there another way doing this?
and what button was it?
if I use GAPI, so I need to use the messege queue(WM_KEYDOWN), and it's not good for me...
is there another way doing this?