LabWindows/CVI

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

CA_VariantHasLong

HRESULT CA_VariantHasLong (const VARIANT *variant);

Purpose

Determines whether a variant contains a long integer value.

Parameters

Input
Name Type Description
variant const VARIANT * Pointer to the variant variable to inspect.

Return Value

Name Type Description
result HRESULT 1 if variant contains a long integer value.

0 if variant does not contain a long integer value.

< 0 if variant is invalid.

Negative error codes indicate function failure.

Refer to <Program Files>\National Instruments\Shared\MSDTRedistributables\SDKHeaderFiles\8.1\winerror.h for Windows SDK error codes.

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