IWSDiscoveredService::GetProbeResolveTag method (wsddisco.h)

Retrieves the search tag corresponding to this discovered service object.

Syntax

HRESULT GetProbeResolveTag(
  [out] LPCWSTR *ppszTag
);

Parameters

[out] ppszTag

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

This method can return one of these values.

Possible return values include, but are not limited to, the following.

Return code Description
S_OK
Method completed successfully.
E_POINTER
ppszTag is NULL.

Remarks

The resulting pointer value is only valid for the lifetime of the IWSDiscoveredService object.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wsddisco.h (include Wsdapi.h)
DLL Wsdapi.dll

See also

IWSDiscoveredService