VariantInit

pvarg)
VARIANTARG FAR* pvarg

Initializes a variant.

Parameter

pvarg

Pointer to the VARIANTARG to initialize.

Comments

The VariantInit function initializes the VARIANTARG by setting the vt field to VT_EMPTY and the wReserved field to 0. Unlike VariantClear, this function does not interpret the current contents of the VARIANTARG. VariantInit should be used to initialize new local variables of type VARIANTARG (or VARIANT).

Example

for(i = 0; i < celt; ++i)

VariantInit(&rgvar[i]);

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database