| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        IN
         | 
      ||
| 
        
        hquery
         | 
      
        
        DAM_HQUERY
         | 
      
        
        The query handle.
         | 
     
| 
        
        OUT
         | 
      ||
| 
        
        piUnionType
         | 
      
        
        int *
         | 
      
        
        Indicates if UNION is specified as UNION ALL. Valid value are:
        
        | 
     
| 
        
        phUnionQuery
         | 
      
        
        DAM_HQUERY *
         | 
      
        
        Handle to the UNION query. Returns NULL if query does not have a UNION.
         | 
     
| 
        
        RETURN
         | 
      ||
| 
        
        int
         | 
      
        
        DAM_SUCCESS - on success
        
       
        DAM_FAILURE - on failure
         |