Module: wine Branch: master Commit: 22f5e1f6d7195402fab6ae955807cb3e8fbbedaa URL: http://source.winehq.org/git/wine.git/?a=commit;h=22f5e1f6d7195402fab6ae9558...
Author: Alexandre Julliard julliard@winehq.org Date: Mon May 23 13:38:42 2011 +0200
winsta: Add stubs for WinStationQueryInformationA/W.
---
dlls/winsta/main.c | 17 +++++++++++++++++ dlls/winsta/winsta.spec | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/dlls/winsta/main.c b/dlls/winsta/main.c index b71f110..707e33f 100644 --- a/dlls/winsta/main.c +++ b/dlls/winsta/main.c @@ -21,6 +21,7 @@
#include "windef.h" #include "winbase.h" +#include "winternl.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(winsta); @@ -42,3 +43,19 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return TRUE; } + +BOOLEAN WINAPI WinStationQueryInformationA( HANDLE server, ULONG logon_id, WINSTATIONINFOCLASS class, + void *info, ULONG len, ULONG *ret_len ) +{ + FIXME( "%p %u %u %p %u %p\n", server, logon_id, class, info, len, ret_len ); + SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); + return FALSE; +} + +BOOLEAN WINAPI WinStationQueryInformationW( HANDLE server, ULONG logon_id, WINSTATIONINFOCLASS class, + void *info, ULONG len, ULONG *ret_len ) +{ + FIXME( "%p %u %u %p %u %p\n", server, logon_id, class, info, len, ret_len ); + SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); + return FALSE; +} diff --git a/dlls/winsta/winsta.spec b/dlls/winsta/winsta.spec index 1e5fa0a..53d4479 100644 --- a/dlls/winsta/winsta.spec +++ b/dlls/winsta/winsta.spec @@ -48,8 +48,8 @@ @ stub WinStationNtsdDebug @ stub WinStationOpenServerA @ stub WinStationOpenServerW -@ stub WinStationQueryInformationA -@ stub WinStationQueryInformationW +@ stdcall WinStationQueryInformationA(ptr long long ptr long ptr) +@ stdcall WinStationQueryInformationW(ptr long long ptr long ptr) @ stub WinStationQueryLicense @ stub WinStationQueryLogonCredentialsW @ stub WinStationQueryUpdateRequired