Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsFileDescriptorMBS class.

WindowsFileDescriptorMBS.FD_ACCESSTIME = &h0010

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_ACCESSTIME) <> 0 then
dim da as new date
da.TotalSeconds = d.LastAccessTime
MsgBox da.LongDate
end if

The LastAccessTime member is valid.

WindowsFileDescriptorMBS.FD_ATTRIBUTES = 4

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_ATTRIBUTES) <> 0 then
if BitwiseAnd(d.FileAttributes, d.FILE_ATTRIBUTE_TEMPORARY)<>0 then
MsgBox "temp file"
else
MsgBox "no temp file"
end if
end if

The FileAttributes member is valid.

WindowsFileDescriptorMBS.FD_CLSID = 1

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_CLSID) <> 0 then
MsgBox d.ClassID
end if

The ClassID member is valid.

WindowsFileDescriptorMBS.FD_CREATETIME = 8

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_CREATETIME) <> 0 then
dim da as new date
da.TotalSeconds = d.CreationTime
MsgBox da.LongDate
end if

The CreationTime member is valid.

WindowsFileDescriptorMBS.FD_FILESIZE = &h0040

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_FILESIZE) <> 0 then
MsgBox str(d.FileSize)
end if

Whether the FileSize member is valid.

WindowsFileDescriptorMBS.FD_LINKUI = &h8000

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.

Treat the operation as a shortcut.

WindowsFileDescriptorMBS.FD_PROGRESSUI = &h4000

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.

A progress indicator is shown with drag-and-drop operations.

WindowsFileDescriptorMBS.FD_SIZEPOINT = 2

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_SIZEPOINT) <> 0 then
MsgBox "file object at "+stR(d.Pointx)+"/"+str(d.Pointy)+" with size "+str(d.IconWidth)+"/"+str(d.IconHeight)
end if

The Icon* and point* members are valid.

WindowsFileDescriptorMBS.FD_WRITESTIME = &h0020

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the flag constants.
Example
dim d as WindowsFileDescriptorMBS // your file description

if BitwiseAnd(d.Flags, d.FD_WRITESTIME) <> 0 then
dim da as new date
da.TotalSeconds = d.LastWriteTime
MsgBox da.LongDate
end if

Whether the LastWriteTime property is valid.

WindowsFileDescriptorMBS.FILE_ATTRIBUTE_ARCHIVE = &h00000020

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the file attribute constants.

A file or directory that is an archive file or directory. Applications typically use this attribute to mark files for backup or removal .

WindowsFileDescriptorMBS.FILE_ATTRIBUTE_ATOMIC_WRITE = &h00000200

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the file attribute constants.

WindowsFileDescriptorMBS.FILE_ATTRIBUTE_COMPRESSED = &h00000800

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the file attribute constants.

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.

WindowsFileDescriptorMBS.FILE_ATTRIBUTE_DIRECTORY = &h00000010

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the file attribute constants.

The handle that identifies a directory.

WindowsFileDescriptorMBS.FILE_ATTRIBUTE_HIDDEN = &h00000002

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the file attribute constants.

The file or directory is hidden. It is not included in an ordinary directory listing.

WindowsFileDescriptorMBS.FILE_ATTRIBUTE_NORMAL = &h00000080

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the file attribute constants.

A file that does not have other attributes set. This attribute is valid only when used alone.

WindowsFileDescriptorMBS.FILE_ATTRIBUTE_OFFLINE = &h00001000

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the file attribute constants.

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.

WindowsFileDescriptorMBS.FILE_ATTRIBUTE_READONLY = &h00000001

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the file attribute constants.

A file that is read-only. Applications can read the file, but cannot write to it or delete it.

WindowsFileDescriptorMBS.FILE_ATTRIBUTE_SYSTEM = &h00000004

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the file attribute constants.

A file or directory that the operating system uses a part of, or uses exclusively.

WindowsFileDescriptorMBS.FILE_ATTRIBUTE_TEMPORARY = &h00000100

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the file attribute constants.

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.

WindowsFileDescriptorMBS.FILE_ATTRIBUTE_XACTION_WRITE = &h00000400

Type Topic Plugin Version
const Drag & Drop MBS Win Plugin 11.2
One of the file attribute constants.

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


💬 Ask a question or report a problem
The biggest plugin in space...