screen_wait_post()

Add a wait for a post on a window.

Synopsis:

#include <screen/screen.h>
 
int screen_wait_post(screen_window_t win,
                     int flags)

Since:

BlackBerry 10.0.0

Arguments:

win

The handle for the window whose post you are waiting on.

flags

A bitmask that can be used to alter the default posting behaviour. Valid flags are of type Screen flushing types.

Library:

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

Description:

Function Type: Immediate Execution

This call blocks until there is a post event for the window you are waiting on. This function is typically used in conjunction with screen_share_window_buffers().

Returns:

0 if a wait for a post on the specified window was added, 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