/********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:29:46 by OpenVMS SDL EV3-3 */ /* Source: 30-MAR-2010 17:29:21 $1$DGA7274:[STARLET_H.SRC]SMG$ROUTINES.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE smg$routines ***/ #ifndef __SMG_ROUTINES_LOADED #define __SMG_ROUTINES_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /**************************************************************************** */ /* * */ /* COPYRIGHT (c) 1992, 1995 BY * */ /* DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASSACHUSETTS. * */ /* ALL RIGHTS RESERVED. * */ /* * */ /* THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED * */ /* ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH THE * */ /* INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR ANY OTHER * */ /* COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY * */ /* OTHER PERSON. NO TITLE TO AND OWNERSHIP OF THE SOFTWARE IS HEREBY * */ /* TRANSFERRED. * */ /* * */ /* THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE * */ /* AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT * */ /* CORPORATION. * */ /* * */ /* DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS * */ /* SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL. * */ /* * */ /* * */ /**************************************************************************** */ /* SMG$ADD_KEY_DEF */ /* */ /* Add Key Definition */ /* */ /* The Add Key Definition routine adds a keypad key definition to a */ /* table of key definitions. */ /* */ /* */ #define smg$add_key_def SMG$ADD_KEY_DEF #ifdef __NEW_STARLET unsigned int smg$add_key_def( unsigned int *key_table_id, void *key_name, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$add_key_def(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$ALLOW_ESCAPE */ /* */ /* Allow Escape Sequences */ /* */ /* SMG$ALLOW_ESCAPE enables or disables SMG parsing of escape sequences */ /* which are output to a virtual display. */ /* */ /* */ #define smg$allow_escape SMG$ALLOW_ESCAPE #ifdef __NEW_STARLET unsigned int smg$allow_escape( unsigned int *display_id, unsigned int *esc_flag); #else /* __OLD_STARLET */ unsigned int smg$allow_escape(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$BEGIN_DISPLAY_UPDATE */ /* */ /* Begin Batching of Display Updates */ /* */ /* The Begin Batching of Display Updates routine saves, or batches, all */ /* output to a virtual display until a matching call to */ /* SMG$END_DISPLAY_UPDATE is encountered. */ /* */ /* */ #define smg$begin_display_update SMG$BEGIN_DISPLAY_UPDATE #ifdef __NEW_STARLET unsigned int smg$begin_display_update( unsigned int *display_id); #else /* __OLD_STARLET */ unsigned int smg$begin_display_update(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$BEGIN_PASTEBOARD_UPDATE */ /* */ /* Begin Batching of Pasteboard Updates */ /* */ /* The Begin Batching of Pasteboard Updates routine saves, or */ /* batches, all output to a pasteboard until a matching call to */ /* SMG$END_PASTEBOARD_UPDATE is encountered. */ /* */ /* */ #define smg$begin_pasteboard_update SMG$BEGIN_PASTEBOARD_UPDATE #ifdef __NEW_STARLET unsigned int smg$begin_pasteboard_update( unsigned int *pasteboard_id); #else /* __OLD_STARLET */ unsigned int smg$begin_pasteboard_update(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CANCEL_INPUT */ /* */ /* Cancel Input Request */ /* */ /* The Cancel Input Request routine immediately cancels any */ /* read-in-progress that was issued by SMG$READ_COMPOSED_LINE, */ /* SMG$READ_KEYSTROKE, SMG$READ_STRING, or SMG$READ_VERIFY. */ /* */ /* */ #define smg$cancel_input SMG$CANCEL_INPUT #ifdef __NEW_STARLET unsigned int smg$cancel_input( unsigned int *keyboard_id); #else /* __OLD_STARLET */ unsigned int smg$cancel_input(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CHANGE_PBD_CHARACTERISTICS */ /* */ /* Change Pasteboard Characteristics */ /* */ /* The Change Pasteboard Characteristics routine lets you change the */ /* characteristics associated with a pasteboard. */ /* */ #define smg$change_pbd_characteristics SMG$CHANGE_PBD_CHARACTERISTICS #ifdef __NEW_STARLET unsigned int smg$change_pbd_characteristics( unsigned int *pasteboard_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$change_pbd_characteristics(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CHANGE_RENDITION */ /* */ /* Change Default Rendition */ /* */ /* The Change Default Rendition routine changes the video attributes */ /* for all or part of a virtual display. */ /* */ /* */ #define smg$change_rendition SMG$CHANGE_RENDITION #ifdef __NEW_STARLET unsigned int smg$change_rendition( unsigned int *display_id, int *start_row, int *start_column, int *number_of_rows, int *number_of_columns, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$change_rendition(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CHANGE_VIEWPORT */ /* */ /* Change the Viewport */ /* */ /* The Change the Viewport Associated with a Virtual Display routine */ /* changes the size of an existing viewport in a virtual display. The */ /* text that is currently in the viewport is remapped to fit the new */ /* dimensions. */ /* */ #define smg$change_viewport SMG$CHANGE_VIEWPORT #ifdef __NEW_STARLET unsigned int smg$change_viewport( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$change_viewport(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CHANGE_VIRTUAL_DISPLAY */ /* */ /* Change Virtual Display */ /* */ /* The Change Virtual Display routine lets you change the dimensions, */ /* border, and video attributes of a virtual display. */ /* */ #define smg$change_virtual_display SMG$CHANGE_VIRTUAL_DISPLAY #ifdef __NEW_STARLET unsigned int smg$change_virtual_display( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$change_virtual_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CHECK_FOR_OCCLUSION */ /* */ /* Check for Occlusion */ /* */ /* The Check for Occlusion routine checks to see whether a virtual */ /* display is covered (occluded) by another virtual display. */ /* */ #define smg$check_for_occlusion SMG$CHECK_FOR_OCCLUSION #ifdef __NEW_STARLET unsigned int smg$check_for_occlusion( unsigned int *display_id, unsigned int *pasteboard_id, int *occlusion_state); #else /* __OLD_STARLET */ unsigned int smg$check_for_occlusion(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CONTROL_MODE */ /* */ /* Control Mode */ /* */ /* The Control Mode routine controls the mode of the pasteboard. This */ /* includes buffering, minimal updating, whether the screen is cleared */ /* when the pasteboard is deleted, and whether tab characters are used */ /* for screen formatting. */ /* */ #define smg$control_mode SMG$CONTROL_MODE #ifdef __NEW_STARLET unsigned int smg$control_mode( unsigned int *pasteboard_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$control_mode(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$COPY_VIRTUAL_DISPLAY */ /* */ /* Copy a Virtual Display */ /* */ /* The Copy a Virtual Display routine creates a copy of an existing */ /* virtual display and assigns to it a new virtual display identifier. */ /* */ #define smg$copy_virtual_display SMG$COPY_VIRTUAL_DISPLAY #ifdef __NEW_STARLET unsigned int smg$copy_virtual_display( unsigned int *current_display_id, unsigned int *new_display_id); #else /* __OLD_STARLET */ unsigned int smg$copy_virtual_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CREATE_KEY_TABLE */ /* */ /* Create Key Table */ /* */ /* The Create Key Table routine creates a table for key definitions. */ /* */ #define smg$create_key_table SMG$CREATE_KEY_TABLE #ifdef __NEW_STARLET unsigned int smg$create_key_table( unsigned int *key_table_id); #else /* __OLD_STARLET */ unsigned int smg$create_key_table(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CREATE_MENU */ /* */ /* Fill the Virtual Display with a Menu */ /* */ /* The Fill the Virtual Display with a Menu routine displays menu */ /* choices */ /* in the virtual display indicated, starting at the specified row. */ /* */ #define smg$create_menu SMG$CREATE_MENU #ifdef __NEW_STARLET unsigned int smg$create_menu( unsigned int *display_id, void *choices, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$create_menu(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CREATE_PASTEBOARD */ /* */ /* Create a Pasteboard */ /* */ /* The Create Pasteboard routine creates a pasteboard and returns its assigned */ /* pasteboard identifier. */ /* */ #define smg$create_pasteboard SMG$CREATE_PASTEBOARD #ifdef __NEW_STARLET unsigned int smg$create_pasteboard( unsigned int *pasteboard_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$create_pasteboard(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CREATE_SUBPROCESS */ /* */ /* Create and Initialize a Subprocess */ /* */ /* The Create and Initialize a Subprocess routine creates a DCL */ /* subprocess and associates it with a virtual display. */ /* */ #define smg$create_subprocess SMG$CREATE_SUBPROCESS #ifdef __NEW_STARLET unsigned int smg$create_subprocess( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$create_subprocess(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CREATE_VIEWPORT */ /* */ /* Create a Virtual Viewport */ /* */ /* The Create a Virtual Viewport routine creates a viewport and */ /* associates it with a virtual display. The location and size of the */ /* viewport are specified by the caller. */ /* */ #define smg$create_viewport SMG$CREATE_VIEWPORT #ifdef __NEW_STARLET unsigned int smg$create_viewport( unsigned int *display_id, int *viewport_row_start, int *viewport_column_start, int *viewport_number_rows, int *viewport_number_columns); #else /* __OLD_STARLET */ unsigned int smg$create_viewport(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CREATE_VIRTUAL_DISPLAY */ /* */ /* Create a Virtual Display */ /* */ /* The Create Virtual Display routine creates a virtual display and */ /* returns */ /* assigned display identifier. */ /* */ #define smg$create_virtual_display SMG$CREATE_VIRTUAL_DISPLAY #ifdef __NEW_STARLET unsigned int smg$create_virtual_display( int *number_of_rows, int *number_of_columns, unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$create_virtual_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CREATE_VIRTUAL_KEYBOARD */ /* */ /* Create Virtual Keyboard */ /* */ /* The Create Virtual Keyboard routine creates a virtual keyboard and */ /* returns its assigned keyboard identifier. */ /* */ #define smg$create_virtual_keyboard SMG$CREATE_VIRTUAL_KEYBOARD #ifdef __NEW_STARLET unsigned int smg$create_virtual_keyboard( unsigned int *keyboard_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$create_virtual_keyboard(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CURSOR_COLUMN */ /* */ /* Return Cursor Column Position */ /* */ /* The Return Cursor Column Position routine returns the virtual */ /* cursor's */ /* current column position in a specified virtual display. */ /* */ #define smg$cursor_column SMG$CURSOR_COLUMN #ifdef __NEW_STARLET unsigned int smg$cursor_column( unsigned int *display_id); #else /* __OLD_STARLET */ unsigned int smg$cursor_column(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$CURSOR_ROW */ /* */ /* Return Cursor Row Position */ /* */ /* The Return Cursor Row Position routine returns the virtual cursor's */ /* current row position in a specified virtual display. */ /* */ #define smg$cursor_row SMG$CURSOR_ROW #ifdef __NEW_STARLET unsigned int smg$cursor_row( unsigned int *display_id); #else /* __OLD_STARLET */ unsigned int smg$cursor_row(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DEFINE_KEY */ /* */ /* Perform a DEFINE/KEY Command */ /* */ /* The Perform a DEFINE/KEY Command routine performs the DEFINE/KEY */ /* command you provide. */ /* */ #define smg$define_key SMG$DEFINE_KEY #ifdef __NEW_STARLET unsigned int smg$define_key( unsigned int *key_table_id, void *command_string); #else /* __OLD_STARLET */ unsigned int smg$define_key(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DELETE_CHARS */ /* */ /* Delete Characters */ /* */ /* The Delete Characters routine deletes characters in a virtual */ /* display. */ /* */ #define smg$delete_chars SMG$DELETE_CHARS #ifdef __NEW_STARLET unsigned int smg$delete_chars( unsigned int *display_id, int *number_of_characters, int *start_row, int *start_column); #else /* __OLD_STARLET */ unsigned int smg$delete_chars(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DELETE_KEY_DEF */ /* */ /* Delete Key Definition */ /* */ /* The Delete Key Definition routine deletes a key definition from the */ /* specified table of key definitions. */ /* */ #define smg$delete_key_def SMG$DELETE_KEY_DEF #ifdef __NEW_STARLET unsigned int smg$delete_key_def( unsigned int *key_table_id, void *key_name, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$delete_key_def(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DELETE_LINE */ /* */ /* Delete Line */ /* */ /* The Delete Line routine deletes lines from a virtual display. */ /* */ #define smg$delete_line SMG$DELETE_LINE #ifdef __NEW_STARLET unsigned int smg$delete_line( unsigned int *display_id, int *start_row, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$delete_line(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DELETE_MENU */ /* */ /* End Access to a Menu in the Virtual Display */ /* */ /* The End Access to a Menu in the Virtual Display routine ends access */ /* to the menu choices in the specified virtual display. */ /* */ #define smg$delete_menu SMG$DELETE_MENU #ifdef __NEW_STARLET unsigned int smg$delete_menu( unsigned int *display_id, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$delete_menu(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DELETE_PASTEBOARD */ /* */ /* Delete Pasteboard */ /* */ /* The Delete Pasteboard routine deletes a pasteboard. */ /* */ #define smg$delete_pasteboard SMG$DELETE_PASTEBOARD #ifdef __NEW_STARLET unsigned int smg$delete_pasteboard( unsigned int *pasteboard_id, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$delete_pasteboard(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DELETE_SUBPROCESS */ /* */ /* Terminate a Subprocess */ /* */ /* The Terminate a Subprocess routine deletes a subprocess that was */ /* created with the SMG$CREATE_SUBPROCESS routine. */ /* */ #define smg$delete_subprocess SMG$DELETE_SUBPROCESS #ifdef __NEW_STARLET unsigned int smg$delete_subprocess( unsigned int *display_id); #else /* __OLD_STARLET */ unsigned int smg$delete_subprocess(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DELETE_VIEWPORT */ /* */ /* Delete a Viewport */ /* */ /* The Delete a Viewport routine deletes the specified viewport from */ /* any pasteboards to which it is pasted. */ /* */ #define smg$delete_viewport SMG$DELETE_VIEWPORT #ifdef __NEW_STARLET unsigned int smg$delete_viewport( unsigned int *display_id); #else /* __OLD_STARLET */ unsigned int smg$delete_viewport(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DELETE_VIRTUAL_DISPLAY */ /* */ /* Delete Virtual Display */ /* */ /* The Delete Virtual Display routine deletes a virtual display. */ /* */ #define smg$delete_virtual_display SMG$DELETE_VIRTUAL_DISPLAY #ifdef __NEW_STARLET unsigned int smg$delete_virtual_display( unsigned int *display_id); #else /* __OLD_STARLET */ unsigned int smg$delete_virtual_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DELETE_VIRTUAL_KEYBOARD */ /* */ /* Delete Virtual Keyboard */ /* */ /* The Delete Virtual Keyboard routine deletes a virtual keyboard. */ /* */ #define smg$delete_virtual_keyboard SMG$DELETE_VIRTUAL_KEYBOARD #ifdef __NEW_STARLET unsigned int smg$delete_virtual_keyboard( unsigned int *keyboard_id); #else /* __OLD_STARLET */ unsigned int smg$delete_virtual_keyboard(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DEL_TERM_TABLE */ /* */ /* Delete Terminal Table */ /* */ /* The Delete Terminal Table routine terminates access to a private */ /* TERMTABL */ /* and frees the associated virtual address space. */ /* */ #define smg$del_term_table SMG$DEL_TERM_TABLE #ifdef __NEW_STARLET unsigned int smg$del_term_table(void); #else /* __OLD_STARLET */ unsigned int smg$del_term_table(void); #endif /* #ifdef __NEW_STARLET */ #define smg$disable_broadcast_trapping SMG$DISABLE_BROADCAST_TRAPPING #ifdef __NEW_STARLET unsigned int smg$disable_broadcast_trapping( unsigned int *pasteboard_id); #else /* __OLD_STARLET */ unsigned int smg$disable_broadcast_trapping(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DISABLE_UNSOLICITED_INPUT */ /* */ /* Disable Unsolicited Input */ /* */ /* The Disable Unsolicited Input routine disables the trapping of */ /* unsolicited input. */ /* */ #define smg$disable_unsolicited_input SMG$DISABLE_UNSOLICITED_INPUT #ifdef __NEW_STARLET unsigned int smg$disable_unsolicited_input( unsigned int *pasteboard_id); #else /* __OLD_STARLET */ unsigned int smg$disable_unsolicited_input(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DRAW_CHAR */ /* */ /* Draw a Character in a Virtual Display */ /* */ /* The Draw a Character in a Virtual Display routine draws a character */ /* at */ /* the specified position in a virtual display. */ /* */ #define smg$draw_char SMG$DRAW_CHAR #ifdef __NEW_STARLET unsigned int smg$draw_char( unsigned int *display_id, unsigned int *flags, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$draw_char(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DRAW_LINE */ /* */ /* Draw a Line */ /* */ /* The Draw a Line routine draws a horizontal or vertical line. */ /* */ #define smg$draw_line SMG$DRAW_LINE #ifdef __NEW_STARLET unsigned int smg$draw_line( unsigned int *display_id, int *start_row, int *start_column, int *end_row, int *end_column, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$draw_line(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$DRAW_RECTANGLE */ /* */ /* Draw a Rectangle */ /* */ /* The Draw a Rectangle routine draws a rectangle. */ /* */ #define smg$draw_rectangle SMG$DRAW_RECTANGLE #ifdef __NEW_STARLET unsigned int smg$draw_rectangle( unsigned int *display_id, int *start_row, int *start_column, int *end_row, int *end_column, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$draw_rectangle(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$ENABLE_UNSOLICITED_INPUT */ /* */ /* Enable Unsolicited Input */ /* */ /* The Enable Unsolicited Input routine detects unsolicited input and */ /* calls an AST routine in response. */ /* */ #define smg$enable_unsolicited_input SMG$ENABLE_UNSOLICITED_INPUT #ifdef __NEW_STARLET unsigned int smg$enable_unsolicited_input( unsigned int *pasteboard_id, void (*ast_routine)(__unknown_params), __optional_params); #else /* __OLD_STARLET */ unsigned int smg$enable_unsolicited_input(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$END_DISPLAY_UPDATE */ /* */ /* End Display Update */ /* */ /* The End Display Update routine ends update batching for a virtual */ /* display. */ /* */ #define smg$end_display_update SMG$END_DISPLAY_UPDATE #ifdef __NEW_STARLET unsigned int smg$end_display_update( unsigned int *display_id); #else /* __OLD_STARLET */ unsigned int smg$end_display_update(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$END_PASTEBOARD_UPDATE */ /* */ /* End Pasteboard Update */ /* */ /* The End Pasteboard Update routine ends update batching for a */ /* pasteboard. */ /* */ #define smg$end_pasteboard_update SMG$END_PASTEBOARD_UPDATE #ifdef __NEW_STARLET unsigned int smg$end_pasteboard_update( unsigned int *pasteboard_id); #else /* __OLD_STARLET */ unsigned int smg$end_pasteboard_update(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$ERASE_CHARS */ /* */ /* Erase Characters */ /* */ /* The Erase Characters routine erases characters in a virtual display */ /* by */ /* replacing them with blanks. */ /* */ #define smg$erase_chars SMG$ERASE_CHARS #ifdef __NEW_STARLET unsigned int smg$erase_chars( unsigned int *display_id, int *number_of_characters, int *start_row, int *start_column); #else /* __OLD_STARLET */ unsigned int smg$erase_chars(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$ERASE_COLUMN */ /* */ /* Erase Column from Display */ /* */ /* The Erase Column From Display routine erases the specified portion */ /* of the virtual display from the given position to the end of the */ /* column. */ /* */ #define smg$erase_column SMG$ERASE_COLUMN #ifdef __NEW_STARLET unsigned int smg$erase_column( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$erase_column(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$ERASE_DISPLAY */ /* */ /* Erase Virtual Display */ /* */ /* The Erase Virtual Display routine erases all or part of a virtual */ /* display by replacing text characters with blanks. */ /* */ #define smg$erase_display SMG$ERASE_DISPLAY #ifdef __NEW_STARLET unsigned int smg$erase_display( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$erase_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$ERASE_LINE */ /* */ /* Erase Line */ /* */ /* The Erase Line routine erases all or part of a line in a virtual */ /* display. */ /* */ #define smg$erase_line SMG$ERASE_LINE #ifdef __NEW_STARLET unsigned int smg$erase_line( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$erase_line(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$ERASE_PASTEBOARD */ /* */ /* Erase Pasteboard */ /* */ /* The Erase Pasteboard routine erases the contents of a pasteboard. */ /* */ #define smg$erase_pasteboard SMG$ERASE_PASTEBOARD #ifdef __NEW_STARLET unsigned int smg$erase_pasteboard( unsigned int *pasteboard_id); #else /* __OLD_STARLET */ unsigned int smg$erase_pasteboard(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$EXECUTE_COMMAND */ /* */ /* Execute Command in a Subprocess */ /* */ /* The Execute Command in a Subprocess routine executes the specified */ /* command in the subprocess created with the SMG$CREATE_SUBPROCESS */ /* routine. */ /* */ #define smg$execute_command SMG$EXECUTE_COMMAND #ifdef __NEW_STARLET unsigned int smg$execute_command( unsigned int *display_id, void *command_desc, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$execute_command(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$FIND_CURSOR_DISPLAY */ /* */ /* Find Display */ /* */ /* The Find Display that Contains the Cursor routine returns the */ /* identifier of the most recently pasted virtual display that contains */ /* the physical cursor. */ /* */ #define smg$find_cursor_display SMG$FIND_CURSOR_DISPLAY #ifdef __NEW_STARLET unsigned int smg$find_cursor_display( unsigned int *pasteboard_id, unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$find_cursor_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$FLUSH_BUFFER */ /* */ /* Flush Buffer */ /* */ /* The Flush Buffer routine flushes all buffered output to the */ /* terminal. */ /* */ #define smg$flush_buffer SMG$FLUSH_BUFFER #ifdef __NEW_STARLET unsigned int smg$flush_buffer( unsigned int *pasteboard_id); #else /* __OLD_STARLET */ unsigned int smg$flush_buffer(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$FLUSH_DISPLAY_UPDATE */ /* */ /* Flush Display Update */ /* */ /* The Flush Display Update routine flushes any update batching to the */ /* screen and leaves the update batching in effect. */ /* */ #define smg$flush_display_update SMG$FLUSH_DISPLAY_UPDATE #ifdef __NEW_STARLET unsigned int smg$flush_display_update( unsigned int *display_id); #else /* __OLD_STARLET */ unsigned int smg$flush_display_update(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$GET_BROADCAST_MESSAGE */ /* */ /* Get Broadcast Message */ /* */ /* The Get Broadcast Message routine determines whether a message has */ /* been broadcast to the pasteboard and returns the message. */ /* */ #define smg$get_broadcast_message SMG$GET_BROADCAST_MESSAGE #ifdef __NEW_STARLET unsigned int smg$get_broadcast_message( unsigned int *pasteboard_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$get_broadcast_message(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$GET_CHAR_AT_PHYSICAL_CURSOR */ /* */ /* Return Character at Cursor */ /* */ /* The Return Character at Cursor routine returns the character at the */ /* current physical cursor position. */ /* */ #define smg$get_char_at_physical_cursor SMG$GET_CHAR_AT_PHYSICAL_CURSOR #ifdef __NEW_STARLET unsigned int smg$get_char_at_physical_cursor( unsigned int *pasteboard_id, unsigned char *character_code, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$get_char_at_physical_cursor(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$GET_DISPLAY_ATTR */ /* */ /* Get Display Attributes */ /* */ /* The Get Display Attributes routine returns the attributes associated */ /* with a virtual display. */ /* */ #define smg$get_display_attr SMG$GET_DISPLAY_ATTR #ifdef __NEW_STARLET unsigned int smg$get_display_attr( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$get_display_attr(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$GET_KEYBOARD_ATTRIBUTES */ /* */ /* Get Keyboard Attributes */ /* */ /* The Get Keyboard Attributes routine gets information about a virtual */ /* keyboard and leaves it in a user-supplied area: the keyboard */ /* information table (KIT). */ /* */ #define smg$get_keyboard_attributes SMG$GET_KEYBOARD_ATTRIBUTES #ifdef __NEW_STARLET unsigned int smg$get_keyboard_attributes( unsigned int *keyboard_id, unsigned int *keyboard_info_table, unsigned int *keyboard_info_table_size); #else /* __OLD_STARLET */ unsigned int smg$get_keyboard_attributes(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$GET_KEY_DEF */ /* */ /* Get Key Definition */ /* */ /* The Get Key Definition routine returns the key definition for a */ /* specified key. */ /* */ #define smg$get_key_def SMG$GET_KEY_DEF #ifdef __NEW_STARLET unsigned int smg$get_key_def( unsigned int *key_table_id, void *key_name, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$get_key_def(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$GET_NUMERIC_DATA */ /* */ /* Get Numeric Terminal Data */ /* */ /* The Get Numeric Terminal Data routine accesses TERMTABLE.EXE and */ /* returns the value associated with a specified Boolean or numeric */ /* capability. */ /* */ #define smg$get_numeric_data SMG$GET_NUMERIC_DATA #ifdef __NEW_STARLET unsigned int smg$get_numeric_data( void *termtable_address, unsigned int *request_code, void *buffer_address); #else /* __OLD_STARLET */ unsigned int smg$get_numeric_data(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$GET_PASTEBOARD_ATTRIBUTES */ /* */ /* Get Pasteboard Attributes */ /* */ /* The Get Pasteboard Attributes routine gets pasteboard attributes and */ /* stores them in the pasteboard information table. */ /* */ #define smg$get_pasteboard_attributes SMG$GET_PASTEBOARD_ATTRIBUTES #ifdef __NEW_STARLET unsigned int smg$get_pasteboard_attributes( unsigned int *pasteboard_id, unsigned int *pasteboard_info_table, unsigned int *pasteboard_info_table_size); #else /* __OLD_STARLET */ unsigned int smg$get_pasteboard_attributes(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$GET_PASTING_INFO */ /* */ /* Return Pasting Information */ /* */ /* Provided that the specified virtual display is currently pasted, the */ /* Return Pasting Information routine returns the row and column of the */ /* pasting. */ /* */ #define smg$get_pasting_info SMG$GET_PASTING_INFO #ifdef __NEW_STARLET unsigned int smg$get_pasting_info( unsigned int *display_id, unsigned int *pasteboard_id, unsigned int *flags, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$get_pasting_info(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$GET_TERM_DATA */ /* */ /* Get Terminal Data */ /* */ /* The Get Terminal Data routine accesses TERMTABLE.EXE and returns the */ /* character sequence that causes a terminal to perform a specified */ /* operation. */ /* */ #define smg$get_term_data SMG$GET_TERM_DATA #ifdef __NEW_STARLET unsigned int smg$get_term_data( void *termtable_address, int *request_code, int *maximum_buffer_length, int *return_length, unsigned int *capability_data, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$get_term_data(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$GET_VIEWPORT_CHAR */ /* */ /* Get Characteristics of Display Viewport */ /* */ /* The Get Characteristics of Display Viewport routine returns the */ /* characteristics of the specified viewport. */ /* */ #define smg$get_viewport_char SMG$GET_VIEWPORT_CHAR #ifdef __NEW_STARLET unsigned int smg$get_viewport_char( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$get_viewport_char(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$HOME_CURSOR */ /* */ /* Home Cursor */ /* */ /* The Home Cursor routine moves the virtual cursor to the specified */ /* corner of a virtual display. */ /* */ #define smg$home_cursor SMG$HOME_CURSOR #ifdef __NEW_STARLET unsigned int smg$home_cursor( unsigned int *display_id, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$home_cursor(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$INIT_TERM_TABLE */ /* */ /* Initialize Terminal Table */ /* */ /* The Initialize Terminal Table routine initializes the TERMTABLE */ /* database for the terminal named, so that subsequent calls to */ /* SMG$GET_TERM_DATA can extract information and command strings for */ /* that */ /* terminal. */ /* */ #define smg$init_term_table SMG$INIT_TERM_TABLE #ifdef __NEW_STARLET unsigned int smg$init_term_table( void *terminal_name, void *termtable_address); #else /* __OLD_STARLET */ unsigned int smg$init_term_table(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$INIT_TERM_TABLE_BY_TYPE */ /* */ /* Initialize TERMTABLE by VMS Terminal Type */ /* */ /* The Initialize TERMTABLE by VMS Terminal Type routine initializes */ /* the TERMTABLE database for the terminal named, so that subsequent */ /* calls to SMG$GET_TERM_DATA can extract information and command */ /* strings for that terminal. */ /* */ #define smg$init_term_table_by_type SMG$INIT_TERM_TABLE_BY_TYPE #ifdef __NEW_STARLET unsigned int smg$init_term_table_by_type( char *terminal_type, void *termtable_address, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$init_term_table_by_type(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$INSERT_CHARS */ /* */ /* Insert Characters */ /* */ /* The Insert Characters routine inserts characters into a virtual */ /* display. */ /* */ #define smg$insert_chars SMG$INSERT_CHARS #ifdef __NEW_STARLET unsigned int smg$insert_chars( unsigned int *display_id, void *character_string, int *start_row, int *start_column, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$insert_chars(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$INSERT_LINE */ /* */ /* Insert Line */ /* */ /* The Insert Line routine inserts a line into a virtual display and */ /* scrolls the display. */ /* */ #define smg$insert_line SMG$INSERT_LINE #ifdef __NEW_STARLET unsigned int smg$insert_line( unsigned int *display_id, int *start_row, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$insert_line(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$INVALIDATE_DISPLAY */ /* */ /* Mark a Display as Invalid */ /* */ /* The Mark a Display as Invalid routine marks a display as invalid and */ /* causes the entire display to be redrawn. */ /* */ #define smg$invalidate_display SMG$INVALIDATE_DISPLAY #ifdef __NEW_STARLET unsigned int smg$invalidate_display( unsigned int *display_id); #else /* __OLD_STARLET */ unsigned int smg$invalidate_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$KEYCODE_TO_NAME */ /* */ /* Translate a Key Code into a Key Name */ /* */ /* The Translate a Key Code into a Key Name routine translates the key */ /* code */ /* of a key on the keyboard into its associated key name. */ /* */ #define smg$keycode_to_name SMG$KEYCODE_TO_NAME #ifdef __NEW_STARLET unsigned int smg$keycode_to_name( unsigned short int *key_code, void *key_name); #else /* __OLD_STARLET */ unsigned int smg$keycode_to_name(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$LABEL_BORDER */ /* */ /* Label a Virtual Display Border */ /* */ /* The Label a Virtual Display Border routine supplies a label for a */ /* virtual display's border. */ /* */ #define smg$label_border SMG$LABEL_BORDER #ifdef __NEW_STARLET unsigned int smg$label_border( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$label_border(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$LIST_KEY_DEFS */ /* */ /* List Key Definitions */ /* */ /* The List Key Definitions routine returns, one at a time, the */ /* definitions (equivalence strings) associated with specified keys */ /* in a specified key table. */ /* */ #define smg$list_key_defs SMG$LIST_KEY_DEFS #ifdef __NEW_STARLET unsigned int smg$list_key_defs( unsigned int *key_table_id, unsigned int *context, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$list_key_defs(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$LIST_PASTEBOARD_ORDER */ /* */ /* Return Pasting Information */ /* */ /* The Return Pasting Information routine returns the pasteboard */ /* identifier of the pasteboard to which the specified virtual display */ /* is pasted. Optionally, the pasteboard row 1 and column 1 (origins) of */ /* the virtual displays are also returned. */ /* */ #define smg$list_pasteboard_order SMG$LIST_PASTEBOARD_ORDER #ifdef __NEW_STARLET unsigned int smg$list_pasteboard_order( unsigned int *display_id, unsigned int *context, unsigned int *pasteboard_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$list_pasteboard_order(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$LIST_PASTING_ORDER */ /* */ /* Return Virtual Display Pasting Information */ /* */ /* The Return Virtual Display Pasting Information routine returns the */ /* identifiers of the virtual displays pasted to a specified */ /* pasteboard. Optionally, the pasteboard row 1 and column */ /* 1 (origins) of the virtual displays are also returned. */ /* */ #define smg$list_pasting_order SMG$LIST_PASTING_ORDER #ifdef __NEW_STARLET unsigned int smg$list_pasting_order( unsigned int *pasteboard_id, unsigned int *context, unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$list_pasting_order(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$LOAD_KEY_DEFS */ /* */ /* Load Key Definitions */ /* */ /* The Load Key Definitions routine loads a file of key */ /* definitions */ /* (DEFINE/KEY commands) into a specified key table. */ /* */ #define smg$load_key_defs SMG$LOAD_KEY_DEFS #ifdef __NEW_STARLET unsigned int smg$load_key_defs( unsigned int *key_table_id, void *filespec, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$load_key_defs(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$LOAD_VIRTUAL_DISPLAY */ /* */ /* Load a Virtual Display */ /* */ /* The Load a Virtual Display from a File routine creates a new virtual */ /* display and loads it with a virtual display saved with */ /* SMG$SAVE_VIRTUAL_DISPLAY. */ /* */ #define smg$load_virtual_display SMG$LOAD_VIRTUAL_DISPLAY #ifdef __NEW_STARLET unsigned int smg$load_virtual_display( unsigned int *display_id, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$load_virtual_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$MOVE_TEXT */ /* */ /* Move Text from One Virtual Display to Another */ /* */ /* The Move Text from One Virtual Display to Another routine moves a */ /* rectangle of text from one virtual display to another virtual display. */ /* Given two points in opposite corners of the rectangle, SMG$MOVE_TEXT */ /* determines the desired width and height of the new virtual display. */ /* */ #define smg$move_text SMG$MOVE_TEXT #ifdef __NEW_STARLET unsigned int smg$move_text( unsigned int *display_id, unsigned int *top_left_row, unsigned int *top_left_column, unsigned int *bottom_right_row, unsigned int *bottom_right_column, unsigned int *display_id2, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$move_text(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$MOVE_VIRTUAL_DISPLAY */ /* */ /* Move Virtual Display */ /* */ /* The Move Virtual Display routine relocates a virtual display on a */ /* pasteboard and preserves the pasting order. */ /* */ #define smg$move_virtual_display SMG$MOVE_VIRTUAL_DISPLAY #ifdef __NEW_STARLET unsigned int smg$move_virtual_display( unsigned int *display_id, unsigned int *pasteboard_id, int *pasteboard_row, int *pasteboard_column, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$move_virtual_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$NAME_TO_KEYCODE */ /* */ /* Translate a Key Name into a Key Code */ /* */ /* The Translate a Key Name into a Key Code routine translates the key */ /* name of a key on the keyboard into its associated key code. */ /* */ #define smg$name_to_keycode SMG$NAME_TO_KEYCODE #ifdef __NEW_STARLET unsigned int smg$name_to_keycode( void *key_name, unsigned short int *key_code); #else /* __OLD_STARLET */ unsigned int smg$name_to_keycode(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PASTE_VIRTUAL_DISPLAY */ /* */ /* Paste Virtual Display */ /* */ /* The Paste Virtual Display routine pastes a virtual display to a */ /* pasteboard. */ /* */ #define smg$paste_virtual_display SMG$PASTE_VIRTUAL_DISPLAY #ifdef __NEW_STARLET unsigned int smg$paste_virtual_display( unsigned int *display_id, unsigned int *pasteboard_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$paste_virtual_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$POP_VIRTUAL_DISPLAY */ /* */ /* Delete a Series of Virtual Displays */ /* */ /* The Delete a Series of Virtual Displays routine deletes a specified */ /* virtual display and all displays that were pasted on the specified */ /* pasteboard on top of the specified virtual display. */ /* */ #define smg$pop_virtual_display SMG$POP_VIRTUAL_DISPLAY #ifdef __NEW_STARLET unsigned int smg$pop_virtual_display( unsigned int *display_id, unsigned int *pasteboard_id); #else /* __OLD_STARLET */ unsigned int smg$pop_virtual_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PRINT_PASTEBOARD */ /* */ /* Print Pasteboard Using a Print Queue */ /* */ /* The Print Pasteboard Using a Print Queue routine prints the contents */ /* of the specified pasteboard on a line printer. */ /* */ #define smg$print_pasteboard SMG$PRINT_PASTEBOARD #ifdef __NEW_STARLET unsigned int smg$print_pasteboard( unsigned int *pasteboard_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$print_pasteboard(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PRINT_PASTEBOARD */ /* */ /* Print Pasteboard Using a Print Queue */ /* */ /* The Print Pasteboard Using a Print Queue routine prints the contents */ /* of the specified pasteboard on a line printer. */ /* */ #define smg$put_chars SMG$PUT_CHARS #ifdef __NEW_STARLET unsigned int smg$put_chars( unsigned int *display_id, void *text, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$put_chars(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PUT_CHARS_HIGHWIDE */ /* */ /* Write Double-Height Double-Width Characters */ /* */ /* The Write Double-Height Double-Width Characters routine writes */ /* double-height, double-width characters to a virtual display. */ /* */ #define smg$put_chars_highwide SMG$PUT_CHARS_HIGHWIDE #ifdef __NEW_STARLET unsigned int smg$put_chars_highwide( unsigned int *display_id, void *text, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$put_chars_highwide(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PUT_CHARS_MULTI */ /* */ /* Put Text with Multiple Renditions to Display */ /* */ /* The Put Text with Multiple Renditions to Display routine writes text */ /* with */ /* multiple renditions to the virtual display. */ /* */ #define smg$put_chars_multi SMG$PUT_CHARS_MULTI #ifdef __NEW_STARLET unsigned int smg$put_chars_multi( unsigned int *display_id, void *text, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$put_chars_multi(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PUT_CHARS_WIDE */ /* */ /* Write Double-Width Characters */ /* */ /* The Write Double-Width Characters routine writes double-width */ /* characters to a virtual display. */ /* */ #define smg$put_chars_wide SMG$PUT_CHARS_WIDE #ifdef __NEW_STARLET unsigned int smg$put_chars_wide( unsigned int *display_id, void *text, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$put_chars_wide(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PUT_HELP_TEXT */ /* */ /* Output Help Text to the Display */ /* */ /* The Output Help Text to the Display routine retrieves and outputs */ /* the help text for the specified topic in the virtual display provided. */ /* */ #define smg$put_help_text SMG$PUT_HELP_TEXT #ifdef __NEW_STARLET unsigned int smg$put_help_text( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$put_help_text(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PUT_LINE */ /* */ /* Write Line to Virtual Display */ /* */ /* The Write Line to Virtual Display routine writes a line of text to a */ /* virtual display, beginning at the current virtual cursor position. */ /* */ #define smg$put_line SMG$PUT_LINE #ifdef __NEW_STARLET unsigned int smg$put_line( unsigned int *display_id, void *text, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$put_line(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PUT_LINE_HIGHWIDE */ /* */ /* Write Double-Height and Double-Width Line */ /* */ /* The Write Double-Height and Double-Width Line routine writes a line */ /* of */ /* text with double-height and double-width characters. */ /* */ #define smg$put_line_highwide SMG$PUT_LINE_HIGHWIDE #ifdef __NEW_STARLET unsigned int smg$put_line_highwide( unsigned int *display_id, void *text, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$put_line_highwide(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PUT_LINE_MULTI */ /* */ /* Write Line with Multiple Renditions to Display */ /* */ /* The Write Line with Multiple Renditions to Display routine */ /* writes lines with multiple renditions to the virtual display, */ /* optionally followed by cursor movement sequences. */ /* */ #define smg$put_line_multi SMG$PUT_LINE_MULTI #ifdef __NEW_STARLET unsigned int smg$put_line_multi( unsigned int *display_id, void *text, void *rendition_string, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$put_line_multi(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PUT_LINE_WIDE */ /* */ /* Write Double-Width Line */ /* */ /* The Write Double-Width Line routine writes a line of double-width */ /* text */ /* to a virtual display. */ /* */ #define smg$put_line_wide SMG$PUT_LINE_WIDE #ifdef __NEW_STARLET unsigned int smg$put_line_wide( unsigned int *display_id, void *text, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$put_line_wide(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PUT_PASTEBOARD */ /* */ /* Output Pasteboard Using Routine */ /* */ /* The Output Pasteboard Using Routine routine accesses the contents of */ /* a pasteboard. */ /* */ #define smg$put_pasteboard SMG$PUT_PASTEBOARD #ifdef __NEW_STARLET unsigned int smg$put_pasteboard( unsigned int *pasteboard_id, int (*action_routine)(void), __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$put_pasteboard(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PUT_STATUS_LINE */ /* */ /* Output Line of Text to Hardware Status Line */ /* */ /* The Output Line of Text to Hardware Status Line routine outputs a */ /* line */ /* of text to the hardware status line. */ /* */ #define smg$put_status_line SMG$PUT_STATUS_LINE #ifdef __NEW_STARLET unsigned int smg$put_status_line( unsigned int *pasteboard_id, void *text); #else /* __OLD_STARLET */ unsigned int smg$put_status_line(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PUT_VIRTUAL_DISPLAY_ENCODED */ /* */ /* Write Encoded String To Display */ /* */ /* SMG$PUT_VIRTUAL_DISPLAY_ENCODED lets you write a string that has */ /* multiple video renditions to a virtual display. */ /* */ #define smg$put_virtual_display_encoded SMG$PUT_VIRTUAL_DISPLAY_ENCODED #ifdef __NEW_STARLET unsigned int smg$put_virtual_display_encoded( unsigned int *display_id, int *encoded_length, unsigned int *encoded_text, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$put_virtual_display_encoded(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$PUT_WITH_SCROLL */ /* */ /* Write Text and Scroll */ /* */ /* SMG$PUT_WITH_SCROLL writes a line of text to a virtual display and */ /* scrolls the display if necessary. */ /* */ #define smg$put_with_scroll SMG$PUT_WITH_SCROLL #ifdef __NEW_STARLET unsigned int smg$put_with_scroll( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$put_with_scroll(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$READ_COMPOSED_LINE */ /* */ /* Read Composed Line */ /* */ /* The Read Composed Line routine reads a line of input composed of */ /* normal keystrokes and equivalence strings. */ /* */ #define smg$read_composed_line SMG$READ_COMPOSED_LINE #ifdef __NEW_STARLET unsigned int smg$read_composed_line( unsigned int *keyboard_id, unsigned int *key_table_id, void *resultant_string, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$read_composed_line(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$READ_FROM_DISPLAY */ /* */ /* Read Text from Display */ /* */ /* The Read Text from Display routine reads a line of text from a virtual display. */ /* */ #define smg$read_from_display SMG$READ_FROM_DISPLAY #ifdef __NEW_STARLET unsigned int smg$read_from_display( unsigned int *display_id, void *resultant_string, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$read_from_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$READ_KEYSTROKE */ /* */ /* Read a Single Character */ /* */ /* The Read a Single Character routine reads a keystroke and returns */ /* that keystroke's terminator code. */ /* */ #define smg$read_keystroke SMG$READ_KEYSTROKE #ifdef __NEW_STARLET unsigned int smg$read_keystroke( unsigned int *keyboard_id, unsigned short int *word_terminator_code, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$read_keystroke(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$READ_LOCATOR */ /* */ /* Read Locator Information */ /* */ /* The Read Locator Information routine reads information from */ /* a DECwindows workstation terminal's locator device (such as a mouse or */ /* tablet). */ /* */ #define smg$read_locator SMG$READ_LOCATOR #ifdef __NEW_STARLET unsigned int smg$read_locator( unsigned int *keyboard_id, unsigned short int *row_number, unsigned short int *column_number, unsigned short int *word_terminator_code, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$read_locator(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$READ_STRING */ /* */ /* Read String */ /* */ /* The Read String routine reads a string from a virtual keyboard. */ /* */ #define smg$read_string SMG$READ_STRING #ifdef __NEW_STARLET unsigned int smg$read_string( unsigned int *keyboard_id, void *resultant_string, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$read_string(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$READ_VERIFY */ /* */ /* Read and Verify a String */ /* */ /* The Read and Verify a String routine reads a sequence of characters */ /* and verifies the sequence. */ /* */ #define smg$read_verify SMG$READ_VERIFY #ifdef __NEW_STARLET unsigned int smg$read_verify( unsigned int *keyboard_id, void *resultant_string, void *initial_string, void *picture_string, void *fill_character, void *clear_character, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$read_verify(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$REMOVE_LINE */ /* */ /* Remove a Line from a Virtual Display */ /* */ /* The Remove a Line from a Virtual Display routine removes a line from */ /* a specified virtual display that was drawn with the SMG$DRAW_LINE or */ /* SMG$DRAW_RECTANGLE routines. */ /* */ #define smg$remove_line SMG$REMOVE_LINE #ifdef __NEW_STARLET unsigned int smg$remove_line( unsigned int *display_id, int *start_row, int *start_column, int *end_row, int *end_column); #else /* __OLD_STARLET */ unsigned int smg$remove_line(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$REPAINT_LINE */ /* */ /* Repaint One or More Lines on the Current Pasteboard */ /* */ /* The Repaint One or More Lines on the Current Pasteboard routine */ /* repaints a series of lines on the current pasteboard. */ /* */ #define smg$repaint_line SMG$REPAINT_LINE #ifdef __NEW_STARLET unsigned int smg$repaint_line( unsigned int *pasteboard_id, int *start_row, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$repaint_line(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$REPAINT_SCREEN */ /* */ /* Repaint Current Pasteboard */ /* */ /* The Repaint Current Pasteboard routine repaints the specified */ /* pasteboard after */ /* non-SMG$ I/O has occurred. */ /* */ #define smg$repaint_screen SMG$REPAINT_SCREEN #ifdef __NEW_STARLET unsigned int smg$repaint_screen( unsigned int *pasteboard_id); #else /* __OLD_STARLET */ unsigned int smg$repaint_screen(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$REPASTE_VIRTUAL_DISPLAY */ /* */ /* Repaste Virtual Display */ /* */ /* The Repaste Virtual Display routine moves a virtual display to a new */ /* position on the pasteboard. The pasting order is not preserved. */ /* */ #define smg$repaste_virtual_display SMG$REPASTE_VIRTUAL_DISPLAY #ifdef __NEW_STARLET unsigned int smg$repaste_virtual_display( unsigned int *display_id, unsigned int *pasteboard_id, int *pasteboard_row, int *pasteboard_column, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$repaste_virtual_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$REPLACE_INPUT_LINE */ /* */ /* Replace Input Line */ /* */ /* The Replace Input Line routine replaces the specified lines in the */ /* recall buffer with the specified string. */ /* */ /* */ #define smg$replace_input_line SMG$REPLACE_INPUT_LINE #ifdef __NEW_STARLET unsigned int smg$replace_input_line( unsigned int *keyboard_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$replace_input_line(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$RESTORE_PHYSICAL_SCREEN */ /* */ /* Restore Physical Pasteboard */ /* */ /* The Restore Physical Pasteboard routine rewrites the pasteboard */ /* image as it was at the time the SMG$SAVE_PHYSICAL_SCREEN routine */ /* was called. */ /* */ #define smg$restore_physical_screen SMG$RESTORE_PHYSICAL_SCREEN #ifdef __NEW_STARLET unsigned int smg$restore_physical_screen( unsigned int *pasteboard_id, unsigned int *display_id); #else /* __OLD_STARLET */ unsigned int smg$restore_physical_screen(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$RETURN_CURSOR_POS */ /* */ /* Return Cursor Position */ /* */ /* The Return Cursor Position routine returns the current virtual */ /* cursor */ /* position in a specified virtual display. */ /* */ #define smg$return_cursor_pos SMG$RETURN_CURSOR_POS #ifdef __NEW_STARLET unsigned int smg$return_cursor_pos( unsigned int *display_id, int *start_row, int *start_column); #else /* __OLD_STARLET */ unsigned int smg$return_cursor_pos(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$RETURN_INPUT_LINE */ /* */ /* Return Input Line */ /* */ /* The Return Input Line routine returns to the caller the requested */ /* line from the recall buffer. This line is retrieved either by */ /* matching it with a specified string or by specifying the appropriate */ /* line number. */ /* */ #define smg$return_input_line SMG$RETURN_INPUT_LINE #ifdef __NEW_STARLET unsigned int smg$return_input_line( unsigned int *keyboard_id, void *resultant_string, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$return_input_line(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$RING_BELL */ /* */ /* Ring the Terminal Bell or Buzzer */ /* */ /* The Ring the Terminal Bell or Buzzer routine sounds the terminal */ /* bell or buzzer. */ /* */ #define smg$ring_bell SMG$RING_BELL #ifdef __NEW_STARLET unsigned int smg$ring_bell( unsigned int *display_id, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$ring_bell(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SAVE_PHYSICAL_SCREEN */ /* */ /* Save Physical Screen */ /* */ /* The Save Physical Screen routine saves the contents of the */ /* pasteboard so */ /* that a later call to SMG$RESTORE_PHYSICAL_SCREEN can restore it. */ /* */ #define smg$save_physical_screen SMG$SAVE_PHYSICAL_SCREEN #ifdef __NEW_STARLET unsigned int smg$save_physical_screen( unsigned int *pasteboard_id, unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$save_physical_screen(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SAVE_VIRTUAL_DISPLAY */ /* */ /* Save the Virtual Display to a File */ /* */ /* The Save the Virtual Display to a File routine saves the contents of */ /* a */ /* virtual display and stores it in a file. */ /* */ #define smg$save_virtual_display SMG$SAVE_VIRTUAL_DISPLAY #ifdef __NEW_STARLET unsigned int smg$save_virtual_display( unsigned int *display_id, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$save_virtual_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SCROLL_DISPLAY_AREA */ /* */ /* Scroll Display Area */ /* */ /* The Scroll Display Area routine scrolls a rectangular region of a */ /* virtual display. */ /* */ #define smg$scroll_display_area SMG$SCROLL_DISPLAY_AREA #ifdef __NEW_STARLET unsigned int smg$scroll_display_area( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$scroll_display_area(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SCROLL_VIEWPORT */ /* */ /* Scroll a Display Under a Viewport */ /* */ /* The Scroll a Display Under a Viewport routine scrolls a virtual */ /* display under its associated viewport. */ /* */ #define smg$scroll_viewport SMG$SCROLL_VIEWPORT #ifdef __NEW_STARLET unsigned int smg$scroll_viewport( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$scroll_viewport(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SELECT_FROM_MENU */ /* */ /* Make a Selection from the Menu */ /* */ /* The Make a Selection from the Menu routine lets you move between the */ /* menu choices using the arrow keys and lets you make a selection by */ /* pressing the return key. */ /* */ #define smg$select_from_menu SMG$SELECT_FROM_MENU #ifdef __NEW_STARLET unsigned int smg$select_from_menu( unsigned int *keyboard_id, unsigned int *display_id, unsigned short int *selected_choice_number, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$select_from_menu(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SET_BROADCAST_TRAPPING */ /* */ /* Enable Broadcast Trapping */ /* */ /* The Enable Broadcast Trapping routine enables the trapping of */ /* broadcast */ /* messages. */ /* */ #define smg$set_broadcast_trapping SMG$SET_BROADCAST_TRAPPING #ifdef __NEW_STARLET unsigned int smg$set_broadcast_trapping( unsigned int *pasteboard_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$set_broadcast_trapping(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SET_CURSOR_ABS */ /* */ /* Set Absolute Cursor Position */ /* */ /* The Set Absolute Cursor Position routine moves the virtual cursor to */ /* the specified position in a virtual display. */ /* */ #define smg$set_cursor_abs SMG$SET_CURSOR_ABS #ifdef __NEW_STARLET unsigned int smg$set_cursor_abs( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$set_cursor_abs(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SET_CURSOR_MODE */ /* */ /* Set the Cursor Mode */ /* */ /* The Set the Cursor Mode */ /* routine turns the physical cursor on or off and selects */ /* jump or smooth scrolling. */ /* */ #define smg$set_cursor_mode SMG$SET_CURSOR_MODE #ifdef __NEW_STARLET unsigned int smg$set_cursor_mode( unsigned int *pasteboard_id, unsigned int *flags); #else /* __OLD_STARLET */ unsigned int smg$set_cursor_mode(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SET_CURSOR_REL */ /* */ /* Move Cursor Relative to Current Position */ /* */ /* The Move Cursor Relative to Current Position routine moves the */ /* virtual */ /* cursor the specified number of rows and columns from the current */ /* virtual cursor position in a virtual display. */ /* */ #define smg$set_cursor_rel SMG$SET_CURSOR_REL #ifdef __NEW_STARLET unsigned int smg$set_cursor_rel( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$set_cursor_rel(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SET_DEFAULT_STATE */ /* */ /* Set Default State */ /* */ /* The Set Default State routine sets and/or returns the current */ /* default */ /* state for a key table. */ /* */ #define smg$set_default_state SMG$SET_DEFAULT_STATE #ifdef __NEW_STARLET unsigned int smg$set_default_state( unsigned int *key_table_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$set_default_state(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SET_DISPLAY_SCROLL_REGION */ /* */ /* Create Display Scrolling Region */ /* */ /* The Create Display Scrolling Region routine creates a virtual */ /* scrolling r */ /* in a virtual display. */ /* */ #define smg$set_display_scroll_region SMG$SET_DISPLAY_SCROLL_REGION #ifdef __NEW_STARLET unsigned int smg$set_display_scroll_region( unsigned int *display_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$set_display_scroll_region(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SET_KEYPAD_MODE */ /* */ /* Set Keypad Mode */ /* */ /* The Set Keypad Mode routine sets the terminal's numeric keypad to */ /* either numeric or applications mode. */ /* */ #define smg$set_keypad_mode SMG$SET_KEYPAD_MODE #ifdef __NEW_STARLET unsigned int smg$set_keypad_mode( unsigned int *keyboard_id, unsigned int *flags); #else /* __OLD_STARLET */ unsigned int smg$set_keypad_mode(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SET_OUT_OF_BAND_ASTS */ /* */ /* Set Out-of-Band ASTs */ /* */ /* The Set Out-of-Band ASTs routine either enables or disables the */ /* trapping of out-of-band control characters. */ /* */ #define smg$set_out_of_band_asts SMG$SET_OUT_OF_BAND_ASTS #ifdef __NEW_STARLET unsigned int smg$set_out_of_band_asts( unsigned int *pasteboard_id, unsigned int *control_character_mask, void (*ast_routine)(__unknown_params), __optional_params); #else /* __OLD_STARLET */ unsigned int smg$set_out_of_band_asts(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SET_PHYSICAL_CURSOR */ /* */ /* Set Cursor on Physical Screen */ /* */ /* The Set Cursor on Physical Screen routine moves the physical cursor */ /* to the specified position on the pasteboard. */ /* */ #define smg$set_physical_cursor SMG$SET_PHYSICAL_CURSOR #ifdef __NEW_STARLET unsigned int smg$set_physical_cursor( unsigned int *pasteboard_id, int *pasteboard_row, int *pasteboard_column); #else /* __OLD_STARLET */ unsigned int smg$set_physical_cursor(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SET_TERM_CHARACTERISTICS */ /* */ /* Change Terminal Characteristics */ /* */ /* The Change Terminal Characteristics routine changes or retrieves the */ /* terminal characteristics for a given pasteboard. */ /* */ #define smg$set_term_characteristics SMG$SET_TERM_CHARACTERISTICS #ifdef __NEW_STARLET unsigned int smg$set_term_characteristics( unsigned int *pasteboard_id, __optional_params ); #else /* __OLD_STARLET */ unsigned int smg$set_term_characteristics(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SNAPSHOT */ /* */ /* Write Snapshot */ /* */ /* The Write Snapshot routine writes the current pasteboard buffer to */ /* the file or hardcopy terminal specified by the pasteboard identifier. */ /* */ #define smg$snapshot SMG$SNAPSHOT #ifdef __NEW_STARLET unsigned int smg$snapshot( unsigned int *pasteboard_id, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$snapshot(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$SNAPSHOT_TO_PRINTER */ /* */ /* Write Snapshot to Printer */ /* */ /* The Write Snapshot to Printer routine writes the current pasteboard */ /* buffer to the printer attached to the terminal. */ /* */ #define smg$snapshot_to_printer SMG$SNAPSHOT_TO_PRINTER #ifdef __NEW_STARLET unsigned int smg$snapshot_to_printer( unsigned int *pasteboard_id, void *device_type, __optional_params); #else /* __OLD_STARLET */ unsigned int smg$snapshot_to_printer(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* SMG$UNPASTE_VIRTUAL_DISPLAY */ /* */ /* Remove Virtual Display */ /* */ /* The Remove Virtual Display routine removes a virtual display from a */ /* pasteboard. */ /* */ #define smg$unpaste_virtual_display SMG$UNPASTE_VIRTUAL_DISPLAY #ifdef __NEW_STARLET unsigned int smg$unpaste_virtual_display( unsigned int *display_id, unsigned int *pasteboard_id); #else /* __OLD_STARLET */ unsigned int smg$unpaste_virtual_display(__unknown_params); #endif /* #ifdef __NEW_STARLET */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __SMG_ROUTINES_LOADED */