Function odbc_sys::SQLGetConnectAttrW
source · pub unsafe extern "system" fn SQLGetConnectAttrW(
connection_handle: HDbc,
attribute: ConnectionAttribute,
value_ptr: Pointer,
buffer_length: Integer,
string_length_ptr: *mut Integer
) -> SqlReturn
Expand description
Returns the current setting of a connection attribute.
buffer_length
: is either buffer length or one ofcrate::IS_POINTER
,crate::IS_UINTEGER
,crate::IS_INTEGER
,crate::IS_USMALLINT
orcrate::IS_SMALLINT
.
Returns
SUCCESS
, ERROR
, SQL_NO_DATA
, or INVALID_HANDLE
.