home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
JUMP.ZIP
/
JUMP.H
< prev
next >
Wrap
Text File
|
1991-08-16
|
1KB
|
31 lines
#define JUMP_SEM_NAME ("\\SEM\\jump3270.sem")
#define DIE_SEM_NAME ("\\SEM\\jumpdie.sem")
/* parameters passed to EHLLAPI */
int function; /* hllapi function number */
char hll_str[16]; /* hllapi string */
char hdata_str[3840]; /* hllapi string */
int str_len; /* hllapi string length */
int hll_rtc; /* hllapi return code */
/* structure needed for the EHLLAPI PM Window service calls */
struct ServiceData {
char session;
char option;
unsigned int request;
unsigned int xwinpos;
unsigned int ywinpos;
unsigned int xwinsize;
unsigned int ywinsize;
unsigned long placement;
};
struct ServiceData far *fptr;
/* function prototypes */
extern void far pascal hllapi(int far *,char far *,int far *,int far *);
void GetSessions(PSZ);
void SelectSession(PSZ,char *,char *);
void MaximizeNextSession(char);
void MinimizePreviousSession(char);