IWSDDeviceHost::Terminate (Compact 2013)
3/26/2014
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 |