IUPnPEventSource::Advise method (upnphost.h)
The Advise method is invoked by the device host to begin receiving events from the hosted service. The device host passes a pointer to its IUnknown interface. The hosted service must query this IUnknown interface for the IUPnPEventSink interface the service must use to send event notifications.
HRESULT Advise( IUPnPEventSink *pesSubscriber );
Pointer to the device host's IUPnPEventSink interface.
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|