| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        INPUT
         | 
     ||
| 
        
        hdbc
         | 
      
        
        long
         | 
      
        
        The connection handle. Set to 0 if the error is related to a statement and not to the connection.
         | 
     
| 
        
        hstmt
         | 
      
        
        long
         | 
      
        
        The statement handle. Set to 0 if the error is related to a statement and not to the connection.
         | 
     
| 
        
        iErrorIndex
         | 
      
        
        int
         | 
      
        
        Set to DAM_IP_ERROR to indicate an error from the IP.
         | 
     
| 
        
        iNativeError
         | 
      
        
        int
         | 
      
        
        Native error as defined by the IP.
         | 
     
| 
        
        szErrorText
         | 
      
        
        String
         | 
      
        
        The text to use in place of the standard text. Data from this buffer is copied into the error queue. Set to NULL to use the default error string.
         | 
     
| 
        
        RETURN
         | 
     ||
| 
        
        NONE
         | 
      ||