Converted the global screen buffer list to a standard list.
[wine.git] / include / wtsapi32.h
blob246adcf55cdb3ccd74ac4a7e894cc1085cc1437e
1 /*
2 * Copyright 2005 Ulrich Czekalla (For CodeWeavers)
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE_WTSAPI32_H
20 #define __WINE_WTSAPI32_H
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
27 typedef enum tagWTS_INFO_CLASS
29 WTSInitialProgram,
30 WTSApplicationName,
31 WTSWorkingDirectory,
32 WTSOEMId,
33 WTSSessionId,
34 WTSUserName,
35 WTSWinStationName,
36 WTSDomainName,
37 WTSConnectState,
38 WTSClientBuildNumber,
39 WTSClientName,
40 WTSClientDirectory,
41 WTSClientProductId,
42 WTSClientHardwareId,
43 WTSClientAddress,
44 WTSClientDisplay,
45 WTSClientProtocolType,
46 } WTS_INFO_CLASS;
49 BOOL WINAPI WTSQuerySessionInformationW(
50 HANDLE hServer,
51 DWORD SessionId,
52 WTS_INFO_CLASS WTSInfoClass,
53 LPWSTR * Buffer,
54 DWORD * BytesReturned
57 BOOL WINAPI WTSQuerySessionInformationA(
58 HANDLE hServer,
59 DWORD SessionId,
60 WTS_INFO_CLASS WTSInfoClass,
61 LPSTR * Buffer,
62 DWORD * BytesReturned
64 #define WTSQuerySessionInformation WINELIB_NAME_AW(WTSQuerySessionInformation)
66 BOOL WINAPI WTSWaitSystemEvent(HANDLE hServer, DWORD Mask, DWORD* Flags);
68 #ifdef __cplusplus
70 #endif
72 #endif