ReactOS  0.4.14-dev-1115-gebeeb9d
session.c
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Win32 Base API
3  * LICENSE: GPL - See COPYING in the top level directory
4  * FILE: dll/win32/kernel32/client/session.c
5  * PURPOSE: Session Support APIs
6  * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
7  */
8 
9 /* INCLUDES *******************************************************************/
10 
11 #include <k32.h>
12 
13 #define NDEBUG
14 #include <debug.h>
15 
16 /* FUNCTIONS ******************************************************************/
17 
18 /*
19  * @unimplemented
20  */
21 DWORD
22 WINAPI
24  IN LPWSTR InPath,
25  OUT LPWSTR *OutPath)
26 {
28  return 0;
29 }
30 
31 /*
32  * @unimplemented
33  */
34 DWORD
35 WINAPI
37  IN LPSTR InPath,
38  OUT LPSTR *OutPath)
39 {
41  return 0;
42 }
43 
44 /*
45  * @implemented
46  */
47 DWORD
48 WINAPI
50 {
51  return SharedUserData->ActiveConsoleId;
52 }
53 
54 /* EOF */
#define IN
Definition: typedefs.h:39
DWORD WINAPI DosPathToSessionPathA(IN DWORD SessionId, IN LPSTR InPath, OUT LPSTR *OutPath)
Definition: session.c:36
ULONG SessionId
Definition: dllmain.c:28
char * LPSTR
Definition: xmlstorage.h:182
DWORD WINAPI DosPathToSessionPathW(IN DWORD SessionID, IN LPWSTR InPath, OUT LPWSTR *OutPath)
Definition: session.c:23
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
#define SharedUserData
#define OUT
Definition: typedefs.h:40
#define UNIMPLEMENTED
Definition: debug.h:114
WCHAR * LPWSTR
Definition: xmlstorage.h:184
DWORD WINAPI WTSGetActiveConsoleSessionId(VOID)
Definition: session.c:49