next up previous contents
Next: miget_volume_dimension_count Up: VOLUME FUNCTIONS (6) Previous: micreate_volume_image   Contents

micreate_volume

NAME

micreate_volume - create a volume with the specified properties

SYNOPSIS

#include <minc2.h>

int micreate_volume ( const char        *filename,
                      int               number_of_dimensions,
                      midimhandle_t     dimensions[],
                      mitype_t          volume_type,
                      miclass_t         volume_class,
                      mivolumeprops_t   create_props,
                      mihandle_t        *volume)

DESCRIPTION

Create a volume with the specified filename, data type, dimension handles,
type, class and compression type.

RETURN VALUE

micreate_volume returns MI_NOERROR if it successfully creates a
volume with all the specified properties and MI_ERROR otherwise



Robert VINCENT 2005-03-09