To have your program set the system IPL mode to manual, use the API SetIPLModeManual (use the uppercase and lowercase shown).
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 |