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
c425c8a4
Commit
c425c8a4
authored
Sep 23, 2008
by
Andrey Turkin
Committed by
Alexandre Julliard
Sep 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add stubbed implementations for NtQueryEaFile and NtSetEaFile.
parent
bcff2eb2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
5 deletions
+58
-5
file.c
dlls/ntdll/file.c
+53
-0
ntdll.spec
dlls/ntdll/ntdll.spec
+4
-4
winternl.h
include/winternl.h
+1
-1
No files found.
dlls/ntdll/file.c
View file @
c425c8a4
...
@@ -2309,6 +2309,59 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io
...
@@ -2309,6 +2309,59 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io
/******************************************************************
/******************************************************************
* NtQueryEaFile (NTDLL.@)
*
* Read extended attributes from NTFS files.
*
* PARAMS
* hFile [I] File handle, must be opened with FILE_READ_EA access
* iosb [O] Receives information about the operation on return
* buffer [O] Output buffer
* length [I] Length of output buffer
* single_entry [I] Only read and return one entry
* ea_list [I] Optional list with names of EAs to return
* ea_list_len [I] Length of ea_list in bytes
* ea_index [I] Optional pointer to 1-based index of attribute to return
* restart [I] restart EA scan
*
* RETURNS
* Success: 0. Atrributes read into buffer
* Failure: An NTSTATUS error code describing the error.
*/
NTSTATUS
WINAPI
NtQueryEaFile
(
HANDLE
hFile
,
PIO_STATUS_BLOCK
iosb
,
PVOID
buffer
,
ULONG
length
,
BOOLEAN
single_entry
,
PVOID
ea_list
,
ULONG
ea_list_len
,
PULONG
ea_index
,
BOOLEAN
restart
)
{
FIXME
(
"(%p,%p,%p,%d,%d,%p,%d,%p,%d) stub
\n
"
,
hFile
,
iosb
,
buffer
,
length
,
single_entry
,
ea_list
,
ea_list_len
,
ea_index
,
restart
);
return
STATUS_ACCESS_DENIED
;
}
/******************************************************************
* NtSetEaFile (NTDLL.@)
*
* Update extended attributes for NTFS files.
*
* PARAMS
* hFile [I] File handle, must be opened with FILE_READ_EA access
* iosb [O] Receives information about the operation on return
* buffer [I] Buffer with EA information
* length [I] Length of buffer
*
* RETURNS
* Success: 0. Attributes are updated
* Failure: An NTSTATUS error code describing the error.
*/
NTSTATUS
WINAPI
NtSetEaFile
(
HANDLE
hFile
,
PIO_STATUS_BLOCK
iosb
,
PVOID
buffer
,
ULONG
length
)
{
FIXME
(
"(%p,%p,%p,%d) stub
\n
"
,
hFile
,
iosb
,
buffer
,
length
);
return
STATUS_ACCESS_DENIED
;
}
/******************************************************************
* NtFlushBuffersFile (NTDLL.@)
* NtFlushBuffersFile (NTDLL.@)
*
*
* Flush any buffered data on an open file handle.
* Flush any buffered data on an open file handle.
...
...
dlls/ntdll/ntdll.spec
View file @
c425c8a4
...
@@ -238,7 +238,7 @@
...
@@ -238,7 +238,7 @@
@ stdcall NtQueryDefaultUILanguage(ptr)
@ stdcall NtQueryDefaultUILanguage(ptr)
@ stdcall NtQueryDirectoryFile(long long ptr ptr ptr ptr long long long ptr long)
@ stdcall NtQueryDirectoryFile(long long ptr ptr ptr ptr long long long ptr long)
@ stdcall NtQueryDirectoryObject(long ptr long long long ptr ptr)
@ stdcall NtQueryDirectoryObject(long ptr long long long ptr ptr)
@ st
ub NtQueryEaFile
@ st
dcall NtQueryEaFile(long ptr ptr long long ptr long ptr long)
@ stdcall NtQueryEvent(long long ptr long ptr)
@ stdcall NtQueryEvent(long long ptr long ptr)
@ stdcall NtQueryFullAttributesFile(ptr ptr)
@ stdcall NtQueryFullAttributesFile(ptr ptr)
@ stdcall NtQueryInformationAtom(long long ptr long ptr)
@ stdcall NtQueryInformationAtom(long long ptr long ptr)
...
@@ -313,7 +313,7 @@
...
@@ -313,7 +313,7 @@
@ stub NtSetDefaultHardErrorPort
@ stub NtSetDefaultHardErrorPort
@ stdcall NtSetDefaultLocale(long long)
@ stdcall NtSetDefaultLocale(long long)
@ stdcall NtSetDefaultUILanguage(long)
@ stdcall NtSetDefaultUILanguage(long)
@ st
ub NtSetEaFile
@ st
dcall NtSetEaFile(long ptr ptr long)
@ stdcall NtSetEvent(long long)
@ stdcall NtSetEvent(long long)
# @ stub NtSetEventBoostPriority
# @ stub NtSetEventBoostPriority
@ stub NtSetHighEventPair
@ stub NtSetHighEventPair
...
@@ -1082,7 +1082,7 @@
...
@@ -1082,7 +1082,7 @@
@ stdcall ZwQueryDefaultUILanguage(ptr) NtQueryDefaultUILanguage
@ stdcall ZwQueryDefaultUILanguage(ptr) NtQueryDefaultUILanguage
@ stdcall ZwQueryDirectoryFile(long long ptr ptr ptr ptr long long long ptr long) NtQueryDirectoryFile
@ stdcall ZwQueryDirectoryFile(long long ptr ptr ptr ptr long long long ptr long) NtQueryDirectoryFile
@ stdcall ZwQueryDirectoryObject(long ptr long long long ptr ptr) NtQueryDirectoryObject
@ stdcall ZwQueryDirectoryObject(long ptr long long long ptr ptr) NtQueryDirectoryObject
@ st
ub Zw
QueryEaFile
@ st
dcall ZwQueryEaFile(long ptr ptr long long ptr long ptr long) Nt
QueryEaFile
@ stdcall ZwQueryEvent(long long ptr long ptr) NtQueryEvent
@ stdcall ZwQueryEvent(long long ptr long ptr) NtQueryEvent
@ stdcall ZwQueryFullAttributesFile(ptr ptr) NtQueryFullAttributesFile
@ stdcall ZwQueryFullAttributesFile(ptr ptr) NtQueryFullAttributesFile
@ stdcall ZwQueryInformationAtom(long long ptr long ptr) NtQueryInformationAtom
@ stdcall ZwQueryInformationAtom(long long ptr long ptr) NtQueryInformationAtom
...
@@ -1157,7 +1157,7 @@
...
@@ -1157,7 +1157,7 @@
@ stub ZwSetDefaultHardErrorPort
@ stub ZwSetDefaultHardErrorPort
@ stdcall ZwSetDefaultLocale(long long) NtSetDefaultLocale
@ stdcall ZwSetDefaultLocale(long long) NtSetDefaultLocale
@ stdcall ZwSetDefaultUILanguage(long) NtSetDefaultUILanguage
@ stdcall ZwSetDefaultUILanguage(long) NtSetDefaultUILanguage
@ st
ub Zw
SetEaFile
@ st
dcall ZwSetEaFile(long ptr ptr long) Nt
SetEaFile
@ stdcall ZwSetEvent(long long) NtSetEvent
@ stdcall ZwSetEvent(long long) NtSetEvent
# @ stub ZwSetEventBoostPriority
# @ stub ZwSetEventBoostPriority
@ stub ZwSetHighEventPair
@ stub ZwSetHighEventPair
...
...
include/winternl.h
View file @
c425c8a4
...
@@ -1966,7 +1966,7 @@ NTSYSAPI NTSTATUS WINAPI NtQueryDefaultLocale(BOOLEAN,LCID*);
...
@@ -1966,7 +1966,7 @@ NTSYSAPI NTSTATUS WINAPI NtQueryDefaultLocale(BOOLEAN,LCID*);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryDefaultUILanguage
(
LANGID
*
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryDefaultUILanguage
(
LANGID
*
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryDirectoryFile
(
HANDLE
,
HANDLE
,
PIO_APC_ROUTINE
,
PVOID
,
PIO_STATUS_BLOCK
,
PVOID
,
ULONG
,
FILE_INFORMATION_CLASS
,
BOOLEAN
,
PUNICODE_STRING
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryDirectoryFile
(
HANDLE
,
HANDLE
,
PIO_APC_ROUTINE
,
PVOID
,
PIO_STATUS_BLOCK
,
PVOID
,
ULONG
,
FILE_INFORMATION_CLASS
,
BOOLEAN
,
PUNICODE_STRING
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryDirectoryObject
(
HANDLE
,
PDIRECTORY_BASIC_INFORMATION
,
ULONG
,
BOOLEAN
,
BOOLEAN
,
PULONG
,
PULONG
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryDirectoryObject
(
HANDLE
,
PDIRECTORY_BASIC_INFORMATION
,
ULONG
,
BOOLEAN
,
BOOLEAN
,
PULONG
,
PULONG
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryEaFile
(
HANDLE
,
PIO_STATUS_BLOCK
,
PVOID
,
ULONG
,
BOOLEAN
,
PVOID
,
ULONG
,
P
VOID
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryEaFile
(
HANDLE
,
PIO_STATUS_BLOCK
,
PVOID
,
ULONG
,
BOOLEAN
,
PVOID
,
ULONG
,
P
ULONG
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryEvent
(
HANDLE
,
EVENT_INFORMATION_CLASS
,
PVOID
,
ULONG
,
PULONG
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryEvent
(
HANDLE
,
EVENT_INFORMATION_CLASS
,
PVOID
,
ULONG
,
PULONG
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryFullAttributesFile
(
const
OBJECT_ATTRIBUTES
*
,
FILE_NETWORK_OPEN_INFORMATION
*
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryFullAttributesFile
(
const
OBJECT_ATTRIBUTES
*
,
FILE_NETWORK_OPEN_INFORMATION
*
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryInformationAtom
(
RTL_ATOM
,
ATOM_INFORMATION_CLASS
,
PVOID
,
ULONG
,
ULONG
*
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryInformationAtom
(
RTL_ATOM
,
ATOM_INFORMATION_CLASS
,
PVOID
,
ULONG
,
ULONG
*
);
...
...
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