mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 02:05:50 +00:00
[WTSAPI32] Sync with Wine Staging 1.9.4. CORE-10912
svn path=/trunk/; revision=70951
This commit is contained in:
parent
eff9d67cf2
commit
15e3e7fd28
2 changed files with 14 additions and 2 deletions
|
@ -28,6 +28,9 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wtsapi);
|
WINE_DEFAULT_DEBUG_CHANNEL(wtsapi);
|
||||||
|
|
||||||
|
/* FIXME: Inspect */
|
||||||
|
#define GetCurrentProcessToken() ((HANDLE)~(ULONG_PTR)3)
|
||||||
|
|
||||||
|
|
||||||
/************************************************************
|
/************************************************************
|
||||||
* WTSCloseServer (WTSAPI32.@)
|
* WTSCloseServer (WTSAPI32.@)
|
||||||
|
@ -311,7 +314,16 @@ BOOL WINAPI WTSQuerySessionInformationW(
|
||||||
BOOL WINAPI WTSQueryUserToken(ULONG session_id, PHANDLE token)
|
BOOL WINAPI WTSQueryUserToken(ULONG session_id, PHANDLE token)
|
||||||
{
|
{
|
||||||
FIXME("%u %p\n", session_id, token);
|
FIXME("%u %p\n", session_id, token);
|
||||||
return FALSE;
|
|
||||||
|
if (!token)
|
||||||
|
{
|
||||||
|
SetLastError(ERROR_INVALID_PARAMETER);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
return DuplicateHandle(GetCurrentProcess(), GetCurrentProcessToken(),
|
||||||
|
GetCurrentProcess(), token,
|
||||||
|
0, FALSE, DUPLICATE_SAME_ACCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************
|
/************************************************************
|
||||||
|
|
|
@ -216,7 +216,7 @@ reactos/dll/win32/wmi # Synced to WineStaging-1.7.55
|
||||||
reactos/dll/win32/wmiutils # Synced to WineStaging-1.7.55
|
reactos/dll/win32/wmiutils # Synced to WineStaging-1.7.55
|
||||||
reactos/dll/win32/wmvcore # Synced to WineStaging-1.7.55
|
reactos/dll/win32/wmvcore # Synced to WineStaging-1.7.55
|
||||||
reactos/dll/win32/wshom.ocx # Synced to WineStaging-1.7.55
|
reactos/dll/win32/wshom.ocx # Synced to WineStaging-1.7.55
|
||||||
reactos/dll/win32/wtsapi32 # Synced to WineStaging-1.7.55
|
reactos/dll/win32/wtsapi32 # Synced to WineStaging-1.9.4
|
||||||
reactos/dll/win32/wuapi # Synced to WineStaging-1.7.55
|
reactos/dll/win32/wuapi # Synced to WineStaging-1.7.55
|
||||||
reactos/dll/win32/xinput1_1 # Synced to WineStaging-1.7.55
|
reactos/dll/win32/xinput1_1 # Synced to WineStaging-1.7.55
|
||||||
reactos/dll/win32/xinput1_2 # Synced to WineStaging-1.7.55
|
reactos/dll/win32/xinput1_2 # Synced to WineStaging-1.7.55
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue