Commit ec6aab51 authored by Ian Schmidt's avatar Ian Schmidt Committed by Alexandre Julliard

Added stub for SetThreadToken(), required by Office 2000.

parent f4b61df9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment