msiTocEntry

msiTocEntry ?threadName? ?retvar | {}?

This command is similar to keylget for retvar handling.

  • If retvar is not specified, 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 retvar is specified and the thread is in the ToC, then the keyed list of data is placed in retvar. The command returns "1". If the thread is not in the ToC, then the command returns 0 and retvar is left unchanged.
  • If retvar is specified as {}, then the keyed list is not returned, permitting the programmer to determine the presence of the ToC entry.
  • If threadName is omitted, then the list of threads in the ToC is returned.