Contents Index Topic Contents | ||
Previous Topic: EXT_BUTTON Next Topic: FILEGROUPDESCRIPTOR |
FILEDESCRIPTOR
Describes the properties of a file that is being copied by means of the clipboard during an OLE drag-and-drop operation.
Syntax
typedef struct _FILEDESCRIPTOR { DWORD dwFlags; CLSID clsid; SIZEL sizel; POINTL pointl; DWORD dwFileAttributes; FILETIME ftCreationTime; FILETIME ftLastAccessTime; FILETIME ftLastWriteTime; DWORD nFileSizeHigh; DWORD nFileSizeLow; TCHAR cFileName[MAX_PATH]; } FILEDESCRIPTOR, *LPFILEDESCRIPTOR;Members
- dwFlags
- Array of flags that indicate which of the other structure members contain valid data. This member can be a combination of the following values:
FD_ACCESSTIME The ftLastAccessTime member is valid. FD_ATTRIBUTES The dwFileAttributes member is valid. FD_CLSID The clsid member is valid. FD_CREATETIME The ftCreationTime member is valid. FD_FILESIZE The nFileSizeHigh and nFileSizeLow members are valid. FD_LINKUI Treat the operation as "Link." FD_SIZEPOINT The sizel and pointl members are valid. FD_WRITESTIME The ftLastWriteTime member is valid. - clsid
- File class identifier.
- sizel
- Width and height of the file icon.
- pointl
- Screen coordinates of the file object.
- dwFileAttributes
- File attribute flags. This will be a combination of the FILE_ATTRIBUTE_ values described in GetFileAttributes.
- ftCreationTime
- FILETIME structure that contains the time of file creation.
- ftLastAccessTime
- FILETIME structure that contains the time that the file was last accessed.
- ftLastWriteTime
- FILETIME structure that contains the time of the last write operation.
- nFileSizeHigh
- High-order DWORD of the file size, in bytes.
- nFileSizeLow
- Low-order DWORD of the file size, in bytes.
- cFileName
- Null-terminated string that contains the name of the file.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.