Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PropVariantInit function

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.
 

Syntax


void PropVariantInit(
  _Out_ PROPVARIANT *pvar
);

Parameters

pvar [out]

Pointer to an uninitialized PROPVARIANT structure that is initialized.

Return value

This function does not return a value.

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

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

PropIdl.h

See also

PROPVARIANT
PropVariantClear

 

 

Community Additions

Show:
© 2016 Microsoft