| Previous | Next |
| PEER_S_ALREADY_A_MEMBER | PEER_S_SUBSCRIPTION_EXISTS |
PEER_S_ALREADY_CONNECTED
Peer graph is already connected
PEER_S_ALREADY_CONNECTED is HRESULT 6496256 (0x00632000) from winerror.h. The documented description is “The graph is already connect.” In the Windows Peer-to-Peer graph, group, event, connection, or subscription state, the value reports a nonfailure state that must not be collapsed into plain S_OK.
Accepting this result requires proving the documented state rather than checking only SUCCEEDED(hr).
Where the status is encountered
- Peer Graphing data-store creation and connection; capture the exact API, object, and phase because the same numeric success severity does not define the state by itself.
- Peer group membership and event processing;
- Record subscriptions and offline synchronization;
What must be true before accepting it
Verify that the existing connection is healthy and matches the requested graph and scope. The boundary determines whether the caller continues, waits, falls back, or ends the operation.
Difference from nearby results
PEER_S_ALREADY_A_MEMBER says enrollment exists; this status says the runtime connection is active.
Correct handling and recovery
Reuse it, register needed events, and avoid duplicate connect attempts. Diagnose separately when the connection is stale despite the state.
Practical scenario
A component restarts its UI while the graph connection remains alive. It attaches listeners to the existing connection rather than reconnecting.
References
Looking for a different code? Search another status or error code.
