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
f96670cb
Commit
f96670cb
authored
Nov 11, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add support for root directory in NtCreateFile for Win32 file objects.
parent
66d893b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
file.c
dlls/ntdll/file.c
+3
-10
om.c
dlls/ntdll/tests/om.c
+1
-1
No files found.
dlls/ntdll/file.c
View file @
f96670cb
...
@@ -158,16 +158,9 @@ NTSTATUS WINAPI NtCreateFile( PHANDLE handle, ACCESS_MASK access, POBJECT_ATTRIB
...
@@ -158,16 +158,9 @@ NTSTATUS WINAPI NtCreateFile( PHANDLE handle, ACCESS_MASK access, POBJECT_ATTRIB
if
(
alloc_size
)
FIXME
(
"alloc_size not supported
\n
"
);
if
(
alloc_size
)
FIXME
(
"alloc_size not supported
\n
"
);
if
(
attr
->
RootDirectory
)
if
(
attr
->
RootDirectory
||
{
(
io
->
u
.
Status
=
wine_nt_to_unix_file_name
(
attr
->
ObjectName
,
&
unix_name
,
disposition
,
FIXME
(
"RootDirectory %p not supported
\n
"
,
attr
->
RootDirectory
);
!
(
attr
->
Attributes
&
OBJ_CASE_INSENSITIVE
)
))
==
STATUS_BAD_DEVICE_TYPE
)
return
STATUS_OBJECT_NAME_NOT_FOUND
;
}
io
->
u
.
Status
=
wine_nt_to_unix_file_name
(
attr
->
ObjectName
,
&
unix_name
,
disposition
,
!
(
attr
->
Attributes
&
OBJ_CASE_INSENSITIVE
)
);
if
(
io
->
u
.
Status
==
STATUS_BAD_DEVICE_TYPE
)
{
{
SERVER_START_REQ
(
open_file_object
)
SERVER_START_REQ
(
open_file_object
)
{
{
...
...
dlls/ntdll/tests/om.c
View file @
f96670cb
...
@@ -553,7 +553,7 @@ static void test_symboliclink(void)
...
@@ -553,7 +553,7 @@ static void test_symboliclink(void)
pRtlCreateUnicodeStringFromAsciiz
(
&
str
,
"test-link
\\
PIPE"
);
pRtlCreateUnicodeStringFromAsciiz
(
&
str
,
"test-link
\\
PIPE"
);
status
=
pNtOpenFile
(
&
h
,
GENERIC_READ
,
&
attr
,
&
iosb
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
FILE_OPEN
);
status
=
pNtOpenFile
(
&
h
,
GENERIC_READ
,
&
attr
,
&
iosb
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
FILE_OPEN
);
todo_wine
ok
(
status
==
STATUS_SUCCESS
,
"Failed to open NamedPipe(%08x)
\n
"
,
status
);
ok
(
status
==
STATUS_SUCCESS
,
"Failed to open NamedPipe(%08x)
\n
"
,
status
);
pRtlFreeUnicodeString
(
&
str
);
pRtlFreeUnicodeString
(
&
str
);
pNtClose
(
h
);
pNtClose
(
h
);
...
...
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