public void GetArchiveProperty(ItemPropId propID, ref PropVariant value) { inArchive.GetArchiveProperty(propID, ref value); }
public void GetProperty(UInt32 index, ItemPropId propID, ref PropVariant value) { inArchive.GetProperty(index, propID, ref value); }
void IArchiveOpenVolumeCallback.GetProperty(ItemPropId propID, ref PropVariant rv) { (owner as IArchiveOpenVolumeCallback).GetProperty(propID, ref rv); }
void IArchiveOpenVolumeCallback.GetProperty(ItemPropId propID, ref PropVariant rv) { switch (propID) { case ItemPropId.Name: rv.type = VarEnum.VT_BSTR; rv.union.bstrValue = Marshal.StringToBSTR(archive.FullName); return; case ItemPropId.Size: rv.type = VarEnum.VT_UI8; rv.union.ui8Value = (ulong)current.Length; return; default: throw new NotImplementedException(); } }