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> descriptionpszGuid[out] Pointer to the buffer for the 0-terminated character string. If runsuccessfully, the function saves the converted GUID in the specified memoryarea. The buffer must have space for at least 39 characters including thefinal 0-character.cbSize[in] Size of the in pszGuid specified buffer in Bytes.Return value:If run successfully, the function returns the value <strong>VCI</strong>_OK, otherwise one of thefollowing error codes:<strong>VCI</strong>_E_INVALIDARG<strong>VCI</strong>_E_BUFFER_OVERFLOWThe parameter pszLuid points to an invalid bufferThe buffer specified in pszLuid is not large enough for thecharacter string.4.1.8 vciCharToGuidThe function converts a 0-terminated character string into a globally unique ID(GUID). The complete syntax of the function is:HRESULT <strong>VCI</strong>API vciCharToGuid (PCHAR pszGuidPGUID pGuid );Parameters:pszGuid[in] Pointer to the 0-terminated character string to be converted.pGuid[out] Address of a variable of type GUID. If run successfully, the functionreturns the converted ID in this variable.Return value:If run successfully, the function returns the value <strong>VCI</strong>_OK, otherwise one ofthe following error codes:<strong>VCI</strong>_E_INVALIDARG<strong>VCI</strong>_E_FAILParameter pszGuid or pGuid points to an invalid buffer.The character string specified in pszGuid could not be convertedinto a valid ID.40Copyright 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!