You need windef.h as well. Why can't you just use windows.h?