IWSDiscoveredService::GetProbeResolveTag (Windows Embedded CE 6.0)
1/6/2010
This method retrieves the search tag corresponding to this discovered service object.
Syntax
HRESULT GetProbeResolveTag(
LPCWSTR* ppszTag
);
Parameters
- ppszTag
[out] Search tag passed to the IWSDiscoveryProvider search method that this IWSDiscoveredService object corresponds to. If the IWSDiscoveredService is the result of a Hello message, the tag is NULL. Do not deallocate the output string.
Return Value
The following table shows the possible error code return values.
Error code | Description |
---|---|
S_OK |
This method completed successfully. |
E_POINTER |
ppszTag is NULL. |
Remarks
The resulting pointer value is only valid for the lifetime of the IWSDiscoveredService object.
Requirements
Header | wsdapi.h |
Library | wsdapi.lib |
Windows Embedded CE | Windows Embedded CE 6.0 R2 |