Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Capture global events in wce

4 views
Skip to first unread message

AtChangedHand

unread,
Aug 30, 2007, 9:56:00 AM8/30/07
to
Hi all!

My goal is to monitorize global events like mouse or keyboard events.

I use a low-level keyboard hook to get keyboard input by using the
SetWindowsHookEx function with WH_KEYBOARD_LL and it works perfectly, but
when I use SetWindowsHookEx with WH_JOURNALPLAYBACK or WH_JOURNALRECORD
returned an error 87 (incorrect parameter).

I don't know how QASetWindowsJournalHook function works because it don't
appears in msdn documentation, but I see that somebody talks about it in some
forums.

Someone can help me, and knows how QASetWindowsJournalHook works or how I
can capture mouse events and the position (x,y) where the user pushes
the screen?

Thanks in advance.

Paul G. Tobey [eMVP]

unread,
Aug 30, 2007, 4:23:54 PM8/30/07
to
I didn't know that QASetWindowsJournalHook even existed, but it looks like
you should be able to use it to see the event stream. You'd call it just
like SetWindowsHookEx on the desktop for the journal record case,
WH_JOURNALRECORD, etc. Here's a thread in pocketpc.developer about it that
has the declarations:

http://groups.google.com/group/microsoft.public.pocketpc.developer/browse_thread/thread/a28f9704fd875fdd/a0e916e4d087e487?lnk=st&q=&rnum=2&hl=en#a0e916e4d087e487

Paul T.

"AtChangedHand" <AtChan...@discussions.microsoft.com> wrote in message
news:00BC5254-BB08-41DC...@microsoft.com...

0 new messages