19#ifndef __WINE_WTSAPI32_H
20#define __WINE_WTSAPI32_H
31#define IDTIMEOUT 32000
62#if (NTDDI_VERSION >= NTDDI_WS08)
197#define WTS_CURRENT_SERVER_HANDLE ((HANDLE)NULL)
198#define WTS_CURRENT_SESSION (~0u)
203#define WTSConnectSession WINELIB_NAME_AW(WTSConnectSession)
208#define WTSEnumerateProcesses WINELIB_NAME_AW(WTSEnumerateProcesses)
211#define WTSEnumerateServers WINELIB_NAME_AW(WTSEnumerateServers)
214#define WTSEnumerateSessions WINELIB_NAME_AW(WTSEnumerateSessions)
218#define WTSOpenServer WINELIB_NAME_AW(WTSOpenServer)
221#define WTSQuerySessionInformation WINELIB_NAME_AW(WTSQuerySessionInformation)
224#define WTSQueryUserConfig WINELIB_NAME_AW(WTSQueryUserConfig)
230#define WTSStartRemoteControlSession WINELIB_NAME_AW(WTSStartRemoteControlSession)
WTS_CONNECTSTATE_CLASS State
WTS_CONNECTSTATE_CLASS State
WTS_CONNECTSTATE_CLASS State
WTS_CONNECTSTATE_CLASS State
#define DECL_WINELIB_TYPE_AW(type)
@ WTSUserConfigAllowLogonTerminalServer
@ WTSUserConfigModemCallbackPhoneNumber
@ WTSUserConfigTerminalServerProfilePath
@ WTSUserConfigTimeoutSettingsIdle
@ WTSUserConfigModemCallbackSettings
@ WTSUserConfigTimeoutSettingsDisconnections
@ WTSUserConfigTerminalServerHomeDirectory
@ WTSUserConfigTimeoutSettingsConnections
@ WTSUserConfigDeviceClientPrinters
@ WTSUserConfigDeviceClientDefaultPrinter
@ WTSUserConfigInitialProgram
@ WTSUserConfigBrokenTimeoutSettings
@ WTSUserConfigWorkingDirectory
@ WTSUserConfigShadowSettings
@ WTSUserConfigInheritInitialProgram
@ WTSUserConfigDeviceClientDrives
@ WTSUserConfigfTerminalServerRemoteHomeDir
BOOL WINAPI WTSConnectSessionA(ULONG, ULONG, PSTR, BOOL)
enum _WTS_VIRTUAL_CLASS WTS_VIRTUAL_CLASS
struct _WTS_SESSION_INFOW * PWTS_SESSION_INFOW
BOOL WINAPI WTSQueryUserToken(ULONG, PHANDLE)
struct _WTS_SESSION_INFO_1W WTS_SESSION_INFO_1W
enum tagWTS_INFO_CLASS WTS_INFO_CLASS
struct _WTS_SESSION_INFOA * PWTS_SESSION_INFOA
BOOL WINAPI WTSDisconnectSession(HANDLE, DWORD, BOOL)
BOOL WINAPI WTSEnumerateSessionsW(HANDLE, DWORD, DWORD, PWTS_SESSION_INFOW *, DWORD *)
BOOL WINAPI WTSConnectSessionW(ULONG, ULONG, PWSTR, BOOL)
struct _WTS_SERVER_INFOA * PWTS_SERVER_INFOA
BOOL WINAPI WTSUnRegisterSessionNotificationEx(HANDLE, HWND)
struct _WTS_PROCESS_INFOA * PWTS_PROCESS_INFOA
BOOL WINAPI WTSQuerySessionInformationA(HANDLE, DWORD, WTS_INFO_CLASS, LPSTR *, DWORD *)
void WINAPI WTSCloseServer(HANDLE)
BOOL WINAPI WTSUnRegisterSessionNotification(HWND)
enum _WTS_CONFIG_CLASS WTS_CONFIG_CLASS
BOOL WINAPI WTSEnumerateProcessesA(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOA *, DWORD *)
BOOL WINAPI WTSStartRemoteControlSessionW(LPWSTR, ULONG, BYTE, USHORT)
@ WTSTypeProcessInfoLevel0
@ WTSTypeProcessInfoLevel1
@ WTSTypeSessionInfoLevel1
BOOL WINAPI WTSTerminateProcess(HANDLE, DWORD, DWORD)
BOOL WINAPI WTSRegisterSessionNotificationEx(HANDLE, HWND, DWORD)
BOOL WINAPI WTSStartRemoteControlSessionA(LPSTR, ULONG, BYTE, USHORT)
BOOL WINAPI WTSEnumerateProcessesW(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOW *, DWORD *)
BOOL WINAPI WTSQuerySessionInformationW(HANDLE, DWORD, WTS_INFO_CLASS, LPWSTR *, DWORD *)
struct _WTS_PROCESS_INFOW * PWTS_PROCESS_INFOW
struct _WTS_SERVER_INFOA WTS_SERVER_INFOA
struct _WTS_SESSION_INFOW WTS_SESSION_INFOW
struct _WTS_SERVER_INFOW * PWTS_SERVER_INFOW
BOOL WINAPI WTSEnableChildSessions(BOOL)
enum _WTS_TYPE_CLASS WTS_TYPE_CLASS
BOOL WINAPI WTSEnumerateServersA(LPSTR, DWORD, DWORD, PWTS_SERVER_INFOA *, DWORD *)
HANDLE WINAPI WTSOpenServerW(LPWSTR)
HANDLE WINAPI WTSOpenServerA(LPSTR)
struct _WTS_SERVER_INFOW WTS_SERVER_INFOW
struct _WTS_SESSION_INFOA WTS_SESSION_INFOA
struct _WTS_PROCESS_INFOW WTS_PROCESS_INFOW
struct _WTS_SESSION_INFO_1A * PWTS_SESSION_INFO_1A
enum _WTS_CONNECTSTATE_CLASS WTS_CONNECTSTATE_CLASS
struct _WTS_SESSION_INFO_1A WTS_SESSION_INFO_1A
void WINAPI WTSFreeMemory(PVOID)
BOOL WINAPI WTSWaitSystemEvent(HANDLE, DWORD, DWORD *)
BOOL WINAPI WTSEnumerateSessionsA(HANDLE, DWORD, DWORD, PWTS_SESSION_INFOA *, DWORD *)
BOOL WINAPI WTSStopRemoteControlSession(ULONG)
BOOL WINAPI WTSQueryUserConfigW(LPWSTR, LPWSTR, WTS_CONFIG_CLASS, LPWSTR *, DWORD *)
struct _WTS_PROCESS_INFOA WTS_PROCESS_INFOA
BOOL WINAPI WTSRegisterSessionNotification(HWND, DWORD)
struct _WTS_SESSION_INFO_1W * PWTS_SESSION_INFO_1W
BOOL WINAPI WTSEnumerateServersW(LPWSTR, DWORD, DWORD, PWTS_SERVER_INFOW *, DWORD *)
BOOL WINAPI WTSQueryUserConfigA(LPSTR, LPSTR, WTS_CONFIG_CLASS, LPSTR *, DWORD *)