IShellFolderView::SetPoints method (shlobj_core.h)

[SetPoints is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Copies the points at which the current selection is located into a data object.


HRESULT SetPoints(
  [in] IDataObject *pDataObject


[in] pDataObject

Type: IDataObject*

A pointer to the data object. This data object contains the points of location of the current selection. These points are given in coordinates relative to the ListView control that the view contains. These points can be used for positioning the object at the end of a drag-and-drop operation.

Return value


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


This call is not needed if the drag-and-drop operation was originated by IShellView.


Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shlobj_core.h