mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 12:39:35 +00:00
[PSDK] Update wtsapi32.h. CORE-16441
This commit is contained in:
parent
0bd9535d4d
commit
c376b5acea
1 changed files with 36 additions and 0 deletions
|
@ -111,6 +111,13 @@ typedef enum _WTS_CONFIG_CLASS
|
|||
WTSUserConfigfTerminalServerRemoteHomeDir
|
||||
} WTS_CONFIG_CLASS;
|
||||
|
||||
typedef enum _WTS_TYPE_CLASS
|
||||
{
|
||||
WTSTypeProcessInfoLevel0,
|
||||
WTSTypeProcessInfoLevel1,
|
||||
WTSTypeSessionInfoLevel1
|
||||
} WTS_TYPE_CLASS;
|
||||
|
||||
typedef struct _WTS_PROCESS_INFOA
|
||||
{
|
||||
DWORD SessionId;
|
||||
|
@ -147,6 +154,33 @@ typedef struct _WTS_SESSION_INFOW
|
|||
DECL_WINELIB_TYPE_AW(WTS_SESSION_INFO)
|
||||
DECL_WINELIB_TYPE_AW(PWTS_SESSION_INFO)
|
||||
|
||||
typedef struct _WTS_SESSION_INFO_1A
|
||||
{
|
||||
DWORD ExecEnvId;
|
||||
WTS_CONNECTSTATE_CLASS State;
|
||||
DWORD SessionId;
|
||||
char *pSessionName;
|
||||
char *pHostName;
|
||||
char *pUserName;
|
||||
char *pDomainName;
|
||||
char *pFarmName;
|
||||
} WTS_SESSION_INFO_1A, *PWTS_SESSION_INFO_1A;
|
||||
|
||||
typedef struct _WTS_SESSION_INFO_1W
|
||||
{
|
||||
DWORD ExecEnvId;
|
||||
WTS_CONNECTSTATE_CLASS State;
|
||||
DWORD SessionId;
|
||||
WCHAR *pSessionName;
|
||||
WCHAR *pHostName;
|
||||
WCHAR *pUserName;
|
||||
WCHAR *pDomainName;
|
||||
WCHAR *pFarmName;
|
||||
} WTS_SESSION_INFO_1W, *PWTS_SESSION_INFO_1W;
|
||||
|
||||
DECL_WINELIB_TYPE_AW(WTS_SESSION_INFO_1)
|
||||
DECL_WINELIB_TYPE_AW(PWTS_SESSION_INFO_1)
|
||||
|
||||
typedef struct _WTS_SERVER_INFOA
|
||||
{
|
||||
LPSTR pServerName;
|
||||
|
@ -161,12 +195,14 @@ DECL_WINELIB_TYPE_AW(WTS_SERVER_INFO)
|
|||
DECL_WINELIB_TYPE_AW(PWTS_SERVER_INFO)
|
||||
|
||||
#define WTS_CURRENT_SERVER_HANDLE ((HANDLE)NULL)
|
||||
#define WTS_CURRENT_SESSION (~0u)
|
||||
|
||||
void WINAPI WTSCloseServer(HANDLE);
|
||||
BOOL WINAPI WTSConnectSessionA(ULONG, ULONG, PSTR, BOOL);
|
||||
BOOL WINAPI WTSConnectSessionW(ULONG, ULONG, PWSTR, BOOL);
|
||||
#define WTSConnectSession WINELIB_NAME_AW(WTSConnectSession)
|
||||
BOOL WINAPI WTSDisconnectSession(HANDLE, DWORD, BOOL);
|
||||
BOOL WINAPI WTSEnableChildSessions(BOOL);
|
||||
BOOL WINAPI WTSEnumerateProcessesA(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOA *, DWORD *);
|
||||
BOOL WINAPI WTSEnumerateProcessesW(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOW *, DWORD *);
|
||||
#define WTSEnumerateProcesses WINELIB_NAME_AW(WTSEnumerateProcesses)
|
||||
|
|
Loading…
Reference in a new issue