The GetSystemDir function is not supported in Win32. Win32 applications can use the GetSystemDirectory function to determine the system directory.
GetSystemDirectory