Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This function sets one mailbox through the index to RX or TX mode

BOOL CANSetMode(HANDLE hCAN,DWORD index,CAN_MODE mode);

Parameters

HANDLE hCAN

HANDLE handle of the CAN Driver got from CANOpenHandle(LPCWSTR lpDevName);

DWORD index

index of mailbox (0..63)

CAN_MODE mode

mode CAN_RX or CAN_TX

Return Values

If this function succeeds, the returns TRUE
If the function fails, the return value is FALSE.

Remarks

Requirements

OS Versions: Windows CE 6RE3 and later.
canbus.h
Link Library: cansdk.lib

See Also

CANOpenHandle

  • No labels