IUPnPEventSource::Unadvise method (upnphost.h)
The Unadvise method is invoked by the device host to stop receiving events. The device host passes in the same pointer that it did when it invoked the IUPnPEventSource::Advise method.
After this method is invoked, the hosted service releases the reference to the event sink that it held.
HRESULT Unadvise( [in] IUPnPEventSink *pesSubscriber );
When implementing this method, return S_OK if the method succeeds. Otherwise, return one of the COM error codes defined in WinError.h.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||None supported|