![]() |
![]() |
![]() |
![]() |
Load an image for a file
#include <mme/mme.h> int mme_metadata_image_load( mme_metadata_session_t *session, uint64_t mdinfo_rid, unsigned image_id, int image_format_profile, uint64_t *mdimage_rid, mme_metadata_image_url_t **image_url );
mme
The function mme_metadata_image_load() uses information retrieved by a call to any of the mme_metadata_getinfo_*() functions to load an image to the location specified by the URL referenced by image_url. You must call mme_metadata_create_session() to create a metadata session before using mme_metadata_getinfo_current().
![]() |
|
The image_url argument points to a pointer to a mme_metadata_image_url_t metadata structure with the retrieved URL for the requested image. Depending on the value of image_url, mme_metadata_image_load() operates either synchonously or asynchronously.
If image_url is NULL, mme_metadata_getinfo_current() operates asynchronously, and the mme_metadata_info_t structure is delivered with the MME_EVENT_METADATA_INFO event.
If image_url is non-NULL function mme_metadata_image_load() operates synchronously and the following applies:
For an example of the XML delivered in the mme_metadata_*_t structure, see “XML content” with the description of the mme_metadata_info_t structure.
MME_EVENT_METADATA_IMAGE.
See “image_url pointer” above.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
mme_metadata_create_session(), mme_metadata_free_session(), mme_metadata_getinfo_current(), mme_metadata_getinfo_file(), mme_metadata_getinfo_library(), mme_metadata_image_cache_clear(), mme_metadata_image_unload(), mme_metadata_image_url_t, mme_metadata_info_t, mme_metadata_session_t
![]() |
![]() |
![]() |
![]() |