home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Collection - Online Library - January 1996 / CKITOS2196.ISO / diskette / gg244090.dsk / unc.dsk / CHAPTER.09 / MBOX.IDL < prev    next >
Text File  |  1993-09-17  |  762b  |  33 lines

  1. /*
  2.  * Interface Definition File for the MessageBox Example
  3.  */
  4.  
  5. [
  6.         uuid(003597CE-8E8D-1BFB-A052-10005A4F3057),
  7.         version(2.0)
  8. ]
  9.  
  10. interface MessageBox
  11. {
  12.         const long MAX_CHAR             = 255;
  13.  
  14.         typedef [string] char           string_t[MAX_CHAR];
  15.  
  16.         long int mbox_new (
  17.                 [in] handle_t           bh,
  18.                 [in] string_t           principal
  19.         );
  20.  
  21.         long int mbox_append (
  22.                 [in] handle_t           bh,
  23.                 [in] string_t           principal,
  24.                 [in] string_t           message
  25.         );
  26.  
  27.         long int mbox_next (
  28.                 [in] handle_t           bh,
  29.                 [out] string_t          message
  30.         );
  31.  
  32. }
  33.