Admin Production ni-theme
Current Publication

CA_VariantLong

LabWindows/CVI

CA_VariantLong

VARIANT CA_VariantLong (long longValue);

Purpose

Converts a long integer value into a variant that contains the long integer value.

Use CA_VariantLong to pass a long integer value as a VARIANT parameter.

Parameters

Input
Name Type Description
longValue long Value to store in the variant.

Return Value

Name Type Description
variant VARIANT Variant that contains the value in longValue.

Additional Information

Library: ActiveX Library

Include file: cviauto.h

LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later

Example

Refer to userint\activex\richTextbox.cws for an example of using the CA_VariantLong function.