A notepad window that skreeks like a bat
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
extern void MessageBoxA(int, char*, char*, int);
|
||||
#include "batclip.h"
|
||||
// #include <windows.h>
|
||||
|
||||
extern void PlaySound(char* sound, void* exe, int flags);
|
||||
extern void SleepEx(int milliseconds, int alertable);
|
||||
|
||||
void wWinMainCRTStartup() {
|
||||
MessageBoxA(0, "Hello, world!", "Hello, world!", 0);
|
||||
while (1) {
|
||||
PlaySound(&batclip_wav, 0, 0x04); // SND_MEMORY
|
||||
SleepEx(1000, 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user