Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The PropVariantInit function initializes a PROPVARIANT structure.
Syntax
void PropVariantInit(
[out] pvar
);
Parameters
[out] pvar
Pointer to an uninitialized PROPVARIANT structure that is initialized.
Return value
None
Remarks
Initializes a PROPVARIANT structure, and sets its type to VT_EMPTY. PropVariantInit should 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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | propidl.h |