#ifdef EXTENDED_WMODE (not currently used)