wined3d: Use struct wined3d_ffp_attrib_ops for generic attributes as well.
[wine.git] / dlls / winsta / main.c
bloba95782f67c8eb12e593c5e99f9e38d334052a92f
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 WinStationGetAllProcesses( HANDLE server, ULONG level,
72 ULONG *process_count, PTS_ALL_PROCESSES_INFO *info )
74 FIXME( "%p %u %p %p\n", server, level, process_count, info );
75 *process_count = 0;
76 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
77 return FALSE;
80 BOOLEAN WINAPI WinStationGetProcessSid( HANDLE server, ULONG process_id, FILETIME *process_start_time,
81 PVOID process_user_sid, PULONG sid_size )
83 FIXME( "(%p, %d, %p, %p, %p): stub\n", server, process_id, process_start_time, process_user_sid, sid_size);
84 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
85 return FALSE;
88 BOOL WINAPI WinStationVirtualOpen( PVOID a, PVOID b, PVOID c )
90 FIXME( "%p %p %p\n", a, b, c );
91 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
92 return FALSE;