Speaking of 3270 and HLLAPI and all that stuff, I thought I would port over the .H file while I had some idle time...
So I recall why I stopped, most of this is pretty easy....but, the NEAR and FAR confused me:
What does this mean:
HLLPARAMS, NEAR * NPHLLPARAMS, FAR * LPHLLPARAMS;
------------------
Scott
So I recall why I stopped, most of this is pretty easy....but, the NEAR and FAR confused me:
Code:
typedef struct tagHLLParams { BYTE byAttribute; /* ATTRB or NOATTRB */ BYTE byAutoReset; /* AUTORESET or NOAUTORESET */ BYTE byConnectType; /* CONLOG or CONPHYS */ BYTE byEAB; /* EAB or NOEAB */ char cEscape; /* default '@' */ BYTE byPause; /* IPAUSE or FPAUSE */ BYTE bySearchOrigin; /* SRCHALL or SRCHFROM */ BYTE bySearchDirection; /* SRCHFORWARD or SRCHBKWD */ WORD wTimeOut; /* 0..64k */ BYTE byTrace; /* TRON or TROFF */ BYTE byWait; /* TWAIT, LWAIT, NWAIT */ BYTE byXlate; /* ASCII<->3270DC translation or not */ } HLLPARAMS, NEAR * NPHLLPARAMS, FAR * LPHLLPARAMS;
HLLPARAMS, NEAR * NPHLLPARAMS, FAR * LPHLLPARAMS;
------------------
Scott
Comment