BM_GetErrorText
函数名、签名、参数与返回值和 BMAPI SDK 保持一致,可直接用于开发、检索与代码审查。
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.