Commit 32e11378 authored by Daniel Zimmermann's avatar Daniel Zimmermann Committed by Alexandre Julliard

wtsapi32: Add some stubs.

parent bbbd5a49
@ stdcall WTSCloseServer(long) @ stdcall WTSCloseServer(long)
@ stdcall WTSConnectSessionA(long long ptr long)
@ stdcall WTSConnectSessionW(long long ptr long)
@ stdcall WTSDisconnectSession(long long long) @ stdcall WTSDisconnectSession(long long long)
@ stdcall WTSEnumerateProcessesA(long long long ptr ptr) @ stdcall WTSEnumerateProcessesA(long long long ptr ptr)
@ stdcall WTSEnumerateProcessesW(long long long ptr ptr) @ stdcall WTSEnumerateProcessesW(long long long ptr ptr)
@ stub WTSEnumerateServersA @ stdcall WTSEnumerateServersA(ptr long long ptr ptr)
@ stub WTSEnumerateServersW @ stdcall WTSEnumerateServersW(ptr long long ptr ptr)
@ stdcall WTSEnumerateSessionsA(long long long ptr ptr) @ stdcall WTSEnumerateSessionsA(long long long ptr ptr)
@ stdcall WTSEnumerateSessionsW(long long long ptr ptr) @ stdcall WTSEnumerateSessionsW(long long long ptr ptr)
@ stdcall WTSFreeMemory(ptr) @ stdcall WTSFreeMemory(ptr)
@ stdcall WTSLogoffSession(ptr long long) @ stdcall WTSLogoffSession(long long long)
@ stdcall WTSOpenServerA(ptr) @ stdcall WTSOpenServerA(ptr)
@ stdcall WTSOpenServerW(ptr) @ stdcall WTSOpenServerW(ptr)
@ stdcall WTSQuerySessionInformationA(long long long ptr ptr) @ stdcall WTSQuerySessionInformationA(long long long ptr ptr)
@ stdcall WTSQuerySessionInformationW(long long long ptr ptr) @ stdcall WTSQuerySessionInformationW(long long long ptr ptr)
@ stub WTSQueryUserConfigA @ stdcall WTSQueryUserConfigA(ptr ptr long ptr ptr)
@ stub WTSQueryUserConfigW @ stdcall WTSQueryUserConfigW(ptr ptr long ptr ptr)
@ stdcall WTSQueryUserToken(long ptr) @ stdcall WTSQueryUserToken(long ptr)
@ stdcall WTSRegisterSessionNotification(long long) @ stdcall WTSRegisterSessionNotification(long long)
@ stub WTSSendMessageA @ stdcall WTSRegisterSessionNotificationEx(long long long)
@ stub WTSSendMessageW @ stdcall WTSSendMessageA(long long ptr long ptr long long long ptr long)
@ stdcall WTSSendMessageW(long long ptr long ptr long long long ptr long)
@ stub WTSSetSessionInformationA @ stub WTSSetSessionInformationA
@ stub WTSSetSessionInformationW @ stub WTSSetSessionInformationW
@ stub WTSSetUserConfigA @ stdcall WTSSetUserConfigA(ptr ptr long ptr long)
@ stub WTSSetUserConfigW @ stdcall WTSSetUserConfigW(ptr ptr long ptr long)
@ stub WTSShutdownSystem @ stdcall WTSShutdownSystem(long long)
@ stub WTSTerminateProcess @ stdcall WTSStartRemoteControlSessionA(ptr long long long)
@ stdcall WTSStartRemoteControlSessionW(ptr long long long)
@ stdcall WTSStopRemoteControlSession(long)
@ stdcall WTSTerminateProcess(long long long)
@ stdcall WTSUnRegisterSessionNotification(long) @ stdcall WTSUnRegisterSessionNotification(long)
@ stub WTSVirtualChannelClose @ stdcall WTSUnRegisterSessionNotificationEx(long long)
@ stub WTSVirtualChannelOpen @ stdcall WTSVirtualChannelClose(long)
@ stub WTSVirtualChannelPurgeInput @ stdcall WTSVirtualChannelOpen(long long ptr)
@ stub WTSVirtualChannelPurgeOutput @ stdcall WTSVirtualChannelOpenEx(long ptr long)
@ stub WTSVirtualChannelQuery @ stdcall WTSVirtualChannelPurgeInput(long)
@ stub WTSVirtualChannelRead @ stdcall WTSVirtualChannelPurgeOutput(long)
@ stub WTSVirtualChannelWrite @ stdcall WTSVirtualChannelQuery(long long ptr ptr)
@ stdcall WTSVirtualChannelRead(long long ptr long ptr)
@ stdcall WTSVirtualChannelWrite(long ptr long ptr)
@ stdcall WTSWaitSystemEvent(long long ptr) @ stdcall WTSWaitSystemEvent(long long ptr)
...@@ -24,6 +24,12 @@ extern "C" { ...@@ -24,6 +24,12 @@ extern "C" {
#endif #endif
typedef enum _WTS_VIRTUAL_CLASS
{
WTSVirtualClientData,
WTSVirtualFileHandle
} WTS_VIRTUAL_CLASS;
typedef enum tagWTS_INFO_CLASS typedef enum tagWTS_INFO_CLASS
{ {
WTSInitialProgram, WTSInitialProgram,
...@@ -130,6 +136,9 @@ DECL_WINELIB_TYPE_AW(WTS_SERVER_INFO) ...@@ -130,6 +136,9 @@ DECL_WINELIB_TYPE_AW(WTS_SERVER_INFO)
DECL_WINELIB_TYPE_AW(PWTS_SERVER_INFO) DECL_WINELIB_TYPE_AW(PWTS_SERVER_INFO)
void WINAPI WTSCloseServer(HANDLE); void WINAPI WTSCloseServer(HANDLE);
BOOL WINAPI WTSConnectSessionA(ULONG, ULONG, PSTR, BOOL);
BOOL WINAPI WTSConnectSessionW(ULONG, ULONG, PWSTR, BOOL);
#define WTSConnectSession WINELIB_NAME_AW(WTSConnectSession)
BOOL WINAPI WTSDisconnectSession(HANDLE, DWORD, BOOL); BOOL WINAPI WTSDisconnectSession(HANDLE, DWORD, BOOL);
BOOL WINAPI WTSEnumerateProcessesA(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOA *, DWORD *); BOOL WINAPI WTSEnumerateProcessesA(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOA *, DWORD *);
BOOL WINAPI WTSEnumerateProcessesW(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOW *, DWORD *); BOOL WINAPI WTSEnumerateProcessesW(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOW *, DWORD *);
...@@ -140,7 +149,7 @@ BOOL WINAPI WTSEnumerateServersW( LPWSTR, DWORD, DWORD, PWTS_SERVER_INFOW*, DWOR ...@@ -140,7 +149,7 @@ BOOL WINAPI WTSEnumerateServersW( LPWSTR, DWORD, DWORD, PWTS_SERVER_INFOW*, DWOR
BOOL WINAPI WTSEnumerateSessionsA(HANDLE, DWORD, DWORD, PWTS_SESSION_INFOA *, DWORD *); BOOL WINAPI WTSEnumerateSessionsA(HANDLE, DWORD, DWORD, PWTS_SESSION_INFOA *, DWORD *);
BOOL WINAPI WTSEnumerateSessionsW(HANDLE, DWORD, DWORD, PWTS_SESSION_INFOW *, DWORD *); BOOL WINAPI WTSEnumerateSessionsW(HANDLE, DWORD, DWORD, PWTS_SESSION_INFOW *, DWORD *);
#define WTSEnumerateSessions WINELIB_NAME_AW(WTSEnumerateSessions) #define WTSEnumerateSessions WINELIB_NAME_AW(WTSEnumerateSessions)
void WINAPI WTSFreeMemory(PVOID); void WINAPI WTSFreeMemory(PVOID);
HANDLE WINAPI WTSOpenServerA(LPSTR); HANDLE WINAPI WTSOpenServerA(LPSTR);
HANDLE WINAPI WTSOpenServerW(LPWSTR); HANDLE WINAPI WTSOpenServerW(LPWSTR);
#define WTSOpenServer WINELIB_NAME_AW(WTSOpenServer) #define WTSOpenServer WINELIB_NAME_AW(WTSOpenServer)
...@@ -153,6 +162,10 @@ BOOL WINAPI WTSQueryUserConfigW(LPWSTR,LPWSTR,WTS_CONFIG_CLASS,LPWSTR*,DWORD*); ...@@ -153,6 +162,10 @@ BOOL WINAPI WTSQueryUserConfigW(LPWSTR,LPWSTR,WTS_CONFIG_CLASS,LPWSTR*,DWORD*);
BOOL WINAPI WTSQueryUserToken(ULONG, PHANDLE); BOOL WINAPI WTSQueryUserToken(ULONG, PHANDLE);
BOOL WINAPI WTSRegisterSessionNotification(HWND, DWORD); BOOL WINAPI WTSRegisterSessionNotification(HWND, DWORD);
BOOL WINAPI WTSRegisterSessionNotificationEx(HANDLE, HWND, DWORD); BOOL WINAPI WTSRegisterSessionNotificationEx(HANDLE, HWND, DWORD);
BOOL WINAPI WTSStartRemoteControlSessionA(LPSTR, ULONG, BYTE, USHORT);
BOOL WINAPI WTSStartRemoteControlSessionW(LPWSTR, ULONG, BYTE, USHORT);
#define WTSStartRemoteControlSession WINELIB_NAME_AW(WTSStartRemoteControlSession)
BOOL WINAPI WTSStopRemoteControlSession(ULONG);
BOOL WINAPI WTSTerminateProcess(HANDLE, DWORD, DWORD); BOOL WINAPI WTSTerminateProcess(HANDLE, DWORD, DWORD);
BOOL WINAPI WTSUnRegisterSessionNotification(HWND); BOOL WINAPI WTSUnRegisterSessionNotification(HWND);
BOOL WINAPI WTSUnRegisterSessionNotificationEx(HANDLE, HWND); BOOL WINAPI WTSUnRegisterSessionNotificationEx(HANDLE, HWND);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment