home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ocl150a.zip / OCL / Samples / Balloons / Source / balloons.hpp < prev    next >
Text File  |  1996-08-12  |  568b  |  27 lines

  1. // OCL Sample Balloons
  2. // common header for server and client
  3.  
  4.  
  5.  
  6. typedef struct _PIPE_MSG
  7. {
  8.  USHORT  Type;
  9.  USHORT  Data;
  10. } PIPEMSG,  *PPIPEMSG;
  11.  
  12.  
  13. #define BALL_PIPE "\\PIPE\\BALLOONS.PIP"
  14. #define BALL_SEM "\\SEM32\\BALLOONS.SEM"
  15.  
  16. // Messages
  17.  
  18. #define PIPE_CLIENT_EXIT      WM_USER+1
  19. #define PIPE_START_BALLOONS   WM_USER+2
  20. #define PIPE_STOP_BALLOONS    WM_USER+3
  21. #define PIPE_STOP_CLIENT      WM_USER+4
  22. #define PIPE_SET_NUM          WM_USER+5
  23. #define PIPE_SET_SPEED        WM_USER+6
  24. #define PIPE_SERVER_EXIT      WM_USER+7
  25.  
  26. // end of source 
  27.