Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides information on a recently departed discovery host (from a Bye message).
Syntax
HRESULT Remove(
[in] IWSDiscoveredService *pService
);
Parameters
[in] pService
A pointer to an IWSDiscoveredService interface that represents a remote discovery host.
Return value
The return value 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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | wsddisco.h (include Wsdapi.h) |
| DLL | Wsdapi.dll |