IUPnPEventSource::Unadvise
This method is invoked by the device host to inform the hosted service that it no longer wants to receive events. The device host passes in the same object pointer that it passed in through a call to the IUPnPEventSource::Advise method, thereby causing the hosted service to release the reference.
HRESULT Unadvise(
IUnknown* punkSubscriber
);
Parameters
- punkSubscriber
[in] Pointer to the device host's IUnknown interface. This is the same object pointer that was passed in through a call to the IUPnPEventSource::Advise method.
Return Values
If the method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes that are defined in Winerror.h.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Upnphost.h.
Link Library: Uuid.lib.
See Also
IUPnPEventSink | IUPnPEventSource::Advise
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.