Messages are identified by the member field wType. Currently RTPEG-32 reserves the first 8000h message wType values for internal messages, which leaves message values 8000h through FFFFh available for user definition. Peg.hpp provides a #define indicating the first message value which is available for user definition. This #define is called FIRST_USER_MESSAGE.