IWSDiscoveryProvider::Detach (Compact 2013)
3/26/2014
This method detaches a callback interface from the discovery provider.
Syntax
HRESULT Detach();
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_ABORT |
A callback interface has not been attached. You must call IWSDiscoveryProvider::Attach before calling this method. |
Remarks
If a callback interface has been attached to a discovery provider via the Attach method, then Detach must be called before releasing the reference to the provider interface object.
Requirements
Header |
wsdapi.h |
Library |
wsdapi.lib |