Add stub implementations for BuildSecurityDescriptorA/W.

This commit is contained in:
James Hawkins 2005-06-23 11:40:57 +00:00 committed by Alexandre Julliard
parent 46e7c30a71
commit fc6b6f4848
2 changed files with 59 additions and 0 deletions

View File

@ -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)

View File

@ -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.@]
*