mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
Added stub for SetThreadToken(), required by Office 2000.
This commit is contained in:
parent
f4b61df94f
commit
ec6aab5169
@ -739,3 +739,26 @@ AccessCheck(PSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE ClientToken,
|
||||
*AccessStatus = TRUE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* SetThreadToken [ADVAPI32.231]
|
||||
*
|
||||
* Assigns an "impersonation token" to a thread so it can assume the
|
||||
* security privledges of another thread or process. Can also remove
|
||||
* a previously assigned token. Only supported on NT - it's a stub
|
||||
* exactly like this one on Win9X.
|
||||
*
|
||||
*/
|
||||
|
||||
BOOL WINAPI SetThreadToken(PHANDLE thread, HANDLE token)
|
||||
{
|
||||
FIXME_(advapi)("(%p, %p): stub\n", thread, token);
|
||||
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -232,7 +232,7 @@ type win32
|
||||
0228 stub SetServiceBits
|
||||
0229 stub SetServiceObjectSecurity
|
||||
0230 stdcall SetServiceStatus(long long)SetServiceStatus
|
||||
0231 stub SetThreadToken
|
||||
0231 stdcall SetThreadToken (ptr ptr) SetThreadToken
|
||||
0232 stub SetTokenInformation
|
||||
0233 stdcall StartServiceA(long long ptr) StartServiceA
|
||||
0234 stdcall StartServiceCtrlDispatcherA(ptr) StartServiceCtrlDispatcherA
|
||||
|
Loading…
Reference in New Issue
Block a user