IUPnPDescriptionDocumentCallback::LoadComplete

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

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 DeviceList element.
    UPNP_E_DEVICE_NODE_INCOMPLETE XML document is missing one of the required elements from the Device element.
    UPNP_E_ICON_ELEMENT_EXPECTED XML document does not have an icon element. It is missing from the IconList element, or the DeviceList element does not contain an IconList element.
    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 ServiceList element, or the DeviceList element does not contain a ServiceList element.
    UPNP_E_SERVICE_NODE_INCOMPLETE XML document is missing one of the required elements from the Service element.

Return Values

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

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Upnp.h.
Link Library: Uuid.lib.

See Also

IUPnPDescriptionDocument:IDispatch | IUPnPDescriptionDocument::LoadAsync

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.