Getting the IPL type
To find out the system IPL type, you can use the GetIPLType API (use the uppercase and lowercase shown).
There are no restrictions to the use of this command.
This API returns the following information:
Bytes 0 and 1 Bytes 2 and 3 Bytes 4 through 4+N 16-bit return code 0 = Command successful
1 = Command unsuccessful
16-bit additional data length N N = size of ASCII return value (does not count end of string NULL)
A or B or C or D
Parent topic:
APIs that check the system status