RETURN_SUCCESS

Return status codes

Values

ValueMeaning
RETURN_SUCCESS0

The operation completed successfully.

RETURN_LOAD_ERRORENCODE_ERROR!(1)

The image failed to load.

RETURN_INVALID_PARAMETERENCODE_ERROR!(2)

The parameter was incorrect.

RETURN_UNSUPPORTEDENCODE_ERROR!(3)

The operation is not supported.

RETURN_BAD_BUFFER_SIZEENCODE_ERROR!(4)

The buffer was not the proper size for the request.

RETURN_BUFFER_TOO_SMALLENCODE_ERROR!(5)

The buffer was not large enough to hold the requested data. The required buffer size is returned in the appropriate parameter when this error occurs.

RETURN_NOT_READYENCODE_ERROR!(6)

There is no data pending upon return.

RETURN_DEVICE_ERRORENCODE_ERROR!(7)

The physical device reported an error while attempting the operation.

RETURN_WRITE_PROTECTEDENCODE_ERROR!(8)

The device can not be written to.

RETURN_OUT_OF_RESOURCESENCODE_ERROR!(9)

The resource has run out.

RETURN_VOLUME_CORRUPTEDENCODE_ERROR!(10)

An inconsistency was detected on the file system causing the operation to fail.

RETURN_VOLUME_FULLENCODE_ERROR!(11)

There is no more space on the file system.

RETURN_NO_MEDIAENCODE_ERROR!(12)

The device does not contain any medium to perform the operation.

RETURN_MEDIA_CHANGEDENCODE_ERROR!(13)

The medium in the device has changed since the last access.

RETURN_NOT_FOUNDENCODE_ERROR!(14)

The item was not found.

RETURN_ACCESS_DENIEDENCODE_ERROR!(15)

Access was denied.

RETURN_NO_RESPONSEENCODE_ERROR!(16)

The server was not found or did not respond to the request.

RETURN_NO_MAPPINGENCODE_ERROR!(17)

A mapping to the device does not exist.

RETURN_TIMEOUTENCODE_ERROR!(18)

A timeout time expired.

RETURN_NOT_STARTEDENCODE_ERROR!(19)

The protocol has not been started.

RETURN_ALREADY_STARTEDENCODE_ERROR!(20)

The protocol has already been started.

RETURN_ABORTEDENCODE_ERROR!(21)

The operation was aborted.

RETURN_ICMP_ERRORENCODE_ERROR!(22)

An ICMP error occurred during the network operation.

RETURN_TFTP_ERRORENCODE_ERROR!(23)

A TFTP error occurred during the network operation.

RETURN_PROTOCOL_ERRORENCODE_ERROR!(24)

A protocol error occurred during the network operation.

RETURN_INCOMPATIBLE_VERSIONENCODE_ERROR!(25)

A function encountered an internal version that was incompatible with a version requested by the caller.

RETURN_SECURITY_VIOLATIONENCODE_ERROR!(26)

The function was not performed due to a security violation.

RETURN_CRC_ERRORENCODE_ERROR!(27)

A CRC error was detected.

RETURN_END_OF_MEDIAENCODE_ERROR!(28)

The beginning or end of media was reached.

RETURN_END_OF_FILEENCODE_ERROR!(31)

The end of the file was reached.

RETURN_INVALID_LANGUAGEENCODE_ERROR!(32)

The language specified was invalid.

RETURN_COMPROMISED_DATAENCODE_ERROR!(33)

The security status of the data is unknown or compromised and the data must be updated or replaced to restore a valid security status.

RETURN_WARN_UNKNOWN_GLYPHENCODE_WARNING!(1)

The string contained one or more characters that the device could not render and were skipped.

RETURN_WARN_DELETE_FAILUREENCODE_WARNING!(2)

The handle was closed, but the file was not deleted.

RETURN_WARN_WRITE_FAILUREENCODE_WARNING!(3)

The handle was closed, but the data to the file was not flushed properly.

RETURN_WARN_BUFFER_TOO_SMALLENCODE_WARNING!(4)

The resulting buffer was too small, and the data was truncated to the buffer size.

RETURN_WARN_STALE_DATAENCODE_WARNING!(5)

The data has not been updated within the timeframe set by local policy for this type of data.

Meta