C# Class BExplorer.Shell.DropExtensions

Show file Open project: Gainedge/BetterExplorer

Public Methods

Method Description
Advise ( this dataObject, IAdviseSink sink, string format, ADVF advf ) : int

Sets up an advisory connection to the data object.

SetDropDescription ( this dataObject, DataObject dropDescription ) : HResult

Private Methods

Method Description
FillFormatETC ( string format, TYMED tymed, System.Runtime.InteropServices.ComTypes.FORMATETC &formatETC ) : void

Fills a FORMATETC structure.

GetDropDescription ( this dataObject ) : object
RegisterClipboardFormat ( string lpszFormatName ) : uint
ReleaseStgMedium ( System.Runtime.InteropServices.ComTypes.STGMEDIUM &pmedium ) : void

Method Details

Advise() public static method

Sets up an advisory connection to the data object.
public static Advise ( this dataObject, IAdviseSink sink, string format, ADVF advf ) : int
dataObject this The data object on which to set the advisory connection.
sink IAdviseSink The advisory sink.
format string The format on which to callback on.
advf ADVF Advisory flags. Can be 0.
return int

SetDropDescription() public static method

public static SetDropDescription ( this dataObject, DataObject dropDescription ) : HResult
dataObject this
dropDescription DataObject
return HResult