Ready for review
CanReadDescriptor
The function CanReadDescriptor reads the current acceptance-code from the SJA1000-controller.
BOOL CanReadDescriptor(ULONG place, ULONG *descr);
BOOL DCanReadDescriptor(int devno,ULONG place, ULONG *descr);
Parameters
devno
Index of SJA1000-controller to use (starting with 0).
place
0, ignore.
descr
Pointer to a 32bit integer receiving the acceptance-code read from the controller.
Return Values
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
Remarks
Requirements
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)
See Also