winsta: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-22 09:43:16 +01:00 committed by Alexandre Julliard
parent 2868116ca2
commit eb7f1edc67
2 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = winsta.dll MODULE = winsta.dll
EXTRADLLFLAGS = -Wb,--prefer-native EXTRADLLFLAGS = -Wb,--prefer-native

View File

@ -30,7 +30,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(winsta);
BOOLEAN WINAPI WinStationQueryInformationA( HANDLE server, ULONG logon_id, WINSTATIONINFOCLASS class, BOOLEAN WINAPI WinStationQueryInformationA( HANDLE server, ULONG logon_id, WINSTATIONINFOCLASS class,
void *info, ULONG len, ULONG *ret_len ) void *info, ULONG len, ULONG *ret_len )
{ {
FIXME( "%p %u %u %p %u %p\n", server, logon_id, class, info, len, ret_len ); FIXME( "%p %lu %u %p %lu %p\n", server, logon_id, class, info, len, ret_len );
SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE; return FALSE;
} }
@ -38,14 +38,14 @@ BOOLEAN WINAPI WinStationQueryInformationA( HANDLE server, ULONG logon_id, WINST
BOOLEAN WINAPI WinStationQueryInformationW( HANDLE server, ULONG logon_id, WINSTATIONINFOCLASS class, BOOLEAN WINAPI WinStationQueryInformationW( HANDLE server, ULONG logon_id, WINSTATIONINFOCLASS class,
void *info, ULONG len, ULONG *ret_len ) void *info, ULONG len, ULONG *ret_len )
{ {
FIXME( "%p %u %u %p %u %p\n", server, logon_id, class, info, len, ret_len ); FIXME( "%p %lu %u %p %lu %p\n", server, logon_id, class, info, len, ret_len );
SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE; return FALSE;
} }
BOOLEAN WINAPI WinStationRegisterConsoleNotification( HANDLE server, HWND hwnd, ULONG flags ) BOOLEAN WINAPI WinStationRegisterConsoleNotification( HANDLE server, HWND hwnd, ULONG flags )
{ {
FIXME( "%p %p 0x%x\n", server, hwnd, flags ); FIXME( "%p %p 0x%lx\n", server, hwnd, flags );
SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE; return FALSE;
} }
@ -60,7 +60,7 @@ BOOLEAN WINAPI WinStationUnRegisterConsoleNotification( HANDLE server, HWND hwnd
BOOLEAN WINAPI WinStationGetAllProcesses( HANDLE server, ULONG level, BOOLEAN WINAPI WinStationGetAllProcesses( HANDLE server, ULONG level,
ULONG *process_count, PTS_ALL_PROCESSES_INFO *info ) ULONG *process_count, PTS_ALL_PROCESSES_INFO *info )
{ {
FIXME( "%p %u %p %p\n", server, level, process_count, info ); FIXME( "%p %lu %p %p\n", server, level, process_count, info );
*process_count = 0; *process_count = 0;
SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE; return FALSE;
@ -69,7 +69,7 @@ BOOLEAN WINAPI WinStationGetAllProcesses( HANDLE server, ULONG level,
BOOLEAN WINAPI WinStationGetProcessSid( HANDLE server, ULONG process_id, FILETIME *process_start_time, BOOLEAN WINAPI WinStationGetProcessSid( HANDLE server, ULONG process_id, FILETIME *process_start_time,
PVOID process_user_sid, PULONG sid_size ) PVOID process_user_sid, PULONG sid_size )
{ {
FIXME( "(%p, %d, %p, %p, %p): stub\n", server, process_id, process_start_time, process_user_sid, sid_size); FIXME( "(%p, %ld, %p, %p, %p): stub\n", server, process_id, process_start_time, process_user_sid, sid_size);
SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE; return FALSE;
} }