Previous Topic: Method ImportObjectAsyncNext Topic: Interface IWgnImportConnectorResult


Method GetStatusString

Use this method to obtain a description of the supplied HRESULT code.

HRESULT GetStatusString(
    [in]          long         hResult,
    [out,retval]  LPOLESTR    *statusString
    };
Where:
hResult

The HRESULT code value for which a description is required.

statusString

A pointer to an LPOLESTR string that will retrieve the description of the HRESULT code. The caller is responsible for freeing this string following a successful call by using CoTaskMemFree().