Event Configuration subItem [in] Subitem to be selected. If TYPE_NULL, the item itself is selected. See the EVTCFGEDITOR_ITEMTYPES [ } 65] for more details. If subItem is TYPE_SRCNAME, TYPE_EVTMSG or TYPE_URL, a language Id for the item to be selected must be specified. langId [in] Language identifier of the item to be selected. Return Values S_OK The item was selected as requested. E_FAIL The requested Item could not be selected, e.g. because the subitem does not match the supplied item type, or an item could not be found in the specified language.
E_POINTER pItem was no valid pointer Also see about this 2 IEvtCfgEditor [ } 61] 6.7.9.10 EVTCFGEDITOR_ITEMTYPES This enum is used to determine which item is selected in the tree. typedef enum { TYPE_NULL = 0, TYPE_SRC, TYPE_SRCNAMETAG, TYPE_SRCNAME, TYPE_EVTTAG, TYPE_EVT, TYPE_EVTMSG, TYPE_EVTMSGTAG, TYPE_LNKTAG, TYPE_LNK, TYPE_URL }EVTCFGEDITOR_ITEMTYPES; TcEventLogger 65 Version:
1.1 Value Description Editor Icon TYPE NULL _ Undefined type, most likely indicating an error TYPE SRC _ A Source item TYPE SRCNAMETAG _ The Names tag beneath TYPE SRC _ TYPE SRCNAME _ A sourcename - child of TYPE SRCNAMETAG _ TYPE EVTTAG _ The event tag beneath TYPE SRC _ TYPE EVT _ One Event TYPE EVTMSGTAG _ The messages tag bemeath TYPE EVT _ TYPE EVTMSG _ An event message string - child of TYPE EVT _