Ole32RevokeDragDrop Method

Revokes the registration of the specified application window as a potential target for OLE drag-and-drop operations.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Ole32.dll")]
public static HResult RevokeDragDrop(
	IntPtr hWnd
)

Parameters

hWnd  IntPtr
Handle to a window previously registered as a target for an OLE drag-and-drop operation.

Return Value

HResult
Returns S_OK on success, or other HResult if an error occurs.

Remarks

See Also