Merge pull request #6511 from akallabeth/fd_flags
Updated FD_FLAGS definition.
This commit is contained in:
commit
bf2abac8db
@ -69,10 +69,22 @@ struct _FILEDESCRIPTOR
|
||||
typedef struct _FILEDESCRIPTOR FILEDESCRIPTOR;
|
||||
|
||||
/* FILEDESCRIPTOR.dwFlags */
|
||||
#define FD_ATTRIBUTES 0x00000004
|
||||
#define FD_FILESIZE 0x00000040
|
||||
#define FD_WRITESTIME 0x00000020
|
||||
#define FD_SHOWPROGRESSUI 0x00004000
|
||||
typedef enum
|
||||
{
|
||||
FD_CLSID = 0x00000001,
|
||||
FD_SIZEPOINT = 0x00000002,
|
||||
FD_ATTRIBUTES = 0x00000004,
|
||||
FD_CREATETIME = 0x00000008,
|
||||
FD_ACCESSTIME = 0x00000010,
|
||||
FD_WRITETIME = 0x00000020,
|
||||
FD_FILESIZE = 0x00000040,
|
||||
FD_PROGRESSUI = 0x00004000,
|
||||
FD_LINKUI = 0x00008000,
|
||||
FD_UNICODE = 0x80000000
|
||||
} FD_FLAGS;
|
||||
|
||||
/* Deprecated, here for compatibility */
|
||||
#define FD_SHOWPROGRESSUI FD_PROGRESSUI
|
||||
|
||||
/* FILEDESCRIPTOR.dwFileAttributes */
|
||||
#define FILE_ATTRIBUTE_READONLY 0x00000001
|
||||
|
@ -499,7 +499,7 @@ static BOOL convert_local_file_to_filedescriptor(const struct posix_file* file,
|
||||
FILEDESCRIPTORW* descriptor)
|
||||
{
|
||||
size_t remote_len = 0;
|
||||
descriptor->dwFlags = FD_ATTRIBUTES | FD_FILESIZE | FD_SHOWPROGRESSUI;
|
||||
descriptor->dwFlags = FD_ATTRIBUTES | FD_FILESIZE | FD_PROGRESSUI;
|
||||
|
||||
if (file->is_directory)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user