mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-19 19:13:22 +08:00
[~] pyDia: IDiaSymbol::get_xxx may return S_FALSE (if call failed)
git-svn-id: https://pykd.svn.codeplex.com/svn@69905 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
4c40342a91
commit
c91abde950
@ -101,7 +101,7 @@ do { \
|
||||
throwIfNull(__FUNCTION__); \
|
||||
retType retValue; \
|
||||
HRESULT hres = m_symbol->##method(&retValue); \
|
||||
if (FAILED(hres)) \
|
||||
if (S_OK != hres) \
|
||||
throw Exception("Call IDiaSymbol::" #method, hres); \
|
||||
return retValue; \
|
||||
} while(false)
|
||||
|
Loading…
Reference in New Issue
Block a user