Right - I'm working on the EventVBification of the WH_JOURNALPLAYBACK hook.

This hook takes two completely different kinds of input - either a mouse event which has an x and a y and a mouse message type or a keyboard event that has a VKey and a scancode and a keyboard message type.

The question is which is the better way of implementing this:
(a) Have each firing of the WH_JOURNALPLAYBACK message trigger two events - first one that takes mouse parameters and (if no mouse parameters are forthcoming) one that takes keyboard parameters

or:-

(b) Have an intermediate class (ApiMsg) which can be filled with either a mouse message or a keyboard message and fire one event that requires this class to be filled.

Any thoughts?

Thanks in advance,
Duncan