#include "precomp.h"
#include "ntuser.h"
#include <winsta.h>
#include <wstmsg.h>
Go to the source code of this file.
Classes | |
struct | _WIN32WINSTATION_DISPATCH |
Defines | |
#define | SESSION_ROOT L"\\Sessions" |
#define | MAX_SESSION_PATH 256 |
#define | API_W32WINSTATIONTERMINATE 12 |
#define | W32WinStationDumpReconnectInfo(p, b) |
Typedefs | |
typedef NTSTATUS(* | PWIN32WINSTATION_API )(IN OUT PWINSTATION_APIMSG ApiMsg) |
typedef _WIN32WINSTATION_DISPATCH | WIN32WINSTATION_DISPATCH |
typedef _WIN32WINSTATION_DISPATCH * | PWIN32WINSTATION_DISPATCH |
Functions | |
NTSTATUS | CsrPopulateDosDevices (void) |
NTSTATUS | CleanupSessionObjectDirectories (void) |
HANDLE | CsrQueryApiPort (void) |
BOOL | CtxInitUser32 (VOID) |
DrChangeDisplaySettings (WINSTATIONDORECONNECTMSG *) | |
NTSTATUS | W32WinStationDoConnect (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationDoDisconnect (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationDoReconnect (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationExitWindows (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationTerminate (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationNtSecurity (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationDoMessage (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationThinwireStats (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationShadowSetup (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationShadowStart (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationShadowStop (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationShadowCleanup (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationPassthruEnable (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationPassthruDisable (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationBroadcastSystemMessage (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | W32WinStationSendWindowMessage (IN OUT PWINSTATION_APIMSG) |
NTSTATUS | TerminalServerRequestThread (PVOID) |
NTSTATUS | Win32CommandChannelThread (PVOID) |
NTSTATUS | RemoteDoMessage (PWINSTATION_APIMSG pMsg) |
NTSTATUS | MultiUserSpoolerInit () |
NTSTATUS | RemoteDoBroadcastSystemMessage (PWINSTATION_APIMSG pMsg) |
NTSTATUS | RemoteDoSendWindowMessage (PWINSTATION_APIMSG pMsg) |
NTSTATUS | WinStationAPIInit (VOID) |
NTSTATUS | TerminalServerRequestThread (IN PVOID ThreadParameter) |
NTSTATUS | W32WinStationDoConnect (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationDoDisconnect (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationDoReconnect (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationExitWindows (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationTerminate (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationNtSecurity (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationDoMessage (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationBroadcastSystemMessage (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationSendWindowMessage (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationThinwireStats (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationShadowSetup (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationShadowStart (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationShadowStop (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationShadowCleanup (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationPassthruEnable (PWINSTATION_APIMSG pMsg) |
NTSTATUS | W32WinStationPassthruDisable (PWINSTATION_APIMSG pMsg) |
NTSTATUS | CleanupSessionObjectDirectories (VOID) |
Variables | |
USHORT | gHRes = 0 |
USHORT | gVRes = 0 |
USHORT | gColorDepth = 0 |
HANDLE | ghportLPC = NULL |
BOOLEAN | gbExitInProgress = FALSE |
HANDLE | G_IcaVideoChannel = NULL |
HANDLE | G_IcaMouseChannel = NULL |
HANDLE | G_IcaKeyboardChannel = NULL |
HANDLE | G_IcaBeepChannel = NULL |
HANDLE | G_IcaCommandChannel = NULL |
HANDLE | G_IcaThinwireChannel = NULL |
WCHAR | G_WinStationName [WINSTATIONNAME_LENGTH] |
WIN32WINSTATION_DISPATCH | Win32WinStationDispatch [SMWinStationMaxApiNumber] |
HANDLE | g_hDoMessageEvent |
|
Definition at line 120 of file api.c. Referenced by TerminalServerRequestThread(). |
|
|
|
|
|
Definition at line 500 of file api.c. Referenced by W32WinStationDoConnect(), and W32WinStationDoReconnect(). |
|
|
|
Referenced by TerminalServerRequestThread(). |
|
|
|
Definition at line 1169 of file api.c. References Count, DBGHYD, FALSE, L, MAX_SESSION_PATH, NT_SUCCESS, NtClose(), NtMakeTemporaryObject(), NtOpenDirectoryObject(), NtOpenSymbolicLinkObject(), NtQueryDirectoryObject(), NTSTATUS(), NULL, RtlInitUnicodeString(), SESSION_ROOT, Size, Status, and TRUE.
|
|
Referenced by W32WinStationTerminate(). |
|
Referenced by W32WinStationDoConnect(). |
|
Referenced by UserClientConnect(). |
|
Definition at line 1729 of file clinit.c. References BOOL, FALSE, gfServerProcess, ghbrBlack, ghbrWhite, ghdcBits2, InitClientDrawing(), ISREMOTESESSION, LoadCursorsAndIcons(), NULL, RW_RegisterControls(), RW_RegisterDDEML(), and TRUE. Referenced by CommonCreateWindowStation(), and W32WinStationDoConnect().
|
|
Definition at line 33 of file dynres.c. References DbgPrint, DrGetDeviceName(), DrSetDevMode(), NT_SUCCESS, NTSTATUS(), NtUserChangeDisplaySettings(), NULL, and Status.
|
|
Referenced by W32WinStationDoConnect(). |
|
Definition at line 89 of file server/sendmsg.c. References BroadcastSystemMessage(), and NTSTATUS(). Referenced by W32WinStationBroadcastSystemMessage().
|
|
Definition at line 68 of file icamsg.c. References tagCTXHARDERRORINFO::ClientId, CTXHARDERRORINFO, DBGHYD, tagCTXHARDERRORINFO::DoNotWait, EnterCrit, g_hDoMessageEvent, ghMessageThread, gidMessageThread, gpchiList, tagCTXHARDERRORINFO::hEvent, L, LeaveCrit, LPVOID, tagCTXHARDERRORINFO::MessageId, NT_SUCCESS, NtSetEvent(), NTSTATUS(), NULL, tagCTXHARDERRORINFO::pchiNext, tagCTXHARDERRORINFO::pMessage, tagCTXHARDERRORINFO::pResponse, tagCTXHARDERRORINFO::pTitle, RemoteMessageThread(), Status, tagCTXHARDERRORINFO::Style, and tagCTXHARDERRORINFO::Timeout. Referenced by W32WinStationDoMessage().
|
|
Definition at line 123 of file server/sendmsg.c. References NTSTATUS(), and SendMessage(). Referenced by W32WinStationSendWindowMessage().
|
|
Definition at line 279 of file api.c. References API_W32WINSTATIONTERMINATE, BOOL, DBGHYD, DynamicQos, FALSE, ghportLPC, L, NT_SUCCESS, NtClose(), NtConnectPort(), NtRequestWaitReplyPort(), NTSTATUS(), NtUserSetInformationThread(), NtWaitForSingleObject(), NULL, PortName, _WIN32WINSTATION_DISPATCH::pWin32ApiProc, PWIN32WINSTATION_DISPATCH, RtlInitUnicodeString(), Status, TRUE, and Win32WinStationDispatch.
|
|
Referenced by WinStationAPIInit(). |
|
Definition at line 1012 of file api.c. References DBGHYD, NT_SUCCESS, NTSTATUS(), RemoteDoBroadcastSystemMessage(), and Status.
|
|
|
|
Definition at line 504 of file api.c. References CsrPopulateDosDevices(), CtxInitUser32(), DBGHYD, DOCONNECTDATA, FALSE, G_IcaBeepChannel, G_IcaCommandChannel, G_IcaKeyboardChannel, G_IcaMouseChannel, G_IcaThinwireChannel, G_IcaVideoChannel, G_WinStationName, gColorDepth, gHRes, gSessionId, gVRes, L, min, MultiUserSpoolerInit(), NT_SUCCESS, NtResumeThread(), NtSetInformationThread(), NTSTATUS(), NtUserRemoteConnect(), NULL, RtlCreateUserThread(), Status, ThreadHandle, TRUE, W32WinStationDumpReconnectInfo, and Win32CommandChannelThread().
|
|
|
|
Definition at line 692 of file api.c. References DBGHYD, G_WinStationName, NT_SUCCESS, NTSTATUS(), NtUserCallNoParam(), and Status.
|
|
|
|
Definition at line 996 of file api.c. References DBGHYD, NT_SUCCESS, NTSTATUS(), RemoteDoMessage(), and Status.
|
|
|
|
Definition at line 718 of file api.c. References DBGHYD, DORECONNECTDATA, FALSE, G_WinStationName, gColorDepth, gHRes, gVRes, min, NT_SUCCESS, NTSTATUS(), NtUserCallOneParam(), Status, TRUE, and W32WinStationDumpReconnectInfo.
|
|
|
|
Definition at line 790 of file api.c. References DBGHYD, gSessionId, NT_SUCCESS, NTSTATUS(), NtUserCallNoParam(), and Status.
|
|
|
|
Definition at line 979 of file api.c. References DBGHYD, NT_SUCCESS, NTSTATUS(), NtUserCallNoParam(), and Status.
|
|
|
|
Definition at line 1152 of file api.c. References DBGHYD, NT_SUCCESS, NTSTATUS(), NtUserCallNoParam(), and Status.
|
|
|
|
Definition at line 1135 of file api.c. References DBGHYD, NT_SUCCESS, NTSTATUS(), NtUserCallNoParam(), and Status.
|
|
|
|
Definition at line 1028 of file api.c. References DBGHYD, NT_SUCCESS, NTSTATUS(), RemoteDoSendWindowMessage(), and Status.
|
|
|
|
Definition at line 1116 of file api.c. References DBGHYD, NT_SUCCESS, NTSTATUS(), NtUserCallTwoParam(), and Status.
|
|
|
|
Definition at line 1063 of file api.c. References DBGHYD, NT_SUCCESS, NTSTATUS(), NtUserCallNoParam(), and Status.
|
|
|
|
Definition at line 1080 of file api.c. References DBGHYD, NT_SUCCESS, NTSTATUS(), NtUserCallTwoParam(), and Status.
|
|
|
|
Definition at line 1099 of file api.c. References DBGHYD, NT_SUCCESS, NTSTATUS(), NtUserCallNoParam(), and Status.
|
|
|
|
Definition at line 818 of file api.c. References BHE_FORCE, BoostHardError(), CleanupSessionObjectDirectories(), DBGHYD, DWORD, FALSE, g_hDoMessageEvent, G_IcaBeepChannel, G_IcaCommandChannel, G_IcaKeyboardChannel, G_IcaMouseChannel, G_IcaThinwireChannel, G_IcaVideoChannel, gbExitInProgress, gdwHardErrorThreadId, ghportLPC, L, NtClose(), NtSetEvent(), NTSTATUS(), NULL, Status, TRUE, and WinStationIcaApiPort.
|
|
|
|
Definition at line 1045 of file api.c. References DBGHYD, NT_SUCCESS, NTSTATUS(), NtUserCallOneParam(), and Status.
|
|
|
|
Referenced by W32WinStationDoConnect(). |
|
Definition at line 212 of file api.c. References BOOL, DBGHYD, FALSE, gSessionId, L, NT_SUCCESS, NtResumeThread(), NtSetInformationThread(), NTSTATUS(), NULL, RtlCreateUserThread(), Status, TerminalServerRequestThread(), ThreadHandle, and TRUE. Referenced by UserServerDllInitialization().
|
|
Definition at line 191 of file api.c. Referenced by RemoteDoMessage(), RemoteMessageThread(), and W32WinStationTerminate(). |
|
Definition at line 56 of file api.c. Referenced by W32WinStationDoConnect(), and W32WinStationTerminate(). |
|
Definition at line 57 of file api.c. Referenced by W32WinStationDoConnect(), W32WinStationTerminate(), and Win32CommandChannelThread(). |
|
Definition at line 55 of file api.c. Referenced by W32WinStationDoConnect(), and W32WinStationTerminate(). |
|
Definition at line 54 of file api.c. Referenced by W32WinStationDoConnect(), and W32WinStationTerminate(). |
|
Definition at line 58 of file api.c. Referenced by W32WinStationDoConnect(), and W32WinStationTerminate(). |
|
Definition at line 53 of file api.c. Referenced by W32WinStationDoConnect(), W32WinStationTerminate(), and Win32CommandChannelThread(). |
|
Definition at line 59 of file api.c. Referenced by W32WinStationDoConnect(), W32WinStationDoDisconnect(), and W32WinStationDoReconnect(). |
|
|
|
Definition at line 38 of file api.c. Referenced by W32WinStationDoConnect(), and W32WinStationDoReconnect(). |
|
Definition at line 40 of file api.c. Referenced by TerminalServerRequestThread(), and W32WinStationTerminate(). |
|
Definition at line 36 of file api.c. Referenced by W32WinStationDoConnect(), and W32WinStationDoReconnect(). |
|
Definition at line 37 of file api.c. Referenced by W32WinStationDoConnect(), and W32WinStationDoReconnect(). |
|