IUPnPServiceCallback::ServiceInstanceDied method (upnp.h)

The ServiceInstanceDied method is invoked when a service is no longer sending events.

Syntax

HRESULT ServiceInstanceDied(
  [in] IUPnPService *pus
);

Parameters

[in] pus

Reference to an IUPnPService object that specifies the service about which the UPnP framework is sending the notification.

Return value

The application should return S_OK.

Remarks

The UPnP framework invokes this method either when a service has notified the UPnP framework that it is no longer sending events or when the UPnP framework has failed to maintain its connection to a service.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header upnp.h
DLL Upnp.dll

See also

IUPnPService

IUPnPService::AddCallback

IUPnPServiceCallback