home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / JUMP.ZIP / JUMP.H < prev    next >
Text File  |  1991-08-16  |  1KB  |  31 lines

  1. #define JUMP_SEM_NAME ("\\SEM\\jump3270.sem")
  2. #define DIE_SEM_NAME ("\\SEM\\jumpdie.sem")
  3.  
  4.   /* parameters passed to EHLLAPI  */
  5.   int         function;         /* hllapi function number */
  6.   char        hll_str[16];      /* hllapi string */
  7.   char        hdata_str[3840];  /* hllapi string */
  8.   int         str_len;          /* hllapi string length */
  9.   int         hll_rtc;          /* hllapi return code */
  10.  
  11.  /* structure needed for the EHLLAPI PM Window service calls */
  12.  struct ServiceData {
  13.                     char session;
  14.                     char option;
  15.                     unsigned int  request;
  16.                     unsigned int  xwinpos;
  17.                     unsigned int  ywinpos;
  18.                     unsigned int  xwinsize;
  19.                     unsigned int  ywinsize;
  20.                     unsigned long placement;
  21.                     };
  22. struct ServiceData far *fptr;
  23.  
  24. /* function prototypes */
  25.  
  26. extern void far pascal hllapi(int far *,char far *,int far *,int far *);
  27. void    GetSessions(PSZ);
  28. void    SelectSession(PSZ,char *,char *);
  29. void    MaximizeNextSession(char);
  30. void    MinimizePreviousSession(char);
  31.