Common Desktop Environment: ToolTalk Messaging Overview

Writing a Media Load Pattern Callback

There is one step you need to perform before you code your editor application to include any ToolTalk functions: you need to write a media load pattern callback routine. For example,

Tt_message CoEditor::loadISOLatin1_(     Tt_message       msg,     void              *pWidget,
     Ttttk_op          op,     Tt_status        diagnosis,     unsigned char     *contents,
     int               len,     char              *file,     char              *docname   )

This callback is passed to the media load function at runtime.