From d7030f66df9717ef9c550ed7127f46c243fa3924 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Tue, 13 Aug 2019 01:17:43 -0600 Subject: [PATCH] include: Add WTS_SESSION_INFO_1[AW]. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47612 Signed-off-by: Alex Henrie Signed-off-by: Alexandre Julliard --- include/wtsapi32.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/include/wtsapi32.h b/include/wtsapi32.h index f329bd5cf06..91309cc5b56 100644 --- a/include/wtsapi32.h +++ b/include/wtsapi32.h @@ -122,6 +122,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;