Commit 01ab17f0 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wtsapi32: Win64 printf format warning fixes.

parent 158253bf
...@@ -5,7 +5,6 @@ VPATH = @srcdir@ ...@@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE = wtsapi32.dll MODULE = wtsapi32.dll
IMPORTLIB = libwtsapi32.$(IMPLIBEXT) IMPORTLIB = libwtsapi32.$(IMPLIBEXT)
IMPORTS = kernel32 IMPORTS = kernel32
EXTRADEFS = -DWINE_NO_LONG_AS_INT
C_SRCS = \ C_SRCS = \
wtsapi32.c wtsapi32.c
......
...@@ -29,7 +29,7 @@ HMODULE WTSAPI32_hModule = 0; ...@@ -29,7 +29,7 @@ HMODULE WTSAPI32_hModule = 0;
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{ {
TRACE("%p,%lx,%p\n", hinstDLL, fdwReason, lpvReserved); TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason) { switch (fdwReason) {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
...@@ -60,7 +60,7 @@ void WINAPI WTSCloseServer(HANDLE hServer) ...@@ -60,7 +60,7 @@ void WINAPI WTSCloseServer(HANDLE hServer)
*/ */
BOOL WINAPI WTSDisconnectSession(HANDLE hServer, DWORD SessionId, BOOL bWait) BOOL WINAPI WTSDisconnectSession(HANDLE hServer, DWORD SessionId, BOOL bWait)
{ {
FIXME("Stub %p 0x%08lx %d\n", hServer, SessionId, bWait); FIXME("Stub %p 0x%08x %d\n", hServer, SessionId, bWait);
return TRUE; return TRUE;
} }
...@@ -70,7 +70,7 @@ BOOL WINAPI WTSDisconnectSession(HANDLE hServer, DWORD SessionId, BOOL bWait) ...@@ -70,7 +70,7 @@ BOOL WINAPI WTSDisconnectSession(HANDLE hServer, DWORD SessionId, BOOL bWait)
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%08lx 0x%08lx %p %p\n", hServer, Reserved, Version, FIXME("Stub %p 0x%08x 0x%08x %p %p\n", hServer, Reserved, Version,
ppProcessInfo, pCount); ppProcessInfo, pCount);
if (!ppProcessInfo || !pCount) return FALSE; if (!ppProcessInfo || !pCount) return FALSE;
...@@ -87,7 +87,7 @@ BOOL WINAPI WTSEnumerateProcessesA(HANDLE hServer, DWORD Reserved, DWORD Version ...@@ -87,7 +87,7 @@ BOOL WINAPI WTSEnumerateProcessesA(HANDLE hServer, DWORD Reserved, DWORD Version
BOOL WINAPI WTSEnumerateProcessesW(HANDLE hServer, DWORD Reserved, DWORD Version, BOOL WINAPI WTSEnumerateProcessesW(HANDLE hServer, DWORD Reserved, DWORD Version,
PWTS_PROCESS_INFOW* ppProcessInfo, DWORD* pCount) PWTS_PROCESS_INFOW* ppProcessInfo, DWORD* pCount)
{ {
FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version, FIXME("Stub %p 0x%08x 0x%08x %p %p\n", hServer, Reserved, Version,
ppProcessInfo, pCount); ppProcessInfo, pCount);
if (!ppProcessInfo || !pCount) return FALSE; if (!ppProcessInfo || !pCount) return FALSE;
...@@ -104,7 +104,7 @@ BOOL WINAPI WTSEnumerateProcessesW(HANDLE hServer, DWORD Reserved, DWORD Version ...@@ -104,7 +104,7 @@ BOOL WINAPI WTSEnumerateProcessesW(HANDLE hServer, DWORD Reserved, DWORD Version
BOOL WINAPI WTSEnumerateSessionsA(HANDLE hServer, DWORD Reserved, DWORD Version, BOOL WINAPI WTSEnumerateSessionsA(HANDLE hServer, DWORD Reserved, DWORD Version,
PWTS_SESSION_INFOA* ppSessionInfo, DWORD* pCount) PWTS_SESSION_INFOA* ppSessionInfo, DWORD* pCount)
{ {
FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version, FIXME("Stub %p 0x%08x 0x%08x %p %p\n", hServer, Reserved, Version,
ppSessionInfo, pCount); ppSessionInfo, pCount);
if (!ppSessionInfo || !pCount) return FALSE; if (!ppSessionInfo || !pCount) return FALSE;
...@@ -121,7 +121,7 @@ BOOL WINAPI WTSEnumerateSessionsA(HANDLE hServer, DWORD Reserved, DWORD Version, ...@@ -121,7 +121,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%08lx 0x%08lx %p %p\n", hServer, Reserved, Version, FIXME("Stub %p 0x%08x 0x%08x %p %p\n", hServer, Reserved, Version,
ppSessionInfo, pCount); ppSessionInfo, pCount);
if (!ppSessionInfo || !pCount) return FALSE; if (!ppSessionInfo || !pCount) return FALSE;
...@@ -172,7 +172,7 @@ BOOL WINAPI WTSQuerySessionInformationA( ...@@ -172,7 +172,7 @@ BOOL WINAPI WTSQuerySessionInformationA(
DWORD* BytesReturned) DWORD* BytesReturned)
{ {
/* FIXME: Forward request to winsta.dll::WinStationQueryInformationA */ /* FIXME: Forward request to winsta.dll::WinStationQueryInformationA */
FIXME("Stub %p 0x%08lx %d %p %p\n", hServer, SessionId, WTSInfoClass, FIXME("Stub %p 0x%08x %d %p %p\n", hServer, SessionId, WTSInfoClass,
Buffer, BytesReturned); Buffer, BytesReturned);
return FALSE; return FALSE;
...@@ -189,7 +189,7 @@ BOOL WINAPI WTSQuerySessionInformationW( ...@@ -189,7 +189,7 @@ BOOL WINAPI WTSQuerySessionInformationW(
DWORD* BytesReturned) DWORD* BytesReturned)
{ {
/* FIXME: Forward request to winsta.dll::WinStationQueryInformationW */ /* FIXME: Forward request to winsta.dll::WinStationQueryInformationW */
FIXME("Stub %p 0x%08lx %d %p %p\n", hServer, SessionId, WTSInfoClass, FIXME("Stub %p 0x%08x %d %p %p\n", hServer, SessionId, WTSInfoClass,
Buffer, BytesReturned); Buffer, BytesReturned);
return FALSE; return FALSE;
...@@ -201,6 +201,6 @@ BOOL WINAPI WTSQuerySessionInformationW( ...@@ -201,6 +201,6 @@ BOOL WINAPI WTSQuerySessionInformationW(
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%08lx %p\n", hServer, Mask, Flags); FIXME("Stub %p 0x%08x %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