IPublishSubscribeMgr::Unsubscribe (Windows CE 5.0)
This method terminates a subscriber's connection to a publisher.
HRESULT Unsubscribe(GUID cookieID);
Parameters
- cookieID
[in] Cookie returned by the IPublishSubscribeMgr::Subscribe method.
Return Values
The following table shows the return values for this method.
Value | Description |
---|---|
S_OK | The call was successfully completed. |
E_INVALIDARG | The cookieID parameter is invalid. |
E_FAIL | Unable to complete the call. |
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: CEPubSub.h (for development workstation), CEPubSubPS.h (for target device), CePubSub.idl.
Link Library: Rts.lib (for development workstation), PSPubSubCE.lib (for target device)
See Also
IPublishSubscribeMgr::Subscribe
Send Feedback on this topic to the authors