IUPnPDescriptionDocument::get_LoadResult method (upnp.h)

The LoadResult property specifies the success or failure code of a completed load operation.

Syntax

HRESULT get_LoadResult(
  [out] long *phrError
);

Parameters

[out] phrError

Receives a reference to the success or failure code. The values this parameter can receive are:

phrError Value Meaning
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

For C++: If this property's "get" method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in WinError.h.

Remarks

This property specifies the error that the IUPnPDescriptionDocument::Load or IUPnPDescriptionDocument::LoadAsync method generates. This property is useful when it is necessary to separate the load operation from the error checking.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header upnp.h
DLL Upnp.dll

See also

IUPnPDescriptionDocument

IUPnPDescriptionDocument::Load

IUPnPDescriptionDocument::LoadAsync