# GCC_GetCursorName

int GCC_GetCursorName (int graphCursorControl, int cursorNumber, char cursorName[]);

## Purpose

This function returns the name of the specified cursor in the graph cursor control.

## Parameters

Input
Name | Type | Description
graphCursorControl | integer | The handle to the graph cursor control returned by GCC_New.
cursorNumber | integer | The number of the cursor whose name will be returned.
Output
Name | Type | Description
cursorName | char [] | The name of the specified cursor. You must pass a buffer that can hold the entire name plus the trailing NUL byte. You can call GCC_GetCursorNameLength to obtain the length of the name of the cursor.

## Return Value

Name | Type | Description
result | integer | The return value of the function. User interface error codes as documented in userint.h are returned.