#include <dos.h>
void main()
{
union REGS inr, out;
int86(0x19, &inr,&outr);
}
When I compile, it errors at union REGS inr, outr, saying "aggregate 'REGS inr' has".
Am I missing something? Also, what different parameters are available for int86? I'd like to logoff or shutdown the system as well and wonder if different parameters will do this. For example, I've seen 25 as an int86 parameter. It reboots the machine, but I don't know the difference between it and 0x19. Any ideas?
void main()
{
union REGS inr, out;
int86(0x19, &inr,&outr);
}
When I compile, it errors at union REGS inr, outr, saying "aggregate 'REGS inr' has".
Am I missing something? Also, what different parameters are available for int86? I'd like to logoff or shutdown the system as well and wonder if different parameters will do this. For example, I've seen 25 as an int86 parameter. It reboots the machine, but I don't know the difference between it and 0x19. Any ideas?