ADVAPI32: make SetTokenInformation call NtSetInformationToken
Mike McCormack
mike at codeweavers.com
Wed Aug 25 04:51:27 CDT 2004
ChangeLog:
* make SetTokenInformation call NtSetInformationToken
-------------- next part --------------
Index: dlls/advapi32/security.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/security.c,v
retrieving revision 1.79
diff -u -r1.79 security.c
--- dlls/advapi32/security.c 19 Aug 2004 19:01:12 -0000 1.79
+++ dlls/advapi32/security.c 25 Aug 2004 08:24:36 -0000
@@ -316,7 +316,7 @@
SetTokenInformation( HANDLE token, TOKEN_INFORMATION_CLASS tokeninfoclass,
LPVOID tokeninfo, DWORD tokeninfolength )
{
- FIXME("(%p, %s, %p, %ld): stub\n",
+ TRACE("(%p, %s, %p, %ld): stub\n",
token,
(tokeninfoclass == TokenUser) ? "TokenUser" :
(tokeninfoclass == TokenGroups) ? "TokenGroups" :
@@ -336,9 +336,7 @@
"Unknown",
tokeninfo, tokeninfolength);
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-
- return FALSE;
+ CallWin32ToNt (NtSetInformationToken( token, tokeninfoclass, tokeninfo, tokeninfolength ));
}
/*************************************************************************
More information about the wine-patches
mailing list