GetError ($code)
code
Gets the last error caused by a Win32 network call and saves it in the variable named by code.