msctf: Maintain context reference in ranges.
[wine.git] / dlls / winsta / main.c
blob9ec4d64d0b6b6f5dd7b1553f2e2bf60c6ca9b5b6
1 /*
2 * Winstation library implementation
4 * Copyright 2011 Austin English
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #include <stdarg.h>
22 #include "windef.h"
23 #include "winbase.h"
24 #include "winternl.h"
25 #include "wine/debug.h"
26 #include "winsta.h"
28 WINE_DEFAULT_DEBUG_CHANNEL(winsta);
30 BOOLEAN WINAPI WinStationQueryInformationA( HANDLE server, ULONG logon_id, WINSTATIONINFOCLASS class,
31 void *info, ULONG len, ULONG *ret_len )
33 FIXME( "%p %u %u %p %u %p\n", server, logon_id, class, info, len, ret_len );
34 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
35 return FALSE;
38 BOOLEAN WINAPI WinStationQueryInformationW( HANDLE server, ULONG logon_id, WINSTATIONINFOCLASS class,
39 void *info, ULONG len, ULONG *ret_len )
41 FIXME( "%p %u %u %p %u %p\n", server, logon_id, class, info, len, ret_len );
42 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
43 return FALSE;
46 BOOLEAN WINAPI WinStationRegisterConsoleNotification( HANDLE server, HWND hwnd, ULONG flags )
48 FIXME( "%p %p 0x%x\n", server, hwnd, flags );
49 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
50 return FALSE;
53 BOOLEAN WINAPI WinStationUnRegisterConsoleNotification( HANDLE server, HWND hwnd )
55 FIXME( "%p %p\n", server, hwnd );
56 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
57 return FALSE;
60 BOOLEAN WINAPI WinStationGetAllProcesses( HANDLE server, ULONG level,
61 ULONG *process_count, PTS_ALL_PROCESSES_INFO *info )
63 FIXME( "%p %u %p %p\n", server, level, process_count, info );
64 *process_count = 0;
65 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
66 return FALSE;
69 BOOLEAN WINAPI WinStationGetProcessSid( HANDLE server, ULONG process_id, FILETIME *process_start_time,
70 PVOID process_user_sid, PULONG sid_size )
72 FIXME( "(%p, %d, %p, %p, %p): stub\n", server, process_id, process_start_time, process_user_sid, sid_size);
73 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
74 return FALSE;
77 BOOL WINAPI WinStationVirtualOpen( PVOID a, PVOID b, PVOID c )
79 FIXME( "%p %p %p\n", a, b, c );
80 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
81 return FALSE;
84 BOOLEAN WINAPI WinStationEnumerateW( HANDLE server, PSESSIONIDW *sessionids, ULONG *count )
86 FIXME( "%p %p %p\n", server, sessionids, count );
87 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
88 return FALSE;