Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
bcfe9544
Commit
bcfe9544
authored
Sep 13, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Sep 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Fix ImpersonateNamedPipeClient to pass in a pointer to an IO_STATUS_BLOCK to NtFsControl.
Otherwise, NtFsControl file won't do anything except return STATUS_INVALID_PARAMETER.
parent
7d947c16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
security.c
dlls/advapi32/security.c
+4
-2
No files found.
dlls/advapi32/security.c
View file @
bcfe9544
...
...
@@ -1267,10 +1267,12 @@ BOOL WINAPI InitializeAcl(PACL acl, DWORD size, DWORD rev)
BOOL
WINAPI
ImpersonateNamedPipeClient
(
HANDLE
hNamedPipe
)
{
IO_STATUS_BLOCK
io_block
;
TRACE
(
"(%p)
\n
"
,
hNamedPipe
);
return
set_ntstatus
(
NtFsControlFile
(
hNamedPipe
,
NULL
,
NULL
,
NULL
,
NULL
,
FSCTL_PIPE_IMPERSONATE
,
NULL
,
0
,
NULL
,
0
)
);
return
set_ntstatus
(
NtFsControlFile
(
hNamedPipe
,
NULL
,
NULL
,
NULL
,
&
io_block
,
FSCTL_PIPE_IMPERSONATE
,
NULL
,
0
,
NULL
,
0
)
);
}
/******************************************************************************
...
...
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