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
f8167f01
Commit
f8167f01
authored
Aug 09, 2004
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement A->W call for SetNamedSecurityInfo.
parent
1550f5ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
security.c
dlls/advapi32/security.c
+20
-2
No files found.
dlls/advapi32/security.c
View file @
f8167f01
...
...
@@ -1546,9 +1546,27 @@ DWORD WINAPI SetNamedSecurityInfoA(LPSTR pObjectName,
SE_OBJECT_TYPE
ObjectType
,
SECURITY_INFORMATION
SecurityInfo
,
PSID
psidOwner
,
PSID
psidGroup
,
PACL
pDacl
,
PACL
pSacl
)
{
FIXME
(
"%s %d %ld %p %p %p %p
\n
"
,
debugstr_a
(
pObjectName
),
ObjectType
,
DWORD
len
;
LPWSTR
wstr
=
NULL
;
DWORD
r
;
TRACE
(
"%s %d %ld %p %p %p %p
\n
"
,
debugstr_a
(
pObjectName
),
ObjectType
,
SecurityInfo
,
psidOwner
,
psidGroup
,
pDacl
,
pSacl
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
if
(
pObjectName
)
{
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
pObjectName
,
-
1
,
NULL
,
0
);
wstr
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
pObjectName
,
-
1
,
wstr
,
len
);
}
r
=
SetNamedSecurityInfoW
(
wstr
,
ObjectType
,
SecurityInfo
,
psidOwner
,
psidGroup
,
pDacl
,
pSacl
);
if
(
wstr
)
HeapFree
(
GetProcessHeap
(),
0
,
wstr
);
return
r
;
}
/******************************************************************************
...
...
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