[Bug 505] Convert HWAVEOUT to a void* (references: 15)