msiTocEntry

This works such as keylget for retvar handling.

msiTocEntry ?threadName? ?retvar | {}?
  • If you do not specify retvar, then the value is the keyed list of ToC entry data. If the thread is not found within the ToC, then an error results.
  • If you specify retvar and the thread is in the ToC, then the keyed list of data is placed in retvar and the command returns "1". If the thread is not in the ToC, then the command returns 0 and retvar is left unchanged.
  • If you specify retvar as "{}", then the keyed list is not returned, permitting the programmer to determine the presence of the ToC entry.
  • If you omit threadName, then the list of threads in the ToC is returned.