Skip to content
Snippets Groups Projects
Commit 028c4341 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard
Browse files

Added GetSecurityDescriptorOwner/Group, RevertToSelf stubs.

Return NULL from OpenThreadToken.
parent 03f10f44
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,7 @@ BOOL32 WINAPI OpenThreadToken( HANDLE32 thread,DWORD desiredaccess, ...@@ -45,6 +45,7 @@ BOOL32 WINAPI OpenThreadToken( HANDLE32 thread,DWORD desiredaccess,
{ {
FIXME(advapi,"(%08x,%08lx,%d,%p): stub!\n", FIXME(advapi,"(%08x,%08lx,%d,%p): stub!\n",
thread,desiredaccess,openasself,thandle); thread,desiredaccess,openasself,thandle);
*thandle = 0; /* FIXME ... well, store something in there ;) */
return TRUE; return TRUE;
} }
...@@ -278,7 +279,25 @@ DWORD WINAPI GetSecurityDescriptorLength( SECURITY_DESCRIPTOR *pDescr) ...@@ -278,7 +279,25 @@ DWORD WINAPI GetSecurityDescriptorLength( SECURITY_DESCRIPTOR *pDescr)
return 0; 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) * InitializeSid (ADVAPI.74)
...@@ -435,3 +454,11 @@ BOOL32 WINAPI NotifyBootConfigStatus(DWORD x1) { ...@@ -435,3 +454,11 @@ BOOL32 WINAPI NotifyBootConfigStatus(DWORD x1) {
FIXME(advapi,"(0x%08lx),stub!\n",x1); FIXME(advapi,"(0x%08lx),stub!\n",x1);
return 1; return 1;
} }
/******************************************************************************
* RevertToSelf [ADVAPI32]
*/
BOOL32 WINAPI RevertToSelf(void) {
FIXME(advapi,"(), stub\n");
return TRUE;
}
...@@ -55,9 +55,9 @@ type win32 ...@@ -55,9 +55,9 @@ type win32
0051 stub GetPrivateObjectSecurity 0051 stub GetPrivateObjectSecurity
0052 stub GetSecurityDescriptorControl 0052 stub GetSecurityDescriptorControl
0053 stub GetSecurityDescriptorDacl 0053 stub GetSecurityDescriptorDacl
0054 stub GetSecurityDescriptorGroup 0054 stdcall GetSecurityDescriptorGroup(ptr ptr ptr) GetSecurityDescriptorGroup
0055 stdcall GetSecurityDescriptorLength(ptr) GetSecurityDescriptorLength 0055 stdcall GetSecurityDescriptorLength(ptr) GetSecurityDescriptorLength
0056 stub GetSecurityDescriptorOwner 0056 stdcall GetSecurityDescriptorOwner(ptr ptr ptr) GetSecurityDescriptorOwner
0057 stub GetSecurityDescriptorSacl 0057 stub GetSecurityDescriptorSacl
0058 stub GetServiceDisplayNameA 0058 stub GetServiceDisplayNameA
0059 stub GetServiceDisplayNameW 0059 stub GetServiceDisplayNameW
...@@ -181,7 +181,7 @@ type win32 ...@@ -181,7 +181,7 @@ type win32
0177 stdcall RegisterServiceCtrlHandlerW (ptr ptr) RegisterServiceCtrlHandlerW 0177 stdcall RegisterServiceCtrlHandlerW (ptr ptr) RegisterServiceCtrlHandlerW
0178 stdcall ReportEventA (long long long long ptr long long str ptr) ReportEvent32A 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 0179 stdcall ReportEventW (long long long long ptr long long wstr ptr) ReportEvent32W
0180 stub RevertToSelf 0180 stdcall RevertToSelf() RevertToSelf
0181 stub SetAclInformation 0181 stub SetAclInformation
0182 stdcall SetFileSecurityA(str long ptr ) SetFileSecurity32A 0182 stdcall SetFileSecurityA(str long ptr ) SetFileSecurity32A
0183 stdcall SetFileSecurityW(wstr long ptr) SetFileSecurity32W 0183 stdcall SetFileSecurityW(wstr long ptr) SetFileSecurity32W
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment