25.10.2014 Views

are registered trademarks, the Attachmate logo is a trademark and

are registered trademarks, the Attachmate logo is a trademark and

are registered trademarks, the Attachmate logo is a trademark and

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

WINHLLAPI LANGUAGE REFERENCE<br />

Result code<br />

Function replaces <strong>the</strong> value of call parameter PS position with one of <strong>the</strong> following<br />

codes:<br />

Code<br />

Description<br />

0 OIA data were copied; PS <strong>is</strong> unlocked.<br />

1 The application <strong>is</strong> not connected to a valid PS.<br />

2 Data string length specified was not valid.<br />

4 OIA data were copied, but <strong>the</strong> PS <strong>is</strong> busy.<br />

5 OIA data were copied, but <strong>the</strong> keyboard <strong>is</strong> locked.<br />

9 A system error occurred.<br />

Example<br />

WORD HllFunc = 13;<br />

char HllDataStr[103];<br />

/* Length of allocated data <strong>are</strong>a */<br />

WORD HllDataLgth = 103;<br />

WORD PsPos;<br />

WinHLLAPI(&HllFunc, HllDataStr, &HllDataLgth, &PsPos);<br />

Prep<strong>are</strong>d by <strong>Attachmate</strong> Technical Support 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!