Calls PropVariantClear on each of the PROPVARIANTs in the rgvar array to zero the value of each of the members of the array.
HRESULT FreePropVariantArray(
ULONG cVariant, |
//Count of elements in the structure |
PROPVARIANT* rgvar[] |
//Pointer to the PROPVARIANT structure |
); |
Parameters
Return Values
Remarks
FreePropVariantArray calls PropVariantClear on an array of PROPVARIANTs to clear all the valid members. All valid PROPVARIANTS are freed. If any of the PROPVARIANTs contain illegal VT-types, valid members are freed and the function returns STG_E_INVALIDPARAMETER.
Passing NULL for rgvar is legal, and produces a return code of S_OK.
See Also