The information in this article applies to:
A variant must be initialized using VariantInit after creation and before it is passed to a function. A variant with a valid value must be cleared using VariantClear before a new value is assigned to it. A variant must be passed to or from a function in a valid state and the contents of the variant must be correctly freed. This requires that the following be done:
Passing an uninitialized variant to a function is a common error. This may cause problems when the VariantClear call in the function tries to free the contents of the uninitialized variant based on the undefined value of the vt field. Additional query words: 2.00 2.01 3.50 4.00
Keywords : kbole kbprg kbNTOS350 kbNTOS351 kbNTOS400 kbWinOS2000 kbWinOS95 kbGrpCom kbDSupport LeTwoAto kbwebcontent |
Last Reviewed: October 26, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |