diff --git a/reactos/dll/win32/kernel32/client/session.c b/reactos/dll/win32/kernel32/client/session.c index 91ae9c731f7..496c05e3a1d 100644 --- a/reactos/dll/win32/kernel32/client/session.c +++ b/reactos/dll/win32/kernel32/client/session.c @@ -1,60 +1,46 @@ -/* $Id$ - * - * COPYRIGHT: See COPYING in the top level directory - * PROJECT: ReactOS system libraries - * FILE: lib/kernel32/proc/session.c - * PURPOSE: Win32 session (TS) functions - * PROGRAMMER: Emanuele Aliberti - * UPDATE HISTORY: - * 2001-12-07 created +/* + * PROJECT: ReactOS Win32 Base API + * LICENSE: GPL - See COPYING in the top level directory + * FILE: dll/win32/kernel32/client/session.c + * PURPOSE: Session Support APIs + * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org) */ + +/* INCLUDES *******************************************************************/ + #include + #define NDEBUG #include -//DEBUG_CHANNEL(kernel32session); not actually used - -DWORD ActiveConsoleSessionId = 0; +/* FUNCTIONS ******************************************************************/ /* * @unimplemented */ DWORD WINAPI -DosPathToSessionPathW(DWORD SessionID, - LPWSTR InPath, - LPWSTR *OutPath) +DosPathToSessionPathW(IN DWORD SessionID, + IN LPWSTR InPath, + OUT LPWSTR *OutPath) { UNIMPLEMENTED; 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 */ DWORD WINAPI -DosPathToSessionPathA(DWORD SessionId, - LPSTR InPath, - LPSTR *OutPath) +DosPathToSessionPathA(IN DWORD SessionId, + IN LPSTR InPath, + OUT LPSTR *OutPath) { - //DosPathToSessionPathW (SessionId,InPathW,OutPathW); UNIMPLEMENTED; return 0; } - - /* * @implemented */ @@ -62,7 +48,7 @@ DWORD WINAPI WTSGetActiveConsoleSessionId(VOID) { - return ActiveConsoleSessionId; + return SharedUserData->ActiveConsoleId; } /* EOF */