Use teb->tibflags instead of teb->flags (for Win95 USER32 compatibility). Removed unused thread event.
Attach a file by drag & drop or click to upload