mme_output_set_permanent()

Set the permanency status of an output device

Synopsis:

#include <mme/mme.h>

int mme_output_set_permanent( mme_hdl_t *hdl,
                              uint64_t outputid,
                              int permanent);

Arguments:

hdl
An MME connection handle.
outputid
The ID of the output device whose permanency status is to be set.
permanent
The output device's permanency status: Set this argument to 1 for permanent, 0 for not permanent.

Library:

mme

Description:

The function mme_output_set_permanent() sets the permanency status of the specified output device:

1
The output device is permanent.
0
The output device is not permanent.

Events

None delivered.

Blocking and validation

This function is fully validating and runs to completion.

Returns:

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

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

mme_play_attach_output(), mme_play_detach_output(), mme_play_get_zone(), mme_play_set_zone(), mme_zone_create(), mme_zone_delete()