..msdn Add comment W32 Constants Translate this page
Retrieves the names of dropped files that result from a successful drag-and-drop operation.|
DECLARE INTEGER DragQueryFile IN shell32;
STRING @ lpszFile,;
Identifier of the structure containing the file names of the dropped files.
Index of the file to query.
Address of a buffer to receive the file name of a dropped file when the function returns.
Size, in characters, of the lpszFile buffer.
|When the function copies a file name to the buffer, the return value is a count of the characters copied, not including the terminating null character.|
|If the index value is 0xFFFFFFFF, the return value is a count of the dropped files. Note that the index variable itself returns unchanged, and will therefore remain 0xFFFFFFFF.|
If the index value is between zero and the total number of dropped files and the lpszFile buffer address is NULL, the return value is the required size, in characters, of the buffer, not including the terminating null character.
See also: DragAcceptFiles, DragFinish.
|Word Index links for the DragQueryFile :|
|Translate this page:|
Visited in last 7 days: 17
|Created: ||2005-08-05 15:20:48|
|Modified: ||2005-08-05 15:24:11|