A notepad window that skreeks like a bat

This commit is contained in:
2025-04-25 19:58:24 -07:00
parent cc2d7dc9bf
commit f5cb818123
17 changed files with 452 additions and 11 deletions

View File

@@ -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);
}
}