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 returns the success or failure code of a completed load operation.

Syntax

HRESULT get_LoadResult(
  long* 
phrError
);

Parameters

phrError

[out] Receives a reference to the success or failure code. The values this parameter can receive are as follows.

phrError Value Description

E_FAIL

The load operation failed.

E_PENDING

The load operation is not yet completed.

E_UNEXPECTED

An unexpected error occurred during the load operation.

S_OK

The load operation succeeded.

Return Value

S_OK

This method was successful.

Otherwise, the method returns one of the COM error codes defined in WinError.h.

Remarks

This method returns to the caller the error that the IUPnPDescriptionDocument::Loador IUPnPDescriptionDocument::LoadAsyncmethod does. This method can be used when it is necessary to separate the load operation from the error checking.

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