Return Parameters

This function returns a length and a return code.
The attribute value if the screen is formatted, or 0 if the screen is unformatted.
Return Code:
The following codes are defined:
Return Code Explanation
0 The Query Field Attribute was successful.
1 Your program is not currently connected to a host session.
7 The host presentation space position is not valid.
9 A system error was encountered.
24 Attribute byte not found or unformatted host presentation space.