...
If this function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE. Additional error-information is availlable through CanGetLastError
Driver Status:
Code | Error | Description |
---|---|---|
0x40070020 | CAN_E_RWARNING | 96 ⇐ REC < 128 |
0x40070021 | CAN_E_RPASSIVE | REC >= 128 |
0x40070022 | CAN_E_TWARNING | TEC < 128 |
0x40070023 | CAN_E_TPASSIVE | TEC >= 128 |
0x40070025 | CAN_E_BUSOFF | Bus Off |
0x40070041 | CAN_DRV_E_TX_TIMEOUT | TX-Timeout |
...
OS Versions: Windows CE 4.2 and later.
Header: gfcan32ce.h
Link Library: singlecan.lib (one sja1000-controller), dualcan.lib (two or more sja1000-controller)