mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-15 06:11:46 -06:00
4.31
This commit is contained in:
committed by
Kornel Lesiński
parent
e18587ba51
commit
acac987575
@@ -73,6 +73,13 @@ STDAPI GetHandlerProperty(PROPID propID, PROPVARIANT *value)
|
||||
case NArchive::kKeepName:
|
||||
propVariant = false;
|
||||
break;
|
||||
case NArchive::kStartSignature:
|
||||
{
|
||||
const unsigned char sig[] = { 'u', 's', 't', 'a', 'r' };
|
||||
if ((value->bstrVal = ::SysAllocStringByteLen((const char *)sig, 5)) != 0)
|
||||
value->vt = VT_BSTR;
|
||||
return S_OK;
|
||||
}
|
||||
}
|
||||
propVariant.Detach(value);
|
||||
return S_OK;
|
||||
|
||||
Reference in New Issue
Block a user