beckhoff — 6.7.9.7 GetSelectedItem

Event Configuration The item is copied. 6.7.9.5 ExpandSelection Expand the treeviews currently selected item. HRESULT ExpandSelection(); Parameters Return Values S_OK The item is expanded. 6.7.9.6 GetConfiguration Get the underlying configuration [ } 26] object. HRESULT GetConfiguration([out, retval] IEvtConfiguration** ppConfig); Parameters ppConfig [out, retval] pointer to a pointer to the underlyingn configuration. Return Values S_OK *ppConfig contains a valid pointer. E_FAIL The editor was not initialized properly and does not hold a configuration object. E_POINTER ppConfig was no valid pointer 6.7.9.7 GetSelectedItem Get the current selection in the tree View.

The item is identified by the type of COM opject returned (can be IEvtCfgSource [ } 32] , IEvtCfgEvent [ } 41] or IEvtCfgDocLink [ } 50] ). Subitems are identified by Enum EVTCFGEDITOR_ITEMTYPES [ } 65] and a language Id. HRESULT GetSelectedItem([out] IDispatch** ppItem, [out] EVTCFGEDITOR_ITEMTYPES* subItem, [out] LONG* langId); Parameters ppItem TcEventLogger 63 Version: 1.1