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
e11c2496
Commit
e11c2496
authored
Jun 05, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Make NtQueryFullAttributesFile and NtQueryAttributesFile thin wrappers…
ntdll: Make NtQueryFullAttributesFile and NtQueryAttributesFile thin wrappers over an internal function.
parent
1880a786
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
file.c
dlls/ntdll/file.c
+13
-4
No files found.
dlls/ntdll/file.c
View file @
e11c2496
...
...
@@ -1965,10 +1965,10 @@ NTSTATUS WINAPI NtSetInformationFile(HANDLE handle, PIO_STATUS_BLOCK io,
/******************************************************************************
*
NtQueryFullAttributesFile (NTDLL.@
)
*
FILE_QueryFullAttributesFile (internal
)
*/
NTSTATUS
WINAPI
Nt
QueryFullAttributesFile
(
const
OBJECT_ATTRIBUTES
*
attr
,
FILE_NETWORK_OPEN_INFORMATION
*
info
)
static
NTSTATUS
FILE_
QueryFullAttributesFile
(
const
OBJECT_ATTRIBUTES
*
attr
,
FILE_NETWORK_OPEN_INFORMATION
*
info
)
{
ANSI_STRING
unix_name
;
NTSTATUS
status
;
...
...
@@ -2011,6 +2011,15 @@ NTSTATUS WINAPI NtQueryFullAttributesFile( const OBJECT_ATTRIBUTES *attr,
return
status
;
}
/******************************************************************************
* NtQueryFullAttributesFile (NTDLL.@)
*/
NTSTATUS
WINAPI
NtQueryFullAttributesFile
(
const
OBJECT_ATTRIBUTES
*
attr
,
FILE_NETWORK_OPEN_INFORMATION
*
info
)
{
return
FILE_QueryFullAttributesFile
(
attr
,
info
);
}
/******************************************************************************
* NtQueryAttributesFile (NTDLL.@)
...
...
@@ -2021,7 +2030,7 @@ NTSTATUS WINAPI NtQueryAttributesFile( const OBJECT_ATTRIBUTES *attr, FILE_BASIC
FILE_NETWORK_OPEN_INFORMATION
full_info
;
NTSTATUS
status
;
if
(
!
(
status
=
Nt
QueryFullAttributesFile
(
attr
,
&
full_info
)))
if
(
!
(
status
=
FILE_
QueryFullAttributesFile
(
attr
,
&
full_info
)))
{
info
->
CreationTime
.
QuadPart
=
full_info
.
CreationTime
.
QuadPart
;
info
->
LastAccessTime
.
QuadPart
=
full_info
.
LastAccessTime
.
QuadPart
;
...
...
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