IWSDServiceProxy::GetServiceMetadata method (wsdclient.h)

Retrieves the metadata for the IWSDServiceProxy object.

Syntax

HRESULT GetServiceMetadata(
  [out] WSD_SERVICE_METADATA **ppServiceMetadata
);

Parameters

[out] ppServiceMetadata

Reference to a WSD_SERVICE_METADATA structure that specifies service metadata. Do not release this object.

Return value

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

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

Remarks

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

Requirements

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

See also

IWSDServiceProxy