• Home
  • Raw
  • Download

Lines Matching refs:prop

233   NCOM::CPropVariant prop;  in GetCoderClass()  local
235 RINOK(getMethodProperty(index, propId, &prop)); in GetCoderClass()
236 if (prop.vt == VT_BSTR) in GetCoderClass()
238 if (::SysStringByteLen(prop.bstrVal) != sizeof(GUID)) in GetCoderClass()
241 clsId = *(const GUID *)prop.bstrVal; in GetCoderClass()
243 else if (prop.vt != VT_EMPTY) in GetCoderClass()
298 UInt32 index, PROPID propID, NCOM::CPropVariant &prop) in GetProp() argument
301 return getProp2(index, propID, &prop);; in GetProp()
302 return getProp(propID, &prop); in GetProp()
311 NCOM::CPropVariant prop; in GetProp_Bool() local
312 RINOK(GetProp(getProp, getProp2, index, propID, prop)); in GetProp_Bool()
313 if (prop.vt == VT_BOOL) in GetProp_Bool()
314 res = VARIANT_BOOLToBool(prop.boolVal); in GetProp_Bool()
315 else if (prop.vt != VT_EMPTY) in GetProp_Bool()
327 NCOM::CPropVariant prop; in GetProp_UInt32() local
328 RINOK(GetProp(getProp, getProp2, index, propID, prop)); in GetProp_UInt32()
329 if (prop.vt == VT_UI4) in GetProp_UInt32()
331 res = prop.ulVal; in GetProp_UInt32()
334 else if (prop.vt != VT_EMPTY) in GetProp_UInt32()
345 NCOM::CPropVariant prop; in GetProp_String() local
346 RINOK(GetProp(getProp, getProp2, index, propID, prop)); in GetProp_String()
347 if (prop.vt == VT_BSTR) in GetProp_String()
348 res.SetFromBstr(prop.bstrVal); in GetProp_String()
349 else if (prop.vt != VT_EMPTY) in GetProp_String()
360 NCOM::CPropVariant prop; in GetProp_RawData() local
361 RINOK(GetProp(getProp, getProp2, index, propID, prop)); in GetProp_RawData()
362 if (prop.vt == VT_BSTR) in GetProp_RawData()
364 UINT len = ::SysStringByteLen(prop.bstrVal); in GetProp_RawData()
365 bb.CopyFrom((const Byte *)prop.bstrVal, len); in GetProp_RawData()
367 else if (prop.vt != VT_EMPTY) in GetProp_RawData()
413 NCOM::CPropVariant prop; in LoadFormats() local
414 if (GetProp(getProp, getProp2, i, NArchive::NHandlerPropID::kClassID, prop) != S_OK) in LoadFormats()
416 if (prop.vt != VT_BSTR) in LoadFormats()
418 if (::SysStringByteLen(prop.bstrVal) != sizeof(GUID)) in LoadFormats()
420 item.ClassID = *(const GUID *)prop.bstrVal; in LoadFormats()
421 prop.Clear(); in LoadFormats()
841 NCOM::CPropVariant prop; in GetProperty() local
842 prop = (bool)((propID == NMethodPropID::kDecoderIsAssigned) ? in GetProperty()
845 prop.Detach(value); in GetProperty()
975 NCOM::CPropVariant prop; in GetCodec_DecoderIsAssigned() local
976 if (GetProperty(index, NMethodPropID::kDecoderIsAssigned, &prop) == S_OK) in GetCodec_DecoderIsAssigned()
978 if (prop.vt == VT_BOOL) in GetCodec_DecoderIsAssigned()
979 return VARIANT_BOOLToBool(prop.boolVal); in GetCodec_DecoderIsAssigned()
997 NCOM::CPropVariant prop; in GetCodec_EncoderIsAssigned() local
998 if (GetProperty(index, NMethodPropID::kEncoderIsAssigned, &prop) == S_OK) in GetCodec_EncoderIsAssigned()
1000 if (prop.vt == VT_BOOL) in GetCodec_EncoderIsAssigned()
1001 return VARIANT_BOOLToBool(prop.boolVal); in GetCodec_EncoderIsAssigned()
1016 NCOM::CPropVariant prop; in GetCodec_NumStreams() local
1017 RINOK(GetProperty(index, NMethodPropID::kPackStreams, &prop)); in GetCodec_NumStreams()
1018 if (prop.vt == VT_UI4) in GetCodec_NumStreams()
1019 return (UInt32)prop.ulVal; in GetCodec_NumStreams()
1020 if (prop.vt == VT_EMPTY) in GetCodec_NumStreams()
1027 NCOM::CPropVariant prop; in GetCodec_Id() local
1028 RINOK(GetProperty(index, NMethodPropID::kID, &prop)); in GetCodec_Id()
1029 if (prop.vt != VT_UI8) in GetCodec_Id()
1031 id = prop.uhVal.QuadPart; in GetCodec_Id()
1038 NCOM::CPropVariant prop; in GetCodec_Name() local
1039 if (GetProperty(index, NMethodPropID::kName, &prop) == S_OK) in GetCodec_Name()
1040 if (prop.vt == VT_BSTR) in GetCodec_Name()
1041 s.SetFromWStr_if_Ascii(prop.bstrVal); in GetCodec_Name()
1047 NCOM::CPropVariant prop; in GetHasherId() local
1048 if (GetHasherProp(index, NMethodPropID::kID, &prop) != S_OK) in GetHasherId()
1050 if (prop.vt != VT_UI8) in GetHasherId()
1052 return prop.uhVal.QuadPart; in GetHasherId()
1058 NCOM::CPropVariant prop; in GetHasherName() local
1059 if (GetHasherProp(index, NMethodPropID::kName, &prop) == S_OK) in GetHasherName()
1060 if (prop.vt == VT_BSTR) in GetHasherName()
1061 s.SetFromWStr_if_Ascii(prop.bstrVal); in GetHasherName()
1067 NCOM::CPropVariant prop; in GetHasherDigestSize() local
1068 RINOK(GetHasherProp(index, NMethodPropID::kDigestSize, &prop)); in GetHasherDigestSize()
1069 if (prop.vt != VT_UI4) in GetHasherDigestSize()
1071 return prop.ulVal; in GetHasherDigestSize()