diff options
| author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2023-06-21 00:00:00 +0000 |
|---|---|---|
| committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2023-12-17 14:59:19 +0500 |
| commit | 5b39dc76f1bc82f941d5c800ab9f34407a06b53a (patch) | |
| tree | fe5e17420300b715021a76328444088d32047963 /CPP/Windows/PropVariant.cpp | |
| parent | 93be7d4abfd4233228f58ee1fbbcd76d91be66a4 (diff) | |
| download | 7zip-5b39dc76f1bc82f941d5c800ab9f34407a06b53a.tar.gz 7zip-5b39dc76f1bc82f941d5c800ab9f34407a06b53a.tar.bz2 7zip-5b39dc76f1bc82f941d5c800ab9f34407a06b53a.zip | |
23.0123.01
Diffstat (limited to 'CPP/Windows/PropVariant.cpp')
| -rw-r--r-- | CPP/Windows/PropVariant.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CPP/Windows/PropVariant.cpp b/CPP/Windows/PropVariant.cpp index 2b17950..457b1dc 100644 --- a/CPP/Windows/PropVariant.cpp +++ b/CPP/Windows/PropVariant.cpp | |||
| @@ -197,17 +197,17 @@ BSTR CPropVariant::AllocBstr(unsigned numChars) | |||
| 197 | 197 | ||
| 198 | void CPropVariant::Set_Int32(Int32 value) throw() | 198 | void CPropVariant::Set_Int32(Int32 value) throw() |
| 199 | { | 199 | { |
| 200 | SET_PROP_id_dest(VT_I4, lVal); | 200 | SET_PROP_id_dest(VT_I4, lVal) |
| 201 | } | 201 | } |
| 202 | 202 | ||
| 203 | void CPropVariant::Set_Int64(Int64 value) throw() | 203 | void CPropVariant::Set_Int64(Int64 value) throw() |
| 204 | { | 204 | { |
| 205 | SET_PROP_id_dest(VT_I8, hVal.QuadPart); | 205 | SET_PROP_id_dest(VT_I8, hVal.QuadPart) |
| 206 | } | 206 | } |
| 207 | 207 | ||
| 208 | #define SET_PROP_FUNC(type, id, dest) \ | 208 | #define SET_PROP_FUNC(type, id, dest) \ |
| 209 | CPropVariant& CPropVariant::operator=(type value) throw() \ | 209 | CPropVariant& CPropVariant::operator=(type value) throw() \ |
| 210 | { SET_PROP_id_dest(id, dest); return *this; } | 210 | { SET_PROP_id_dest(id, dest) return *this; } |
| 211 | 211 | ||
| 212 | SET_PROP_FUNC(Byte, VT_UI1, bVal) | 212 | SET_PROP_FUNC(Byte, VT_UI1, bVal) |
| 213 | // SET_PROP_FUNC(Int16, VT_I2, iVal) | 213 | // SET_PROP_FUNC(Int16, VT_I2, iVal) |
| @@ -245,7 +245,7 @@ SET_PROP_FUNC(const FILETIME &, VT_FILETIME, filetime) | |||
| 245 | we call system functions for VT_BSTR and for unknown typed | 245 | we call system functions for VT_BSTR and for unknown typed |
| 246 | */ | 246 | */ |
| 247 | 247 | ||
| 248 | CPropVariant::~CPropVariant() | 248 | CPropVariant::~CPropVariant() throw() |
| 249 | { | 249 | { |
| 250 | switch ((unsigned)vt) | 250 | switch ((unsigned)vt) |
| 251 | { | 251 | { |
