nlock( dummyHandle );

  /* Return success */
  return( 1 ) ;
}

/* Save and Close the file */
@method CloseDocument, MyViewerDialogClass, MSG_MVD_CLOSE_DOCUMENT {
  /* Our code calls this message when it wants to close a document.  */
  /* The handler gets the current data from the document display UI, 
     saves this data to the document file, and closes the document file. */
  WWFixedAsDWord *theBuffer;
  VMBlockHandle  theBlock;
  MemHandle      dummyHandle;
  optr           someObject;

  /* We've pre