Commit 5595b2c4 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

wtsapi32: Enable compilation with long types.

parent 6c2b2c37
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = wtsapi32.dll MODULE = wtsapi32.dll
IMPORTLIB = wtsapi32 IMPORTLIB = wtsapi32
IMPORTS = advapi32 IMPORTS = advapi32
......
...@@ -44,7 +44,7 @@ void WINAPI WTSCloseServer(HANDLE hServer) ...@@ -44,7 +44,7 @@ void WINAPI WTSCloseServer(HANDLE hServer)
*/ */
BOOL WINAPI WTSConnectSessionA(ULONG LogonId, ULONG TargetLogonId, PSTR pPassword, BOOL bWait) BOOL WINAPI WTSConnectSessionA(ULONG LogonId, ULONG TargetLogonId, PSTR pPassword, BOOL bWait)
{ {
FIXME("Stub %d %d (%s) %d\n", LogonId, TargetLogonId, debugstr_a(pPassword), bWait); FIXME("Stub %ld %ld (%s) %d\n", LogonId, TargetLogonId, debugstr_a(pPassword), bWait);
return TRUE; return TRUE;
} }
...@@ -53,7 +53,7 @@ BOOL WINAPI WTSConnectSessionA(ULONG LogonId, ULONG TargetLogonId, PSTR pPasswor ...@@ -53,7 +53,7 @@ BOOL WINAPI WTSConnectSessionA(ULONG LogonId, ULONG TargetLogonId, PSTR pPasswor
*/ */
BOOL WINAPI WTSConnectSessionW(ULONG LogonId, ULONG TargetLogonId, PWSTR pPassword, BOOL bWait) BOOL WINAPI WTSConnectSessionW(ULONG LogonId, ULONG TargetLogonId, PWSTR pPassword, BOOL bWait)
{ {
FIXME("Stub %d %d (%s) %d\n", LogonId, TargetLogonId, debugstr_w(pPassword), bWait); FIXME("Stub %ld %ld (%s) %d\n", LogonId, TargetLogonId, debugstr_w(pPassword), bWait);
return TRUE; return TRUE;
} }
...@@ -62,7 +62,7 @@ BOOL WINAPI WTSConnectSessionW(ULONG LogonId, ULONG TargetLogonId, PWSTR pPasswo ...@@ -62,7 +62,7 @@ BOOL WINAPI WTSConnectSessionW(ULONG LogonId, ULONG TargetLogonId, PWSTR pPasswo
*/ */
BOOL WINAPI WTSDisconnectSession(HANDLE hServer, DWORD SessionId, BOOL bWait) BOOL WINAPI WTSDisconnectSession(HANDLE hServer, DWORD SessionId, BOOL bWait)
{ {
FIXME("Stub %p 0x%08x %d\n", hServer, SessionId, bWait); FIXME("Stub %p 0x%08lx %d\n", hServer, SessionId, bWait);
return TRUE; return TRUE;
} }
...@@ -89,7 +89,7 @@ BOOL WINAPI WTSEnumerateProcessesExW(HANDLE server, DWORD *level, DWORD session_ ...@@ -89,7 +89,7 @@ BOOL WINAPI WTSEnumerateProcessesExW(HANDLE server, DWORD *level, DWORD session_
NTSTATUS status; NTSTATUS status;
char *p; char *p;
TRACE("server %p, level %u, session_id %#x, ret_info %p, ret_count %p\n", TRACE("server %p, level %lu, session_id %#lx, ret_info %p, ret_count %p\n",
server, *level, session_id, ret_info, ret_count); server, *level, session_id, ret_info, ret_count);
if (!ret_info || !ret_count) if (!ret_info || !ret_count)
...@@ -99,11 +99,11 @@ BOOL WINAPI WTSEnumerateProcessesExW(HANDLE server, DWORD *level, DWORD session_ ...@@ -99,11 +99,11 @@ BOOL WINAPI WTSEnumerateProcessesExW(HANDLE server, DWORD *level, DWORD session_
} }
if (session_id != WTS_ANY_SESSION) if (session_id != WTS_ANY_SESSION)
FIXME("ignoring session id %#x\n", session_id); FIXME("ignoring session id %#lx\n", session_id);
if (*level) if (*level)
{ {
FIXME("unhandled level %u\n", *level); FIXME("unhandled level %lu\n", *level);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
...@@ -207,7 +207,7 @@ BOOL WINAPI WTSEnumerateProcessesExW(HANDLE server, DWORD *level, DWORD session_ ...@@ -207,7 +207,7 @@ BOOL WINAPI WTSEnumerateProcessesExW(HANDLE server, DWORD *level, DWORD session_
*/ */
BOOL WINAPI WTSEnumerateProcessesExA(HANDLE server, DWORD *level, DWORD session_id, char **info, DWORD *count) BOOL WINAPI WTSEnumerateProcessesExA(HANDLE server, DWORD *level, DWORD session_id, char **info, DWORD *count)
{ {
FIXME("Stub %p %p %d %p %p\n", server, level, session_id, info, count); FIXME("Stub %p %p %ld %p %p\n", server, level, session_id, info, count);
if (count) *count = 0; if (count) *count = 0;
return FALSE; return FALSE;
} }
...@@ -218,7 +218,7 @@ BOOL WINAPI WTSEnumerateProcessesExA(HANDLE server, DWORD *level, DWORD session_ ...@@ -218,7 +218,7 @@ BOOL WINAPI WTSEnumerateProcessesExA(HANDLE server, DWORD *level, DWORD session_
BOOL WINAPI WTSEnumerateProcessesA(HANDLE hServer, DWORD Reserved, DWORD Version, BOOL WINAPI WTSEnumerateProcessesA(HANDLE hServer, DWORD Reserved, DWORD Version,
PWTS_PROCESS_INFOA* ppProcessInfo, DWORD* pCount) PWTS_PROCESS_INFOA* ppProcessInfo, DWORD* pCount)
{ {
FIXME("Stub %p 0x%08x 0x%08x %p %p\n", hServer, Reserved, Version, FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version,
ppProcessInfo, pCount); ppProcessInfo, pCount);
if (!ppProcessInfo || !pCount) return FALSE; if (!ppProcessInfo || !pCount) return FALSE;
...@@ -237,7 +237,7 @@ BOOL WINAPI WTSEnumerateProcessesW(HANDLE server, DWORD reserved, DWORD version, ...@@ -237,7 +237,7 @@ BOOL WINAPI WTSEnumerateProcessesW(HANDLE server, DWORD reserved, DWORD version,
{ {
DWORD level = 0; DWORD level = 0;
TRACE("server %p, reserved %#x, version %u, info %p, count %p\n", server, reserved, version, info, count); TRACE("server %p, reserved %#lx, version %lu, info %p, count %p\n", server, reserved, version, info, count);
if (reserved || version != 1) if (reserved || version != 1)
{ {
...@@ -253,7 +253,7 @@ BOOL WINAPI WTSEnumerateProcessesW(HANDLE server, DWORD reserved, DWORD version, ...@@ -253,7 +253,7 @@ BOOL WINAPI WTSEnumerateProcessesW(HANDLE server, DWORD reserved, DWORD version,
*/ */
BOOL WINAPI WTSEnumerateServersA(LPSTR pDomainName, DWORD Reserved, DWORD Version, PWTS_SERVER_INFOA *ppServerInfo, DWORD *pCount) BOOL WINAPI WTSEnumerateServersA(LPSTR pDomainName, DWORD Reserved, DWORD Version, PWTS_SERVER_INFOA *ppServerInfo, DWORD *pCount)
{ {
FIXME("Stub %s 0x%08x 0x%08x %p %p\n", debugstr_a(pDomainName), Reserved, Version, ppServerInfo, pCount); FIXME("Stub %s 0x%08lx 0x%08lx %p %p\n", debugstr_a(pDomainName), Reserved, Version, ppServerInfo, pCount);
return FALSE; return FALSE;
} }
...@@ -262,7 +262,7 @@ BOOL WINAPI WTSEnumerateServersA(LPSTR pDomainName, DWORD Reserved, DWORD Versio ...@@ -262,7 +262,7 @@ BOOL WINAPI WTSEnumerateServersA(LPSTR pDomainName, DWORD Reserved, DWORD Versio
*/ */
BOOL WINAPI WTSEnumerateServersW(LPWSTR pDomainName, DWORD Reserved, DWORD Version, PWTS_SERVER_INFOW *ppServerInfo, DWORD *pCount) BOOL WINAPI WTSEnumerateServersW(LPWSTR pDomainName, DWORD Reserved, DWORD Version, PWTS_SERVER_INFOW *ppServerInfo, DWORD *pCount)
{ {
FIXME("Stub %s 0x%08x 0x%08x %p %p\n", debugstr_w(pDomainName), Reserved, Version, ppServerInfo, pCount); FIXME("Stub %s 0x%08lx 0x%08lx %p %p\n", debugstr_w(pDomainName), Reserved, Version, ppServerInfo, pCount);
return FALSE; return FALSE;
} }
...@@ -272,7 +272,7 @@ BOOL WINAPI WTSEnumerateServersW(LPWSTR pDomainName, DWORD Reserved, DWORD Versi ...@@ -272,7 +272,7 @@ BOOL WINAPI WTSEnumerateServersW(LPWSTR pDomainName, DWORD Reserved, DWORD Versi
*/ */
BOOL WINAPI WTSEnumerateSessionsExW(HANDLE server, DWORD *level, DWORD filter, WTS_SESSION_INFO_1W* info, DWORD *count) BOOL WINAPI WTSEnumerateSessionsExW(HANDLE server, DWORD *level, DWORD filter, WTS_SESSION_INFO_1W* info, DWORD *count)
{ {
FIXME("Stub %p %p %d %p %p\n", server, level, filter, info, count); FIXME("Stub %p %p %ld %p %p\n", server, level, filter, info, count);
if (count) *count = 0; if (count) *count = 0;
return FALSE; return FALSE;
} }
...@@ -282,7 +282,7 @@ BOOL WINAPI WTSEnumerateSessionsExW(HANDLE server, DWORD *level, DWORD filter, W ...@@ -282,7 +282,7 @@ BOOL WINAPI WTSEnumerateSessionsExW(HANDLE server, DWORD *level, DWORD filter, W
*/ */
BOOL WINAPI WTSEnumerateSessionsExA(HANDLE server, DWORD *level, DWORD filter, WTS_SESSION_INFO_1A* info, DWORD *count) BOOL WINAPI WTSEnumerateSessionsExA(HANDLE server, DWORD *level, DWORD filter, WTS_SESSION_INFO_1A* info, DWORD *count)
{ {
FIXME("Stub %p %p %d %p %p\n", server, level, filter, info, count); FIXME("Stub %p %p %ld %p %p\n", server, level, filter, info, count);
if (count) *count = 0; if (count) *count = 0;
return FALSE; return FALSE;
} }
...@@ -295,7 +295,7 @@ BOOL WINAPI WTSEnumerateSessionsA(HANDLE hServer, DWORD Reserved, DWORD Version, ...@@ -295,7 +295,7 @@ BOOL WINAPI WTSEnumerateSessionsA(HANDLE hServer, DWORD Reserved, DWORD Version,
{ {
static int once; static int once;
if (!once++) FIXME("Stub %p 0x%08x 0x%08x %p %p\n", hServer, Reserved, Version, if (!once++) FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version,
ppSessionInfo, pCount); ppSessionInfo, pCount);
if (!ppSessionInfo || !pCount) return FALSE; if (!ppSessionInfo || !pCount) return FALSE;
...@@ -312,7 +312,7 @@ BOOL WINAPI WTSEnumerateSessionsA(HANDLE hServer, DWORD Reserved, DWORD Version, ...@@ -312,7 +312,7 @@ BOOL WINAPI WTSEnumerateSessionsA(HANDLE hServer, DWORD Reserved, DWORD Version,
BOOL WINAPI WTSEnumerateSessionsW(HANDLE hServer, DWORD Reserved, DWORD Version, BOOL WINAPI WTSEnumerateSessionsW(HANDLE hServer, DWORD Reserved, DWORD Version,
PWTS_SESSION_INFOW* ppSessionInfo, DWORD* pCount) PWTS_SESSION_INFOW* ppSessionInfo, DWORD* pCount)
{ {
FIXME("Stub %p 0x%08x 0x%08x %p %p\n", hServer, Reserved, Version, FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version,
ppSessionInfo, pCount); ppSessionInfo, pCount);
if (!ppSessionInfo || !pCount) return FALSE; if (!ppSessionInfo || !pCount) return FALSE;
...@@ -336,7 +336,7 @@ void WINAPI WTSFreeMemory(PVOID pMemory) ...@@ -336,7 +336,7 @@ void WINAPI WTSFreeMemory(PVOID pMemory)
*/ */
BOOL WINAPI WTSFreeMemoryExA(WTS_TYPE_CLASS type, void *ptr, ULONG nmemb) BOOL WINAPI WTSFreeMemoryExA(WTS_TYPE_CLASS type, void *ptr, ULONG nmemb)
{ {
TRACE("%d %p %d\n", type, ptr, nmemb); TRACE("%d %p %ld\n", type, ptr, nmemb);
heap_free(ptr); heap_free(ptr);
return TRUE; return TRUE;
} }
...@@ -346,7 +346,7 @@ BOOL WINAPI WTSFreeMemoryExA(WTS_TYPE_CLASS type, void *ptr, ULONG nmemb) ...@@ -346,7 +346,7 @@ BOOL WINAPI WTSFreeMemoryExA(WTS_TYPE_CLASS type, void *ptr, ULONG nmemb)
*/ */
BOOL WINAPI WTSFreeMemoryExW(WTS_TYPE_CLASS type, void *ptr, ULONG nmemb) BOOL WINAPI WTSFreeMemoryExW(WTS_TYPE_CLASS type, void *ptr, ULONG nmemb)
{ {
TRACE("%d %p %d\n", type, ptr, nmemb); TRACE("%d %p %ld\n", type, ptr, nmemb);
heap_free(ptr); heap_free(ptr);
return TRUE; return TRUE;
} }
...@@ -357,7 +357,7 @@ BOOL WINAPI WTSFreeMemoryExW(WTS_TYPE_CLASS type, void *ptr, ULONG nmemb) ...@@ -357,7 +357,7 @@ BOOL WINAPI WTSFreeMemoryExW(WTS_TYPE_CLASS type, void *ptr, ULONG nmemb)
*/ */
BOOL WINAPI WTSLogoffSession(HANDLE hserver, DWORD session_id, BOOL bwait) BOOL WINAPI WTSLogoffSession(HANDLE hserver, DWORD session_id, BOOL bwait)
{ {
FIXME("(%p, 0x%x, %d): stub\n", hserver, session_id, bwait); FIXME("(%p, 0x%lx, %d): stub\n", hserver, session_id, bwait);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
...@@ -410,7 +410,7 @@ BOOL WINAPI WTSQuerySessionInformationA(HANDLE server, DWORD session_id, WTS_INF ...@@ -410,7 +410,7 @@ BOOL WINAPI WTSQuerySessionInformationA(HANDLE server, DWORD session_id, WTS_INF
{ {
WCHAR *bufferW = NULL; WCHAR *bufferW = NULL;
TRACE("%p 0x%08x %d %p %p\n", server, session_id, class, buffer, count); TRACE("%p 0x%08lx %d %p %p\n", server, session_id, class, buffer, count);
if (!buffer || !count) if (!buffer || !count)
{ {
...@@ -450,7 +450,7 @@ BOOL WINAPI WTSQuerySessionInformationA(HANDLE server, DWORD session_id, WTS_INF ...@@ -450,7 +450,7 @@ BOOL WINAPI WTSQuerySessionInformationA(HANDLE server, DWORD session_id, WTS_INF
*/ */
BOOL WINAPI WTSQuerySessionInformationW(HANDLE server, DWORD session_id, WTS_INFO_CLASS class, WCHAR **buffer, DWORD *count) BOOL WINAPI WTSQuerySessionInformationW(HANDLE server, DWORD session_id, WTS_INFO_CLASS class, WCHAR **buffer, DWORD *count)
{ {
TRACE("%p 0x%08x %d %p %p\n", server, session_id, class, buffer, count); TRACE("%p 0x%08lx %d %p %p\n", server, session_id, class, buffer, count);
if (!buffer || !count) if (!buffer || !count)
{ {
...@@ -496,7 +496,7 @@ BOOL WINAPI WTSQuerySessionInformationW(HANDLE server, DWORD session_id, WTS_INF ...@@ -496,7 +496,7 @@ BOOL WINAPI WTSQuerySessionInformationW(HANDLE server, DWORD session_id, WTS_INF
*/ */
BOOL WINAPI WTSQueryUserToken(ULONG session_id, PHANDLE token) BOOL WINAPI WTSQueryUserToken(ULONG session_id, PHANDLE token)
{ {
FIXME("%u %p semi-stub!\n", session_id, token); FIXME("%lu %p semi-stub!\n", session_id, token);
if (!token) if (!token)
{ {
...@@ -535,7 +535,7 @@ BOOL WINAPI WTSQueryUserConfigW(LPWSTR pServerName, LPWSTR pUserName, WTS_CONFIG ...@@ -535,7 +535,7 @@ BOOL WINAPI WTSQueryUserConfigW(LPWSTR pServerName, LPWSTR pUserName, WTS_CONFIG
*/ */
BOOL WINAPI WTSRegisterSessionNotification(HWND hWnd, DWORD dwFlags) BOOL WINAPI WTSRegisterSessionNotification(HWND hWnd, DWORD dwFlags)
{ {
FIXME("Stub %p 0x%08x\n", hWnd, dwFlags); FIXME("Stub %p 0x%08lx\n", hWnd, dwFlags);
return TRUE; return TRUE;
} }
...@@ -544,7 +544,7 @@ BOOL WINAPI WTSRegisterSessionNotification(HWND hWnd, DWORD dwFlags) ...@@ -544,7 +544,7 @@ BOOL WINAPI WTSRegisterSessionNotification(HWND hWnd, DWORD dwFlags)
*/ */
BOOL WINAPI WTSRegisterSessionNotificationEx(HANDLE hServer, HWND hWnd, DWORD dwFlags) BOOL WINAPI WTSRegisterSessionNotificationEx(HANDLE hServer, HWND hWnd, DWORD dwFlags)
{ {
FIXME("Stub %p %p 0x%08x\n", hServer, hWnd, dwFlags); FIXME("Stub %p %p 0x%08lx\n", hServer, hWnd, dwFlags);
return TRUE; return TRUE;
} }
...@@ -555,7 +555,7 @@ BOOL WINAPI WTSRegisterSessionNotificationEx(HANDLE hServer, HWND hWnd, DWORD dw ...@@ -555,7 +555,7 @@ BOOL WINAPI WTSRegisterSessionNotificationEx(HANDLE hServer, HWND hWnd, DWORD dw
BOOL WINAPI WTSSendMessageA(HANDLE hServer, DWORD SessionId, LPSTR pTitle, DWORD TitleLength, LPSTR pMessage, BOOL WINAPI WTSSendMessageA(HANDLE hServer, DWORD SessionId, LPSTR pTitle, DWORD TitleLength, LPSTR pMessage,
DWORD MessageLength, DWORD Style, DWORD Timeout, DWORD *pResponse, BOOL bWait) DWORD MessageLength, DWORD Style, DWORD Timeout, DWORD *pResponse, BOOL bWait)
{ {
FIXME("Stub %p 0x%08x (%s) %d (%s) %d 0x%08x %d %p %d\n", hServer, SessionId, debugstr_a(pTitle), TitleLength, debugstr_a(pMessage), MessageLength, Style, Timeout, pResponse, bWait); FIXME("Stub %p 0x%08lx (%s) %ld (%s) %ld 0x%08lx %ld %p %d\n", hServer, SessionId, debugstr_a(pTitle), TitleLength, debugstr_a(pMessage), MessageLength, Style, Timeout, pResponse, bWait);
return FALSE; return FALSE;
} }
...@@ -565,7 +565,7 @@ BOOL WINAPI WTSSendMessageA(HANDLE hServer, DWORD SessionId, LPSTR pTitle, DWORD ...@@ -565,7 +565,7 @@ BOOL WINAPI WTSSendMessageA(HANDLE hServer, DWORD SessionId, LPSTR pTitle, DWORD
BOOL WINAPI WTSSendMessageW(HANDLE hServer, DWORD SessionId, LPWSTR pTitle, DWORD TitleLength, LPWSTR pMessage, BOOL WINAPI WTSSendMessageW(HANDLE hServer, DWORD SessionId, LPWSTR pTitle, DWORD TitleLength, LPWSTR pMessage,
DWORD MessageLength, DWORD Style, DWORD Timeout, DWORD *pResponse, BOOL bWait) DWORD MessageLength, DWORD Style, DWORD Timeout, DWORD *pResponse, BOOL bWait)
{ {
FIXME("Stub %p 0x%08x (%s) %d (%s) %d 0x%08x %d %p %d\n", hServer, SessionId, debugstr_w(pTitle), TitleLength, debugstr_w(pMessage), MessageLength, Style, Timeout, pResponse, bWait); FIXME("Stub %p 0x%08lx (%s) %ld (%s) %ld 0x%08lx %ld %p %d\n", hServer, SessionId, debugstr_w(pTitle), TitleLength, debugstr_w(pMessage), MessageLength, Style, Timeout, pResponse, bWait);
return FALSE; return FALSE;
} }
...@@ -574,7 +574,7 @@ BOOL WINAPI WTSSendMessageW(HANDLE hServer, DWORD SessionId, LPWSTR pTitle, DWOR ...@@ -574,7 +574,7 @@ BOOL WINAPI WTSSendMessageW(HANDLE hServer, DWORD SessionId, LPWSTR pTitle, DWOR
*/ */
BOOL WINAPI WTSSetUserConfigA(LPSTR pServerName, LPSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPSTR pBuffer, DWORD DataLength) BOOL WINAPI WTSSetUserConfigA(LPSTR pServerName, LPSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPSTR pBuffer, DWORD DataLength)
{ {
FIXME("Stub (%s) (%s) 0x%08x %p %d\n", debugstr_a(pServerName), debugstr_a(pUserName), WTSConfigClass,pBuffer, DataLength); FIXME("Stub (%s) (%s) 0x%08x %p %ld\n", debugstr_a(pServerName), debugstr_a(pUserName), WTSConfigClass,pBuffer, DataLength);
return FALSE; return FALSE;
} }
...@@ -583,7 +583,7 @@ BOOL WINAPI WTSSetUserConfigA(LPSTR pServerName, LPSTR pUserName, WTS_CONFIG_CLA ...@@ -583,7 +583,7 @@ BOOL WINAPI WTSSetUserConfigA(LPSTR pServerName, LPSTR pUserName, WTS_CONFIG_CLA
*/ */
BOOL WINAPI WTSSetUserConfigW(LPWSTR pServerName, LPWSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPWSTR pBuffer, DWORD DataLength) BOOL WINAPI WTSSetUserConfigW(LPWSTR pServerName, LPWSTR pUserName, WTS_CONFIG_CLASS WTSConfigClass, LPWSTR pBuffer, DWORD DataLength)
{ {
FIXME("Stub (%s) (%s) 0x%08x %p %d\n", debugstr_w(pServerName), debugstr_w(pUserName), WTSConfigClass,pBuffer, DataLength); FIXME("Stub (%s) (%s) 0x%08x %p %ld\n", debugstr_w(pServerName), debugstr_w(pUserName), WTSConfigClass,pBuffer, DataLength);
return FALSE; return FALSE;
} }
...@@ -592,7 +592,7 @@ BOOL WINAPI WTSSetUserConfigW(LPWSTR pServerName, LPWSTR pUserName, WTS_CONFIG_C ...@@ -592,7 +592,7 @@ BOOL WINAPI WTSSetUserConfigW(LPWSTR pServerName, LPWSTR pUserName, WTS_CONFIG_C
*/ */
BOOL WINAPI WTSShutdownSystem(HANDLE hServer, DWORD ShutdownFlag) BOOL WINAPI WTSShutdownSystem(HANDLE hServer, DWORD ShutdownFlag)
{ {
FIXME("Stub %p 0x%08x\n", hServer,ShutdownFlag); FIXME("Stub %p 0x%08lx\n", hServer,ShutdownFlag);
return FALSE; return FALSE;
} }
...@@ -601,7 +601,7 @@ BOOL WINAPI WTSShutdownSystem(HANDLE hServer, DWORD ShutdownFlag) ...@@ -601,7 +601,7 @@ BOOL WINAPI WTSShutdownSystem(HANDLE hServer, DWORD ShutdownFlag)
*/ */
BOOL WINAPI WTSStartRemoteControlSessionA(LPSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers) BOOL WINAPI WTSStartRemoteControlSessionA(LPSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers)
{ {
FIXME("Stub (%s) %d %d %d\n", debugstr_a(pTargetServerName), TargetLogonId, HotkeyVk, HotkeyModifiers); FIXME("Stub (%s) %ld %d %d\n", debugstr_a(pTargetServerName), TargetLogonId, HotkeyVk, HotkeyModifiers);
return FALSE; return FALSE;
} }
...@@ -610,7 +610,7 @@ BOOL WINAPI WTSStartRemoteControlSessionA(LPSTR pTargetServerName, ULONG TargetL ...@@ -610,7 +610,7 @@ BOOL WINAPI WTSStartRemoteControlSessionA(LPSTR pTargetServerName, ULONG TargetL
*/ */
BOOL WINAPI WTSStartRemoteControlSessionW(LPWSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers) BOOL WINAPI WTSStartRemoteControlSessionW(LPWSTR pTargetServerName, ULONG TargetLogonId, BYTE HotkeyVk, USHORT HotkeyModifiers)
{ {
FIXME("Stub (%s) %d %d %d\n", debugstr_w(pTargetServerName), TargetLogonId, HotkeyVk, HotkeyModifiers); FIXME("Stub (%s) %ld %d %d\n", debugstr_w(pTargetServerName), TargetLogonId, HotkeyVk, HotkeyModifiers);
return FALSE; return FALSE;
} }
...@@ -619,7 +619,7 @@ BOOL WINAPI WTSStartRemoteControlSessionW(LPWSTR pTargetServerName, ULONG Target ...@@ -619,7 +619,7 @@ BOOL WINAPI WTSStartRemoteControlSessionW(LPWSTR pTargetServerName, ULONG Target
*/ */
BOOL WINAPI WTSStopRemoteControlSession(ULONG LogonId) BOOL WINAPI WTSStopRemoteControlSession(ULONG LogonId)
{ {
FIXME("Stub %d\n", LogonId); FIXME("Stub %ld\n", LogonId);
return FALSE; return FALSE;
} }
...@@ -628,7 +628,7 @@ BOOL WINAPI WTSStopRemoteControlSession(ULONG LogonId) ...@@ -628,7 +628,7 @@ BOOL WINAPI WTSStopRemoteControlSession(ULONG LogonId)
*/ */
BOOL WINAPI WTSTerminateProcess(HANDLE hServer, DWORD ProcessId, DWORD ExitCode) BOOL WINAPI WTSTerminateProcess(HANDLE hServer, DWORD ProcessId, DWORD ExitCode)
{ {
FIXME("Stub %p %d %d\n", hServer, ProcessId, ExitCode); FIXME("Stub %p %ld %ld\n", hServer, ProcessId, ExitCode);
return FALSE; return FALSE;
} }
...@@ -665,7 +665,7 @@ BOOL WINAPI WTSVirtualChannelClose(HANDLE hChannelHandle) ...@@ -665,7 +665,7 @@ BOOL WINAPI WTSVirtualChannelClose(HANDLE hChannelHandle)
*/ */
HANDLE WINAPI WTSVirtualChannelOpen(HANDLE hServer, DWORD SessionId, LPSTR pVirtualName) HANDLE WINAPI WTSVirtualChannelOpen(HANDLE hServer, DWORD SessionId, LPSTR pVirtualName)
{ {
FIXME("Stub %p %d (%s)\n", hServer, SessionId, debugstr_a(pVirtualName)); FIXME("Stub %p %ld (%s)\n", hServer, SessionId, debugstr_a(pVirtualName));
return NULL; return NULL;
} }
...@@ -674,7 +674,7 @@ HANDLE WINAPI WTSVirtualChannelOpen(HANDLE hServer, DWORD SessionId, LPSTR pVirt ...@@ -674,7 +674,7 @@ HANDLE WINAPI WTSVirtualChannelOpen(HANDLE hServer, DWORD SessionId, LPSTR pVirt
*/ */
HANDLE WINAPI WTSVirtualChannelOpenEx(DWORD SessionId, LPSTR pVirtualName, DWORD flags) HANDLE WINAPI WTSVirtualChannelOpenEx(DWORD SessionId, LPSTR pVirtualName, DWORD flags)
{ {
FIXME("Stub %d (%s) %d\n", SessionId, debugstr_a(pVirtualName), flags); FIXME("Stub %ld (%s) %ld\n", SessionId, debugstr_a(pVirtualName), flags);
return NULL; return NULL;
} }
...@@ -711,7 +711,7 @@ BOOL WINAPI WTSVirtualChannelQuery(HANDLE hChannelHandle, WTS_VIRTUAL_CLASS WtsV ...@@ -711,7 +711,7 @@ BOOL WINAPI WTSVirtualChannelQuery(HANDLE hChannelHandle, WTS_VIRTUAL_CLASS WtsV
*/ */
BOOL WINAPI WTSVirtualChannelRead(HANDLE hChannelHandle, ULONG TimeOut, PCHAR Buffer, ULONG BufferSize, PULONG pBytesRead) BOOL WINAPI WTSVirtualChannelRead(HANDLE hChannelHandle, ULONG TimeOut, PCHAR Buffer, ULONG BufferSize, PULONG pBytesRead)
{ {
FIXME("Stub %p %d %p %d %p\n", hChannelHandle, TimeOut, Buffer, BufferSize, pBytesRead); FIXME("Stub %p %ld %p %ld %p\n", hChannelHandle, TimeOut, Buffer, BufferSize, pBytesRead);
return FALSE; return FALSE;
} }
...@@ -720,7 +720,7 @@ BOOL WINAPI WTSVirtualChannelRead(HANDLE hChannelHandle, ULONG TimeOut, PCHAR Bu ...@@ -720,7 +720,7 @@ BOOL WINAPI WTSVirtualChannelRead(HANDLE hChannelHandle, ULONG TimeOut, PCHAR Bu
*/ */
BOOL WINAPI WTSVirtualChannelWrite(HANDLE hChannelHandle, PCHAR Buffer, ULONG Length, PULONG pBytesWritten) BOOL WINAPI WTSVirtualChannelWrite(HANDLE hChannelHandle, PCHAR Buffer, ULONG Length, PULONG pBytesWritten)
{ {
FIXME("Stub %p %p %d %p\n", hChannelHandle, Buffer, Length, pBytesWritten); FIXME("Stub %p %p %ld %p\n", hChannelHandle, Buffer, Length, pBytesWritten);
return FALSE; return FALSE;
} }
...@@ -730,6 +730,6 @@ BOOL WINAPI WTSVirtualChannelWrite(HANDLE hChannelHandle, PCHAR Buffer, ULONG Le ...@@ -730,6 +730,6 @@ BOOL WINAPI WTSVirtualChannelWrite(HANDLE hChannelHandle, PCHAR Buffer, ULONG Le
BOOL WINAPI WTSWaitSystemEvent(HANDLE hServer, DWORD Mask, DWORD* Flags) BOOL WINAPI WTSWaitSystemEvent(HANDLE hServer, DWORD Mask, DWORD* Flags)
{ {
/* FIXME: Forward request to winsta.dll::WinStationWaitSystemEvent */ /* FIXME: Forward request to winsta.dll::WinStationWaitSystemEvent */
FIXME("Stub %p 0x%08x %p\n", hServer, Mask, Flags); FIXME("Stub %p 0x%08lx %p\n", hServer, Mask, Flags);
return FALSE; return FALSE;
} }
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