mvQuery(3dm) mvQuery(3dm)
NAME
mvQueryInt, mvQueryDouble, mvQueryPointer - query information about file
formats
SYNOPSIS
#include <dmedia/moviefile.h>
DMstatus mvQueryInt( int querytype, int arg1, int arg2, int arg3,
int *returnValue )
DMstatus mvQueryDouble( int querytype, int arg1, int arg2, int arg3,
double *returnValue )
DMstatus mvQueryPointer( int querytype, int arg1, int arg2, int arg3,
void *returnValue )
PARAMETER
querytype is an integer value token representing the type of query
being made.
arg1,...arg4 are integer value tokens representing the query selectors
and/or subtypes. The number of meaningful arguments to
the mvQuery routines varies with the querytype.
DESCRIPTION
mvQuery() and its associated routines are designed to allow an
application to query the movie file library for information about its
supported features.
Possible querytype values (defined in <dmedia/moviefile.h>), and their
appropriate selectors and subtypes:
MVQUERYTYPEFILEFMT Queries the supported file formats. arg1 may be the
following:
MVQUERYIDCOUNT
Request the total number of file formats supported. (int)
MVQUERYIDS
Request a list of the available file formats. (pointer)
MVQUERYTYPECOMPRESSION Queries the supported compression formats. arg1
may be the following:
Page 1
mvQuery(3dm) mvQuery(3dm)
MVQUERYIDCOUNT
Request the total number of compression formats supported by a
particular file format. arg2 must also be specified. It must
specify a valid file format. Vaild values for arg2 can be retrieved
with a file format query.
MVQUERYIDS
Request a list of the compression formats supported by a particular
file format. arg2 must also be specified. It must specify a valid
file format. Vaild values for arg2 can be retrieved with a file
format query.
SEE ALSO
mvCreateMovie(3dm), mvAddTrack(3dm), mvSetMovieDefaults(3dm), afQuery(3a)
Page 2