Share via


IWSDiscoveredService::GetTypes (Compact 2013)

3/26/2014

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

See Also

Reference

IWSDiscoveredService
Web Services on Devices Interfaces