void trace_SQLBindParameter (int trace_leave, int retcode, SQLHSTMT StatementHandle, SQLUSMALLINT ParameterNumber, SQLSMALLINT InputOutputType, SQLSMALLINT ValueType, SQLSMALLINT ParameterType, SQLUINTEGER ColumnSize, SQLSMALLINT DecimalDigits, SQLPOINTER ParameterValuePtr, SQLLEN BufferLength, SQLLEN * Strlen_or_IndPtr) { /* Trace function */ _trace_print_function (en_BindParameter, trace_leave, retcode); /* Trace Arguments */ _trace_handle (SQL_HANDLE_STMT, StatementHandle); _trace_smallint (ParameterNumber); _trace_inouttype (InputOutputType); _trace_c_type (ValueType); _trace_sql_type (ParameterType); _trace_uinteger (ColumnSize); _trace_smallint (DecimalDigits); _trace_pointer (ParameterValuePtr); _trace_len (BufferLength); _trace_len_p (Strlen_or_IndPtr, TRACE_OUTPUT_SUCCESS); }
void trace_SQLGetData (int trace_leave, int retcode, SQLHSTMT hstmt, SQLUSMALLINT icol, SQLSMALLINT fCType, SQLPOINTER rgbValue, SQLLEN cbValueMax, SQLLEN * pcbValue) { /* Trace function */ _trace_print_function (en_GetData, trace_leave, retcode); /* Trace Arguments */ _trace_handle (SQL_HANDLE_STMT, hstmt); _trace_usmallint (icol); _trace_c_type (fCType); _trace_data (fCType, rgbValue, cbValueMax, pcbValue, TRACE_OUTPUT_SUCCESS); _trace_len (cbValueMax); _trace_len_p (pcbValue, TRACE_OUTPUT_SUCCESS); }