You can have your program start the dedicated service tool (DST) on the primary or alternative console. To do this, use the API StartDST (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 4 => Not in Manual mode 16 => System powered Off |
16-bit additional data length N = 0 | Not applicable |