[][src]Function odbc_sys::SQLBindCol

pub unsafe extern "system" fn SQLBindCol(
    hstmt: SQLHSTMT,
    col_number: SQLUSMALLINT,
    target_type: SqlCDataType,
    target_value: SQLPOINTER,
    buffer_length: SQLLEN,
    length_or_indicatior: *mut SQLLEN
) -> SQLRETURN

Binds application data bufferst to columns in the result set.

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.