int error = Sleep(lua_State *L, int ms);
ERR_USERABORTso that Hollywood can shutdown.
Sleep() is an optional API and must only be implemented if
HWSDAFLAGS_SLEEP has been
passed to hw_SetDisplayAdapter(). See hw_SetDisplayAdapter for details.
Note that when compiling for 64-bit Windows, this function must be called
instead. Otherwise there will be clashes with the function of the same name from
On 32-bit Windows this isn't a problem because 32-bit Windows uses decorated function exports.