Citrix ICA Vuser Functions (CTRX) > Alphabetical List of Functions > ctrx_get_window_name


Example: ctrx_get_window_name Information Retrieval Functions

Retrieves the name of the active window.

int ctrx_get_window_name( LPSTR buffer, [CONTINUE_ON_ERROR,] CTRX_LAST );
buffer The output parameter containing the name of the window
CONTINUE_ON_ERROR A constant, entered as shown without quotes. Overrides the error behavior run-time setting for this step so that script behaves as though the run-time setting was Continue on error.
CTRX_LAST A marker that indicates the end of the argument list.

Use ctrx_get_window_name to retrieve the title of the window currently in focus.

It is up to the user to allocate memory space for buffer before ctrx_get_window_name is invoked and to de-allocate the memory when no longer in use.

Return Values

Citrix ICA Return Values


No parameterization is available for this function.