WaitEvent() in Blitz3D with userlibs

Blitz3D Forums/Blitz3D Userlibs/WaitEvent() in Blitz3D with userlibs

I'm trying to recreate the effect of WaitEvent() in Blitz3D. I don't really care about the possible events, I just want my program to be idle and not use my processor's power if I don't do anything.

I tried it using WaitForInputIdle from user32.dll, but that doesn't seem to work. Any suggestions? Think it can be done?