teBlock = MemAlloc( sizeof( TVState ), 
                         (HF_DYNAMIC | HF_SHARABLE) ,
                         HAF_LOCK ); 
  theBuffer = MemDeref( stateBlock );

  /* Retrieve data from objects and write it to the block */
  theBuffer-&gt;TVS_doc.DI_docDir = pself-&gt;MVDI_docStash.DI_docDir;
  strncpy( theBuffer-&gt;TVS_doc.DI_docName, 
           pself-&gt;MVDI_docStash.DI_docName, 
           FILE_LONGNAME_BUFFER_SIZE );
  theBuffer-&gt;TVS_sumNum = pself-&gt;MVDI_sumNum;
  someObject = Construc