This modified version of the kernel32!CreateFile* APIs prevents an application from using the FILE_FLAG_OVERLAPPED flag if ...

This modified version of the kernel32!CreateFile* APIs prevents an application from using the FILE_FLAG_OVERLAPPED flag if the application doesn't handle it correctly. This could perhaps be rolled into a layer shim: Win9x ignores this flag for disk types.