Extended winapi with desktop refresh, coreaudio, sendkeys, and setforeground