video_display_add_menu_item video_display_attach navigation bar

Table of Contents

video_display_add_menu_separator

Add a menu separator to the context menu of the specified video display window.

Description

The video_display_add_menu_separator function adds a menu item separator to the context menu of the given video display window.

Prototype

t_error
video_display_add_menu_separator(t_video_window window);
    

Parameters

t_video_window window

The handle to the window returned by video_display_open.

Return value

The return value is 0 if the menu item separator is added successfully. Otherwise a negative error code is returned. Error codes are defined in quanser_errors.h. A suitable error message may be retrieved using msg_get_error_message.

Error codes

QERR_OUT_OF_MEMORY

There is not enough memory to complete the operation.

Requirements

Include Files

Libraries

quanser_video.h

quanser_media.lib;quanser_communications.lib;quanser_runtime.lib;quanser_common.lib

Examples

result = video_display_add_menu_separator(window);
    

See Also

 

navigation bar