Ignore:
Timestamp:
Oct 21, 2000, 4:29:49 PM (25 years ago)
Author:
sandervl
Message:

SetThreadToken faked in NT mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/advapi32/security.cpp

    r2675 r4509  
    1 /* $Id: security.cpp,v 1.5 2000-02-07 14:29:50 sandervl Exp $ */
     1/* $Id: security.cpp,v 1.6 2000-10-21 14:29:49 sandervl Exp $ */
    22/*
    33 * Win32 security API functions for OS/2
     
    113113BOOL WINAPI SetThreadToken(PHANDLE thread, HANDLE token)
    114114{
     115#ifdef __WIN32OS2__
     116
     117    dprintf(("SetThreadToken %x %x NOT IMPLEMENTED (FAKED)", thread, token));
     118
     119    if (!Wine_HasSecurity()) return FALSE;
     120    return TRUE; //pretend it succeeded
     121#else
    115122    FIXME(__FUNCTION__"(%p, %x): stub\n", thread, token);
    116123
     
    118125
    119126    return FALSE;
     127#endif
    120128}
    121129
     
    411419LookupPrivilegeValueA( LPCSTR lpSystemName, LPCSTR lpName, LPVOID lpLuid )
    412420{
     421    dprintf(("LookupPrivilegeValueA %s %s %x NOT IMPLEMENTED", lpSystemName, lpName, lpLuid));
    413422    LPWSTR lpSystemNameW = HEAP_strdupAtoW(GetProcessHeap(), 0, lpSystemName);
    414423    LPWSTR lpNameW = HEAP_strdupAtoW(GetProcessHeap(), 0, lpName);
Note: See TracChangeset for help on using the changeset viewer.