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
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 14: Query Field Attribute<br />
Th<strong>is</strong> function returns <strong>the</strong> field attribute byte for <strong>the</strong> PS position.<br />
The returning parameter contains <strong>the</strong> field attribute for <strong>the</strong> specified PS position. The<br />
value of <strong>the</strong> attribute byte <strong>is</strong> C0-DF (unprotected field attributes) <strong>and</strong> E0-FF<br />
(protected attributes). A zero attribute means that no field attribute was found in <strong>the</strong><br />
PS.<br />
Prerequ<strong>is</strong>ites<br />
Function 1, “Connect Presentation Space.”<br />
Applicable session parameters<br />
None.<br />
Call parameters<br />
An application program must pass <strong>the</strong> following parameters when calling th<strong>is</strong><br />
function:<br />
Function 14<br />
Data string<br />
Data length<br />
Not applicable.<br />
Not applicable.<br />
PS position<br />
.<br />
Return parameters<br />
The PS position for which field information <strong>is</strong> wanted<br />
Attribute value<br />
Function replaces <strong>the</strong> value of call parameter Data length with <strong>the</strong> attribute byte for<br />
<strong>the</strong> specified field. If zero, <strong>the</strong> PS <strong>is</strong> unformatted <strong>and</strong> no attribute can be returned.<br />
3270 Field attribute<br />
Bit Meaning<br />
0-1 Both = 1, field attribute value<br />
2 0 = unprotected; 1 = protected<br />
3 0 = alphanumeric; 1 = numeric only<br />
4-5 00 = normal intensity, not pen detectable<br />
01 = normal intensity, pen detectable<br />
10 = high intensity, pen selectable<br />
11 = nond<strong>is</strong>play, not pen detectable<br />
6 Reserved<br />
Prep<strong>are</strong>d by <strong>Attachmate</strong> Technical Support 44