added stubs for SetFileSecurityW(), GetNamedSecurityInfoA/W() and SetNamedSecurityInfoA/W()

svn path=/trunk/; revision=9496
This commit is contained in:
Thomas Bluemel 2004-05-26 09:50:10 +00:00
parent 0fc5792047
commit d7d7bbef13
3 changed files with 104 additions and 12 deletions

View file

@ -1,4 +1,4 @@
; $Id: advapi32.def,v 1.18 2004/05/13 20:42:27 navaraf Exp $
; $Id: advapi32.def,v 1.19 2004/05/26 09:50:09 weiden Exp $
;
; advapi32.def
;
@ -144,8 +144,8 @@ GetLengthSid@4
;GetMultipleTrusteeOperationA@4
;GetMultipleTrusteeOperationW@4
;GetMultipleTrusteeW@4
;GetNamedSecurityInfoA@32
;GetNamedSecurityInfoW@32
GetNamedSecurityInfoA@32
GetNamedSecurityInfoW@32
;GetNumberOfEventLogRecords@8
;GetOldestEventLogRecord@8
;GetPrivateObjectSecurity@20
@ -353,9 +353,10 @@ SetAclInformation@16
;SetEntriesInAclA@16
;SetEntriesInAclW@16
SetFileSecurityA@20
SetFileSecurityW@20
SetKernelObjectSecurity@12
;SetNamedSecurityInfoA@28
;SetNamedSecurityInfoW@28
SetNamedSecurityInfoA@28
SetNamedSecurityInfoW@28
;SetPrivateObjectSecurity@20
SetSecurityDescriptorDacl@16
SetSecurityDescriptorGroup@12

View file

@ -1,4 +1,4 @@
; $Id: advapi32.edf,v 1.38 2004/05/13 20:42:27 navaraf Exp $
; $Id: advapi32.edf,v 1.39 2004/05/26 09:50:10 weiden Exp $
;
; advapi32.edf
;
@ -140,8 +140,8 @@ GetLengthSid=GetLengthSid@4
;GetMultipleTrusteeOperationA=GetMultipleTrusteeOperationA@4
;GetMultipleTrusteeOperationW=GetMultipleTrusteeOperationW@4
;GetMultipleTrusteeW=GetMultipleTrusteeW@4
;GetNamedSecurityInfoA=GetNamedSecurityInfoA@32
;GetNamedSecurityInfoW=GetNamedSecurityInfoW@32
GetNamedSecurityInfoA=GetNamedSecurityInfoA@32
GetNamedSecurityInfoW=GetNamedSecurityInfoW@32
GetNumberOfEventLogRecords=GetNumberOfEventLogRecords@8
GetOldestEventLogRecord=GetOldestEventLogRecord@8
;GetPrivateObjectSecurity=GetPrivateObjectSecurity@20
@ -350,10 +350,10 @@ SetAclInformation=SetAclInformation@16
;SetEntriesInAclA=SetEntriesInAclA@16
;SetEntriesInAclW=SetEntriesInAclW@16
SetFileSecurityA=SetFileSecurityA@12
;SetFileSecurityW=SetFileSecurityW@12
SetFileSecurityW=SetFileSecurityW@12
SetKernelObjectSecurity=SetKernelObjectSecurity@12
;SetNamedSecurityInfoA=SetNamedSecurityInfoA@28
;SetNamedSecurityInfoW=SetNamedSecurityInfoW@28
SetNamedSecurityInfoA=SetNamedSecurityInfoA@28
SetNamedSecurityInfoW=SetNamedSecurityInfoW@28
;SetPrivateObjectSecurity=SetPrivateObjectSecurity@20
SetSecurityDescriptorDacl=SetSecurityDescriptorDacl@16
SetSecurityDescriptorGroup=SetSecurityDescriptorGroup@12

View file

@ -1,4 +1,4 @@
/* $Id: misc.c,v 1.15 2004/05/13 20:42:28 navaraf Exp $
/* $Id: misc.c,v 1.16 2004/05/26 09:50:10 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@ -9,6 +9,7 @@
#define NTOS_MODE_USER
#include <ntos.h>
#include <windows.h>
#include <Accctrl.h>
#define NDEBUG
#include <debug.h>
@ -110,6 +111,22 @@ GetKernelObjectSecurity(HANDLE Handle,
}
/******************************************************************************
* SetFileSecurityW [ADVAPI32.@]
* Sets the security of a file or directory
*
* @unimplemented
*/
BOOL STDCALL
SetFileSecurityW (LPCWSTR lpFileName,
SECURITY_INFORMATION RequestedInformation,
PSECURITY_DESCRIPTOR pSecurityDescriptor)
{
DPRINT("SetFileSecurityA : stub\n");
return TRUE;
}
/******************************************************************************
* SetFileSecurityA [ADVAPI32.@]
* Sets the security of a file or directory
@ -509,4 +526,78 @@ LookupPrivilegeNameW (LPCWSTR lpSystemName,
return FALSE;
}
/**********************************************************************
* GetNamedSecurityInfoW EXPORTED
*
* @unimplemented
*/
DWORD STDCALL
GetNamedSecurityInfoW(LPWSTR pObjectName,
SE_OBJECT_TYPE ObjectType,
SECURITY_INFORMATION SecurityInfo,
PSID *ppsidOwner,
PSID *ppsidGroup,
PACL *ppDacl,
PACL *ppSacl,
PSECURITY_DESCRIPTOR *ppSecurityDescriptor)
{
return ERROR_CALL_NOT_IMPLEMENTED;
}
/**********************************************************************
* GetNamedSecurityInfoA EXPORTED
*
* @unimplemented
*/
DWORD STDCALL
GetNamedSecurityInfoA(LPSTR pObjectName,
SE_OBJECT_TYPE ObjectType,
SECURITY_INFORMATION SecurityInfo,
PSID *ppsidOwner,
PSID *ppsidGroup,
PACL *ppDacl,
PACL *ppSacl,
PSECURITY_DESCRIPTOR *ppSecurityDescriptor)
{
return ERROR_CALL_NOT_IMPLEMENTED;
}
/**********************************************************************
* SetNamedSecurityInfoW EXPORTED
*
* @unimplemented
*/
DWORD STDCALL
SetNamedSecurityInfoW(LPWSTR pObjectName,
SE_OBJECT_TYPE ObjectType,
SECURITY_INFORMATION SecurityInfo,
PSID psidOwner,
PSID psidGroup,
PACL pDacl,
PACL pSacl)
{
return ERROR_CALL_NOT_IMPLEMENTED;
}
/**********************************************************************
* SetNamedSecurityInfoA EXPORTED
*
* @unimplemented
*/
DWORD STDCALL
SetNamedSecurityInfoA(LPSTR pObjectName,
SE_OBJECT_TYPE ObjectType,
SECURITY_INFORMATION SecurityInfo,
PSID psidOwner,
PSID psidGroup,
PACL pDacl,
PACL pSacl)
{
return ERROR_CALL_NOT_IMPLEMENTED;
}
/* EOF */