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> description4.1.3 vciDisplayErrorThe function displays a message window on the screen in accordance with thespecified error code. The complete syntax of the function is:void <strong>VCI</strong>API vciDisplayError (HWND hwndParent,PCHAR pszCaption,HRESULT hrError);Parameters:hwndParent[in] Handle of the higher order window. If the value ZERO is specified here,the message window has no higher order window.pszCaption[in] Pointer to a 0-terminated character string with the text for the tile lineof the message window. If the value ZERO is specified here, a pre-definedtitle line text is displayed.hrError[in] Error code for which the message is to be displayed.Return value:The function has no return value.Comments:If the value –1 is given in the parameter hrError, the function determines thelast error code that occurred with the API function GetLastError and displays acorresponding message window. If the value 0 is given in the parameter hrError,no message window is displayed.4.1.4 vciGetVersionThe function determines the version of the installed <strong>VCI</strong>. The complete syntax ofthe function is:HRESULT <strong>VCI</strong>API vciGetVersion (PUINT32 pdwMajorVersion,PUINT32 pdwMinorVersion );pdwMajorVersion[out] Address of a variable of type UINT32. If run successfully, the functionreturns the major version number of the <strong>VCI</strong> in this variable.Parameters:pdwMinorVersion[out] Address of a variable of type UINT32. If run successfully, the functionreturns the minor version number of the <strong>VCI</strong> in this variable.37Copyright 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!