Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsFileDescriptorMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Drag & Drop MBS Win Plugin 11.2 No Yes No Yes, Windows only No
Function: The class for a file description.s

Feedback, Comments & Corrections

Flag constants

Constant Value Description
FD_ACCESSTIME &h0010 The LastAccessTime member is valid.
FD_ATTRIBUTES 4 The FileAttributes member is valid.
FD_CLSID 1 The ClassID member is valid.
FD_CREATETIME 8 The CreationTime member is valid.
FD_FILESIZE &h0040 Whether the FileSize member is valid.
FD_LINKUI &h8000 Treat the operation as a shortcut.
FD_PROGRESSUI &h4000 A progress indicator is shown with drag-and-drop operations.
FD_SIZEPOINT 2 The Icon* and point* members are valid.
FD_WRITESTIME &h0020 Whether the LastWriteTime property is valid.

File attribute constants

Constant Value Description
FILE_ATTRIBUTE_ARCHIVE &h00000020 A file or directory that is an archive file or directory. Applications typically use this attribute to mark files for backup or removal .
FILE_ATTRIBUTE_ATOMIC_WRITE &h00000200
FILE_ATTRIBUTE_COMPRESSED &h00000800 A file or directory that is compressed. For a file, all of the data in the file is compressed. For a directory, compression is the default for newly created files and subdirectories.
FILE_ATTRIBUTE_DIRECTORY &h00000010 The handle that identifies a directory.
FILE_ATTRIBUTE_HIDDEN &h00000002 The file or directory is hidden. It is not included in an ordinary directory listing.
FILE_ATTRIBUTE_NORMAL &h00000080 A file that does not have other attributes set. This attribute is valid only when used alone.
FILE_ATTRIBUTE_OFFLINE &h00001000 The data of a file is not available immediately. This attribute indicates that the file data is physically moved to offline storage. This attribute is used by Remote Storage, which is the hierarchical storage management software. Applications should not arbitrarily change this attribute.
FILE_ATTRIBUTE_READONLY &h00000001 A file that is read-only. Applications can read the file, but cannot write to it or delete it.
FILE_ATTRIBUTE_SYSTEM &h00000004 A file or directory that the operating system uses a part of, or uses exclusively.
FILE_ATTRIBUTE_TEMPORARY &h00000100 A file that is being used for temporary storage. File systems avoid writing data back to mass storage if sufficient cache memory is available, because typically, an application deletes a temporary file after the handle is closed. In that scenario, the system can entirely avoid writing the data. Otherwise, the data is written after the handle is closed.
FILE_ATTRIBUTE_XACTION_WRITE &h00000400

This class has no sub classes.

Some methods using this class:

Some examples which use this class:


The items on this page are in the following plugins: MBS Win Plugin.


WindowsFileCopyMBS   -   WindowsFileInfoMBS




Links
MBS Xojo PDF Plugins