clGetMinMax(3dm)                                              clGetMinMax(3dm)


NAME
     clGetMinMax - Get minimum and maximum values for a parameter

SYNOPSIS
     #include <dmedia/cl.h>

     int clGetMinMax(CLhandle handle, int paramID, int *minPtr, int *maxPtr)

ARGUMENTS
     handle         A handle to a compressor or decompressor.

     paramID        The parameter identifier.

     minPtr         A pointer to an int where the minimum value will be
                    written.

     maxPtr         A pointer to an int where the maximum value will be
                    written.

DESCRIPTION
     clGetMinMax gets the minimum and maximum values for a parameter.

RETURN VALUE
     clGetMinMax returns SUCCESS, or a negative error code on failure.


EXAMPLE
          #include <dmedia/cl.h>
           ...
          int min, max;

          clOpenDecompressor(scheme, &handle);
          clGetMinMax(handle, CL_FORMAT, &min, &max);
           ...


SEE ALSO
     CLintro(3dm), clQueryParams(3dm), clGetDefault(3dm), clGetName(3dm)


                                                                        Page 1