To have your program set the system IPL mode to automatic, use the API SetIPLModeAuto (use the uppercase and lowercase shown).
To use 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 2 => Key not inserted |
16-bit additional data length N = 0 | Not applicable |