home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddesampl.zip / CLIENT.H < prev    next >
Text File  |  1993-11-09  |  1KB  |  32 lines

  1. /*
  2.  *    Copyright (C) 1993 IBM Corporation
  3.  *
  4.  *    DISCLAIMER OF WARRANTIES.  The following [enclosed] code is sample
  5.  *    code created by IBM Corporation.  This sample code is not part of
  6.  *    any standard or IBM product and is provided to you solely for the
  7.  *    purpose of assisting you in the development of your applications.
  8.  *    The code is provided "AS IS", without warranty of any kind.
  9.  *    IBM shall not be liable for any damages arising out of your
  10.  *    use of the sample code, even if they have been advised of the
  11.  *    possibility of such damages.
  12.  */
  13.  
  14. /* Maximum string sizes for various names and text */
  15.  
  16. #define    CV_MAXDDENAME        64        /* arbritary max sizes */
  17. #define    CV_MAXTOPICNAME        64        /* not defined by protocol */
  18.  
  19. /* Default DDE communications parameters */
  20.  
  21. #define    CV_DDEAPPNAME        "PlantWorks"
  22. #define    CV_DDETOPIC        "Interface"
  23. #define    CV_DDEITEMSG        "Quote"
  24.  
  25. /* struct def */
  26.  
  27. typedef struct _DDECONV
  28. {
  29.     CHAR    szDDEServerName[ CV_MAXDDENAME ];
  30.     CHAR    szDDETopicName[ CV_MAXDDENAME ];
  31. }    DDECONV;
  32.