| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        IN
         | 
      ||
| 
        
        hdbc
         | 
      
        
        DAM_HDBC
         | 
      
        
        The connection handle. Set to NULL if the error is related to a statement and not to the connection.
         | 
     
| 
        
        hstmt
         | 
      
        
        DAM_HSTMT
         | 
      
        
        The statement handle. Set to NULL if the error is related to a connection.
         | 
     
| 
        
        sSqlState
         | 
      
        
        char *
         | 
      
        
        Five-character string representing the SQL state portion of the error.
         | 
     
| 
        
        iNativeError
         | 
      
        
        int
         | 
      
        
        Native error as defined by the IP.
         | 
     
| 
        
        szErrorText
         | 
      
        
        char *OAWCHAR *
         | 
      
        
        Message text. Data from this buffer is copied into the error queue.
         | 
     
| 
        
        RETURN
         | 
      ||
| 
        
        NONE
         |