Reference

VariantInit(3w)

NAME

VariantInit (OLEAUT32.8)

SYNOPSIS

void VariantInit
(
VARIANTARG* pVarg
)

DESCRIPTION

Initialise a variant.

PARAMS

pVarg [Out] Variant to initialise.

RETURNS

Nothing.

NOTES

This function simply sets the type of the variant to VT_EMPTY. It does not free any existing value, use VariantClear(3w) for that.

IMPLEMENTATION

Declared in "oleauto.h".

Implemented in "dlls/oleaut32/variant.c".

Debug channel "variant".

History