Return Parameters

This function returns a data string and a return code.
Data String:
A data string of 35 bytes (for 16–bit) or 36 bytes (for 32–bit) is returned. The bytes are defined as follows:

Byte Definition
Standard Enhanced  
1 1 EHLLAPI version number
2–3 2–3 EHLLAPI level number
4–9 4–9 Reserved
10–12 10–12 Reserved
13 13 Hardware base, U=Unable to determine
14 14 Program type, where P=IBM Personal Communications
15–16 15–16 Reserved
17–18 17–18 Personal Communications version/level as a 2-byte ASCII value
19 19 Reserved
20–23 20–23 Reserved
24–27 24–27 Reserved
28–29 28–29 Reserved
  30 Reserved
30–31 31–32 NLS type expressed as a 2-byte binary number
33–35 34–36 Reserved
32 33 1-byte printable ASCII code representing type of monitor being used as follows:
  • A=Personal System/2 Monochrome
  • B=Personal System/2 Monochrome Model 30
  • C=CGA
  • E=EGA
  • G=MCGA
  • H=XGA
  • M=Monochrome
  • V=VGA
  • U=Unknown
Note:
This value is only returned when running Personal Communications for OS/2.