ulreturns (ULONG) - returns

      A network driver is not limited to just these errors. Network drivers will return the following errors when they occur, but other error numbers can be returned for errors not listed.

      EXIT_SUCCESS(0)

        No errors encountered.
      ERROR_ACCESS_DENIED(5)
        Access denied.
      ERROR_NOT_ENOUGH_MEMORY(8)
        Not enough storage available to process this function.
      ERROR_BAD_NETPATH(53)
        The network path was not found.
      ERROR_BAD_DEV_TYPE(66)
        This network device type is incorrect.
      ERROR_BAD_NET_NAME(67)
        This network name cannot be found.
      ERROR_ALREADY_ASSIGNED(85)
        Duplicate redirection.
      ERROR_INVALID_PARAMETER(87)
        The specified parameter is invalid.
      ERROR_NETWORK_NOT_FOUND(241)
        The specified network is invalid.
      MSG_ERROR_LOCAL_DRIVE(2405)
        The drive is in local use.


      [Back: NetworkAddConnection Parameter - flType]
      [Next: NetworkAddConnection - Parameters]