projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ATL][ATL_APITEST] Add CAtlList::InsertBefore/After + test
[reactos.git]
/
sdk
/
lib
/
atl
/
atlcomcli.h
diff --git
a/sdk/lib/atl/atlcomcli.h
b/sdk/lib/atl/atlcomcli.h
index
ad1582a
..
cba7810
100644
(file)
--- a/
sdk/lib/atl/atlcomcli.h
+++ b/
sdk/lib/atl/atlcomcli.h
@@
-53,6
+53,12
@@
namespace ATL
{
+inline HRESULT AtlHresultFromLastError() throw()
+{
+ DWORD dwError = ::GetLastError();
+ return HRESULT_FROM_WIN32(dwError);
+}
+
template<class T>
class CComPtr