Name
GetErrorText
Description
HRESULT
GetErrorText([in] ULONGLONG err,
[in] BSTR locale,
[out,retval] BSTR* errorString);
Returns a human-readable string that describes the error.
Parameters
- err
-
A Vix error code returned by any other Vix function.
- locale
-
Must be NULL (C++), null (C#), or Empty (VB).
- errorString
-
Receives the human-readable error description.
Return Value
HRESULT
Remarks
- This translates an error code, which is an enumerated type, to a
user-readable string.
- The locale is not used, and must be NULL (C++), null (C#), or Empty (VB).
Only U.S. English is supported in this release.
Requirements
VixCOM.h, since VMware Workstation 6.0.