#include <stdio.h>
#include <conio.h>
#include <dos.h>
void shutdown()
{
asm Mov AX, 5301h
asm Xor BX, BX
asm Int 15h
asm Mov AX, 530Eh
asm Xor BX, BX
asm Mov CX, 102h
asm Int 15h
asm Mov AX, 5307h
asm Mov BX, 1
asm Mov CX, 3
asm Int 15h
}
int main()
{
printf("Press any key to power off...");
getch();
shutdown();
}
联系客服