WinRTPropertyValueToPropVariant function
Copies the content from a Windows runtime property value to a PROPVARIANT structure.
Syntax
HRESULT WinRTPropertyValueToPropVariant( _In_opt_ IUnknown *propertyValue, _Out_ PROPVARIANT *convertedValue );
Parameters
- propertyValue [in, optional]
-
A pointer to the IUnknown interface from which this function can access the contents of a Windows runtime property value by retrieving and using the Windows::Foundation::IPropertyValue interface.
- convertedValue [out]
-
Pointer to a PROPVARIANT structure. When this function returns, the PROPVARIANT contains the converted info.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also