Partager via


IWSDiscoveredService::GetProbeResolveTag (Compact 2013)

3/26/2014

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

See Also

Reference

IWSDiscoveredService
Web Services on Devices Interfaces