BM_GetErrorText
Translate error code to string, this is a helper function to ease application programming.
BMAPI void BM_GetErrorText (BM_StatusTypeDef errorcode, char *buffer, int nbytes, uint16_t language)Parameters
Section titled “Parameters”| Direction | Name | Description |
|---|---|---|
| [in] | errorcode |
The errorcode to be translated. |
| [out] | buffer |
A caller-allocated string buffer to hold the translated string. |
| [in] | nbytes |
Number in bytes of the string buffer. |
| [in] | language |
Reserved, only English is supported currently. |
This reference follows the current BUSMUST BMAPI SDK. For an installed package, its bundled header and help files define the exact version-specific contract.