CA_VariantDispatch
VARIANT CA_VariantDispatch (LPDISPATCH dispatchValue);
Purpose
Converts an LPDISPATCH value into a variant that contains the LPDISPATCH value.
Use CA_VariantDispatch to pass an LPDISPATCH value as a variant parameter.
![]() |
Note The value stored in the variant parameter is a reference to the original value. Call CA_VariantClear to free the original value. |
Parameters
Input | ||
Name | Type | Description |
dispatchValue | LPDISPATCH | Value to store in the variant. |
Return Value
Name | Type | Description |
variant | VARIANT | Variant that contains the value in dispatchValue. |
Additional Information
Library: ActiveX Library
Include file: cviauto.h
LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later