LabWindows/CVI

Table of Contents
  • LabWindows/CVI Fundamentals
  • Creating Applications
  • Distributing Applications
  • Library Reference
  • Programmer Reference
  • Hardware Information

CA_GetAutomationErrorString

void CA_GetAutomationErrorString (HRESULT errorCode, char buffer[], size_t bufferSize);

Purpose

Converts an error code number into a meaningful error string.

Parameters

Input
Name Type Description
errorCode HRESULT Error code an ActiveX server function or an ActiveX Library function returns.
bufferSize size_t Number of bytes in buffer.
Output
Name Type Description
buffer char [] Buffer into which CA_GetAutomationErrorString copies the error string.

If buffer cannot hold the entire error string, CA_GetAutomationErrorString copies (bufferSize — 1) bytes into buffer, appended by the ASCII NUL byte.

Return Value

None.

Additional Information

Library: ActiveX Library

Include file: cviauto.h

LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later

Log in to get a better experience