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
2cd033ee
Commit
2cd033ee
authored
Mar 19, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi: Improve SetEntriesInAclW stub.
parent
112257e5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
security.c
dlls/advapi32/security.c
+2
-1
security.c
dlls/advapi32/tests/security.c
+11
-0
No files found.
dlls/advapi32/security.c
View file @
2cd033ee
...
...
@@ -2921,7 +2921,8 @@ DWORD WINAPI SetEntriesInAclW( ULONG count, PEXPLICIT_ACCESSW pEntries,
PACL
OldAcl
,
PACL
*
NewAcl
)
{
FIXME
(
"%d %p %p %p
\n
"
,
count
,
pEntries
,
OldAcl
,
NewAcl
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
*
NewAcl
=
NULL
;
return
ERROR_SUCCESS
;
}
/******************************************************************************
...
...
dlls/advapi32/tests/security.c
View file @
2cd033ee
...
...
@@ -1686,6 +1686,16 @@ static void test_impersonation_level(void)
HeapFree
(
GetProcessHeap
(),
0
,
PrivilegeSet
);
}
static
void
test_SetEntriesInAcl
(
void
)
{
ACL
*
acl
=
(
ACL
*
)
0xdeadbeef
;
DWORD
res
;
res
=
SetEntriesInAclW
(
0
,
NULL
,
NULL
,
&
acl
);
ok
(
res
==
ERROR_SUCCESS
,
"SetEntriesInAcl failed: %u
\n
"
,
res
);
ok
(
acl
==
NULL
,
"acl=%p, expected NULL
\n
"
,
acl
);
}
START_TEST
(
security
)
{
init
();
...
...
@@ -1706,4 +1716,5 @@ START_TEST(security)
test_LookupAccountName
();
test_process_security
();
test_impersonation_level
();
test_SetEntriesInAcl
();
}
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