IShellFolderView::IsDropOnSource method (shlobj_core.h)

[This method has been deprecated. Use IFolderView2::IsMoveInSameFolder instead.]

Checks whether the destination of the current drag-and-drop or cut-and-paste operation is the same as the source.

Syntax

HRESULT IsDropOnSource(
  [in, optional] IDropTarget *pDropTarget
);

Parameters

[in, optional] pDropTarget

Type: IDropTarget*

A pointer to a destination drop target object.

Return value

Type: HRESULT

Returns S_OK if the destination is the same as the source.

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