Use the GetWindowsDirectory API.