PyIDropTarget.DragEnter

int = DragEnter(pDataObj, grfKeyState , pt , pdwEffect )

Called when an object is initially dragged into a window

Parameters

pDataObj : PyIDataObject

IDataObject interface that contains the object being dragged

grfKeyState : int

Combination of win32con.MK_* flags containing keyboard modifier state

pt : (int, int)

(x,y) Screen coordinates of cursor

pdwEffect : int

shellcon.DROPEFFECT_* value

Return Value

Your implementation of this function should return a shellcon.DROPEFFECT_* value indicating if the object can be accepted