FreeRDP
|
Data Structures | |
struct | CHANNEL_DEF |
struct | PCHANNEL_PDU_HEADER |
struct | PCHANNEL_ENTRY_POINTS |
struct | PCHANNEL_ENTRY_POINTS_EX |
struct | WTS_SERVER_INFOW |
struct | WTS_SERVER_INFOA |
struct | WTS_SESSION_INFOW |
struct | WTS_SESSION_INFOA |
struct | WTS_SESSION_INFO_1W |
struct | WTS_SESSION_INFO_1A |
struct | WTS_PROCESS_INFOW |
struct | WTS_PROCESS_INFOA |
struct | WTSCONFIGINFOW |
struct | WTSCONFIGINFOA |
struct | WTSINFOW |
struct | WTSINFOA |
struct | WTSINFOEX_LEVEL1_W |
struct | WTSINFOEX_LEVEL1_A |
union | WTSINFOEX_LEVEL_W |
union | WTSINFOEX_LEVEL_A |
struct | WTSINFOEXW |
struct | WTSINFOEXA |
struct | WTSCLIENTW |
struct | WTSCLIENTA |
struct | PRODUCT_INFOA |
struct | PRODUCT_INFOW |
struct | WTS_VALIDATION_INFORMATIONA |
struct | WTS_VALIDATION_INFORMATIONW |
struct | WTS_CLIENT_ADDRESS |
struct | WTS_CLIENT_DISPLAY |
struct | WTSUSERCONFIGA |
struct | WTSUSERCONFIGW |
struct | WTS_SESSION_ADDRESS |
struct | WTS_PROCESS_INFO_EXW |
struct | WTS_PROCESS_INFO_EXA |
struct | WTSLISTENERCONFIGW |
struct | WTSLISTENERCONFIGA |
struct | WtsApiFunctionTable |
Typedefs | |
typedef CHANNEL_DEF * | PCHANNEL_DEF |
typedef PCHANNEL_DEF * | PPCHANNEL_DEF |
typedef VOID VCAPITYPE | CHANNEL_INIT_EVENT_FN(LPVOID pInitHandle, UINT event, LPVOID pData, UINT dataLength) |
typedef CHANNEL_INIT_EVENT_FN * | PCHANNEL_INIT_EVENT_FN |
typedef VOID VCAPITYPE | CHANNEL_INIT_EVENT_EX_FN(LPVOID lpUserParam, LPVOID pInitHandle, UINT event, LPVOID pData, UINT dataLength) |
typedef CHANNEL_INIT_EVENT_EX_FN * | PCHANNEL_INIT_EVENT_EX_FN |
typedef VOID VCAPITYPE | CHANNEL_OPEN_EVENT_FN(DWORD openHandle, UINT event, LPVOID pData, UINT32 dataLength, UINT32 totalLength, UINT32 dataFlags) |
typedef CHANNEL_OPEN_EVENT_FN * | PCHANNEL_OPEN_EVENT_FN |
typedef VOID VCAPITYPE | CHANNEL_OPEN_EVENT_EX_FN(LPVOID lpUserParam, DWORD openHandle, UINT event, LPVOID pData, UINT32 dataLength, UINT32 totalLength, UINT32 dataFlags) |
typedef CHANNEL_OPEN_EVENT_EX_FN * | PCHANNEL_OPEN_EVENT_EX_FN |
typedef UINT VCAPITYPE | VIRTUALCHANNELINIT(LPVOID *ppInitHandle, PCHANNEL_DEF pChannel, INT channelCount, ULONG versionRequested, PCHANNEL_INIT_EVENT_FN pChannelInitEventProc) |
typedef VIRTUALCHANNELINIT * | PVIRTUALCHANNELINIT |
typedef UINT VCAPITYPE | VIRTUALCHANNELINITEX(LPVOID lpUserParam, LPVOID clientContext, LPVOID pInitHandle, PCHANNEL_DEF pChannel, INT channelCount, ULONG versionRequested, PCHANNEL_INIT_EVENT_EX_FN pChannelInitEventProcEx) |
typedef VIRTUALCHANNELINITEX * | PVIRTUALCHANNELINITEX |
typedef UINT VCAPITYPE | VIRTUALCHANNELOPEN(LPVOID pInitHandle, LPDWORD pOpenHandle, PCHAR pChannelName, PCHANNEL_OPEN_EVENT_FN pChannelOpenEventProc) |
typedef VIRTUALCHANNELOPEN * | PVIRTUALCHANNELOPEN |
typedef UINT VCAPITYPE | VIRTUALCHANNELOPENEX(LPVOID pInitHandle, LPDWORD pOpenHandle, PCHAR pChannelName, PCHANNEL_OPEN_EVENT_EX_FN pChannelOpenEventProcEx) |
typedef VIRTUALCHANNELOPENEX * | PVIRTUALCHANNELOPENEX |
typedef UINT VCAPITYPE | VIRTUALCHANNELCLOSE(DWORD openHandle) |
typedef VIRTUALCHANNELCLOSE * | PVIRTUALCHANNELCLOSE |
typedef UINT VCAPITYPE | VIRTUALCHANNELCLOSEEX(LPVOID pInitHandle, DWORD openHandle) |
typedef VIRTUALCHANNELCLOSEEX * | PVIRTUALCHANNELCLOSEEX |
typedef UINT VCAPITYPE | VIRTUALCHANNELWRITE(DWORD openHandle, LPVOID pData, ULONG dataLength, LPVOID pUserData) |
typedef VIRTUALCHANNELWRITE * | PVIRTUALCHANNELWRITE |
typedef UINT VCAPITYPE | VIRTUALCHANNELWRITEEX(LPVOID pInitHandle, DWORD openHandle, LPVOID pData, ULONG dataLength, LPVOID pUserData) |
typedef VIRTUALCHANNELWRITEEX * | PVIRTUALCHANNELWRITEEX |
typedef BOOL VCAPITYPE | VIRTUALCHANNELENTRY(PCHANNEL_ENTRY_POINTS pEntryPoints) |
typedef VIRTUALCHANNELENTRY * | PVIRTUALCHANNELENTRY |
typedef BOOL VCAPITYPE | VIRTUALCHANNELENTRYEX(PCHANNEL_ENTRY_POINTS_EX pEntryPointsEx, PVOID pInitHandle) |
typedef VIRTUALCHANNELENTRYEX * | PVIRTUALCHANNELENTRYEX |
typedef HRESULT(VCAPITYPE * | PFNVCAPIGETINSTANCE) (REFIID refiid, PULONG pNumObjs, PVOID *ppObjArray) |
typedef struct WTS_SERVER_INFOW * | PWTS_SERVER_INFOW |
typedef struct WTS_SERVER_INFOA * | PWTS_SERVER_INFOA |
typedef struct WTS_SESSION_INFOW * | PWTS_SESSION_INFOW |
typedef struct WTS_SESSION_INFOA * | PWTS_SESSION_INFOA |
typedef struct WTS_SESSION_INFO_1W * | PWTS_SESSION_INFO_1W |
typedef struct WTS_SESSION_INFO_1A * | PWTS_SESSION_INFO_1A |
typedef struct WTS_PROCESS_INFOW * | PWTS_PROCESS_INFOW |
typedef struct WTS_PROCESS_INFOA * | PWTS_PROCESS_INFOA |
typedef struct WTSCONFIGINFOW * | PWTSCONFIGINFOW |
typedef struct WTSCONFIGINFOA * | PWTSCONFIGINFOA |
typedef struct WTSINFOW * | PWTSINFOW |
typedef struct WTSINFOA * | PWTSINFOA |
typedef struct WTSINFOEX_LEVEL1_W * | PWTSINFOEX_LEVEL1_W |
typedef struct WTSINFOEX_LEVEL1_A * | PWTSINFOEX_LEVEL1_A |
typedef union WTSINFOEX_LEVEL_W * | PWTSINFOEX_LEVEL_W |
typedef union WTSINFOEX_LEVEL_A * | PWTSINFOEX_LEVEL_A |
typedef struct WTSINFOEXW * | PWTSINFOEXW |
typedef struct WTSINFOEXA * | PWTSINFOEXA |
typedef struct WTSCLIENTW * | PWTSCLIENTW |
typedef struct WTSCLIENTA * | PWTSCLIENTA |
typedef struct WTS_VALIDATION_INFORMATIONA * | PWTS_VALIDATION_INFORMATIONA |
typedef struct WTS_VALIDATION_INFORMATIONW * | PWTS_VALIDATION_INFORMATIONW |
typedef struct WTS_CLIENT_ADDRESS * | PWTS_CLIENT_ADDRESS |
typedef struct WTS_CLIENT_DISPLAY * | PWTS_CLIENT_DISPLAY |
typedef struct WTSUSERCONFIGA * | PWTSUSERCONFIGA |
typedef struct WTSUSERCONFIGW * | PWTSUSERCONFIGW |
typedef struct WTS_SESSION_ADDRESS * | PWTS_SESSION_ADDRESS |
typedef struct WTS_PROCESS_INFO_EXW * | PWTS_PROCESS_INFO_EXW |
typedef struct WTS_PROCESS_INFO_EXA * | PWTS_PROCESS_INFO_EXA |
typedef WCHAR | WTSLISTENERNAMEW[WTS_LISTENER_NAME_LENGTH+1] |
typedef WTSLISTENERNAMEW * | PWTSLISTENERNAMEW |
typedef CHAR | WTSLISTENERNAMEA[WTS_LISTENER_NAME_LENGTH+1] |
typedef WTSLISTENERNAMEA * | PWTSLISTENERNAMEA |
typedef struct WTSLISTENERCONFIGW * | PWTSLISTENERCONFIGW |
typedef struct WTSLISTENERCONFIGA * | PWTSLISTENERCONFIGA |
typedef BOOL(WINAPI * | WTS_STOP_REMOTE_CONTROL_SESSION_FN) (ULONG LogonId) |
typedef BOOL(WINAPI * | WTS_START_REMOTE_CONTROL_SESSION_FN_W) (LPWSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers) |
typedef BOOL(WINAPI * | WTS_START_REMOTE_CONTROL_SESSION_FN_A) (LPSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers) |
typedef BOOL(WINAPI * | WTS_START_REMOTE_CONTROL_SESSION_EX_FN_W) (LPWSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers, DWORD flags) |
typedef BOOL(WINAPI * | WTS_START_REMOTE_CONTROL_SESSION_EX_FN_A) (LPSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers, DWORD flags) |
typedef BOOL(WINAPI * | WTS_CONNECT_SESSION_FN_W) (ULONG LogonId, ULONG TargetLogonId, PWSTR pPassword, BOOL bWait) |
typedef BOOL(WINAPI * | WTS_CONNECT_SESSION_FN_A) (ULONG LogonId, ULONG TargetLogonId, PSTR pPassword, BOOL bWait) |
typedef BOOL(WINAPI * | WTS_ENUMERATE_SERVERS_FN_W) (LPWSTR pDomainName, DWORD Reserved, DWORD Version, PWTS_SERVER_INFOW *ppServerInfo, DWORD *pCount) |
typedef BOOL(WINAPI * | WTS_ENUMERATE_SERVERS_FN_A) (LPSTR pDomainName, DWORD Reserved, DWORD Version, PWTS_SERVER_INFOA *ppServerInfo, DWORD *pCount) |
typedef HANDLE(WINAPI * | WTS_OPEN_SERVER_FN_W) (LPWSTR pServerName) |
typedef HANDLE(WINAPI * | WTS_OPEN_SERVER_FN_A) (LPSTR pServerName) |
typedef HANDLE(WINAPI * | WTS_OPEN_SERVER_EX_FN_W) (LPWSTR pServerName) |
typedef HANDLE(WINAPI * | WTS_OPEN_SERVER_EX_FN_A) (LPSTR pServerName) |
typedef VOID(WINAPI * | WTS_CLOSE_SERVER_FN) (HANDLE hServer) |
typedef BOOL(WINAPI * | WTS_ENUMERATE_SESSIONS_FN_W) (HANDLE hServer, DWORD Reserved, DWORD Version, PWTS_SESSION_INFOW *ppSessionInfo, DWORD *pCount) |
typedef BOOL(WINAPI * | WTS_ENUMERATE_SESSIONS_FN_A) (HANDLE hServer, DWORD Reserved, DWORD Version, PWTS_SESSION_INFOA *ppSessionInfo, DWORD *pCount) |
typedef BOOL(WINAPI * | WTS_ENUMERATE_SESSIONS_EX_FN_W) (HANDLE hServer, DWORD *pLevel, DWORD Filter, PWTS_SESSION_INFO_1W *ppSessionInfo, DWORD *pCount) |
typedef BOOL(WINAPI * | WTS_ENUMERATE_SESSIONS_EX_FN_A) (HANDLE hServer, DWORD *pLevel, DWORD Filter, PWTS_SESSION_INFO_1A *ppSessionInfo, DWORD *pCount) |
typedef BOOL(WINAPI * | WTS_ENUMERATE_PROCESSES_FN_W) (HANDLE hServer, DWORD Reserved, DWORD Version, PWTS_PROCESS_INFOW *ppProcessInfo, DWORD *pCount) |
typedef BOOL(WINAPI * | WTS_ENUMERATE_PROCESSES_FN_A) (HANDLE hServer, DWORD Reserved, DWORD Version, PWTS_PROCESS_INFOA *ppProcessInfo, DWORD *pCount) |
typedef BOOL(WINAPI * | WTS_TERMINATE_PROCESS_FN) (HANDLE hServer, DWORD ProcessId, DWORD ExitCode) |
typedef BOOL(WINAPI * | WTS_QUERY_SESSION_INFORMATION_FN_W) (HANDLE hServer, DWORD SessionId, WTS_INFO_CLASS WTSInfoClass, LPWSTR *ppBuffer, DWORD *pBytesReturned) |
typedef BOOL(WINAPI * | WTS_QUERY_SESSION_INFORMATION_FN_A) (HANDLE hServer, DWORD SessionId, WTS_INFO_CLASS WTSInfoClass, LPSTR *ppBuffer, DWORD *pBytesReturned) |
typedef BOOL(WINAPI * | WTS_QUERY_USER_CONFIG_FN_W) (LPWSTR pServerName, LPWSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPWSTR *ppBuffer, DWORD *pBytesReturned) |
typedef BOOL(WINAPI * | WTS_QUERY_USER_CONFIG_FN_A) (LPSTR pServerName, LPSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPSTR *ppBuffer, DWORD *pBytesReturned) |
typedef BOOL(WINAPI * | WTS_SET_USER_CONFIG_FN_W) (LPWSTR pServerName, LPWSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPWSTR pBuffer, DWORD DataLength) |
typedef BOOL(WINAPI * | WTS_SET_USER_CONFIG_FN_A) (LPSTR pServerName, LPSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPSTR pBuffer, DWORD DataLength) |
typedef BOOL(WINAPI * | WTS_SEND_MESSAGE_FN_W) (HANDLE hServer, DWORD SessionId, LPWSTR pTitle, DWORD TitleLength, LPWSTR pMessage, DWORD MessageLength, DWORD Style, DWORD Timeout, DWORD *pResponse, BOOL bWait) |
typedef BOOL(WINAPI * | WTS_SEND_MESSAGE_FN_A) (HANDLE hServer, DWORD SessionId, LPSTR pTitle, DWORD TitleLength, LPSTR pMessage, DWORD MessageLength, DWORD Style, DWORD Timeout, DWORD *pResponse, BOOL bWait) |
typedef BOOL(WINAPI * | WTS_DISCONNECT_SESSION_FN) (HANDLE hServer, DWORD SessionId, BOOL bWait) |
typedef BOOL(WINAPI * | WTS_LOGOFF_SESSION_FN) (HANDLE hServer, DWORD SessionId, BOOL bWait) |
typedef BOOL(WINAPI * | WTS_SHUTDOWN_SYSTEM_FN) (HANDLE hServer, DWORD ShutdownFlag) |
typedef BOOL(WINAPI * | WTS_WAIT_SYSTEM_EVENT_FN) (HANDLE hServer, DWORD EventMask, DWORD *pEventFlags) |
typedef HANDLE(WINAPI * | WTS_VIRTUAL_CHANNEL_OPEN_FN) (HANDLE hServer, DWORD SessionId, LPSTR pVirtualName) |
typedef HANDLE(WINAPI * | WTS_VIRTUAL_CHANNEL_OPEN_EX_FN) (DWORD SessionId, LPSTR pVirtualName, DWORD flags) |
typedef BOOL(WINAPI * | WTS_VIRTUAL_CHANNEL_CLOSE_FN) (HANDLE hChannelHandle) |
typedef BOOL(WINAPI * | WTS_VIRTUAL_CHANNEL_READ_FN) (HANDLE hChannelHandle, ULONG TimeOut, PCHAR Buffer, ULONG BufferSize, PULONG pBytesRead) |
typedef BOOL(WINAPI * | WTS_VIRTUAL_CHANNEL_WRITE_FN) (HANDLE hChannelHandle, PCHAR Buffer, ULONG Length, PULONG pBytesWritten) |
typedef BOOL(WINAPI * | WTS_VIRTUAL_CHANNEL_PURGE_INPUT_FN) (HANDLE hChannelHandle) |
typedef BOOL(WINAPI * | WTS_VIRTUAL_CHANNEL_PURGE_OUTPUT_FN) (HANDLE hChannelHandle) |
typedef BOOL(WINAPI * | WTS_VIRTUAL_CHANNEL_QUERY_FN) (HANDLE hChannelHandle, WTS_VIRTUAL_CLASS WtsVirtualClass, PVOID *ppBuffer, DWORD *pBytesReturned) |
typedef VOID(WINAPI * | WTS_FREE_MEMORY_FN) (PVOID pMemory) |
typedef BOOL(WINAPI * | WTS_REGISTER_SESSION_NOTIFICATION_FN) (HWND hWnd, DWORD dwFlags) |
typedef BOOL(WINAPI * | WTS_UNREGISTER_SESSION_NOTIFICATION_FN) (HWND hWnd) |
typedef BOOL(WINAPI * | WTS_REGISTER_SESSION_NOTIFICATION_EX_FN) (HANDLE hServer, HWND hWnd, DWORD dwFlags) |
typedef BOOL(WINAPI * | WTS_UNREGISTER_SESSION_NOTIFICATION_EX_FN) (HANDLE hServer, HWND hWnd) |
typedef BOOL(WINAPI * | WTS_QUERY_USER_TOKEN_FN) (ULONG SessionId, PHANDLE phToken) |
typedef BOOL(WINAPI * | WTS_FREE_MEMORY_EX_FN_W) (WTS_TYPE_CLASS WTSTypeClass, PVOID pMemory, ULONG NumberOfEntries) |
typedef BOOL(WINAPI * | WTS_FREE_MEMORY_EX_FN_A) (WTS_TYPE_CLASS WTSTypeClass, PVOID pMemory, ULONG NumberOfEntries) |
typedef BOOL(WINAPI * | WTS_ENUMERATE_PROCESSES_EX_FN_W) (HANDLE hServer, DWORD *pLevel, DWORD SessionId, LPWSTR *ppProcessInfo, DWORD *pCount) |
typedef BOOL(WINAPI * | WTS_ENUMERATE_PROCESSES_EX_FN_A) (HANDLE hServer, DWORD *pLevel, DWORD SessionId, LPSTR *ppProcessInfo, DWORD *pCount) |
typedef BOOL(WINAPI * | WTS_ENUMERATE_LISTENERS_FN_W) (HANDLE hServer, PVOID pReserved, DWORD Reserved, PWTSLISTENERNAMEW pListeners, DWORD *pCount) |
typedef BOOL(WINAPI * | WTS_ENUMERATE_LISTENERS_FN_A) (HANDLE hServer, PVOID pReserved, DWORD Reserved, PWTSLISTENERNAMEA pListeners, DWORD *pCount) |
typedef BOOL(WINAPI * | WTS_QUERY_LISTENER_CONFIG_FN_W) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPWSTR pListenerName, PWTSLISTENERCONFIGW pBuffer) |
typedef BOOL(WINAPI * | WTS_QUERY_LISTENER_CONFIG_FN_A) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPSTR pListenerName, PWTSLISTENERCONFIGA pBuffer) |
typedef BOOL(WINAPI * | WTS_CREATE_LISTENER_FN_W) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPWSTR pListenerName, PWTSLISTENERCONFIGW pBuffer, DWORD flag) |
typedef BOOL(WINAPI * | WTS_CREATE_LISTENER_FN_A) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPSTR pListenerName, PWTSLISTENERCONFIGA pBuffer, DWORD flag) |
typedef BOOL(WINAPI * | WTS_SET_LISTENER_SECURITY_FN_W) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPWSTR pListenerName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor) |
typedef BOOL(WINAPI * | WTS_SET_LISTENER_SECURITY_FN_A) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPSTR pListenerName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor) |
typedef BOOL(WINAPI * | WTS_GET_LISTENER_SECURITY_FN_W) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPWSTR pListenerName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded) |
typedef BOOL(WINAPI * | WTS_GET_LISTENER_SECURITY_FN_A) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPSTR pListenerName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded) |
typedef BOOL(CDECL * | WTS_ENABLE_CHILD_SESSIONS_FN) (BOOL bEnable) |
typedef BOOL(CDECL * | WTS_IS_CHILD_SESSIONS_ENABLED_FN) (PBOOL pbEnabled) |
typedef BOOL(CDECL * | WTS_GET_CHILD_SESSION_ID_FN) (PULONG pSessionId) |
typedef DWORD(WINAPI * | WTS_GET_ACTIVE_CONSOLE_SESSION_ID_FN) (void) |
typedef BOOL(WINAPI * | WTS_LOGON_USER_FN) (HANDLE hServer, LPCSTR username, LPCSTR password, LPCSTR domain) |
typedef BOOL(WINAPI * | WTS_LOGOFF_USER_FN) (HANDLE hServer) |
typedef WtsApiFunctionTable * | PWtsApiFunctionTable |
typedef const WtsApiFunctionTable *(CDECL * | INIT_WTSAPI_FN) (void) |
Functions | |
WINPR_API BOOL WINAPI | WTSStopRemoteControlSession (ULONG LogonId) |
WINPR_API BOOL WINAPI | WTSStartRemoteControlSessionW (LPWSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers) |
WINPR_API BOOL WINAPI | WTSStartRemoteControlSessionA (LPSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers) |
WINPR_API BOOL WINAPI | WTSStartRemoteControlSessionExW (LPWSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers, DWORD flags) |
WINPR_API BOOL WINAPI | WTSStartRemoteControlSessionExA (LPSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers, DWORD flags) |
WINPR_API BOOL WINAPI | WTSConnectSessionW (ULONG LogonId, ULONG TargetLogonId, PWSTR pPassword, BOOL bWait) |
WINPR_API BOOL WINAPI | WTSConnectSessionA (ULONG LogonId, ULONG TargetLogonId, PSTR pPassword, BOOL bWait) |
WINPR_API BOOL WINAPI | WTSEnumerateServersW (LPWSTR pDomainName, DWORD Reserved, DWORD Version, PWTS_SERVER_INFOW *ppServerInfo, DWORD *pCount) |
WINPR_API BOOL WINAPI | WTSEnumerateServersA (LPSTR pDomainName, DWORD Reserved, DWORD Version, PWTS_SERVER_INFOA *ppServerInfo, DWORD *pCount) |
WINPR_API VOID WINAPI | WTSCloseServer (HANDLE hServer) |
WINPR_API HANDLE WINAPI | WTSOpenServerW (LPWSTR pServerName) |
WINPR_API HANDLE WINAPI | WTSOpenServerA (LPSTR pServerName) |
WINPR_API HANDLE WINAPI | WTSOpenServerExW (LPWSTR pServerName) |
WINPR_API HANDLE WINAPI | WTSOpenServerExA (LPSTR pServerName) |
WINPR_API BOOL WINAPI | WTSEnumerateSessionsW (HANDLE hServer, DWORD Reserved, DWORD Version, PWTS_SESSION_INFOW *ppSessionInfo, DWORD *pCount) |
WINPR_API BOOL WINAPI | WTSEnumerateSessionsA (HANDLE hServer, DWORD Reserved, DWORD Version, PWTS_SESSION_INFOA *ppSessionInfo, DWORD *pCount) |
WINPR_API BOOL WINAPI | WTSEnumerateSessionsExW (HANDLE hServer, DWORD *pLevel, DWORD Filter, PWTS_SESSION_INFO_1W *ppSessionInfo, DWORD *pCount) |
WINPR_API BOOL WINAPI | WTSEnumerateSessionsExA (HANDLE hServer, DWORD *pLevel, DWORD Filter, PWTS_SESSION_INFO_1A *ppSessionInfo, DWORD *pCount) |
WINPR_API BOOL WINAPI | WTSEnumerateProcessesW (HANDLE hServer, DWORD Reserved, DWORD Version, PWTS_PROCESS_INFOW *ppProcessInfo, DWORD *pCount) |
WINPR_API BOOL WINAPI | WTSEnumerateProcessesA (HANDLE hServer, DWORD Reserved, DWORD Version, PWTS_PROCESS_INFOA *ppProcessInfo, DWORD *pCount) |
WINPR_API BOOL WINAPI | WTSTerminateProcess (HANDLE hServer, DWORD ProcessId, DWORD ExitCode) |
WINPR_API BOOL WINAPI | WTSQuerySessionInformationW (HANDLE hServer, DWORD SessionId, WTS_INFO_CLASS WTSInfoClass, LPWSTR *ppBuffer, DWORD *pBytesReturned) |
WINPR_API BOOL WINAPI | WTSQuerySessionInformationA (HANDLE hServer, DWORD SessionId, WTS_INFO_CLASS WTSInfoClass, LPSTR *ppBuffer, DWORD *pBytesReturned) |
WINPR_API BOOL WINAPI | WTSQueryUserConfigW (LPWSTR pServerName, LPWSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPWSTR *ppBuffer, DWORD *pBytesReturned) |
WINPR_API BOOL WINAPI | WTSQueryUserConfigA (LPSTR pServerName, LPSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPSTR *ppBuffer, DWORD *pBytesReturned) |
WINPR_API BOOL WINAPI | WTSSetUserConfigW (LPWSTR pServerName, LPWSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPWSTR pBuffer, DWORD DataLength) |
WINPR_API BOOL WINAPI | WTSSetUserConfigA (LPSTR pServerName, LPSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPSTR pBuffer, DWORD DataLength) |
WINPR_API BOOL WINAPI | WTSSendMessageW (HANDLE hServer, DWORD SessionId, LPWSTR pTitle, DWORD TitleLength, LPWSTR pMessage, DWORD MessageLength, DWORD Style, DWORD Timeout, DWORD *pResponse, BOOL bWait) |
WINPR_API BOOL WINAPI | WTSSendMessageA (HANDLE hServer, DWORD SessionId, LPSTR pTitle, DWORD TitleLength, LPSTR pMessage, DWORD MessageLength, DWORD Style, DWORD Timeout, DWORD *pResponse, BOOL bWait) |
WINPR_API BOOL WINAPI | WTSDisconnectSession (HANDLE hServer, DWORD SessionId, BOOL bWait) |
WINPR_API BOOL WINAPI | WTSLogoffSession (HANDLE hServer, DWORD SessionId, BOOL bWait) |
WINPR_API BOOL WINAPI | WTSShutdownSystem (HANDLE hServer, DWORD ShutdownFlag) |
WINPR_API BOOL WINAPI | WTSWaitSystemEvent (HANDLE hServer, DWORD EventMask, DWORD *pEventFlags) |
WINPR_API HANDLE WINAPI | WTSVirtualChannelOpen (HANDLE hServer, DWORD SessionId, LPSTR pVirtualName) |
WINPR_API HANDLE WINAPI | WTSVirtualChannelOpenEx (DWORD SessionId, LPSTR pVirtualName, DWORD flags) |
WINPR_API BOOL WINAPI | WTSVirtualChannelClose (HANDLE hChannelHandle) |
WINPR_API BOOL WINAPI | WTSVirtualChannelRead (HANDLE hChannelHandle, ULONG TimeOut, PCHAR Buffer, ULONG BufferSize, PULONG pBytesRead) |
WINPR_API BOOL WINAPI | WTSVirtualChannelWrite (HANDLE hChannelHandle, PCHAR Buffer, ULONG Length, PULONG pBytesWritten) |
WINPR_API BOOL WINAPI | WTSVirtualChannelPurgeInput (HANDLE hChannelHandle) |
WINPR_API BOOL WINAPI | WTSVirtualChannelPurgeOutput (HANDLE hChannelHandle) |
WINPR_API BOOL WINAPI | WTSVirtualChannelQuery (HANDLE hChannelHandle, WTS_VIRTUAL_CLASS WtsVirtualClass, PVOID *ppBuffer, DWORD *pBytesReturned) |
WINPR_API VOID WINAPI | WTSFreeMemory (PVOID pMemory) |
WINPR_API BOOL WINAPI | WTSRegisterSessionNotification (HWND hWnd, DWORD dwFlags) |
WINPR_API BOOL WINAPI | WTSUnRegisterSessionNotification (HWND hWnd) |
WINPR_API BOOL WINAPI | WTSRegisterSessionNotificationEx (HANDLE hServer, HWND hWnd, DWORD dwFlags) |
WINPR_API BOOL WINAPI | WTSUnRegisterSessionNotificationEx (HANDLE hServer, HWND hWnd) |
WINPR_API BOOL WINAPI | WTSQueryUserToken (ULONG SessionId, PHANDLE phToken) |
WINPR_API BOOL WINAPI | WTSFreeMemoryExW (WTS_TYPE_CLASS WTSTypeClass, PVOID pMemory, ULONG NumberOfEntries) |
WINPR_API BOOL WINAPI | WTSFreeMemoryExA (WTS_TYPE_CLASS WTSTypeClass, PVOID pMemory, ULONG NumberOfEntries) |
WINPR_API BOOL WINAPI | WTSEnumerateProcessesExW (HANDLE hServer, DWORD *pLevel, DWORD SessionId, LPWSTR *ppProcessInfo, DWORD *pCount) |
WINPR_API BOOL WINAPI | WTSEnumerateProcessesExA (HANDLE hServer, DWORD *pLevel, DWORD SessionId, LPSTR *ppProcessInfo, DWORD *pCount) |
WINPR_API BOOL WINAPI | WTSEnumerateListenersW (HANDLE hServer, PVOID pReserved, DWORD Reserved, PWTSLISTENERNAMEW pListeners, DWORD *pCount) |
WINPR_API BOOL WINAPI | WTSEnumerateListenersA (HANDLE hServer, PVOID pReserved, DWORD Reserved, PWTSLISTENERNAMEA pListeners, DWORD *pCount) |
WINPR_API BOOL WINAPI | WTSQueryListenerConfigW (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPWSTR pListenerName, PWTSLISTENERCONFIGW pBuffer) |
WINPR_API BOOL WINAPI | WTSQueryListenerConfigA (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPSTR pListenerName, PWTSLISTENERCONFIGA pBuffer) |
WINPR_API BOOL WINAPI | WTSCreateListenerW (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPWSTR pListenerName, PWTSLISTENERCONFIGW pBuffer, DWORD flag) |
WINPR_API BOOL WINAPI | WTSCreateListenerA (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPSTR pListenerName, PWTSLISTENERCONFIGA pBuffer, DWORD flag) |
WINPR_API BOOL WINAPI | WTSSetListenerSecurityW (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPWSTR pListenerName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor) |
WINPR_API BOOL WINAPI | WTSSetListenerSecurityA (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPSTR pListenerName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor) |
WINPR_API BOOL WINAPI | WTSGetListenerSecurityW (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPWSTR pListenerName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded) |
WINPR_API BOOL WINAPI | WTSGetListenerSecurityA (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPSTR pListenerName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded) |
WINPR_API BOOL CDECL | WTSEnableChildSessions (BOOL bEnable) |
WINPR_API BOOL CDECL | WTSIsChildSessionsEnabled (PBOOL pbEnabled) |
WINPR_API BOOL CDECL | WTSGetChildSessionId (PULONG pSessionId) |
WINPR_API BOOL CDECL | WTSLogonUser (HANDLE hServer, LPCSTR username, LPCSTR password, LPCSTR domain) |
WINPR_API BOOL CDECL | WTSLogoffUser (HANDLE hServer) |
WINPR_API DWORD WINAPI | WTSGetActiveConsoleSessionId (void) |
WINPR_API BOOL | WTSRegisterWtsApiFunctionTable (const WtsApiFunctionTable *table) |
WINPR_API const CHAR * | WTSErrorToString (UINT error) |
WINPR_API const CHAR * | WTSSessionStateToString (WTS_CONNECTSTATE_CLASS state) |
#define CHANNEL_CHUNK_LENGTH 1600 |
Virtual Channel Protocol (pchannel.h)
#define CHANNEL_CHUNK_MAX_LENGTH 16256 |
WinPR: Windows Portable Runtime Windows Terminal Services API
Copyright 2013 Marc-Andre Moreau marca Copyright 2015 DI (FH) Martin Haimberger ndre .more au@g mail. commarti Copyright 2015 Copyright 2015 Thincast Technologies GmbH n.ha imber ger@ thinc ast. com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
#define CHANNEL_EVENT_ATTACHED 7 |
#define CHANNEL_EVENT_CONNECTED 1 |
#define CHANNEL_EVENT_DATA_RECEIVED 10 |
#define CHANNEL_EVENT_DETACHED 8 |
#define CHANNEL_EVENT_DISCONNECTED 3 |
#define CHANNEL_EVENT_INITIALIZED 0 |
#define CHANNEL_EVENT_REMOTE_CONTROL_START 5 |
#define CHANNEL_EVENT_REMOTE_CONTROL_STOP 6 |
#define CHANNEL_EVENT_TERMINATED 4 |
#define CHANNEL_EVENT_V1_CONNECTED 2 |
#define CHANNEL_EVENT_WRITE_CANCELLED 12 |
#define CHANNEL_EVENT_WRITE_COMPLETE 11 |
#define CHANNEL_FLAG_FAIL 0x100 |
#define CHANNEL_FLAG_FIRST 0x01 |
#define CHANNEL_FLAG_LAST 0x02 |
#define CHANNEL_FLAG_MIDDLE 0 |
#define CHANNEL_FLAG_ONLY (CHANNEL_FLAG_FIRST | CHANNEL_FLAG_LAST) |
#define CHANNEL_FLAG_RESUME 0x40 |
#define CHANNEL_FLAG_SHADOW_PERSISTENT 0x80 |
#define CHANNEL_FLAG_SHOW_PROTOCOL 0x10 |
These channel flags are defined in some versions of pchannel.h only
#define CHANNEL_FLAG_SUSPEND 0x20 |
#define CHANNEL_MAX_COUNT 31 |
#define CHANNEL_NAME_LEN 7 |
#define CHANNEL_OPTION_COMPRESS 0x00400000 |
#define CHANNEL_OPTION_COMPRESS_RDP 0x00800000 |
#define CHANNEL_OPTION_ENCRYPT_CS 0x10000000 |
#define CHANNEL_OPTION_ENCRYPT_RDP 0x40000000 |
#define CHANNEL_OPTION_ENCRYPT_SC 0x20000000 |
#define CHANNEL_OPTION_INITIALIZED 0x80000000 |
#define CHANNEL_OPTION_PRI_HIGH 0x08000000 |
#define CHANNEL_OPTION_PRI_LOW 0x02000000 |
#define CHANNEL_OPTION_PRI_MED 0x04000000 |
#define CHANNEL_OPTION_REMOTE_CONTROL_PERSISTENT 0x00100000 |
#define CHANNEL_OPTION_SHOW_PROTOCOL 0x00200000 |
#define CHANNEL_PDU_LENGTH (CHANNEL_CHUNK_LENGTH + sizeof(CHANNEL_PDU_HEADER)) |
#define CHANNEL_RC_ALREADY_CONNECTED 3 |
#define CHANNEL_RC_ALREADY_INITIALIZED 1 |
#define CHANNEL_RC_ALREADY_OPEN 14 |
#define CHANNEL_RC_BAD_CHANNEL 6 |
#define CHANNEL_RC_BAD_CHANNEL_HANDLE 7 |
#define CHANNEL_RC_BAD_INIT_HANDLE 9 |
#define CHANNEL_RC_BAD_PROC 11 |
#define CHANNEL_RC_INITIALIZATION_ERROR 20 |
#define CHANNEL_RC_INVALID_INSTANCE 18 |
#define CHANNEL_RC_NO_BUFFER 8 |
#define CHANNEL_RC_NO_MEMORY 12 |
#define CHANNEL_RC_NOT_CONNECTED 4 |
#define CHANNEL_RC_NOT_IN_VIRTUALCHANNELENTRY 15 |
#define CHANNEL_RC_NOT_INITIALIZED 2 |
#define CHANNEL_RC_NOT_OPEN 10 |
#define CHANNEL_RC_NULL_DATA 16 |
#define CHANNEL_RC_OK 0 |
#define CHANNEL_RC_TOO_MANY_CHANNELS 5 |
#define CHANNEL_RC_UNKNOWN_CHANNEL_NAME 13 |
#define CHANNEL_RC_UNSUPPORTED_VERSION 19 |
#define CHANNEL_RC_ZERO_LENGTH 17 |
#define CLIENTADDRESS_LENGTH 30 |
#define CLIENTNAME_LENGTH 20 |
#define DOMAIN_LENGTH 17 |
#define IDASYNC 32001 |
#define IDTIMEOUT 32000 |
#define MAX_DATE_TIME_LENGTH 56 |
#define MAX_ELAPSED_TIME_LENGTH 15 |
#define NOTIFY_FOR_ALL_SESSIONS 1 |
#define NOTIFY_FOR_THIS_SESSION 0 |
#define PRODUCT_INFO PRODUCT_INFOA |
#define PRODUCTINFO_COMPANYNAME_LENGTH 256 |
#define PRODUCTINFO_PRODUCTID_LENGTH 4 |
#define PWTS_PROCESS_INFO PWTS_PROCESS_INFOA |
#define PWTS_PROCESS_INFO_EX PWTS_PROCESS_INFO_EXA |
#define PWTS_SERVER_INFO PWTS_SERVER_INFOA |
#define PWTS_SESSION_INFO PWTS_SESSION_INFOA |
#define PWTS_SESSION_INFO_1 PWTS_SESSION_INFO_1A |
#define PWTS_VALIDATION_INFORMATION PWTS_VALIDATION_INFORMATIONA |
#define PWTSCLIENT PWTSCLIENTA |
#define PWTSCONFIGINFO PWTSCONFIGINFOA |
#define PWTSINFO PWTSINFOA |
#define PWTSINFOEX PWTSINFOEXA |
#define PWTSINFOEX_LEVEL PWTSINFOEX_LEVEL_A |
#define PWTSINFOEX_LEVEL1 PWTSINFOEX_LEVEL1_A |
#define PWTSLISTENERCONFIG PWTSLISTENERCONFIGA |
#define PWTSLISTENERNAME PWTSLISTENERNAMEA |
#define PWTSUSERCONFIG PWTSUSERCONFIGA |
#define REMOTECONTROL_FLAG_DISABLE_INPUT REMOTECONTROL_FLAG_DISABLE_KEYBOARD | REMOTECONTROL_FLAG_DISABLE_MOUSE |
#define REMOTECONTROL_FLAG_DISABLE_KEYBOARD 0x00000001 |
#define REMOTECONTROL_FLAG_DISABLE_MOUSE 0x00000002 |
#define REMOTECONTROL_KBDALT_HOTKEY 0x4 |
#define REMOTECONTROL_KBDCTRL_HOTKEY 0x2 |
#define REMOTECONTROL_KBDSHIFT_HOTKEY 0x1 |
#define USERNAME_LENGTH 20 |
#define VALIDATIONINFORMATION_HARDWAREID_LENGTH 20 |
#define VALIDATIONINFORMATION_LICENSE_LENGTH 16384 |
#define VCAPITYPE CALLBACK |
Virtual Channel Client API (cchannel.h)
#define VCEXPORT __export |
#define VIRTUAL_CHANNEL_VERSION_WIN2000 1 |
#define WINSTATIONNAME_LENGTH 32 |
#define WTS_ANY_SESSION ((DWORD)-2) |
#define WTS_CHANNEL_OPTION_DYNAMIC 0x00000001 |
#define WTS_CHANNEL_OPTION_DYNAMIC_NO_COMPRESS 0x00000008 |
#define WTS_CHANNEL_OPTION_DYNAMIC_PRI_HIGH 0x00000004 |
#define WTS_CHANNEL_OPTION_DYNAMIC_PRI_LOW 0x00000000 |
#define WTS_CHANNEL_OPTION_DYNAMIC_PRI_MED 0x00000002 |
#define WTS_CHANNEL_OPTION_DYNAMIC_PRI_REAL 0x00000006 |
#define WTS_COMMENT_LENGTH 60 |
#define WTS_CURRENT_SERVER ((HANDLE)NULL) |
Windows Terminal Services API (wtsapi32.h)
#define WTS_CURRENT_SERVER_HANDLE ((HANDLE)NULL) |
#define WTS_CURRENT_SERVER_NAME (NULL) |
#define WTS_CURRENT_SESSION ((DWORD)-1) |
#define WTS_DRIVE_LENGTH 3 |
#define WTS_EVENT_ALL 0x7FFFFFFF |
#define WTS_EVENT_CONNECT 0x00000008 |
#define WTS_EVENT_CREATE 0x00000001 |
#define WTS_EVENT_DELETE 0x00000002 |
#define WTS_EVENT_DISCONNECT 0x00000010 |
#define WTS_EVENT_FLUSH 0x80000000 |
#define WTS_EVENT_LICENSE 0x00000100 |
#define WTS_EVENT_LOGOFF 0x00000040 |
#define WTS_EVENT_LOGON 0x00000020 |
#define WTS_EVENT_NONE 0x00000000 |
#define WTS_EVENT_RENAME 0x00000004 |
#define WTS_EVENT_STATECHANGE 0x00000080 |
#define WTS_LISTENER_CREATE 0x00000001 |
#define WTS_LISTENER_NAME_LENGTH 32 |
#define WTS_LISTENER_UPDATE 0x00000010 |
#define WTS_PROCESS_INFO WTS_PROCESS_INFOA |
#define WTS_PROCESS_INFO_EX WTS_PROCESS_INFO_EXA |
#define WTS_PROCESS_INFO_LEVEL_0 0 |
#define WTS_PROCESS_INFO_LEVEL_1 1 |
#define WTS_PROTOCOL_TYPE_CONSOLE 0 |
#define WTS_PROTOCOL_TYPE_ICA 1 |
#define WTS_PROTOCOL_TYPE_RDP 2 |
#define WTS_SECURITY_ALL_ACCESS |
#define WTS_SECURITY_CONNECT 0x00000100 |
#define WTS_SECURITY_CURRENT_GUEST_ACCESS (WTS_SECURITY_VIRTUAL_CHANNELS | WTS_SECURITY_LOGOFF) |
#define WTS_SECURITY_CURRENT_USER_ACCESS |
#define WTS_SECURITY_DISCONNECT 0x00000200 |
#define WTS_SECURITY_GUEST_ACCESS (WTS_SECURITY_LOGON) |
#define WTS_SECURITY_LOGOFF 0x00000040 |
#define WTS_SECURITY_LOGON 0x00000020 |
#define WTS_SECURITY_MESSAGE 0x00000080 |
#define WTS_SECURITY_QUERY_INFORMATION 0x00000001 |
#define WTS_SECURITY_REMOTE_CONTROL 0x00000010 |
#define WTS_SECURITY_RESET 0x00000004 |
#define WTS_SECURITY_SET_INFORMATION 0x00000002 |
#define WTS_SECURITY_USER_ACCESS (WTS_SECURITY_CURRENT_GUEST_ACCESS | WTS_SECURITY_QUERY_INFORMATION | WTS_SECURITY_CONNECT) |
#define WTS_SECURITY_VIRTUAL_CHANNELS 0x00000008 |
#define WTS_SERVER_INFO WTS_SERVER_INFOA |
#define WTS_SESSION_INFO WTS_SESSION_INFOA |
#define WTS_SESSION_INFO_1 WTS_SESSION_INFO_1A |
#define WTS_SESSIONSTATE_LOCK 0x00000000 |
#define WTS_SESSIONSTATE_UNKNOWN 0xFFFFFFFF |
#define WTS_SESSIONSTATE_UNLOCK 0x00000001 |
#define WTS_VALIDATION_INFORMATION WTS_VALIDATION_INFORMATIONA |
#define WTS_WSD_FASTREBOOT 0x00000010 |
#define WTS_WSD_LOGOFF 0x00000001 |
#define WTS_WSD_POWEROFF 0x00000008 |
#define WTS_WSD_REBOOT 0x00000004 |
#define WTS_WSD_SHUTDOWN 0x00000002 |
#define WTSCLIENT WTSCLIENTA |
#define WTSCONFIGINFO WTSCONFIGINFOA |
#define WTSConnectSession WTSConnectSessionA |
#define WTSCreateListener WTSCreateListenerA |
#define WTSEnumerateListeners WTSEnumerateListenersA |
#define WTSEnumerateProcesses WTSEnumerateProcessesA |
#define WTSEnumerateProcessesEx WTSEnumerateProcessesExA |
#define WTSEnumerateServers WTSEnumerateServersA |
#define WTSEnumerateSessions WTSEnumerateSessionsA |
#define WTSEnumerateSessionsEx WTSEnumerateSessionsExA |
#define WTSFreeMemoryEx WTSFreeMemoryExA |
#define WTSGetListenerSecurity WTSGetListenerSecurityA |
#define WTSINFO WTSINFOA |
#define WTSINFOEX WTSINFOEXA |
#define WTSINFOEX_LEVEL WTSINFOEX_LEVEL_A |
#define WTSINFOEX_LEVEL1 WTSINFOEX_LEVEL1_A |
#define WTSLISTENERCONFIG WTSLISTENERCONFIGA |
#define WTSLISTENERNAME WTSLISTENERNAMEA |
#define WTSOpenServer WTSOpenServerA |
#define WTSOpenServerEx WTSOpenServerExA |
#define WTSQueryListenerConfig WTSQueryListenerConfigA |
#define WTSQuerySessionInformation WTSQuerySessionInformationA |
#define WTSQueryUserConfig WTSQueryUserConfigA |
#define WTSSendMessage WTSSendMessageA |
#define WTSSetListenerSecurity WTSSetListenerSecurityA |
#define WTSSetUserConfig WTSSetUserConfigA |
#define WTSStartRemoteControlSession WTSStartRemoteControlSessionA |
#define WTSStartRemoteControlSessionEx WTSStartRemoteControlSessionExA |
#define WTSUSERCONFIG WTSUSERCONFIGA |
typedef VOID VCAPITYPE CHANNEL_INIT_EVENT_EX_FN(LPVOID lpUserParam, LPVOID pInitHandle, UINT event, LPVOID pData, UINT dataLength) |
typedef VOID VCAPITYPE CHANNEL_INIT_EVENT_FN(LPVOID pInitHandle, UINT event, LPVOID pData, UINT dataLength) |
typedef VOID VCAPITYPE CHANNEL_OPEN_EVENT_EX_FN(LPVOID lpUserParam, DWORD openHandle, UINT event, LPVOID pData, UINT32 dataLength, UINT32 totalLength, UINT32 dataFlags) |
typedef VOID VCAPITYPE CHANNEL_OPEN_EVENT_FN(DWORD openHandle, UINT event, LPVOID pData, UINT32 dataLength, UINT32 totalLength, UINT32 dataFlags) |
typedef const WtsApiFunctionTable*(CDECL* INIT_WTSAPI_FN) (void) |
typedef CHANNEL_DEF* PCHANNEL_DEF |
typedef HRESULT(VCAPITYPE* PFNVCAPIGETINSTANCE) (REFIID refiid, PULONG pNumObjs, PVOID *ppObjArray) |
typedef PCHANNEL_DEF* PPCHANNEL_DEF |
typedef VIRTUALCHANNELCLOSE* PVIRTUALCHANNELCLOSE |
typedef VIRTUALCHANNELENTRY* PVIRTUALCHANNELENTRY |
typedef VIRTUALCHANNELINIT* PVIRTUALCHANNELINIT |
typedef VIRTUALCHANNELOPEN* PVIRTUALCHANNELOPEN |
typedef VIRTUALCHANNELWRITE* PVIRTUALCHANNELWRITE |
typedef struct WTS_CLIENT_ADDRESS * PWTS_CLIENT_ADDRESS |
typedef struct WTS_CLIENT_DISPLAY * PWTS_CLIENT_DISPLAY |
typedef struct WTS_PROCESS_INFO_EXA * PWTS_PROCESS_INFO_EXA |
typedef struct WTS_PROCESS_INFO_EXW * PWTS_PROCESS_INFO_EXW |
typedef struct WTS_PROCESS_INFOA * PWTS_PROCESS_INFOA |
typedef struct WTS_PROCESS_INFOW * PWTS_PROCESS_INFOW |
typedef struct WTS_SERVER_INFOA * PWTS_SERVER_INFOA |
typedef struct WTS_SERVER_INFOW * PWTS_SERVER_INFOW |
typedef struct WTS_SESSION_ADDRESS * PWTS_SESSION_ADDRESS |
typedef struct WTS_SESSION_INFO_1A * PWTS_SESSION_INFO_1A |
typedef struct WTS_SESSION_INFO_1W * PWTS_SESSION_INFO_1W |
typedef struct WTS_SESSION_INFOA * PWTS_SESSION_INFOA |
typedef struct WTS_SESSION_INFOW * PWTS_SESSION_INFOW |
typedef struct WTS_VALIDATION_INFORMATIONA * PWTS_VALIDATION_INFORMATIONA |
typedef struct WTS_VALIDATION_INFORMATIONW * PWTS_VALIDATION_INFORMATIONW |
typedef WtsApiFunctionTable* PWtsApiFunctionTable |
typedef struct WTSCLIENTA * PWTSCLIENTA |
typedef struct WTSCLIENTW * PWTSCLIENTW |
typedef struct WTSCONFIGINFOA * PWTSCONFIGINFOA |
typedef struct WTSCONFIGINFOW * PWTSCONFIGINFOW |
typedef struct WTSINFOEX_LEVEL1_A * PWTSINFOEX_LEVEL1_A |
typedef struct WTSINFOEX_LEVEL1_W * PWTSINFOEX_LEVEL1_W |
typedef union WTSINFOEX_LEVEL_A * PWTSINFOEX_LEVEL_A |
typedef union WTSINFOEX_LEVEL_W * PWTSINFOEX_LEVEL_W |
typedef struct WTSINFOEXA * PWTSINFOEXA |
typedef struct WTSINFOEXW * PWTSINFOEXW |
typedef struct WTSLISTENERCONFIGA * PWTSLISTENERCONFIGA |
typedef struct WTSLISTENERCONFIGW * PWTSLISTENERCONFIGW |
typedef WTSLISTENERNAMEA* PWTSLISTENERNAMEA |
typedef WTSLISTENERNAMEW* PWTSLISTENERNAMEW |
typedef struct WTSUSERCONFIGA * PWTSUSERCONFIGA |
typedef struct WTSUSERCONFIGW * PWTSUSERCONFIGW |
typedef BOOL VCAPITYPE VIRTUALCHANNELENTRY(PCHANNEL_ENTRY_POINTS pEntryPoints) |
typedef BOOL VCAPITYPE VIRTUALCHANNELENTRYEX(PCHANNEL_ENTRY_POINTS_EX pEntryPointsEx, PVOID pInitHandle) |
typedef UINT VCAPITYPE VIRTUALCHANNELINIT(LPVOID *ppInitHandle, PCHANNEL_DEF pChannel, INT channelCount, ULONG versionRequested, PCHANNEL_INIT_EVENT_FN pChannelInitEventProc) |
typedef UINT VCAPITYPE VIRTUALCHANNELINITEX(LPVOID lpUserParam, LPVOID clientContext, LPVOID pInitHandle, PCHANNEL_DEF pChannel, INT channelCount, ULONG versionRequested, PCHANNEL_INIT_EVENT_EX_FN pChannelInitEventProcEx) |
typedef UINT VCAPITYPE VIRTUALCHANNELOPEN(LPVOID pInitHandle, LPDWORD pOpenHandle, PCHAR pChannelName, PCHANNEL_OPEN_EVENT_FN pChannelOpenEventProc) |
typedef UINT VCAPITYPE VIRTUALCHANNELOPENEX(LPVOID pInitHandle, LPDWORD pOpenHandle, PCHAR pChannelName, PCHANNEL_OPEN_EVENT_EX_FN pChannelOpenEventProcEx) |
typedef UINT VCAPITYPE VIRTUALCHANNELWRITE(DWORD openHandle, LPVOID pData, ULONG dataLength, LPVOID pUserData) |
typedef UINT VCAPITYPE VIRTUALCHANNELWRITEEX(LPVOID pInitHandle, DWORD openHandle, LPVOID pData, ULONG dataLength, LPVOID pUserData) |
typedef VOID(WINAPI* WTS_CLOSE_SERVER_FN) (HANDLE hServer) |
typedef BOOL(WINAPI* WTS_CONNECT_SESSION_FN_A) (ULONG LogonId, ULONG TargetLogonId, PSTR pPassword, BOOL bWait) |
typedef BOOL(WINAPI* WTS_CONNECT_SESSION_FN_W) (ULONG LogonId, ULONG TargetLogonId, PWSTR pPassword, BOOL bWait) |
typedef BOOL(WINAPI* WTS_CREATE_LISTENER_FN_A) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPSTR pListenerName, PWTSLISTENERCONFIGA pBuffer, DWORD flag) |
typedef BOOL(WINAPI* WTS_CREATE_LISTENER_FN_W) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPWSTR pListenerName, PWTSLISTENERCONFIGW pBuffer, DWORD flag) |
typedef BOOL(WINAPI* WTS_DISCONNECT_SESSION_FN) (HANDLE hServer, DWORD SessionId, BOOL bWait) |
typedef BOOL(CDECL* WTS_ENABLE_CHILD_SESSIONS_FN) (BOOL bEnable) |
typedef BOOL(WINAPI* WTS_ENUMERATE_LISTENERS_FN_A) (HANDLE hServer, PVOID pReserved, DWORD Reserved, PWTSLISTENERNAMEA pListeners, DWORD *pCount) |
typedef BOOL(WINAPI* WTS_ENUMERATE_LISTENERS_FN_W) (HANDLE hServer, PVOID pReserved, DWORD Reserved, PWTSLISTENERNAMEW pListeners, DWORD *pCount) |
typedef BOOL(WINAPI* WTS_ENUMERATE_PROCESSES_EX_FN_A) (HANDLE hServer, DWORD *pLevel, DWORD SessionId, LPSTR *ppProcessInfo, DWORD *pCount) |
typedef BOOL(WINAPI* WTS_ENUMERATE_PROCESSES_EX_FN_W) (HANDLE hServer, DWORD *pLevel, DWORD SessionId, LPWSTR *ppProcessInfo, DWORD *pCount) |
typedef BOOL(WINAPI* WTS_ENUMERATE_PROCESSES_FN_A) (HANDLE hServer, DWORD Reserved, DWORD Version, PWTS_PROCESS_INFOA *ppProcessInfo, DWORD *pCount) |
typedef BOOL(WINAPI* WTS_ENUMERATE_PROCESSES_FN_W) (HANDLE hServer, DWORD Reserved, DWORD Version, PWTS_PROCESS_INFOW *ppProcessInfo, DWORD *pCount) |
typedef BOOL(WINAPI* WTS_ENUMERATE_SERVERS_FN_A) (LPSTR pDomainName, DWORD Reserved, DWORD Version, PWTS_SERVER_INFOA *ppServerInfo, DWORD *pCount) |
typedef BOOL(WINAPI* WTS_ENUMERATE_SERVERS_FN_W) (LPWSTR pDomainName, DWORD Reserved, DWORD Version, PWTS_SERVER_INFOW *ppServerInfo, DWORD *pCount) |
typedef BOOL(WINAPI* WTS_ENUMERATE_SESSIONS_EX_FN_A) (HANDLE hServer, DWORD *pLevel, DWORD Filter, PWTS_SESSION_INFO_1A *ppSessionInfo, DWORD *pCount) |
typedef BOOL(WINAPI* WTS_ENUMERATE_SESSIONS_EX_FN_W) (HANDLE hServer, DWORD *pLevel, DWORD Filter, PWTS_SESSION_INFO_1W *ppSessionInfo, DWORD *pCount) |
typedef BOOL(WINAPI* WTS_ENUMERATE_SESSIONS_FN_A) (HANDLE hServer, DWORD Reserved, DWORD Version, PWTS_SESSION_INFOA *ppSessionInfo, DWORD *pCount) |
typedef BOOL(WINAPI* WTS_ENUMERATE_SESSIONS_FN_W) (HANDLE hServer, DWORD Reserved, DWORD Version, PWTS_SESSION_INFOW *ppSessionInfo, DWORD *pCount) |
typedef BOOL(WINAPI* WTS_FREE_MEMORY_EX_FN_A) (WTS_TYPE_CLASS WTSTypeClass, PVOID pMemory, ULONG NumberOfEntries) |
typedef BOOL(WINAPI* WTS_FREE_MEMORY_EX_FN_W) (WTS_TYPE_CLASS WTSTypeClass, PVOID pMemory, ULONG NumberOfEntries) |
typedef VOID(WINAPI* WTS_FREE_MEMORY_FN) (PVOID pMemory) |
typedef DWORD(WINAPI* WTS_GET_ACTIVE_CONSOLE_SESSION_ID_FN) (void) |
typedef BOOL(CDECL* WTS_GET_CHILD_SESSION_ID_FN) (PULONG pSessionId) |
typedef BOOL(WINAPI* WTS_GET_LISTENER_SECURITY_FN_A) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPSTR pListenerName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded) |
typedef BOOL(WINAPI* WTS_GET_LISTENER_SECURITY_FN_W) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPWSTR pListenerName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded) |
typedef BOOL(CDECL* WTS_IS_CHILD_SESSIONS_ENABLED_FN) (PBOOL pbEnabled) |
typedef BOOL(WINAPI* WTS_LOGOFF_SESSION_FN) (HANDLE hServer, DWORD SessionId, BOOL bWait) |
typedef BOOL(WINAPI* WTS_LOGOFF_USER_FN) (HANDLE hServer) |
typedef BOOL(WINAPI* WTS_LOGON_USER_FN) (HANDLE hServer, LPCSTR username, LPCSTR password, LPCSTR domain) |
typedef HANDLE(WINAPI* WTS_OPEN_SERVER_EX_FN_A) (LPSTR pServerName) |
typedef HANDLE(WINAPI* WTS_OPEN_SERVER_EX_FN_W) (LPWSTR pServerName) |
typedef HANDLE(WINAPI* WTS_OPEN_SERVER_FN_A) (LPSTR pServerName) |
typedef HANDLE(WINAPI* WTS_OPEN_SERVER_FN_W) (LPWSTR pServerName) |
typedef BOOL(WINAPI* WTS_QUERY_LISTENER_CONFIG_FN_A) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPSTR pListenerName, PWTSLISTENERCONFIGA pBuffer) |
typedef BOOL(WINAPI* WTS_QUERY_LISTENER_CONFIG_FN_W) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPWSTR pListenerName, PWTSLISTENERCONFIGW pBuffer) |
typedef BOOL(WINAPI* WTS_QUERY_SESSION_INFORMATION_FN_A) (HANDLE hServer, DWORD SessionId, WTS_INFO_CLASS WTSInfoClass, LPSTR *ppBuffer, DWORD *pBytesReturned) |
typedef BOOL(WINAPI* WTS_QUERY_SESSION_INFORMATION_FN_W) (HANDLE hServer, DWORD SessionId, WTS_INFO_CLASS WTSInfoClass, LPWSTR *ppBuffer, DWORD *pBytesReturned) |
typedef BOOL(WINAPI* WTS_QUERY_USER_CONFIG_FN_A) (LPSTR pServerName, LPSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPSTR *ppBuffer, DWORD *pBytesReturned) |
typedef BOOL(WINAPI* WTS_QUERY_USER_CONFIG_FN_W) (LPWSTR pServerName, LPWSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPWSTR *ppBuffer, DWORD *pBytesReturned) |
typedef BOOL(WINAPI* WTS_QUERY_USER_TOKEN_FN) (ULONG SessionId, PHANDLE phToken) |
typedef BOOL(WINAPI* WTS_REGISTER_SESSION_NOTIFICATION_EX_FN) (HANDLE hServer, HWND hWnd, DWORD dwFlags) |
typedef BOOL(WINAPI* WTS_REGISTER_SESSION_NOTIFICATION_FN) (HWND hWnd, DWORD dwFlags) |
typedef BOOL(WINAPI* WTS_SEND_MESSAGE_FN_A) (HANDLE hServer, DWORD SessionId, LPSTR pTitle, DWORD TitleLength, LPSTR pMessage, DWORD MessageLength, DWORD Style, DWORD Timeout, DWORD *pResponse, BOOL bWait) |
typedef BOOL(WINAPI* WTS_SEND_MESSAGE_FN_W) (HANDLE hServer, DWORD SessionId, LPWSTR pTitle, DWORD TitleLength, LPWSTR pMessage, DWORD MessageLength, DWORD Style, DWORD Timeout, DWORD *pResponse, BOOL bWait) |
typedef BOOL(WINAPI* WTS_SET_LISTENER_SECURITY_FN_A) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPSTR pListenerName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor) |
typedef BOOL(WINAPI* WTS_SET_LISTENER_SECURITY_FN_W) (HANDLE hServer, PVOID pReserved, DWORD Reserved, LPWSTR pListenerName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor) |
typedef BOOL(WINAPI* WTS_SET_USER_CONFIG_FN_A) (LPSTR pServerName, LPSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPSTR pBuffer, DWORD DataLength) |
typedef BOOL(WINAPI* WTS_SET_USER_CONFIG_FN_W) (LPWSTR pServerName, LPWSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPWSTR pBuffer, DWORD DataLength) |
typedef BOOL(WINAPI* WTS_SHUTDOWN_SYSTEM_FN) (HANDLE hServer, DWORD ShutdownFlag) |
typedef BOOL(WINAPI* WTS_START_REMOTE_CONTROL_SESSION_EX_FN_A) (LPSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers, DWORD flags) |
typedef BOOL(WINAPI* WTS_START_REMOTE_CONTROL_SESSION_EX_FN_W) (LPWSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers, DWORD flags) |
typedef BOOL(WINAPI* WTS_START_REMOTE_CONTROL_SESSION_FN_A) (LPSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers) |
typedef BOOL(WINAPI* WTS_START_REMOTE_CONTROL_SESSION_FN_W) (LPWSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers) |
typedef BOOL(WINAPI* WTS_STOP_REMOTE_CONTROL_SESSION_FN) (ULONG LogonId) |
typedef BOOL(WINAPI* WTS_TERMINATE_PROCESS_FN) (HANDLE hServer, DWORD ProcessId, DWORD ExitCode) |
typedef BOOL(WINAPI* WTS_UNREGISTER_SESSION_NOTIFICATION_EX_FN) (HANDLE hServer, HWND hWnd) |
typedef BOOL(WINAPI* WTS_UNREGISTER_SESSION_NOTIFICATION_FN) (HWND hWnd) |
typedef BOOL(WINAPI* WTS_VIRTUAL_CHANNEL_CLOSE_FN) (HANDLE hChannelHandle) |
typedef HANDLE(WINAPI* WTS_VIRTUAL_CHANNEL_OPEN_EX_FN) (DWORD SessionId, LPSTR pVirtualName, DWORD flags) |
typedef HANDLE(WINAPI* WTS_VIRTUAL_CHANNEL_OPEN_FN) (HANDLE hServer, DWORD SessionId, LPSTR pVirtualName) |
typedef BOOL(WINAPI* WTS_VIRTUAL_CHANNEL_PURGE_INPUT_FN) (HANDLE hChannelHandle) |
typedef BOOL(WINAPI* WTS_VIRTUAL_CHANNEL_PURGE_OUTPUT_FN) (HANDLE hChannelHandle) |
typedef BOOL(WINAPI* WTS_VIRTUAL_CHANNEL_QUERY_FN) (HANDLE hChannelHandle, WTS_VIRTUAL_CLASS WtsVirtualClass, PVOID *ppBuffer, DWORD *pBytesReturned) |
typedef BOOL(WINAPI* WTS_VIRTUAL_CHANNEL_READ_FN) (HANDLE hChannelHandle, ULONG TimeOut, PCHAR Buffer, ULONG BufferSize, PULONG pBytesRead) |
typedef BOOL(WINAPI* WTS_VIRTUAL_CHANNEL_WRITE_FN) (HANDLE hChannelHandle, PCHAR Buffer, ULONG Length, PULONG pBytesWritten) |
typedef BOOL(WINAPI* WTS_WAIT_SYSTEM_EVENT_FN) (HANDLE hServer, DWORD EventMask, DWORD *pEventFlags) |
typedef CHAR WTSLISTENERNAMEA[WTS_LISTENER_NAME_LENGTH+1] |
typedef WCHAR WTSLISTENERNAMEW[WTS_LISTENER_NAME_LENGTH+1] |
enum WTS_CONFIG_CLASS |
enum WTS_CONFIG_SOURCE |
enum WTS_INFO_CLASS |
enum WTS_TYPE_CLASS |
enum WTS_VIRTUAL_CLASS |
WINPR_API VOID WINAPI WTSCloseServer | ( | HANDLE | hServer | ) |
WINPR_API BOOL WINAPI WTSConnectSessionA | ( | ULONG | LogonId, |
ULONG | TargetLogonId, | ||
PSTR | pPassword, | ||
BOOL | bWait | ||
) |
WINPR_API BOOL WINAPI WTSConnectSessionW | ( | ULONG | LogonId, |
ULONG | TargetLogonId, | ||
PWSTR | pPassword, | ||
BOOL | bWait | ||
) |
WINPR_API BOOL WINAPI WTSCreateListenerA | ( | HANDLE | hServer, |
PVOID | pReserved, | ||
DWORD | Reserved, | ||
LPSTR | pListenerName, | ||
PWTSLISTENERCONFIGA | pBuffer, | ||
DWORD | flag | ||
) |
WINPR_API BOOL WINAPI WTSCreateListenerW | ( | HANDLE | hServer, |
PVOID | pReserved, | ||
DWORD | Reserved, | ||
LPWSTR | pListenerName, | ||
PWTSLISTENERCONFIGW | pBuffer, | ||
DWORD | flag | ||
) |
WINPR_API BOOL WINAPI WTSDisconnectSession | ( | HANDLE | hServer, |
DWORD | SessionId, | ||
BOOL | bWait | ||
) |
WINPR_API BOOL CDECL WTSEnableChildSessions | ( | BOOL | bEnable | ) |
WTSEnableChildSessions, WTSIsChildSessionsEnabled and WTSGetChildSessionId are not explicitly declared as WINAPI like other WTSAPI functions. Since they are declared as extern "C", we explicitly declare them as CDECL.
WINPR_API BOOL WINAPI WTSEnumerateListenersA | ( | HANDLE | hServer, |
PVOID | pReserved, | ||
DWORD | Reserved, | ||
PWTSLISTENERNAMEA | pListeners, | ||
DWORD * | pCount | ||
) |
WINPR_API BOOL WINAPI WTSEnumerateListenersW | ( | HANDLE | hServer, |
PVOID | pReserved, | ||
DWORD | Reserved, | ||
PWTSLISTENERNAMEW | pListeners, | ||
DWORD * | pCount | ||
) |
WINPR_API BOOL WINAPI WTSEnumerateProcessesA | ( | HANDLE | hServer, |
DWORD | Reserved, | ||
DWORD | Version, | ||
PWTS_PROCESS_INFOA * | ppProcessInfo, | ||
DWORD * | pCount | ||
) |
WINPR_API BOOL WINAPI WTSEnumerateProcessesExA | ( | HANDLE | hServer, |
DWORD * | pLevel, | ||
DWORD | SessionId, | ||
LPSTR * | ppProcessInfo, | ||
DWORD * | pCount | ||
) |
WINPR_API BOOL WINAPI WTSEnumerateProcessesExW | ( | HANDLE | hServer, |
DWORD * | pLevel, | ||
DWORD | SessionId, | ||
LPWSTR * | ppProcessInfo, | ||
DWORD * | pCount | ||
) |
WINPR_API BOOL WINAPI WTSEnumerateProcessesW | ( | HANDLE | hServer, |
DWORD | Reserved, | ||
DWORD | Version, | ||
PWTS_PROCESS_INFOW * | ppProcessInfo, | ||
DWORD * | pCount | ||
) |
WINPR_API BOOL WINAPI WTSEnumerateServersA | ( | LPSTR | pDomainName, |
DWORD | Reserved, | ||
DWORD | Version, | ||
PWTS_SERVER_INFOA * | ppServerInfo, | ||
DWORD * | pCount | ||
) |
WINPR_API BOOL WINAPI WTSEnumerateServersW | ( | LPWSTR | pDomainName, |
DWORD | Reserved, | ||
DWORD | Version, | ||
PWTS_SERVER_INFOW * | ppServerInfo, | ||
DWORD * | pCount | ||
) |
WINPR_API BOOL WINAPI WTSEnumerateSessionsA | ( | HANDLE | hServer, |
DWORD | Reserved, | ||
DWORD | Version, | ||
PWTS_SESSION_INFOA * | ppSessionInfo, | ||
DWORD * | pCount | ||
) |
WINPR_API BOOL WINAPI WTSEnumerateSessionsExA | ( | HANDLE | hServer, |
DWORD * | pLevel, | ||
DWORD | Filter, | ||
PWTS_SESSION_INFO_1A * | ppSessionInfo, | ||
DWORD * | pCount | ||
) |
WINPR_API BOOL WINAPI WTSEnumerateSessionsExW | ( | HANDLE | hServer, |
DWORD * | pLevel, | ||
DWORD | Filter, | ||
PWTS_SESSION_INFO_1W * | ppSessionInfo, | ||
DWORD * | pCount | ||
) |
WINPR_API BOOL WINAPI WTSEnumerateSessionsW | ( | HANDLE | hServer, |
DWORD | Reserved, | ||
DWORD | Version, | ||
PWTS_SESSION_INFOW * | ppSessionInfo, | ||
DWORD * | pCount | ||
) |
WINPR_API VOID WINAPI WTSFreeMemory | ( | PVOID | pMemory | ) |
WINPR_API BOOL WINAPI WTSFreeMemoryExA | ( | WTS_TYPE_CLASS | WTSTypeClass, |
PVOID | pMemory, | ||
ULONG | NumberOfEntries | ||
) |
WINPR_API BOOL WINAPI WTSFreeMemoryExW | ( | WTS_TYPE_CLASS | WTSTypeClass, |
PVOID | pMemory, | ||
ULONG | NumberOfEntries | ||
) |
WINPR_API DWORD WINAPI WTSGetActiveConsoleSessionId | ( | void | ) |
WTSGetActiveConsoleSessionId is declared in WinBase.h and exported by kernel32.dll, so we have to treat it separately.
WTSGetActiveConsoleSessionId is declared in WinBase.h and exported by kernel32.dll
WINPR_API BOOL CDECL WTSGetChildSessionId | ( | PULONG | pSessionId | ) |
WINPR_API BOOL WINAPI WTSGetListenerSecurityA | ( | HANDLE | hServer, |
PVOID | pReserved, | ||
DWORD | Reserved, | ||
LPSTR | pListenerName, | ||
SECURITY_INFORMATION | SecurityInformation, | ||
PSECURITY_DESCRIPTOR | pSecurityDescriptor, | ||
DWORD | nLength, | ||
LPDWORD | lpnLengthNeeded | ||
) |
WINPR_API BOOL WINAPI WTSGetListenerSecurityW | ( | HANDLE | hServer, |
PVOID | pReserved, | ||
DWORD | Reserved, | ||
LPWSTR | pListenerName, | ||
SECURITY_INFORMATION | SecurityInformation, | ||
PSECURITY_DESCRIPTOR | pSecurityDescriptor, | ||
DWORD | nLength, | ||
LPDWORD | lpnLengthNeeded | ||
) |
WINPR_API BOOL CDECL WTSIsChildSessionsEnabled | ( | PBOOL | pbEnabled | ) |
WINPR_API BOOL WINAPI WTSLogoffSession | ( | HANDLE | hServer, |
DWORD | SessionId, | ||
BOOL | bWait | ||
) |
WINPR_API BOOL CDECL WTSLogoffUser | ( | HANDLE | hServer | ) |
WINPR_API BOOL CDECL WTSLogonUser | ( | HANDLE | hServer, |
LPCSTR | username, | ||
LPCSTR | password, | ||
LPCSTR | domain | ||
) |
WINPR_API HANDLE WINAPI WTSOpenServerA | ( | LPSTR | pServerName | ) |
WINPR_API HANDLE WINAPI WTSOpenServerExA | ( | LPSTR | pServerName | ) |
WINPR_API HANDLE WINAPI WTSOpenServerExW | ( | LPWSTR | pServerName | ) |
WINPR_API HANDLE WINAPI WTSOpenServerW | ( | LPWSTR | pServerName | ) |
WINPR_API BOOL WINAPI WTSQueryListenerConfigA | ( | HANDLE | hServer, |
PVOID | pReserved, | ||
DWORD | Reserved, | ||
LPSTR | pListenerName, | ||
PWTSLISTENERCONFIGA | pBuffer | ||
) |
WINPR_API BOOL WINAPI WTSQueryListenerConfigW | ( | HANDLE | hServer, |
PVOID | pReserved, | ||
DWORD | Reserved, | ||
LPWSTR | pListenerName, | ||
PWTSLISTENERCONFIGW | pBuffer | ||
) |
WINPR_API BOOL WINAPI WTSQuerySessionInformationA | ( | HANDLE | hServer, |
DWORD | SessionId, | ||
WTS_INFO_CLASS | WTSInfoClass, | ||
LPSTR * | ppBuffer, | ||
DWORD * | pBytesReturned | ||
) |
WINPR_API BOOL WINAPI WTSQuerySessionInformationW | ( | HANDLE | hServer, |
DWORD | SessionId, | ||
WTS_INFO_CLASS | WTSInfoClass, | ||
LPWSTR * | ppBuffer, | ||
DWORD * | pBytesReturned | ||
) |
WINPR_API BOOL WINAPI WTSQueryUserConfigA | ( | LPSTR | pServerName, |
LPSTR | pUserName, | ||
WTS_CONFIG_CLASS | WTSConfigClass, | ||
LPSTR * | ppBuffer, | ||
DWORD * | pBytesReturned | ||
) |
WINPR_API BOOL WINAPI WTSQueryUserConfigW | ( | LPWSTR | pServerName, |
LPWSTR | pUserName, | ||
WTS_CONFIG_CLASS | WTSConfigClass, | ||
LPWSTR * | ppBuffer, | ||
DWORD * | pBytesReturned | ||
) |
WINPR_API BOOL WINAPI WTSQueryUserToken | ( | ULONG | SessionId, |
PHANDLE | phToken | ||
) |
WINPR_API BOOL WINAPI WTSRegisterSessionNotification | ( | HWND | hWnd, |
DWORD | dwFlags | ||
) |
WINPR_API BOOL WINAPI WTSRegisterSessionNotificationEx | ( | HANDLE | hServer, |
HWND | hWnd, | ||
DWORD | dwFlags | ||
) |
WINPR_API BOOL WTSRegisterWtsApiFunctionTable | ( | const WtsApiFunctionTable * | table | ) |
WINPR_API BOOL WINAPI WTSSendMessageA | ( | HANDLE | hServer, |
DWORD | SessionId, | ||
LPSTR | pTitle, | ||
DWORD | TitleLength, | ||
LPSTR | pMessage, | ||
DWORD | MessageLength, | ||
DWORD | Style, | ||
DWORD | Timeout, | ||
DWORD * | pResponse, | ||
BOOL | bWait | ||
) |
WINPR_API BOOL WINAPI WTSSendMessageW | ( | HANDLE | hServer, |
DWORD | SessionId, | ||
LPWSTR | pTitle, | ||
DWORD | TitleLength, | ||
LPWSTR | pMessage, | ||
DWORD | MessageLength, | ||
DWORD | Style, | ||
DWORD | Timeout, | ||
DWORD * | pResponse, | ||
BOOL | bWait | ||
) |
WINPR_API const CHAR* WTSSessionStateToString | ( | WTS_CONNECTSTATE_CLASS | state | ) |
WINPR_API BOOL WINAPI WTSSetListenerSecurityA | ( | HANDLE | hServer, |
PVOID | pReserved, | ||
DWORD | Reserved, | ||
LPSTR | pListenerName, | ||
SECURITY_INFORMATION | SecurityInformation, | ||
PSECURITY_DESCRIPTOR | pSecurityDescriptor | ||
) |
WINPR_API BOOL WINAPI WTSSetListenerSecurityW | ( | HANDLE | hServer, |
PVOID | pReserved, | ||
DWORD | Reserved, | ||
LPWSTR | pListenerName, | ||
SECURITY_INFORMATION | SecurityInformation, | ||
PSECURITY_DESCRIPTOR | pSecurityDescriptor | ||
) |
WINPR_API BOOL WINAPI WTSSetUserConfigA | ( | LPSTR | pServerName, |
LPSTR | pUserName, | ||
WTS_CONFIG_CLASS | WTSConfigClass, | ||
LPSTR | pBuffer, | ||
DWORD | DataLength | ||
) |
WINPR_API BOOL WINAPI WTSSetUserConfigW | ( | LPWSTR | pServerName, |
LPWSTR | pUserName, | ||
WTS_CONFIG_CLASS | WTSConfigClass, | ||
LPWSTR | pBuffer, | ||
DWORD | DataLength | ||
) |
WINPR_API BOOL WINAPI WTSShutdownSystem | ( | HANDLE | hServer, |
DWORD | ShutdownFlag | ||
) |
WINPR_API BOOL WINAPI WTSStartRemoteControlSessionA | ( | LPSTR | pTargetServerName, |
ULONG | TargetLogonId, | ||
BYTE | HotkeyVk, | ||
USHORT | HotkeyModifiers | ||
) |
WINPR_API BOOL WINAPI WTSStartRemoteControlSessionExA | ( | LPSTR | pTargetServerName, |
ULONG | TargetLogonId, | ||
BYTE | HotkeyVk, | ||
USHORT | HotkeyModifiers, | ||
DWORD | flags | ||
) |
WINPR_API BOOL WINAPI WTSStartRemoteControlSessionExW | ( | LPWSTR | pTargetServerName, |
ULONG | TargetLogonId, | ||
BYTE | HotkeyVk, | ||
USHORT | HotkeyModifiers, | ||
DWORD | flags | ||
) |
WINPR_API BOOL WINAPI WTSStartRemoteControlSessionW | ( | LPWSTR | pTargetServerName, |
ULONG | TargetLogonId, | ||
BYTE | HotkeyVk, | ||
USHORT | HotkeyModifiers | ||
) |
WINPR_API BOOL WINAPI WTSStopRemoteControlSession | ( | ULONG | LogonId | ) |
WINPR_API BOOL WINAPI WTSTerminateProcess | ( | HANDLE | hServer, |
DWORD | ProcessId, | ||
DWORD | ExitCode | ||
) |
WINPR_API BOOL WINAPI WTSUnRegisterSessionNotification | ( | HWND | hWnd | ) |
WINPR_API BOOL WINAPI WTSUnRegisterSessionNotificationEx | ( | HANDLE | hServer, |
HWND | hWnd | ||
) |
WINPR_API BOOL WINAPI WTSVirtualChannelClose | ( | HANDLE | hChannelHandle | ) |
WINPR_API HANDLE WINAPI WTSVirtualChannelOpen | ( | HANDLE | hServer, |
DWORD | SessionId, | ||
LPSTR | pVirtualName | ||
) |
WINPR_API HANDLE WINAPI WTSVirtualChannelOpenEx | ( | DWORD | SessionId, |
LPSTR | pVirtualName, | ||
DWORD | flags | ||
) |
WINPR_API BOOL WINAPI WTSVirtualChannelPurgeInput | ( | HANDLE | hChannelHandle | ) |
WINPR_API BOOL WINAPI WTSVirtualChannelPurgeOutput | ( | HANDLE | hChannelHandle | ) |
WINPR_API BOOL WINAPI WTSVirtualChannelQuery | ( | HANDLE | hChannelHandle, |
WTS_VIRTUAL_CLASS | WtsVirtualClass, | ||
PVOID * | ppBuffer, | ||
DWORD * | pBytesReturned | ||
) |
WINPR_API BOOL WINAPI WTSVirtualChannelRead | ( | HANDLE | hChannelHandle, |
ULONG | TimeOut, | ||
PCHAR | Buffer, | ||
ULONG | BufferSize, | ||
PULONG | pBytesRead | ||
) |
WINPR_API BOOL WINAPI WTSVirtualChannelWrite | ( | HANDLE | hChannelHandle, |
PCHAR | Buffer, | ||
ULONG | Length, | ||
PULONG | pBytesWritten | ||
) |
WINPR_API BOOL WINAPI WTSWaitSystemEvent | ( | HANDLE | hServer, |
DWORD | EventMask, | ||
DWORD * | pEventFlags | ||
) |