All the calls except NetCleanup and NetFree return a status-code which, when nonzero, indicates an error with the call. A string representation of the error may be obtained by calling NetGetError; free the error-pointer returned by NetGetError with NetFree.
status-code is a numeric item, at least 3 digits in length.