TerGetListInfo
Retrieve information for a list id.
BOOL TerGetListInfo(hWnd, ListId, ListName, LevelCount, flags)
BOOL TerGetListInfo2(hWnd, ListId, ListName, LevelCount, flags, RtfId, TmplId)
HWND hWnd; | The handle of the window to be accessed |
int ListId; | The id of the list item. Set this parameter to -1 to retrieve the information about the list id for the current line. The TerGetListOrInfo function can be used to retrieve the list id associated with a list override id. |
LPBYTE ListName; | The location to retrieve the list name |
LPINT LevelCount; | The location to retrieve the number of list levels supported by the list. A nested list supports 9 levels. A simple list supports one level. |
LPLONG flags; | The location to retrieve the list flag (LISTFLAG_?). Please refer to the TerEditList for an available list of list flags. |
LPLONG RtfId; | The location to retrieve the unique RTF id for this list. |
LPLONG TmplId; | The location to retrieve the template id for this list. |
Return Value: This function returns TRUE when successful.