File Name Mapping with Windows NT 4.0 Shell

Last reviewed: July 31, 1996
Article ID: Q154123
The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK), version 4.0

SUMMARY

When an application is acting as an OLE drag and drop server with the Windows NT 4.0 shell, that application can specify a file name map that will determine what the destination file name/s will be after the drop takes place. In Windows 95, this is done by supporting the CFSTR_FILENAMEMAP (defined as "FileNameMap") clipboard format and supplying a double NULL terminated list of single NULL terminated strings in response to CDataObject::GetData when the file name mapping clipboard format is requested. In Windows NT 4.0, the list of files for the file name mapping must be in wide character format.

MORE INFORMATION

In order to implement this, Windows NT 4.0 will support a new clipboard format, CFSTR_FILENAMEMAPW (defined as "FileNameMapW). When supplying the data for the CFSTR_FILENAMEMAPW clipboard format, you should supply a double NULL terminated list of single NULL terminated wide character strings. Window NT 4.0 will not request data for the CFSTR_FILENAMEMAP clipboard format.


Additional reference words: 4.00
KBCategory: kbprg kbole
KBSubcategory: UsrMisc



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 31, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.