Partager via


IWSDServiceProxy::GetServiceMetadata (Compact 2013)

3/26/2014

This method retrieves the metadata for the IWSDServiceProxy object.

Syntax

HRESULT GetServiceMetadata(
  WSD_SERVICE_METADATA** ppServiceMetadata
);

Parameters

  • ppServiceMetadata
    [out] Reference to a WSD_SERVICE_METADATA structure that specifies service metadata. Do not release this object.

Return Value

The following table shows the possible error code return values.

Error code

Description

S_OK

This method completed successfully.

E_POINTER

ppServiceMetadata is NULL.

Remarks

This metadata is also available as part of the metadata produced by IWSDDeviceProxy::GetHostMetadata.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

IWSDServiceProxy
Web Services on Devices Interfaces