Event Configuration [out] Pointer to IDispatch pointer. It contains a pointer to one of the interfaces mentioned above subItem [out] Selected subitem. 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, langId contains valid data. langId [out] Language identifier of the selected item. Return Values S_OK Function completed successfully. E_POINTER ppItem was no valid pointer. 6.7.9.8 Paste Paste data as child of the selected item. If the item copied cannot be pasted as child of the currently selected item, the function will fail.
HRESULT Paste(); Parameters Return Values E_FAIL The item cannot be pasted as child of the current selection. Call CanPase [ } 62] to check whether pasting is possible S_OK The item is pasted. 6.7.9.9 SelectItem Select an item in the tree View. The item is identified by the type of COM opject supplied (can be IEvtCfgSource [ } 32] , IEvtCfgEvent [ } 41] or IEvtCfgDocLink [ } 50] ). If neccessary, subitems are identified by enum EVTCFGEDITOR_ITEMTYPES [ } 65] and a language Id.
HRESULT SelectItem([in] IDispatch* pItem, [in, defaultvalue(TYPE_NULL)] EVTCFGEDITOR_ITEMTYPES subItem, [in, defaultvalue(0)] LONG langId ); Parameters pItem [in] IDispatch pointer which contains a pointer to one of the interfaces mentioned above TcEventLogger 64 Version: 1.1