Share this page

# lrc_variant_variant_by_ref

Create New Variants

Creates a new variant containing an existing variant.

    VARIANT lrc_variant_variant_by_ref( VARIANT * pVar );

pVar | a pointer to a variant

The lrc_variant_variant_by_ref function creates a new variant containing an existing variant.

## Return Values

lrc Return Values

## Parameterization

Parameterization is not applicable to this function.

## Example

This example creates a new variant containing an existing variant.

Copy code

    VARIANT var0 = lrc_variant_short("53");
    VARIANT var1 = lrc_variant_variant_by_ref(&var0);

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: