[PATCH 2/6] include: Add WTS_SESSION_INFO_1[AW]
Alex Henrie
alexhenrie24 at gmail.com
Tue Aug 13 02:17:43 CDT 2019
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47612
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
include/wtsapi32.h | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/include/wtsapi32.h b/include/wtsapi32.h
index f329bd5cf0..91309cc5b5 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;
--
2.22.0
More information about the wine-devel
mailing list