Lines Matching refs:prop
75 UString ConvertPropVariantToString(const PROPVARIANT &prop)
77 switch (prop.vt)
80 case VT_BSTR: return prop.bstrVal;
81 case VT_UI1: return ConvertUInt64ToString(prop.bVal);
82 case VT_UI2: return ConvertUInt64ToString(prop.uiVal);
83 case VT_UI4: return ConvertUInt64ToString(prop.ulVal);
84 case VT_UI8: return ConvertUInt64ToString(prop.uhVal.QuadPart);
85 case VT_FILETIME: return ConvertFileTimeToString(prop.filetime, true, true);
86 // case VT_I1: return ConvertInt64ToString(prop.cVal);
87 case VT_I2: return ConvertInt64ToString(prop.iVal);
88 case VT_I4: return ConvertInt64ToString(prop.lVal);
89 case VT_I8: return ConvertInt64ToString(prop.hVal.QuadPart);
90 case VT_BOOL: return VARIANT_BOOLToBool(prop.boolVal) ? L"+" : L"-";
95 UInt64 ConvertPropVariantToUInt64(const PROPVARIANT &prop)
97 switch (prop.vt)
99 case VT_UI1: return prop.bVal;
100 case VT_UI2: return prop.uiVal;
101 case VT_UI4: return prop.ulVal;
102 case VT_UI8: return (UInt64)prop.uhVal.QuadPart;