Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
73d9e1a6
Commit
73d9e1a6
authored
Apr 19, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed/updated the file attributes defines.
parent
af9e2930
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
14 deletions
+16
-14
int21.c
dlls/winedos/int21.c
+2
-2
winnt.h
include/winnt.h
+14
-12
No files found.
dlls/winedos/int21.c
View file @
73d9e1a6
...
...
@@ -1031,7 +1031,7 @@ static BOOL INT21_CreateFile( CONTEXT86 *context,
{
WORD
dosAttributes
=
CX_reg
(
context
);
if
(
dosAttributes
&
F
ILE_ATTRIBUTE
_LABEL
)
if
(
dosAttributes
&
F
A
_LABEL
)
{
/*
* Application tried to create volume label entry.
...
...
@@ -3743,7 +3743,7 @@ static unsigned INT21_FindHelper(LPCWSTR fullPath, unsigned drive, unsigned coun
RtlSecondsSince1970ToTime
(
(
time_t
)
0
,
(
LARGE_INTEGER
*
)
&
entry
->
ftCreationTime
);
RtlSecondsSince1970ToTime
(
(
time_t
)
0
,
(
LARGE_INTEGER
*
)
&
entry
->
ftLastAccessTime
);
RtlSecondsSince1970ToTime
(
(
time_t
)
0
,
(
LARGE_INTEGER
*
)
&
entry
->
ftLastWriteTime
);
entry
->
dwFileAttributes
=
F
ILE_ATTRIBUTE
_LABEL
;
entry
->
dwFileAttributes
=
F
A
_LABEL
;
entry
->
nFileSizeHigh
=
entry
->
nFileSizeLow
=
0
;
TRACE
(
"returning %s as label
\n
"
,
debugstr_w
(
entry
->
cAlternateFileName
));
return
1
;
...
...
include/winnt.h
View file @
73d9e1a6
...
...
@@ -3275,18 +3275,20 @@ typedef enum tagSID_NAME_USE {
#define FILE_SHARE_READ 0x00000001L
#define FILE_SHARE_WRITE 0x00000002L
#define FILE_SHARE_DELETE 0x00000004L
#define FILE_ATTRIBUTE_READONLY 0x00000001L
#define FILE_ATTRIBUTE_HIDDEN 0x00000002L
#define FILE_ATTRIBUTE_SYSTEM 0x00000004L
#define FILE_ATTRIBUTE_LABEL 0x00000008L
/* Not in Windows API */
#define FILE_ATTRIBUTE_DIRECTORY 0x00000010L
#define FILE_ATTRIBUTE_ARCHIVE 0x00000020L
#define FILE_ATTRIBUTE_NORMAL 0x00000080L
#define FILE_ATTRIBUTE_TEMPORARY 0x00000100L
#define FILE_ATTRIBUTE_ATOMIC_WRITE 0x00000200L
#define FILE_ATTRIBUTE_XACTION_WRITE 0x00000400L
#define FILE_ATTRIBUTE_COMPRESSED 0x00000800L
#define FILE_ATTRIBUTE_OFFLINE 0x00001000L
#define FILE_ATTRIBUTE_READONLY 0x00000001
#define FILE_ATTRIBUTE_HIDDEN 0x00000002
#define FILE_ATTRIBUTE_SYSTEM 0x00000004
#define FILE_ATTRIBUTE_DIRECTORY 0x00000010
#define FILE_ATTRIBUTE_ARCHIVE 0x00000020
#define FILE_ATTRIBUTE_NORMAL 0x00000080
#define FILE_ATTRIBUTE_TEMPORARY 0x00000100
#define FILE_ATTRIBUTE_SPARSE_FILE 0x00000200
#define FILE_ATTRIBUTE_REPARSE_POINT 0x00000400
#define FILE_ATTRIBUTE_COMPRESSED 0x00000800
#define FILE_ATTRIBUTE_OFFLINE 0x00001000
#define FILE_ATTRIBUTE_NOT_CONTENT_INDEXED 0x00002000
#define FILE_ATTRIBUTE_ENCRYPTED 0x00004000
/* File notification flags */
#define FILE_NOTIFY_CHANGE_FILE_NAME 0x00000001
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment