Поделиться через


IUPnPEventSource::Advise (Windows CE 5.0)

Send Feedback

This method is invoked by the device host to set up an association to receive events from the hosted service. The device host passes in a pointer to its IUnknown interface, prompting the hosted service to query for the IUPnPEventSink interface.

HRESULT Advise(IUnknown* punkSubscriber);

Parameters

  • punkSubscriber
    [in] Pointer to the device host's IUnknown interface that the hosted service will query for the IUPnPEventSink interface.

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.