rpcrt4: Implement RpcMgmtIsServerListening.

This commit is contained in:
Hans Leidekker 2012-11-12 11:46:53 +01:00 committed by Alexandre Julliard
parent e6738c2085
commit a5750a1fdf
1 changed files with 8 additions and 2 deletions

View File

@ -1663,8 +1663,14 @@ RPC_STATUS WINAPI RpcMgmtEpEltInqBegin(RPC_BINDING_HANDLE Binding, ULONG Inquiry
*/
RPC_STATUS WINAPI RpcMgmtIsServerListening(RPC_BINDING_HANDLE Binding)
{
FIXME("(%p): stub\n", Binding);
return RPC_S_INVALID_BINDING;
RPC_STATUS status = RPC_S_NOT_LISTENING;
TRACE("(%p)\n", Binding);
EnterCriticalSection(&listen_cs);
if (manual_listen_count > 0) status = RPC_S_OK;
LeaveCriticalSection(&listen_cs);
return status;
}
/***********************************************************************