Share via


IWSDiscoveredService::GetTypes (Windows Embedded CE 6.0)

1/6/2010

This method retrieves a list of WS-Discovery Types.

Syntax

HRESULT GetTypes(
  WSD_NAME_LIST** ppTypesList
);

Parameters

  • ppTypesList
    [in] List of WS-Discovery Types provided in the Hello, ProbeMatch, or ResolveMatch message sent by the remote device. For details, see WSD_NAME_LIST. Do not deallocate the output structure.

Return Value

The following table shows the possible error code return values.

Error code Description

S_OK

This method completed successfully.

E_POINTER

ppTypesList 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

See Also

Reference

IWSDiscoveredService
Web Services on Devices Interfaces