PropVariantToStringWithDefault function propsys
Extracts the string property value of a PROPVARIANT structure.
If no value exists, then the specified default value is returned.
To learn more, see learn.microsoft.com/windows/win32/api/propvarutil/nf-propvarutil-propvarianttostringwithdefault.
Implementation
@pragma('vm:prefer-inline')
PCWSTR PropVariantToStringWithDefault(
Pointer<PROPVARIANT> propvarIn,
PCWSTR? pszDefault,
) => PCWSTR(_PropVariantToStringWithDefault(propvarIn, pszDefault ?? nullptr));