Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

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()