AtlHresultFromWin32
Converts a Win32 error code into an HRESULT.
AtlHresultFromWin32{
DWORD error
};
Параметры
- error
The error value to convert.
Заметки
Converts a Win32 error code into an HRESULT, using the macro HRESULT_FROM_WIN32.
![]() |
---|
Instead of using HRESULT_FROM_WIN32(GetLastError()), use the function AtlHresultFromLastError. |
Требования
Header: atlcomcli.h