1 /* Copyright 2005 Ulrich Czekalla
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2.1 of the License, or (at your option) any later version.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #include "wine/debug.h"
26 WINE_DEFAULT_DEBUG_CHANNEL(wtsapi);
28 HMODULE WTSAPI32_hModule = 0;
30 BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
32 TRACE("%p,%lx,%p\n", hinstDLL, fdwReason, lpvReserved);
35 case DLL_PROCESS_ATTACH:
37 DisableThreadLibraryCalls(hinstDLL);
38 WTSAPI32_hModule = hinstDLL;
41 case DLL_PROCESS_DETACH:
51 /************************************************************
52 * WTSQuerySessionInformationW (WTSAPI32.@)
54 BOOL WINAPI WTSQuerySessionInformationW(
57 WTS_INFO_CLASS WTSInfoClass,
61 /* FIXME: Forward request to winsta.dll::WinStationQueryInformationW */
62 FIXME("Stub %p 0x%08lx %d %p %p\n", hServer, SessionId, WTSInfoClass,
63 Buffer, BytesReturned);
69 /************************************************************
70 * WTSWaitSystemEvent (WTSAPI32.@)
72 BOOL WINAPI WTSWaitSystemEvent(HANDLE hServer, DWORD Mask, DWORD* Flags)
74 /* FIXME: Forward request to winsta.dll::WinStationWaitSystemEvent */
75 FIXME("Stub %p 0x%08lx %p\n", hServer, Mask, Flags);