| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        INPUT
         | 
     ||
| 
        
        hLogExp
         | 
      
        
        long
         | 
      
        
        The logical expression handle.
         | 
     
| 
        
        OUTPUT
         | 
     ||
| 
        
        piType
         | 
      
        
        xo_int
         | 
      
        
        The type of the logical expression:
        
       
        SQL_EXP_COND - simple condition
        
       
        SQL_EXP_AND - AND expression
        
       
        SQL_EXP_OR - OR expression
        
       
        SQL_EXP_NOT - NOT expression
         | 
     
| 
        
        phLeftLogExp
         | 
      
        
        long
         | 
      
        
        The handle to the left logical expression. This value is set when the type of the input logical expression is SQL_EXP_AND, SQL_EXP_OR, SQL_EXP_NOT.
         | 
     
| 
        
        phRightLogExp
         | 
      
        
        long
         | 
      
        
        The handle to the right logical expression. This value is set when the type of the input logical expression is SQL_EXP_AND, SQL_EXP_OR.
         | 
     
| 
        
        phCond
         | 
      
        
        long
         | 
      
        
        The handle to the condition. This value is set when the type of the input logical expression is SQL_EXP_COND.
         | 
     
| 
        
        RETURN
         | 
     ||
| 
        
        int
         | 
      
        
        DAM_SUCCESS - on successDAM_FAILURE - on failure
         | 
     |