|
"FileNameMap" Format
The "FileNameMap" format is used with the CF_HDROP clipboard format to rename
a list of files that are copied to a new location during a copy and paste
operation or a drag and drop operation. Data in the "FileNameMap" format consist of
a double-null terminated list of filenames that correspond to the filenames in
the CF_HDROP data. When the files listed in the CF_HDROP data are copied to the
new location, the files receive the new names specified in the "FileNameMap"
data. For example, if the CF_HDROP data contains two files with the names
c:\temp.000 and c:\temp.001, the "FileNameMap" data contains the following list of
filenames.
"new.txt\0another.txt\0\0"
If the files are copied to c:\target, they receive the following names.
c:\target\new.txt(was c:\temp.000)
c:\target\another.txt(was c:\temp.001)
The system stores files in the recycle bin using a coding system for the
filenames (dcxxxx.ext). When the user drags or copies files from the recycle bin,
the system uses the filenames specified in the "FileNameMap" format to rename the
files.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|