TE Edit Control Win32 / Win64 Help
Product page

TerGetBookmark

Retrieve a bookmark name.

int TerGetBookmark(hWnd, index, name)
HWND hWnd;The handle of the window to be accessed
int index;The index (0 to Total Bookmarks -1) of the bookmark to retrieve. Set to -1 to retrieve the total number of bookmarks in the document.
LPBYTE name;The location to retrieve the bookmark name.

Return Value: This function returns the total number of bookmarks in the document.