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
fc6b6f48
Commit
fc6b6f48
authored
Jun 23, 2005
by
James Hawkins
Committed by
Alexandre Julliard
Jun 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add stub implementations for BuildSecurityDescriptorA/W.
parent
46e7c30a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
0 deletions
+59
-0
advapi32.spec
dlls/advapi32/advapi32.spec
+2
-0
security.c
dlls/advapi32/security.c
+57
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
fc6b6f48
...
...
@@ -23,6 +23,8 @@
@ stdcall BackupEventLogW (long wstr)
@ stdcall BuildExplicitAccessWithNameA(ptr str long long long)
@ stdcall BuildExplicitAccessWithNameW(ptr wstr long long long)
@ stdcall BuildSecurityDescriptorA(ptr ptr long ptr long ptr ptr ptr ptr)
@ stdcall BuildSecurityDescriptorW(ptr ptr long ptr long ptr ptr ptr ptr)
@ stdcall BuildTrusteeWithNameA(ptr str)
@ stdcall BuildTrusteeWithNameW(ptr wstr)
@ stdcall BuildTrusteeWithObjectsAndNameA(ptr ptr long str str str)
...
...
dlls/advapi32/security.c
View file @
fc6b6f48
...
...
@@ -632,6 +632,63 @@ GetLengthSid (PSID pSid)
##############################################
*/
/******************************************************************************
* BuildSecurityDescriptorA [ADVAPI32.@]
*
* Builds a SD from
*
* PARAMS
* pOwner [I]
* pGroup [I]
* cCountOfAccessEntries [I]
* pListOfAccessEntries [I]
* cCountOfAuditEntries [I]
* pListofAuditEntries [I]
* pOldSD [I]
* lpdwBufferLength [I/O]
* pNewSD [O]
*/
DWORD
WINAPI
BuildSecurityDescriptorA
(
IN
PTRUSTEE_A
pOwner
,
IN
PTRUSTEE_A
pGroup
,
IN
DWORD
cCountOfAccessEntries
,
IN
PEXPLICIT_ACCESS_A
pListOfAccessEntries
,
IN
DWORD
cCountOfAuditEntries
,
IN
PEXPLICIT_ACCESS_A
pListofAuditEntries
,
IN
PSECURITY_DESCRIPTOR
pOldSD
,
IN
OUT
PDWORD
lpdwBufferLength
,
OUT
PSECURITY_DESCRIPTOR
pNewSD
)
{
FIXME
(
"(%p,%p,%ld,%p,%ld,%p,%p,%p,%p) stub!
\n
"
,
pOwner
,
pGroup
,
cCountOfAccessEntries
,
pListOfAccessEntries
,
cCountOfAuditEntries
,
pListofAuditEntries
,
pOldSD
,
lpdwBufferLength
,
pNewSD
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
/******************************************************************************
* BuildSecurityDescriptorW [ADVAPI32.@]
*
* See BuildSecurityDescriptorA.
*/
DWORD
WINAPI
BuildSecurityDescriptorW
(
IN
PTRUSTEE_W
pOwner
,
IN
PTRUSTEE_W
pGroup
,
IN
DWORD
cCountOfAccessEntries
,
IN
PEXPLICIT_ACCESS_W
pListOfAccessEntries
,
IN
DWORD
cCountOfAuditEntries
,
IN
PEXPLICIT_ACCESS_W
pListofAuditEntries
,
IN
PSECURITY_DESCRIPTOR
pOldSD
,
IN
OUT
PDWORD
lpdwBufferLength
,
OUT
PSECURITY_DESCRIPTOR
pNewSD
)
{
FIXME
(
"(%p,%p,%ld,%p,%ld,%p,%p,%p,%p) stub!
\n
"
,
pOwner
,
pGroup
,
cCountOfAccessEntries
,
pListOfAccessEntries
,
cCountOfAuditEntries
,
pListofAuditEntries
,
pOldSD
,
lpdwBufferLength
,
pNewSD
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
/******************************************************************************
* InitializeSecurityDescriptor [ADVAPI32.@]
*
...
...
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