IRpcChannelBuffer::IsConnected method (objidl.h)

Determines whether the RPC channel is connected.

Syntax

HRESULT IsConnected();

Return value

If the RPC channel knows that the server object has been disconnected, the return value is S_FALSE. Otherwise, it is S_OK.

Remarks

Channel implementations typically report server connectedness based on their local state and are not expected to test transport-level connections or make any calls to the server to prove connectedness. It is possible for this method to return S_OK even when the server object has been disconnected.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header objidl.h (include ObjIdl.h)

See also

IRpcChannelBuffer