CA_VariantIUnknown
- Updated2023-02-21
- 1 minute(s) read
VARIANT CA_VariantIUnknown (LPUNKNOWN IUnknownValue);
Purpose
Converts an LPUNKNOWN value to a variant that contains the LPUNKNOWN value.
Use CA_VariantIUnknown to pass an LPUNKNOWN 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 |
IUnknownValue | LPUNKNOWN | Value to store in the variant. |
Return Value
Name | Type | Description |
variant | VARIANT | Variant that contains the value in IUnknownValue. |
Additional Information
Library: ActiveX Library
Include file: cviauto.h
LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later