Video shutdown

From TrillWiki

Jump to: navigation, search

The video_shutdown notification is sent to a stream's callback when the steam is shut down by user action -- closing a window, closing the panel, clicking the close button, or suchnot.

Compatibility: 3.0 and higher

Contents

Syntax

callback(int window_id, char *icontrol, "video_shutdown", NULL, void *userData);

Note that all Trillian functions and notifications begin with a lower-case letter, despite the Wiki requirement that all pages start with a capital letter.

Parameters

Video shutdown utilitizes the NONE structure.

There is no structure used for this function or notification. For functions, the parameter passed to plugin_send should be a NULL. For notifications, the 'data' field may still contain a parameter, but it will not be a structure; if so, it will be detailed below.


The video stream should be identified by the userData field.

Return Value

Must return 0.

Remarks

None.


Personal tools