OnSelectionChanged method

Called when the user has selected an item.

Syntax

HRESULT retVal = object.OnSelectionChanged(pidl);

Parameters

  • pidl [in]
    Type: PCIDLIST_ABSOLUTE

    The item that was selected.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.