IWSDiscoveryPublisher::GetXMLContext (Windows Embedded CE 6.0)

1/6/2010

This method gets the XML context associated with the device.

Syntax

HRESULT GetXMLContext(
  IWSDXMLContext** ppContext
);

Parameters

  • ppContext
    [out] Pointer to a pointer variable containing the XML context.

Return Value

The following table shows the possible error code return values.

Error code Description

S_OK

This method completed successfully.

E_INVALIDARG

ppContext is NULL.

E_ABORT

The publisher has not been started. Attaching a notification sink starts the publisher. To attach a sink, call IWSDiscoveryPublisher::RegisterNotificationSink.

Remarks

This method returns an optional context for the XML state of the transaction. If the service layer is used then this should be the context the XML namespaces and types were registered with.

Requirements

Header wsdapi.h
Library wsdapi.lib
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

IWSDiscoveryPublisher
Web Services on Devices Interfaces