C# Class VsTeXProject.VisualStudio.Project.DragDropHelper

Mostrar archivo Open project: mimura1133/vstex

Public Methods

Method Description
CreateFormatEtc ( ushort iFormat ) : FORMATETC
GetData ( IDataObject pDataObject, FORMATETC &fmtetc ) : STGMEDIUM
GetDroppedFiles ( ushort format, IDataObject dataObject, DropDataType &ddt ) : List

Retrives data from a VS format.

GetSourceProjectPath ( IDataObject dataObject ) : string
QueryGetData ( IDataObject pDataObject, FORMATETC &fmtetc ) : int

Private Methods

Method Description
CopyHGlobal ( IntPtr data ) : IntPtr
CopyStringToHGlobal ( string s, IntPtr data, int bufferSize ) : void
DragDropHelper ( ) : System
GetData ( IntPtr dropHandle ) : string

Returns the data packed after the DROPFILES structure.

Method Details

CreateFormatEtc() public static method

public static CreateFormatEtc ( ushort iFormat ) : FORMATETC
iFormat ushort
return FORMATETC

GetData() public static method

public static GetData ( IDataObject pDataObject, FORMATETC &fmtetc ) : STGMEDIUM
pDataObject IDataObject
fmtetc FORMATETC
return STGMEDIUM

GetDroppedFiles() public static method

Retrives data from a VS format.
public static GetDroppedFiles ( ushort format, IDataObject dataObject, DropDataType &ddt ) : List
format ushort
dataObject IDataObject
ddt DropDataType
return List

GetSourceProjectPath() public static method

public static GetSourceProjectPath ( IDataObject dataObject ) : string
dataObject IDataObject
return string

QueryGetData() public static method

public static QueryGetData ( IDataObject pDataObject, FORMATETC &fmtetc ) : int
pDataObject IDataObject
fmtetc FORMATETC
return int