Ignore:
Timestamp:
Sep 9, 1999, 10:48:40 PM (26 years ago)
Author:
phaller
Message:

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shell32/new/shell.cpp

    r891 r898  
    3232//#include "syslevel.h"
    3333#include "imagelist.h"
     34#include "shell32_main.h"
    3435
    3536#include <heapstring.h>
     
    182183    GlobalUnlock(hDrop);
    183184    return i;
     185}
     186
     187
     188/*****************************************************************************
     189 * Name      : UINT DragQueryFileAorW
     190 * Purpose   :
     191 * Parameters: HDROP  hDrop    - drop structure handle
     192 *             UINT   iFile    - index of file to query
     193 *             LPTSTR lpszFile - target buffer
     194 *             UINT   cch      - target buffer size
     195 * Variables :
     196 * Result    :
     197 * Remark    :
     198 * Status    : UNTESTED STUB
     199 *
     200 * Author    : Patrick Haller [Tue, 1999/06/09 20:00]
     201 *****************************************************************************/
     202
     203UINT WIN32API DragQueryFileAorW(HDROP  hDrop,
     204                                UINT   iFile,
     205                                LPTSTR lpszFile,
     206                                UINT   cch)
     207{
     208  dprintf(("SHELL32: DragQueryFileAorW(%08xh,%08xh,%s,%08xh).\n",
     209           hDrop,
     210           iFile,
     211           lpszFile,
     212           cch));
     213
     214  // @@@PH maybe they want automatic determination here
     215  if (VERSION_OsIsUnicode())
     216    return DragQueryFileW(hDrop, iFile, (LPWSTR)lpszFile, cch);
     217  else
     218    return DragQueryFileA(hDrop, iFile, lpszFile, cch);
    184219}
    185220
Note: See TracChangeset for help on using the changeset viewer.