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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

WINHLLAPI LANGUAGE REFERENCE<br />

Function 1: Connect Presentation Space<br />

Th<strong>is</strong> function connects a WinHLLAPI application to a specified presentation space<br />

(PS). If <strong>the</strong> application already has a connection, <strong>the</strong> connected PS <strong>is</strong> automatically<br />

d<strong>is</strong>connected, <strong>and</strong> a new connection establ<strong>is</strong>hed. An exclusive connection <strong>is</strong><br />

establ<strong>is</strong>hed with WinHLLAPI between <strong>the</strong> client application program <strong>and</strong> <strong>the</strong> PS that<br />

requires <strong>the</strong> target session to be defined in <strong>the</strong> current EXTRA! configuration. An<br />

application program must call th<strong>is</strong> function before requesting any of <strong>the</strong> followingl<strong>is</strong>ted<br />

functions.<br />

Number<br />

Name<br />

2 D<strong>is</strong>connect Presentation Space<br />

3 Send Key<br />

4 Wait<br />

5 Copy Presentation Space<br />

6 Search Presentation Space<br />

7 Query Cursor Location<br />

8 Copy Presentation Space to String<br />

11 Reserve<br />

12 Release<br />

13 Copy OIA<br />

14 Query Field Attribute<br />

15 Copy String to Presentation Space<br />

30 Search Field<br />

31 Find Field Position<br />

32 Find Field Length<br />

33 Copy String to Field<br />

34 Copy Field to String<br />

40 Set Cursor<br />

Prerequ<strong>is</strong>ites<br />

Target sessions must be defined in <strong>the</strong> current EXTRA! configuration.<br />

WinHLLAPIStartup must be called prior to any o<strong>the</strong>r WinHLLAPI calls.<br />

Applicable session parameters<br />

The following session parameters from Function 9 affect th<strong>is</strong> function.<br />

WRITE_SUPER (default)<br />

Th<strong>is</strong> application requires write access <strong>and</strong> allows only superv<strong>is</strong>ory applications to<br />

connect to its PS.<br />

WRITE_WRITE<br />

Th<strong>is</strong> application requires write access <strong>and</strong> allows o<strong>the</strong>r applications that have<br />

predictable behavior to connect to its PS.<br />

WRITE_READ<br />

Th<strong>is</strong> application requires write access <strong>and</strong> allows o<strong>the</strong>r applications to use read-only<br />

functions on its PS.<br />

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

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

Saved successfully!

Ooh no, something went wrong!