DragQueryFile function shell32

int DragQueryFile(
  1. int hDrop,
  2. int iFile,
  3. Pointer<Utf16> lpszFile,
  4. int cch,
)

Retrieves the names of dropped files that result from a successful drag-and-drop operation.

UINT DragQueryFileW(
  [in]  HDROP  hDrop,
  [in]  UINT   iFile,
  [out] LPWSTR lpszFile,
        UINT   cch
);

Implementation

int DragQueryFile(int hDrop, int iFile, Pointer<Utf16> lpszFile, int cch) =>
    _DragQueryFile(hDrop, iFile, lpszFile, cch);