INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_lo_validate()

The mi_lo_validate() function checks whether a given LO handle is valid.

Syntax

Usage

The mi_lo_validate() checks whether the LO handle that LO_hdl references is valid. An LO handle might be invalid for any of the following reasons:

You can use the mi_lo_validate() function in the support function of an opaque data type that contains smart large objects. In the lohandles() support function, this function can determine unambiguously which LO handles are valid for the given instance of the opaque type.

If mi_lo_validate() fails due to an invalid connection, callbacks are invoked.

Return Values

0

The LO handle that LO_hdl references is valid.

>0

The LO handle that LO_hdl references is invalid.

MI_ERROR

The connection was invalid.

Related Topics

See the description of the mi_lo_invalidate() function.

In Chapter 3, "Handling Smart Large Objects," see "Validating an LO Handle".




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.