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.

PropVariantClear function

Clears a PROPVARIANT structure.

Syntax


HRESULT PropVariantClear(
  _Inout_ PROPVARIANT *pvar
);

Parameters

pvar [in, out]

Type: PROPVARIANT*

Pointer to the PROPVARIANT structure to clear. When this function successfully returns, the PROPVARIANT is zeroed and the type is set to VT_EMPTY.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Propidl.h

Library

Ole32.lib

DLL

Ole32.dll (version 6.0 or later)

 

 

Show:
© 2017 Microsoft