Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ec6aab51
Commit
ec6aab51
authored
Jul 10, 1999
by
Ian Schmidt
Committed by
Alexandre Julliard
Jul 10, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stub for SetThreadToken(), required by Office 2000.
parent
f4b61df9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletion
+24
-1
security.c
dlls/advapi32/security.c
+23
-0
advapi32.spec
relay32/advapi32.spec
+1
-1
No files found.
dlls/advapi32/security.c
View file @
ec6aab51
...
...
@@ -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
;
}
relay32/advapi32.spec
View file @
ec6aab51
...
...
@@ -232,7 +232,7 @@ type win32
0228 stub SetServiceBits
0229 stub SetServiceObjectSecurity
0230 stdcall SetServiceStatus(long long)SetServiceStatus
0231 st
ub
SetThreadToken
0231 st
dcall SetThreadToken (ptr ptr)
SetThreadToken
0232 stub SetTokenInformation
0233 stdcall StartServiceA(long long ptr) StartServiceA
0234 stdcall StartServiceCtrlDispatcherA(ptr) StartServiceCtrlDispatcherA
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment