VPEND_PENPLAYSTART

Sets up the virtual pen driver to replace the current stream of pen packets from the tablet with pen packets stored in an array of pen packets.

lParam1

Pointer to a DWORD to receive a time stamp when play stops.

lParam2

Set to either PLAY_VERSION_10_DATA or PLAY_VERSION_20_DATA, which indicates the size and structure of the pen packets that are to be played back.

The VPEND_PENPLAYSTART message handler saves the two parameter values in global variables, sets a global variable that indicates the virtual pen driver is in playback mode, and then calls cOEM_API_Proc with a message that turns on tablet interrupts so the stream of pen packets from the tablet continues to flow.