13.07.2015 Views

VCI - Virtual CAN Interface - Ixxat

VCI - Virtual CAN Interface - Ixxat

VCI - Virtual CAN Interface - Ixxat

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Interface</strong> descriptionReturn value:If run successfully, the function returns the value <strong>VCI</strong>_OK, otherwise an errorcode not equal to <strong>VCI</strong>_OK. Further information on the error code is providedby the function vciFormatError.Comments:The function can be called at the beginning of a program to check whetherthe current <strong>VCI</strong> of the application is sufficient.To get the complete <strong>VCI</strong> version number A.B.C.D please read the Version-Resource of the vciapi.dll. ( Windows API: GetVersionInfo )4.1.5 vciLuidToCharThe function converts a locally unique ID (<strong>VCI</strong>ID) to a character string. The completesyntax of the function is:HRESULT <strong>VCI</strong>API vciLuidToChar (REF<strong>VCI</strong>ID rVciidPCHAR pszLuidLONG cbSize );rVciid[in] Reference to the locally unique <strong>VCI</strong> ID to be converted into a characterstring.Parameters:pszLuid[out] Pointer to a buffer for the 0-terminated character string. If runsuccessfully, the function saves the converted <strong>VCI</strong> ID in the memory areaspecified here. The buffer must provide space for at least 17 charactersincluding the final 0-character.cbSize[in] Size of the buffer specified in pszLuid in bytes.38Copyright IXXAT Automation GmbH C-API Programming Manual, Version 1.5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!