WSD_SERVICE_METADATA structure (wsdtypes.h)

Provides metadata regarding a service hosted by a device.

Syntax

typedef struct _WSD_SERVICE_METADATA {
  WSD_ENDPOINT_REFERENCE_LIST *EndpointReference;
  WSD_NAME_LIST               *Types;
  const WCHAR                 *ServiceId;
  WSDXML_ELEMENT              *Any;
} WSD_SERVICE_METADATA;

Members

EndpointReference

Reference to a WSD_ENDPOINT_REFERENCE_LIST structure that specifies the endpoints at which the service is available.

Types

Reference to a WSD_NAME_LIST structure that contains a list of WS-Discovery Types.

ServiceId

The URI of the service. This URI must be valid when a WSD_SERVICE_METADATA structure is passed to IWSDDeviceHost::SetMetadata. Applications are responsible for URI validation.

Any

Reference to a WSDXML_ELEMENT structure that specifies extension content allowed by the XML ANY keyword.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header wsdtypes.h (include Wsdapi.h)