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 sends a WS-Discovery Bye message and stops the host.
Syntax
HRESULT Stop();
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. |
S_FALSE |
The host has already stopped. |
E_FAIL |
The host is not initialized or the host is not started. |
Remarks
When a device host is stopped using this method, all services remain attached but no inbound messages are processed or otherwise handled.
Requirements
| Header | wsdapi.h |
| Library | wsdapi.lib |
| Windows Embedded CE | Windows Embedded CE 6.0 R2 |