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.
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 |