3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Copyright 2005 Ulrich Czekalla (For CodeWeavers)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is free software; you can redistribute it and/or
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * modify it under the terms of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License as published by the Free Software Foundation; either
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * version 2.1 of the License, or (at your option) any later version.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is distributed in the hope that it will be useful,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Lesser General Public License for more details.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * You should have received a copy of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License along with this library; if not, write to the Free Software
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * a choice of LGPL license versions is made available with the language indicating
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * of the LGPL is applied is otherwise unspecified.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern "C" {
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSConnectSessionA(ULONG, ULONG, PSTR, BOOL);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSConnectSessionW(ULONG, ULONG, PWSTR, BOOL);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define WTSConnectSession WINELIB_NAME_AW(WTSConnectSession)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSDisconnectSession(HANDLE, DWORD, BOOL);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSEnumerateProcessesA(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOA *, DWORD *);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSEnumerateProcessesW(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOW *, DWORD *);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define WTSEnumerateProcesses WINELIB_NAME_AW(WTSEnumerateProcesses)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSEnumerateServersA( LPSTR, DWORD, DWORD, PWTS_SERVER_INFOA*, DWORD*);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSEnumerateServersW( LPWSTR, DWORD, DWORD, PWTS_SERVER_INFOW*, DWORD*);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define WTSEnumerateServers WINELIB_NAME_AW(WTSEnumerateServers)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSEnumerateSessionsA(HANDLE, DWORD, DWORD, PWTS_SESSION_INFOA *, DWORD *);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSEnumerateSessionsW(HANDLE, DWORD, DWORD, PWTS_SESSION_INFOW *, DWORD *);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define WTSEnumerateSessions WINELIB_NAME_AW(WTSEnumerateSessions)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define WTSOpenServer WINELIB_NAME_AW(WTSOpenServer)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSQuerySessionInformationA(HANDLE, DWORD, WTS_INFO_CLASS, LPSTR *, DWORD *);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSQuerySessionInformationW(HANDLE, DWORD, WTS_INFO_CLASS, LPWSTR *, DWORD *);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define WTSQuerySessionInformation WINELIB_NAME_AW(WTSQuerySessionInformation)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSQueryUserConfigA(LPSTR,LPSTR,WTS_CONFIG_CLASS,LPSTR*,DWORD*);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSQueryUserConfigW(LPWSTR,LPWSTR,WTS_CONFIG_CLASS,LPWSTR*,DWORD*);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define WTSQueryUserConfig WINELIB_NAME_AW(WTSQueryUserConfig)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSRegisterSessionNotification(HWND, DWORD);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSRegisterSessionNotificationEx(HANDLE, HWND, DWORD);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSStartRemoteControlSessionA(LPSTR, ULONG, BYTE, USHORT);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSStartRemoteControlSessionW(LPWSTR, ULONG, BYTE, USHORT);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define WTSStartRemoteControlSession WINELIB_NAME_AW(WTSStartRemoteControlSession)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSTerminateProcess(HANDLE, DWORD, DWORD);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI WTSUnRegisterSessionNotificationEx(HANDLE, HWND);