text: /*pDoc*/ 
  /**/ 
  /*OUTPUT:*/ 
  /**/ 
  /*RETURN_CODE:*/ 
  /*0 -> Successful*/ 
  /*Otherwise -> Failed*/ 
  /**/ 
  /** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****/ 
  typedef struct_ArsCSXitPrepExit 
  { 
   char*pUserid; /*Logged on userid*/ 
   char*pInFileName; /*File name for document data*/ 
   char OutFileName[ARCCSXIT_PATH_MAX + 1]; 
   /*File name for modified data*/ 
   char*pUserParms; /*User defined parms from appl*/ 
   ArcCSXitApplGroup*pApplGrp; /*Appl Grp info*/ 
   ArcCSXitAppl*pAppl; /*Application info*/ 
   ArcCSXitDoc*pDoc; /*Doc handle, field info*/ 
   char*instance; /*OD Instance name*/ 
  } ArsCSXitPrepExit; 
  
  ArcI32 
  ARSCSXIT_EXPORT 
  ARSCSXIT_API 
  PREPEXIT( ArsCSXitPrepExit*prep ); 
  
  For example, you can arrange it so that when a user retrieves a document from a particular 
  application group, you can check the name of the account number (the indexes from the Doc 
  handle) and place a watermark for that document. When the document is retrieved by the 
  user, the user sees the document with the watermark. 