H5P_GET_FILTER2 returns information about a filter, specified by its filter number, in a filter pipeline, specified by the property list with which it is associated.
plist_id must be a dataset or group creation property list.
idx is a value between zero and N-1, as described in H5P_GET_NFILTERS. The function will return a negative value if the filter number is out of range.
The structure of the
flags argument is discussed in H5P_SET_FILTER.
cd_nelmts indicates the number of entries in the
cd_values array, as allocated by the caller; on return,
cd_nelmts contains the number of values defined by the filter.
name is a pointer to an array of at least
namelen bytes, the filter name will be copied into that array. The name will be null terminated if
namelen is large enough. The filter name returned will be the name appearing in the file, the name registered for the filter, or an empty string.
filter_config is the bit field described in H5Z_GET_FILTER_INFO.