Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
MmInitialize

MmInitialize

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

MmInitialize()

Initialize the Multimedia library

Synopsis:

int32_t MmInitialize(const char *addon_path);

Arguments:

addon_path
The path to multimedia DLLs that the library searches on initialization. Set to NULL to use the default /lib/dll/mmedia.

Library:

mmedia

Description:

This function initializes the Multimedia library libmmedia. When the Multimedia library is initialized, every DLL in the multimedia directory is examined for its interfaces symbol. To reduce start-up time for a multimedia application, you should put all multimedia DLLs in the default multimedia directory (/lib/dll/mmedia) rather than in /lib/dll.

Returns:

0
Success.
-1
An error occurred.

Examples:

  // Initialize the Multimedia library with its default filters:

  MmInitialize(NULL);

  // Initialize the Multimedia library to load the filters in
  // /usr/local/lib/filters/

  MmInitialize("/usr/local/lib/filters");

Classification:

Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

MmCreateGraph()