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.
Clears a PROPVARIANT structure.
Syntax
HRESULT PropVariantClear(
[in, out] PROPVARIANT *pvar
);
Parameters
[in, out] pvar
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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2003 with SP1 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | propidl.h |
| Library | Ole32.lib |
| DLL | Ole32.dll (version 6.0 or later) |
| Redistributable | Windows Desktop Search (WDS) 3.0 |