kernel32: Get rid of the last parameter to PROFILE_CopyEntry().
[wine.git] / dlls / winsta / main.c
blob7568310aeaafba11dacc3e26ced3f28f89641d2f
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 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
32 TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
34 switch (fdwReason)
36 case DLL_WINE_PREATTACH:
37 return FALSE; /* prefer native version */
38 case DLL_PROCESS_ATTACH:
39 DisableThreadLibraryCalls(hinstDLL);
40 break;
41 default:
42 break;
45 return TRUE;
48 BOOLEAN WINAPI WinStationQueryInformationA( HANDLE server, ULONG logon_id, WINSTATIONINFOCLASS class,
49 void *info, ULONG len, ULONG *ret_len )
51 FIXME( "%p %u %u %p %u %p\n", server, logon_id, class, info, len, ret_len );
52 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
53 return FALSE;
56 BOOLEAN WINAPI WinStationQueryInformationW( HANDLE server, ULONG logon_id, WINSTATIONINFOCLASS class,
57 void *info, ULONG len, ULONG *ret_len )
59 FIXME( "%p %u %u %p %u %p\n", server, logon_id, class, info, len, ret_len );
60 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
61 return FALSE;
64 BOOLEAN WINAPI WinStationRegisterConsoleNotification( HANDLE server, HWND hwnd, ULONG flags )
66 FIXME( "%p %p 0x%x\n", server, hwnd, flags );
67 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
68 return FALSE;
71 BOOLEAN WINAPI WinStationUnRegisterConsoleNotification( HANDLE server, HWND hwnd )
73 FIXME( "%p %p\n", server, hwnd );
74 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
75 return FALSE;
78 BOOLEAN WINAPI WinStationGetAllProcesses( HANDLE server, ULONG level,
79 ULONG *process_count, PTS_ALL_PROCESSES_INFO *info )
81 FIXME( "%p %u %p %p\n", server, level, process_count, info );
82 *process_count = 0;
83 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
84 return FALSE;
87 BOOLEAN WINAPI WinStationGetProcessSid( HANDLE server, ULONG process_id, FILETIME *process_start_time,
88 PVOID process_user_sid, PULONG sid_size )
90 FIXME( "(%p, %d, %p, %p, %p): stub\n", server, process_id, process_start_time, process_user_sid, sid_size);
91 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
92 return FALSE;
95 BOOL WINAPI WinStationVirtualOpen( PVOID a, PVOID b, PVOID c )
97 FIXME( "%p %p %p\n", a, b, c );
98 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
99 return FALSE;
102 BOOLEAN WINAPI WinStationEnumerateW( HANDLE server, PSESSIONIDW *sessionids, ULONG *count )
104 FIXME( "%p %p %p\n", server, sessionids, count );
105 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
106 return FALSE;