PE_TERMINATED

Generated by the pen driver component of the system when pen input terminates. Submessage of WM_PENEVENT.

Parameters

wParam

PE_TERMINATED.

lParam

Extra information encapsulating a reason for termination and the current HPCM. Applications can use the TerminationFromWpLp and HpcmFromWpLp macros to retrieve these values.

Comments

When an application receives the PE_TERMINATED message, collection has already terminated and the HPCM handle returned from StartPenInput1AOCU6 has become invalid. PE_TERMINATED indicates an application should perform such tasks as final results processing, repainting, and cleanup.

See Also

WM_PENEVENT