| Previous | Next |
| PEER_S_ALREADY_CONNECTED | STATEREPOSITORY_TRANSACTION_CALLER_ID_CHANGED |
PEER_S_SUBSCRIPTION_EXISTS
Peer subscription already exists
PEER_S_SUBSCRIPTION_EXISTS is HRESULT 6512640 (0x00636000) from winerror.h. The documented description is “The subscription already exists.” 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.
Wrappers should not translate this result to an undifferentiated Boolean before state handling finishes.
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 subscription covers the same record type, creator, expiration, and callback requirements. That proof prevents usable partial state from being confused with full completion.
Correct handling and recovery
Reuse or update the subscription deliberately. Do not create duplicates that deliver the same records multiple times.
Difference from nearby results
Already-connected is transport state; this status concerns an existing data subscription.
Precise classification of it selects the correct wait, stop, retry, cleanup, or disclosure path.
Practical scenario
A sync module registers the same record-type subscription after restart. It finds the durable subscription and refreshes only its expiration.
References
Looking for a different code? Search another status or error code.
