Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/addon/ao/aofindmime.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/addon/ao/aofindmime.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/addon/ao/aofindmime.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/addon/ao/aofindmime.html on line 8

AoFindMime()

Find a control with the best rating for a mimetype

Synopsis:

#include <aoi.h>

const AOICtrl_t *AoFindMime(const char *mimetype,
                            int32_t *rating,
                            const char *interface,
                            int32_t version);

Arguments:

mimetype
The mimetype for which you want to find the best rated control.
rating
A pointer to where the function stores the rating, from 0 to 100, of how well the returned control can handle the mimetype.
interface
The interface that the returned control must contain.
version
The minimum version of the interface that the returned control must contain.

Library:

libaoi.so

Description:

This function finds the control that has an AOMimetypeInspector interface that returns the best rating for the given mimetype, and has the given interface and version, if specified.

Returns:

A AOICtrl_t control that meets the search criteria, or NULL if no AOI control is found.

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

AoFindExt(), AoFindFormats(), AoFindName(), AoFindStreams() AOICtrl_t


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/addon/ao/aofindmime.html on line 115

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/addon/ao/aofindmime.html on line 115