Use this method to obtain a description of the supplied HRESULT code.
HRESULT GetStatusString(
[in] long hResult,
[out,retval] LPOLESTR *statusString
};
Where:
The HRESULT code value for which a description is required.
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().
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |