mmplaylist_close()

Close a playlist session

Synopsis:

#include <mm/mmplaylist.h>
int mmplaylist_close( mmplaylist_t *pl )

Arguments:

pl
A valid session handle.

Library:

libmmplaylist

Description:

This function closes an active playlist session. If an error occurs, the function returns an error code but the session handle still becomes invalid. The application should not, under any circumstances, use the handle after calling this function.

Returns:

0
Success. This value is equivalent to the mmplaylist_ok error code.
>0
An mmplaylist_error_type_t constant indicating the error that occurred (call mmplaylist_last_error_get() for details).