[][src]Function odbc_sys::SQLAllocHandle

pub unsafe extern "system" 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