BM_SetBuffer
函数名、签名、参数与返回值和 BMAPI SDK 保持一致,可直接用于开发、检索与代码审查。
Set device internal buffer target when calling BM_Read and BM_Write to tranfer messages. For example, you might want to this API to switch to the device’s internal REPLAYQ buffer for hardware replay purpose.
BMAPI BM_StatusTypeDef BM_SetBuffer (BM_DeviceHandle device, BM_BufferTypeDef type, BM_BufferId id)Parameters
Section titled “Parameters”| Direction | Name | Description |
|---|---|---|
| [in] | handle |
Handle to the device to operate on. |
| [out] | type |
Current can buffer read and write, see BM_BufferTypeDef for details. |
| [out] | bufferid |
Current can buffer cache area, see BM_BufferId for details. |
Returns
Section titled “Returns”Current status code, see BM_StatusTypeDef for details.
This reference follows the current BUSMUST BMAPI SDK. For an installed package, its bundled header and help files define the exact version-specific contract.