IUPnPDescriptionDocumentCallback::LoadComplete (Windows Embedded CE 6.0)
1/6/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 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 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 |
See Also
Reference
IUPnPDescriptionDocumentCallback
IUPnPDescriptionDocument
IUPnPDescriptionDocument::LoadAsync