fix resume not support in midi file in win32