Share via


IWSDDeviceHost::Terminate (Windows Embedded CE 6.0)

1/6/2010

This method terminates the host and releases any attached services. If a notification sink was passed to the IWSDDeviceHost::Start method, then the notification sink is released.

Syntax

HRESULT Terminate();

Parameters

This method has no parameters.

Return Value

The following table shows the possible error code return values.

Error code Description

S_OK

This method completed successfully.

E_FAIL

The host is uninitialized or the host has already been terminated.

Remarks

Services and notification sinks will not receive messages after the Terminate method has completed.

Requirements

Header wsdapi.h
Library wsdapi.lib
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

IWSDDeviceHost
Web Services on Devices Interfaces