Chapter 20. WH_JOURNALPLAYBACK

Chapter 19 discussed the WH_JOURNALRECORD hook and how you can use it to record mouse and keyboard input messages. This chapter will cover the WH_JOURNALPLAYBACK hook, which is the counterpart to the WH_JOURNALRECORD hook that you can use to play back mouse and keyboard messages. After discussing the WH_JOURNALPLAYBACK hook, I will demonstrate how you can use this hook to finish the macro recorder example application that we began in Chapter 19.

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.