Function odbc_sys::SQLAllocHandle [] [src]

pub unsafe extern fn SQLAllocHandle(handle_type: HandleType,
                                    input_handle: SQLHANDLE,
                                    output_Handle: *mut SQLHANDLE)
                                    -> SQLRETURN

Allocates an environment, connection, statement, or descriptor handle.

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE