The GetCurrentTask function has been deleted.
Win32 applications should use the GetCurrentThread or GetCurrentProcess functions.