• Ready for review
  • CANOpenHandle

    This function opens a Handle to access the CANBUS driver

    HANDLE CANOpenHandle(LPCWSTR lpDevName);

    Parameters

    lpDevName

    LPCWSTR Identifier of the CAN Driver e.g. TEXT("CAN1:") or TEXT("CAN2:")

    Return Values

    If this function succeeds, the return value is a valid HANDLE.
    If the function fails, the return value is INVALID_HANDLE_VALUE .

    Remarks

    Requirements

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

    See Also

    CANCloseHandle