The message type for index marks is defined as:
For Callback Routine:
uiID_Index_Message = TTS_MSG_INDEX_MARK;
For Window Messages:
uiID_Index_Message =
RegisterWindowMessage("DECtalkIndexMessage");
The LPARAM parameter contains the index mark value. Note that the index mark information can also be returned in the Buffer Message. This happens when the text-to-speech system is in the speech-to-memory mode, due to the TextToSpeechOpenInMemory call.