win32api.DragQueryFile

string/int = DragQueryFile(hDrop, fileNum )

Retrieves the file names of dropped files.

Parameters

hDrop : int

Handle identifying the structure containing the file names.

fileNum=0xFFFFFFFF : int

Specifies the index of the file to query.

Win32 API References

Search for DragQueryFile at msdn, google or google groups.

Return Value

If the fileNum parameter is 0xFFFFFFFF (the default) then the return value is an integer with the count of files dropped. If fileNum is between 0 and Count, the return value is a string containing the filename.
If an error occurs, and exception is raised.