Partager via


IWSDiscoveryProviderNotify::Remove (Compact 2013)

3/26/2014

This method provides information on a recently departed discovery host (from a Bye message).

Syntax

HRESULT Remove(
  IWSDiscoveredService* pService
);

Parameters

  • pService
    [in] A pointer to an IWSDiscoveredService interface that represents a remote discovery host.

Return Value

The following table shows the possible error code return values.

Error code

Description

S_OK

The return value of this method is not meaningful. An implementer should return S_OK.

Remarks

Remove will be called once per announcement of a departing discovery host.

Note

Multiple simultaneous calls may be made to Remove by the provider, so it is essential that shared data be synchronized when implementing this callback routine.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

IWSDiscoveryProviderNotify
Web Services on Devices Interfaces