RE:¿Como hacer para que cierre windows?
Esto esta programado en turbo c++ 3.0
Asi que fijate los arreglos que tengas que hacerle con respecto a las funciones, pero asi y todo creo que lo ententeras, sino mandame un mail
espero que te sea util ;-)
//=====================
Para bootear en frio
#include <dos.h>
void main (void)
{
unsigned int far * Indicator;
void (far * PtrReboot) (void);
Indicator = MK_FP(0x0000,0x0472);
PtrReboot = MK_FP(0xFFFF,0x0000);
*Indicator = 0x0000;
(*PtrReboot) ();
}
//==========================
Para bootear en caliente
#include <dos.h>
void main (void)
{
unsigned int far * Indicator;
void (far * PtrReboot) (void);
Indicator = MK_FP(0x0000,0x0472);
PtrReboot = MK_FP(0xFFFF,0x0000);
*Indicator = 0x1234;
(*PtrReboot) ();
}