Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method is invoked when UPnP has finished loading a device description.

Syntax

HRESULT LoadComplete(
  HRESULT 
hrLoadResult
);

Parameters

hrLoadResult

[in] Specifies the load operation UPnP has completed. The following is a list of possible return values for hrLoadResult.

UPnP-specific Return value Description

UPNP_E_DEVICE_ELEMENT_EXPECTED

XML document does not have a device element. It is missing either from the root element or the DeviceListelement.

UPNP_E_DEVICE_NODE_INCOMPLETE

XML document is missing one of the required elements from the Deviceelement.

UPNP_E_ICON_ELEMENT_EXPECTED

XML document does not have an icon element. It is missing from the IconListelement, or the DeviceListelement does not contain an IconListelement.

UPNP_E_ICON_NODE_INCOMPLETE

XML document is missing one of the required elements from the Icon element.

UPNP_E_ROOT_ELEMENT_EXPECTED

XML document does not have a root element at the top level of the document.

UPNP_E_SERVICE_ELEMENT_EXPECTED

XML document does not have a service element. It is missing from the ServiceListelement, or the DeviceListelement does not contain a ServiceListelement.

UPNP_E_SERVICE_NODE_INCOMPLETE

XML document is missing one of the required elements from the Service element.

Return Value

UPnP does not expect the application to return a specific value. UPnP ignores any value returned.

Requirements

Header upnp.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also