mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[KERNEL32]: WTSGetActiveConsoleSessionId should return SharedUserData->ActiveConsoleId instead of having its own global.
svn path=/trunk/; revision=52842
This commit is contained in:
parent
078cdde168
commit
63f96f7207
1 changed files with 18 additions and 32 deletions
|
@ -1,60 +1,46 @@
|
||||||
/* $Id$
|
/*
|
||||||
*
|
* PROJECT: ReactOS Win32 Base API
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* LICENSE: GPL - See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* FILE: dll/win32/kernel32/client/session.c
|
||||||
* FILE: lib/kernel32/proc/session.c
|
* PURPOSE: Session Support APIs
|
||||||
* PURPOSE: Win32 session (TS) functions
|
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
|
||||||
* PROGRAMMER: Emanuele Aliberti
|
|
||||||
* UPDATE HISTORY:
|
|
||||||
* 2001-12-07 created
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES *******************************************************************/
|
||||||
|
|
||||||
#include <k32.h>
|
#include <k32.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
//DEBUG_CHANNEL(kernel32session); not actually used
|
|
||||||
|
|
||||||
DWORD ActiveConsoleSessionId = 0;
|
|
||||||
|
|
||||||
|
/* FUNCTIONS ******************************************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
DosPathToSessionPathW(DWORD SessionID,
|
DosPathToSessionPathW(IN DWORD SessionID,
|
||||||
LPWSTR InPath,
|
IN LPWSTR InPath,
|
||||||
LPWSTR *OutPath)
|
OUT LPWSTR *OutPath)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* From: ActiveVB.DE
|
|
||||||
*
|
|
||||||
* Declare Function DosPathToSessionPath _
|
|
||||||
* Lib "kernel32.dll" _
|
|
||||||
* Alias "DosPathToSessionPathA" ( _
|
|
||||||
* ByVal SessionId As Long, _
|
|
||||||
* ByVal pInPath As String, _
|
|
||||||
* ByVal ppOutPath As String ) _
|
|
||||||
* As Long
|
|
||||||
*
|
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
DosPathToSessionPathA(DWORD SessionId,
|
DosPathToSessionPathA(IN DWORD SessionId,
|
||||||
LPSTR InPath,
|
IN LPSTR InPath,
|
||||||
LPSTR *OutPath)
|
OUT LPSTR *OutPath)
|
||||||
{
|
{
|
||||||
//DosPathToSessionPathW (SessionId,InPathW,OutPathW);
|
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
|
@ -62,7 +48,7 @@ DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
WTSGetActiveConsoleSessionId(VOID)
|
WTSGetActiveConsoleSessionId(VOID)
|
||||||
{
|
{
|
||||||
return ActiveConsoleSessionId;
|
return SharedUserData->ActiveConsoleId;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Reference in a new issue