mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 14:20:15 +00:00
Pretend there are 0 terminal server sessions and processes.
This commit is contained in:
parent
3ef45c7805
commit
caf62a40ff
1 changed files with 29 additions and 5 deletions
|
@ -61,7 +61,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%08lx %d\n", hServer, SessionId, bWait);
|
||||||
return FALSE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************
|
/************************************************************
|
||||||
|
@ -72,7 +72,13 @@ BOOL WINAPI WTSEnumerateProcessesA(HANDLE hServer, DWORD Reserved, DWORD Version
|
||||||
{
|
{
|
||||||
FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version,
|
FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version,
|
||||||
ppProcessInfo, pCount);
|
ppProcessInfo, pCount);
|
||||||
return FALSE;
|
|
||||||
|
if (!ppProcessInfo || !pCount) return FALSE;
|
||||||
|
|
||||||
|
*pCount = 0;
|
||||||
|
*ppProcessInfo = NULL;
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************
|
/************************************************************
|
||||||
|
@ -83,7 +89,13 @@ BOOL WINAPI WTSEnumerateProcessesW(HANDLE hServer, DWORD Reserved, DWORD Version
|
||||||
{
|
{
|
||||||
FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version,
|
FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version,
|
||||||
ppProcessInfo, pCount);
|
ppProcessInfo, pCount);
|
||||||
return FALSE;
|
|
||||||
|
if (!ppProcessInfo || !pCount) return FALSE;
|
||||||
|
|
||||||
|
*pCount = 0;
|
||||||
|
*ppProcessInfo = NULL;
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************
|
/************************************************************
|
||||||
|
@ -94,7 +106,13 @@ BOOL WINAPI WTSEnumerateSessionsA(HANDLE hServer, DWORD Reserved, DWORD Version,
|
||||||
{
|
{
|
||||||
FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version,
|
FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version,
|
||||||
ppSessionInfo, pCount);
|
ppSessionInfo, pCount);
|
||||||
return FALSE;
|
|
||||||
|
if (!ppSessionInfo || !pCount) return FALSE;
|
||||||
|
|
||||||
|
*pCount = 0;
|
||||||
|
*ppSessionInfo = NULL;
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************
|
/************************************************************
|
||||||
|
@ -105,7 +123,13 @@ BOOL WINAPI WTSEnumerateSessionsW(HANDLE hServer, DWORD Reserved, DWORD Version,
|
||||||
{
|
{
|
||||||
FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version,
|
FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version,
|
||||||
ppSessionInfo, pCount);
|
ppSessionInfo, pCount);
|
||||||
return FALSE;
|
|
||||||
|
if (!ppSessionInfo || !pCount) return FALSE;
|
||||||
|
|
||||||
|
*pCount = 0;
|
||||||
|
*ppSessionInfo = NULL;
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************
|
/************************************************************
|
||||||
|
|
Loading…
Reference in a new issue