mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
ntdll: Make NtQueryFullAttributesFile and NtQueryAttributesFile thin wrappers over an internal function.
This commit is contained in:
parent
1880a786d1
commit
e11c2496c5
@ -1965,9 +1965,9 @@ NTSTATUS WINAPI NtSetInformationFile(HANDLE handle, PIO_STATUS_BLOCK io,
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* NtQueryFullAttributesFile (NTDLL.@)
|
||||
* FILE_QueryFullAttributesFile (internal)
|
||||
*/
|
||||
NTSTATUS WINAPI NtQueryFullAttributesFile( const OBJECT_ATTRIBUTES *attr,
|
||||
static NTSTATUS FILE_QueryFullAttributesFile( const OBJECT_ATTRIBUTES *attr,
|
||||
FILE_NETWORK_OPEN_INFORMATION *info )
|
||||
{
|
||||
ANSI_STRING unix_name;
|
||||
@ -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 = NtQueryFullAttributesFile( attr, &full_info )))
|
||||
if (!(status = FILE_QueryFullAttributesFile( attr, &full_info )))
|
||||
{
|
||||
info->CreationTime.QuadPart = full_info.CreationTime.QuadPart;
|
||||
info->LastAccessTime.QuadPart = full_info.LastAccessTime.QuadPart;
|
||||
|
Loading…
Reference in New Issue
Block a user