Admin Production ni-theme
Current Publication

CA_VariantBool

LabWindows/CVI

CA_VariantBool

VARIANT CA_VariantBool (VBOOL boolValue);

Purpose

Converts a VBOOL value into a variant that contains the VBOOL value.

Use CA_VariantBool to pass a VBOOL value as a variant parameter.

Parameters

Input
Name Type Description
boolValue VBOOL Value to store in the variant.

Return Value

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

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_VariantBool function.