|
PropVariantInit |
|
Description
The PropVariantInit function initializes a PROPVARIANT structure.
Note This function is implemented as a macro, available by including the provided ole2.h header file. This function is not exported from any system-provided DLL.
Note It is not needed with PowerBASIC, that automatically initializes structures, or you can use: ZeroMemory(BYVAL VARPTR(pvar), SIZEOF(PROPVARIANT))
C++ Syntax
Parameters
pvar [out] Pointer to an uninitialized PROPVARIANT structure that is initialized.
Return Values
None
Remarks
Initializes a PROPVARIANT structure, and sets its type to VT_EMPTY. PropVariantInit should be not be used to clear a PROPVARIANT structure that contains data; for example, when it contains the result of a call to IPropertyStorage.ReadMultiple. Such a PROPVARIANT structure should be cleared using the PropVariantClear function.
|
