mme_start_device_detection()

Start device and mediastore detection

Synopsis:

#include <mme/mme.h>

int mme_start_device_detection( mme_hdl_t *hdl );

Arguments:

hdl
An MME connection handle.

Library:

mme

Description:

The function mme_start_device_detection() starts device and mediastore detection. By default, device and mediastore detection is on, though it is possible to turn detection off when first starting the MME by changing the setting of <DeviceDetection> in the MME configuration file: mme.conf. For more information, see the chapter Configuring Device Support in the MME Configuration Guide.


Caution: If you have configured your MME to not automatically start device detection, always call mme_start_device_detection() before attempting any tasks that access devices (synchronization, playback, media copy and ripping, etc.).

Failure to call mme_start_device_detection() before attempting these type of tasks will produce unexpected results that may compromise the integrity of your system.


Events

None delivered.

Blocking and validation

Full validation of data; all arguments are checked before the call returns.

Returns:

0
Success.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

Configuring Device Support in the MME Configuration Guide