string/int = DragQueryFile(hDrop, fileNum )
Retrieves the file names of dropped files.
Win32 API References
Return ValueIf 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.