GetSelectionServicesListener method

Retrieves an ISelectionServicesListener interface for the current editable selection so that the editor can process certain selection events.

Syntax


HRESULT retVal = object.GetSelectionServicesListener(ppISelectionServicesListener);

Parameters

ppISelectionServicesListener [out]

Type: ISelectionServicesListener

Address of a pointer to a variable that receives an ISelectionServicesListener interface pointer to the interface that the editor will use with the current editable selection.

Return value

Type: HRESULT

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

 

 

Show: