screen_unref_window()

Remove a reference from a specified window.

Synopsis:

#include <screen/screen.h>
 
int screen_unref_window(screen_window_t win)

Since:

BlackBerry 10.0.0

Arguments:

win

The handle of the window for which the reference is to be removed.

Library:

libscreen (For the qcc command, use the -l screen option to link against this library)

Description:

Function Type: Immediate Execution

This function removes a reference to a window. When a window is being referenced, its buffers cannot be destroyed until all references to that window have been removed.

Returns:

0 if a reference to the specified window was removed, or -1 if an error occurred (errno is set).

Last modified: 2014-11-17



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus