Επεξεργασία

Κοινή χρήση μέσω


IShellFolderView::GetDragPoint method (shlobj_core.h)

[This method is available through Windows Vista. It might be altered or unavailable in subsequent versions of Windows.]

Gets the point at which the current drag-and-drop operation was initiated.

Syntax

HRESULT GetDragPoint(
  [out] POINT *ppt
);

Parameters

[out] ppt

Type: POINT*

A pointer to a structure that, when this method returns successfully, receives the coordinates from which the current drag-and-drop operation was initiated.

Return value

Type: HRESULT

Returns S_OK if successful, S_FALSE if the view does not have a drag point, or an error value otherwise.

Requirements

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