Added GetSecurityDescriptorOwner/Group, RevertToSelf stubs.

Return NULL from OpenThreadToken.
oldstable
Marcus Meissner 1999-01-26 10:11:22 +00:00 committed by Alexandre Julliard
parent 03f10f44af
commit 028c434180
2 changed files with 30 additions and 3 deletions

View File

@ -45,6 +45,7 @@ BOOL32 WINAPI OpenThreadToken( HANDLE32 thread,DWORD desiredaccess,
{
FIXME(advapi,"(%08x,%08lx,%d,%p): stub!\n",
thread,desiredaccess,openasself,thandle);
*thandle = 0; /* FIXME ... well, store something in there ;) */
return TRUE;
}
@ -278,7 +279,25 @@ DWORD WINAPI GetSecurityDescriptorLength( SECURITY_DESCRIPTOR *pDescr)
return 0;
}
/***********************************************************************
* GetSecurityDescriptorOwner (ADVAPI.56)
*/
BOOL32 WINAPI GetSecurityDescriptorOwner (SECURITY_DESCRIPTOR *pDescr,LPSID *pOwner,LPBOOL32 lpbOwnerDefaulted)
{
FIXME(security, "(%p,%p,%p), stub\n", pDescr,pOwner,lpbOwnerDefaulted);
*lpbOwnerDefaulted = TRUE;
return 0;
}
/***********************************************************************
* GetSecurityDescriptorGroup (ADVAPI.54)
*/
BOOL32 WINAPI GetSecurityDescriptorGroup(SECURITY_DESCRIPTOR *pDescr,LPSID *pGroup,LPBOOL32 lpbOwnerDefaulted)
{
FIXME(security, "(%p,%p,%p), stub\n", pDescr,pGroup,lpbOwnerDefaulted);
*lpbOwnerDefaulted = TRUE;
return 0;
}
/***********************************************************************
* InitializeSid (ADVAPI.74)
@ -435,3 +454,11 @@ BOOL32 WINAPI NotifyBootConfigStatus(DWORD x1) {
FIXME(advapi,"(0x%08lx),stub!\n",x1);
return 1;
}
/******************************************************************************
* RevertToSelf [ADVAPI32]
*/
BOOL32 WINAPI RevertToSelf(void) {
FIXME(advapi,"(), stub\n");
return TRUE;
}

View File

@ -55,9 +55,9 @@ type win32
0051 stub GetPrivateObjectSecurity
0052 stub GetSecurityDescriptorControl
0053 stub GetSecurityDescriptorDacl
0054 stub GetSecurityDescriptorGroup
0054 stdcall GetSecurityDescriptorGroup(ptr ptr ptr) GetSecurityDescriptorGroup
0055 stdcall GetSecurityDescriptorLength(ptr) GetSecurityDescriptorLength
0056 stub GetSecurityDescriptorOwner
0056 stdcall GetSecurityDescriptorOwner(ptr ptr ptr) GetSecurityDescriptorOwner
0057 stub GetSecurityDescriptorSacl
0058 stub GetServiceDisplayNameA
0059 stub GetServiceDisplayNameW
@ -181,7 +181,7 @@ type win32
0177 stdcall RegisterServiceCtrlHandlerW (ptr ptr) RegisterServiceCtrlHandlerW
0178 stdcall ReportEventA (long long long long ptr long long str ptr) ReportEvent32A
0179 stdcall ReportEventW (long long long long ptr long long wstr ptr) ReportEvent32W
0180 stub RevertToSelf
0180 stdcall RevertToSelf() RevertToSelf
0181 stub SetAclInformation
0182 stdcall SetFileSecurityA(str long ptr ) SetFileSecurity32A
0183 stdcall SetFileSecurityW(wstr long ptr) SetFileSecurity32W