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
25 #include "wine/debug.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
);
36 case DLL_WINE_PREATTACH
:
37 return FALSE
; /* prefer native version */
38 case DLL_PROCESS_ATTACH
:
39 DisableThreadLibraryCalls(hinstDLL
);
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
);
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
);
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
);
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
);
76 SetLastError( ERROR_CALL_NOT_IMPLEMENTED
);
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
);
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
);
95 BOOLEAN WINAPI
WinStationEnumerateW( HANDLE server
, PSESSIONIDW
*sessionids
, ULONG
*count
)
97 FIXME( "%p %p %p\n", server
, sessionids
, count
);
98 SetLastError( ERROR_CALL_NOT_IMPLEMENTED
);